"); mapIframe.document.body.innerHTML = sBody; mapIframe.document.body.contentEditable = "true"; mapIframe.document.ondblclick=new Function("return dblClick(mapIframe.event);"); mapIframe.document.execCommand("2D-Position",true,true); //mapIframe.document.execCommand("MultipleSelection", true, true); mapIframe.document.execCommand("LiveResize", true, true); mapIframe.document.close(); } var objLink = new Object() ; function dblClick(event){ var e=event.srcElement; if (e){ if ((e.tagName=="IMG")&&(e.id!="SOURCEIMAGE")){ var sID = e.id; var nID = parseInt(sID.substr(7)); objLink.Href = aHref[nID]; objLink.Target = aTarget[nID]; var arr = showModalDialog("hyperlink.htm?action=other", window, "dialogWidth:"+lang["UIhyperlinkWidth"]+"px;dialogHeight:"+lang["UIhyperlinkHeight"]+"px;help:no;scroll:no;status:no"); if (arr){ aHref[nID] = arr[0]; aTarget[nID] = arr[1]; } } } return false; } function newMap(){ var n = aHref.length; aHref[n]=""; aTarget[n]=""; mapIframe.document.body.innerHTML += ""; mapIframe.scrollBy(0,0); mapIframe.focus(); } function getAutoMapName(){ var b=true; var n=0; var s="" while (b){ n++; s = "AutoMap" + n; if (isValidMapName(s)){ b=false; } } return s; } function isValidMapName(str){ str=str.toUpperCase(); for (var i=0; i"; } } if (oMap){ oMap.innerHTML = html; }else{ sUseMap = getAutoMapName(); oControl.useMap = "#" + sUseMap; opener.appendHTML(""+html+""); } }else{ if (oMap){ oMap.outerHTML = ""; } oControl.useMap = ""; } oControl.width=mapIframe.SOURCEIMAGE.width; oControl.height=mapIframe.SOURCEIMAGE.height; window.returnValue = null; window.close(); } function InitDocument(){ AvailableLangs.TranslatePage(document); }
 ()