rem: function createSavedColors(color) { var is_ie = false; /*@cc_on is_ie = true; @*/ var div = document.createElement('div'); div.style.width = picker.cellsize + 'px'; div.style.height = picker.cellsize + 'px'; div.style.margin = '1px'; div.style.border = '1px solid black'; div.style.cursor = 'pointer'; div.style.backgroundColor = color; div.style[ is_ie ? 'styleFloat' : 'cssFloat'] = 'left';  div.ondblclick = function() { picker.callback(color); picker.close(); };  div.onclick = function() { picker.chosenColor.value = color; picker.backSample.style.backgroundColor = color; picker.foreSample.style.color = color; }; savedColors.appendChild(div); } 
add: function createSavedColors(_3b){ var _3c=false; var div=document.createElement("div"); div.style.width=_29.cellsize+"px"; div.style.height=_29.cellsize+"px"; div.style.margin="1px"; div.style.border="1px solid black"; div.style.cursor="pointer"; div.style.backgroundColor=_3b; div.style[_3c?"styleFloat":"cssFloat"]="left"; div.ondblclick=function(){ _29.callback(_3b); _29.close(); }; div.onclick=function(){ _29.chosenColor.value=_3b; _29.backSample.style.backgroundColor=_3b; _29.foreSample.style.color=_3b; }; _3a.appendChild(div); } 
context:         function createSavedColors(color)        {          var is_ie = false;          /*@cc_on is_ie = true; @*/          var div = document.createElement('div');          div.style.width = picker.cellsize + 'px';//13px';          div.style.height = picker.cellsize + 'px';//13px';          div.style.margin = '1px';          div.style.border = '1px solid black';          div.style.cursor = 'pointer';          div.style.backgroundColor = color;          div.style[ is_ie ? 'styleFloat' : 'cssFloat'] = 'left';     //     div.onclick = function() { picker.callback(color); picker.close(); };          div.ondblclick = function() { picker.callback(color); picker.close(); };   //       div.onmouseover = function()          div.onclick = function()          {            picker.chosenColor.value = color;            picker.backSample.style.backgroundColor = color;            picker.foreSample.style.color = color;          };          savedColors.appendChild(div);        }
meta: 6015	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6015/d8776708e0e10dfa0ab6ee1d0fa9e512d8d16348/ColorPicker.js/buggy/packages/acs-templating/www/resources/xinha-nightly/modules/ColorPicker/ColorPicker.js