rem: imageElement.setAttribute("width", dialog.imagewidthInput.value); 
add: globalElement.setAttribute("width", dialog.imagewidthInput.value); 
context: function setDimensions(){  var wtype                             = dialog.imagewidthSelect.getAttribute("value");  var htype                             = dialog.imageheightSelect.getAttribute("value");    // width    if (wtype.substr(0,4) == "% of")    {      //var Iwidth = eval("dialog.imagewidthInput.value + '%';");      imageElement.setAttribute("width",  dialog.imagewidthInput.value + "%");    }    else      imageElement.setAttribute("width", dialog.imagewidthInput.value);    //height    if (htype.substr(0,4) == "% of")    {      //var Iheight = eval("dialog.imageheightInput.value + '%';");      imageElement.setAttribute("height", dialog.imageheightInput.value + "%");    }    else      imageElement.setAttribute("height", dialog.imageheightInput.value);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a281ed4e8dd243b6d006b91f2a97fc4397774bdc/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js