rem: if (atrestlogopath && (animatedlogopath.length > 0)) { 
add: if (atrestlogopath && (atrestlogopath.length > 0)) { 
context: function CCKWriteCSS(destdir){var animated1 = '#navigator-throbber[busy="true"] {\n';var animated2 = 'toolbar[iconsize="small"] #navigator-throbber[busy="true"],\n';var animated3 = 'toolbar[mode="text"] #navigator-throbber[busy="true"] {\n';var atrest1 = '#navigator-throbber {\n';var atrest2 = 'toolbar[iconsize="small"] #navigator-throbber,\n';var atrest3 = 'toolbar[mode="text"] #navigator-throbber {\n';var liststyleimage = '  list-style-image: url("chrome://cck/content/';var liststyleimageend = '");\n}\n';  var file = destdir.clone();  file.append("cck.css");  var fos = Components.classes["@mozilla.org/network/file-output-stream;1"]                       .createInstance(Components.interfaces.nsIFileOutputStream);  fos.init(file, -1, -1, false);  var animatedlogopath = document.getElementById("LargeAnimPath").value;  if (animatedlogopath && (animatedlogopath.length > 0)) {    var file = Components.classes["@mozilla.org/file/local;1"]                         .createInstance(Components.interfaces.nsILocalFile);    file.initWithPath(animatedlogopath);    fos.write(animated1, animated1.length);    fos.write(liststyleimage, liststyleimage.length);    fos.write(file.leafName, file.leafName.length);    fos.write(liststyleimageend, liststyleimageend.length);    fos.write(animated2, animated2.length);    fos.write(animated3, animated3.length);    fos.write(liststyleimage, liststyleimage.length);    fos.write(file.leafName, file.leafName.length);    fos.write(liststyleimageend, liststyleimageend.length);  }  var atrestlogopath = document.getElementById("LargeStillPath").value;  if (atrestlogopath && (animatedlogopath.length > 0)) {    var file = Components.classes["@mozilla.org/file/local;1"]                         .createInstance(Components.interfaces.nsILocalFile);    file.initWithPath(atrestlogopath);    fos.write(atrest1, atrest1.length);    fos.write(liststyleimage, liststyleimage.length);    fos.write(file.leafName, file.leafName.length);    fos.write(liststyleimageend, liststyleimageend.length);    fos.write(atrest2, atrest2.length);    fos.write(atrest3, atrest3.length);    fos.write(liststyleimage, liststyleimage.length);    fos.write(file.leafName, file.leafName.length);    fos.write(liststyleimageend, liststyleimageend.length);  }  fos.close();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/a754054802bad5b1a8a3244dff628c02ab19309d/cckwizard.js/buggy/extensions/cck/browser/resources/content/cckwizard/cckwizard.js