function OpenImage(imag,xpos,ypos) { var surl="/wersigns.nsf/Display?OpenAgent&PageName=image.html&src="+imag+"&width="+xpos+"&height="+ypos+"&doc_id="; var sarg="height="+ypos+",width="+xpos+",status=no,toolbar=no,menubar=no,location=no, scrollbars=auto, titlebar=no, resizable=yes"; conspect=window.open(surl,"Picture",sarg); } function DoSmile () { return; } function InsertSmilie(smilie) { var revisedMessage; var currentMessage = document.message.content.value; revisedMessage = currentMessage+" "+smilie+" "; document.message.content.value=revisedMessage; document.message.content.focus(); return; } function showimage() { document.images["icons"].src="/wersigns.nsf/"+document.message.icon.options[document.message.icon.selectedIndex].value+".gif"; } function setCookie(sName, sValue){ dt = new Date(); dt.setYear(dt.getFullYear()+1); //document.cookie = sName + "=" + escape(sValue) + "; expires=" + dt.toGMTString();+";path=/"; document.cookie = sName + "=" + escape(sValue) + "; path=/"; } function set_login(login,pass) { setCookie("login",login); setCookie("password",pass); } function drop_cookies() { setCookie("login",""); setCookie("password",""); } function _getEditAppletData(){ var form = document._Memo; form.Body.value = document.lnaBody.getText("text//html"); return true; } function newin(url, name, scr, w, h) { name = window.open(url, name, 'toolbar=no,location=no,status=no,menubar=no,resizable=yes,directories=no,scrollbars='+scr+',width='+w+',height='+h+''); } function opendoc(url) { newin(url, 'nwin', 'yes', 580, 440) } function update_hide_attrs(attr_name) { if(attr_name=="") return false; code=attr_name.substring(5,attr_name.length); if(code=="") return false; if (document.attr[attr_name].checked) document.attr["hide_"+code].value="1"; else document.attr["hide_"+code].value="0"; return true; } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&ifxm.offsetHeight)) { fxrect=fxm.offsetHeight; return 1; } if ((!mstatus) && (fxrect<0)) { fxrect=0; switchDiv(fxm,false); mstatus=true; cm=null; return 1; } fxm.style.left = getPos(fxel,"Left")-7+"px"; fxm.style.clip='rect('+(fxm.offsetHeight-fxrect)+' '+(fxm.offsetWidth+fxrect)+' '+(fxm.offsetHeight+fxrect)+' '+(fxm.offsetWidth-500)+')'; fxm.style.top = (getPos(fxel,"Top")+fxel.offsetHeight-fxm.offsetHeight+fxrect)+7+"px"; if (mstatus) { fxrect=fxrect+mstep; setTimeout('movefx()',1); } else { fxrect=fxrect-mstep; setTimeout('movefx()',1); } return 1; } function show(el,m) { if (m!=null) { m=getelementbyid(m); } if ((el==null) && (cm)) { mstatus=false; movefx() } else if ((m!=cm) && (cm)) { switchDiv(cm,false) } if ((m)&&(cm!=m)) { switchDiv(m,true); fxel=el; fxm=m; fxrect=0; mstatus=true; movefx() } if (m) cm=m; if (tstat==1) { clearTimeout(timer1); tstat=0 } } function hidemenu(b) { if (b) { tstat=1; timer1=setTimeout("show(null)",hide_delay); } else { tstat=0; show(null); } } function cancelhide() { if (!mstatus) { mstatus=1; //cm=fxm; } tstat=0; clearTimeout(timer1); } function doMouseOver(el) { el.originalClass = el.className; el.className += "MOver"; return(false); } function doMouseOut(el) { el.className = el.originalClass; return(false); }