rem: newImg.setAttribute("src", srcInput.value); 
add: newImg.setAttribute("src", srcInputValue); 
context: function initDialog(){  //Get image element from parent  imageElement = window.arguments[0];  if (!imageElement) //If not an image close window    window.close();  //Get image map from parent  imageMap = window.arguments[1];  if (!imageMap) //If no image map close window    window.close();  //find parent inputs  srcInput = window.opener.document.getElementById("srcInput");  widthInput = window.opener.document.getElementById("widthInput");  heightInput = window.opener.document.getElementById("heightInput");  borderInput = window.opener.document.getElementById("border");  //Set iframe pointer  frameDoc = window.frames[0].document;  //Fill button array  buttonArray[0] = document.getElementById("pointerButton");  buttonArray[1] = document.getElementById("rectButton");  buttonArray[2] = document.getElementById("cirButton");  buttonArray[3] = document.getElementById("polyButton");  //Create marquee  var marquee = frameDoc.createElement("div");  marquee.setAttribute("id", "marquee");  frameDoc.body.appendChild(marquee);  //Create background div  var bgDiv = frameDoc.createElement("div");  if ( bgDiv ) {    bgDiv.setAttribute("id", "bgDiv");    frameDoc.body.appendChild(bgDiv);  }  //Place Image  var newImg = frameDoc.createElement("img");  if ( newImg ) {    newImg.setAttribute("src", srcInput.value);    if (parseInt(widthInput.value) > 0)      newImg.setAttribute("width", widthInput.value);    if (parseInt(heightInput.value) > 0)      newImg.setAttribute("height", heightInput.value);    newImg.setAttribute("id", "mainImg");    imageEl = frameDoc.getElementById("bgDiv").appendChild(newImg);  }  //Resize background DIV to fit image  fixBgDiv();  //Recreate Image Map if it exists    recreateMap();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/88bbd13145f64fbd2fab199adb22e608c4d03186/EdImageMap.js/clean/editor/ui/dialogs/content/EdImageMap.js