var ColorSelecter = new Object(); ColorSelecter.Show = function(sender) { if(ColorSelecter.box) { if (ColorSelecter.box.style.display = "none") ColorSelecter.box.style.display = ""; } else { ColorSelecter.box = document.createElement("Div"); ColorSelecter.box.id = "ColorSelectertBox"; var table = "
     
     
     
     
     
     
     
     
" + cancel_color + "
"; ColorSelecter.box.innerHTML = table; document.body.appendChild(ColorSelecter.box); var myTable = ColorSelecter.box.childNodes[0]; for (var i = 0; i