rem: ajaxanimator.onReady(function(){  $("fillcolor").style.backgroundImage = "url('"+imgURL+"/bucket.png')" $("linecolor").style.backgroundImage = "url('"+imgURL+"/pencil.png')"  $("fillcolor").style.backgroundColor = "#ff0000" $("linecolor").style.backgroundColor = "#000000"  var genDB = new Array( "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: Ext.get(id).on("mouseout",function(){ if($(id).style.backgroundImage.indexOf("buttonMask") != -1){ $(id).style.backgroundImage = "" } 
context: ajaxanimator.onReady(function(){$("fillcolor").style.backgroundImage = "url('"+imgURL+"/bucket.png')"$("linecolor").style.backgroundImage = "url('"+imgURL+"/pencil.png')"$("fillcolor").style.backgroundColor = "#ff0000"$("linecolor").style.backgroundColor = "#000000"var genDB = new Array(	"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/d6279c93dfac928173a95baee130443f46f50eb4/jsOut.js/buggy/Animator/dev/tmp/jsOut.js