context: function setDimensions(){  var wtype                             = dialog.imagewidthSelect.getAttribute("value");  var htype                             = dialog.imageheightSelect.getAttribute("value");    // width    // NO! this is not the way to do it! Depends on english strings    //  Instead, store which index is selected when popup "pixel" or "percent of..." is used    if (wtype.substr(0,4) == "% of")    {      //var Iwidth = eval("dialog.imagewidthInput.value + '%';");      globalElement.setAttribute("width",  dialog.imagewidthInput.value + "%");    }    else      globalElement.setAttribute("width", dialog.imagewidthInput.value);    //height    if (htype.substr(0,4) == "% of")    {      //var Iheight = eval("dialog.imageheightInput.value + '%';");      globalElement.setAttribute("height", dialog.imageheightInput.value + "%");    }    else      globalElement.setAttribute("height", dialog.imageheightInput.value);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b954f4ef27fba38f1e2a02a921ec2ec1ea03b92c/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js