rem: if(document.all){ var canvasString; canvasString='<div id="richdraw'+CanvasId+'" style="'; canvasString+='border:1px solid black;position:relative;top:0px' canvasString+='width:99%;height:99%;background-color:white;' canvasString+='-moz-user-select:none;display:'+canvasDisplayStyle+'"></div>'; document.getElementById("CanvasContainer").innerHTML+=canvasString; canvasDisplayStyle = "none"; initDraw(); }else{ 
context: function makeCanvasFromId(CanvasId){if(document.all){//if ie...var canvasString;canvasString='<div id="richdraw'+CanvasId+'" style="';canvasString+='border:1px solid black;position:relative;top:0px'canvasString+='width:99%;height:99%;background-color:white;'canvasString+='-moz-user-select:none;display:'+canvasDisplayStyle+'"></div>';document.getElementById("CanvasContainer").innerHTML+=canvasString;canvasDisplayStyle = "none";initDraw();}else{var richdrawCanvas = document.createElement('div');var richdrawCanvasStyle = "border:1px solid black;position:relative;"richdrawCanvasStyle += "top:0px;width:99%;height:99%;background-color:white;"richdrawCanvasStyle += "-moz-user-select:none;"richdrawCanvas.setAttribute('id','richdraw'+CanvasId);richdrawCanvas.setAttribute('style',richdrawCanvasStyle+"display:"+canvasDisplayStyle);document.getElementById('CanvasContainer').appendChild(richdrawCanvas);canvasDisplayStyle = 'none'initDraw();}}
meta: 5269	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5269/0643cbd9053c125be67d178bb2d7719ca0ecc8c9/canvas.js/buggy/Animator/ajaxanimator/canvas.js