rem: var genDB = [ "select|select.gif", "rect|rectangle.gif", "roundrect|roundrect.gif", "ellipse|circle.gif", "line|line.gif", "delete|delete.gif" ] var tbdiv = document.getElementById("tbIcon") var toolTable = document.createElement("table") var toolTBody = document.createElement("tbody") var tObjCnt = 0; for(var tRowN = 0; tRowN < 3; tRowN++){ var tRow = document.createElement("tr") for(var tColN = 0; tColN < 2; tColN++){ var tCol = document.createElement("td") var tsAD = genDB[tObjCnt].split("|") tObjCnt++; var tCDiv = document.createElement("div") tCDiv.id = tsAD[0] tCDiv.className = "toolbarItem" var tcvDiv = document.createElement("div") tcvDiv.className = "centerVertical" var tvImg = document.createElement("img") tvImg.src = imgURL+"/"+tsAD[1] tvImg.className = "toolbarItem"; tcvDiv.appendChild(tvImg) tCDiv.appendChild(tcvDiv) tCol.appendChild(tCDiv) tRow.appendChild(tCol) } toolTBody.appendChild(tRow) } toolTable.appendChild(toolTBody) tbdiv.appendChild(toolTable) 
add: var x = document.getElementsByTagName("textarea")  for (var i = 0;i<x.length;i++){ var y = x[i] y.hasFocus=false; y.onfocus=function(){keyShortcuts.disable();}; y.onblur=function(){keyShortcuts.enable();}; }  
context: ajaxanimator.onReady(function(){var genDB = [	"select|select.gif",	"rect|rectangle.gif",	"roundrect|roundrect.gif",	"ellipse|circle.gif",	"line|line.gif",	"delete|delete.gif"	]	var tbdiv = document.getElementById("tbIcon")	var toolTable = document.createElement("table")	var toolTBody = document.createElement("tbody")	var tObjCnt = 0;	for(var tRowN = 0; tRowN < 3; tRowN++){	var tRow = document.createElement("tr")	for(var tColN = 0; tColN < 2; tColN++){	var tCol = document.createElement("td")	var tsAD = genDB[tObjCnt].split("|")	tObjCnt++;	var tCDiv = document.createElement("div")	tCDiv.id = tsAD[0]	tCDiv.className = "toolbarItem"	var tcvDiv = document.createElement("div")	tcvDiv.className = "centerVertical"	var tvImg = document.createElement("img")	tvImg.src = imgURL+"/"+tsAD[1]	tvImg.className = "toolbarItem";	tcvDiv.appendChild(tvImg)	tCDiv.appendChild(tcvDiv)	tCol.appendChild(tCDiv)	tRow.appendChild(tCol)	}	toolTBody.appendChild(tRow)	}	toolTable.appendChild(toolTBody)	tbdiv.appendChild(toolTable)})
meta: 5269	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5269/af9f096c35280c572f3a344cbbc4dee702b4ef92/jsOut.js/clean/Animator/dev/tmp/jsOut.js