//JavaScript/FormEditFunctions.inc T=10 var sw=mw=self,ew=null;var pu="/.Templates/JavaScript/FormEditFunctions.inc/";function sdf(so){document.forms["MainForm"].action=pu+'__Send?Clear=0'+(so?'&SendOptions='+so:'');return true;}function svf(c){document.forms["MainForm"].action=pu+'__FormSave?Clear=0';return true;}function oi(i){document.forms["MainForm"].action=pu+"__FormSave?Clear=0&TargetURL=/.Templates/JavaScript/FormEditFunctions.inc/__OpenNdx"+i+"/__FormEdit";document.forms["MainForm"].submit();return false;}function rsf(){dCAU();document.forms["ResetForm"].elements["VKey"].value=document.forms["MainForm"].elements["VKey"].value;document.forms['ResetForm'].submit();return false;}function STT(){if(typeof(document.images["TOUCHME"])!="undefined"){self.setInterval(ATT,300000);}}self.onload=STT;function ATT(){var I=document.images["TOUCHME"];if(I) {I.src="/.Templates/JavaScript/FormEditFunctions.inc/__Touch?TouchCount="+TC+"&RandomJunk="+Math.floor(Math.random()*65536);++TC;}}var CS=1;var TC=1;function dPO(){self.open("/.Templates/JavaScript/FormEditFunctions.inc?Templates=Printable","PRINTWIN");}function dCAU(){if(mw.parent&&mw.parent.frames["TOOLBAR"]&&mw.parent.frames["TOOLBAR"].dCAU){mw.parent.frames["TOOLBAR"].dCAU();}}function dRAU(){if(mw.parent&&mw.parent.frames["TOOLBAR"]&&mw.parent.frames["TOOLBAR"].dRAU){mw.parent.frames["TOOLBAR"].dRAU();}} //JavaScript/PopupFunctions.inc T=12 var ow=null; function oUL(){ if(ow!=null){ ow.close(); } } onunload=oUL; function OPU(U,N,O){ if(ow){ ow.close(); ow=null; } ow=self.open(U,N,O); } function ODW(){ OPU("/.Templates/JavaScript/FormEditFunctions.inc?Templates=EF&FormID=186","EFWIN","width=400,height=500,resizable=yes,status=no,dependent=yes"); return false; } function OOW(p,s,r){ if(typeof(p)=="undefined"){ p=1; } if(typeof(s)=="undefined"){ s=1; } if(typeof(r)=="undefined"){ r=1; } OPU("/.Templates/JavaScript/FormEditFunctions.inc?Close=-1&FormID=172&InclPrio="+p+"&InclSens="+s+"&InclRcpt="+r,"OPTWIN","width=350,height=195,resizable=yes"); } function OIW(event,f,i){ var cs=document.forms["MainForm"].elements["FieldID:"+f+(i!=-1?"."+i:"")+"=LONG"].value; var nf=(event.ctrlKey||event.altKey)?1:0; var oi=event.shiftKey?1:0; event.cancelBubble=true; event.returnValue=false; OPU('/.Templates/Commands/IconPicker.shtml?FieldID='+f+'&Index='+i+'&CurSelect='+cs+'&Size=32&NoFilter='+nf+'&OutputIDs='+oi,'ICONWIN','width=280,height='+(oi?'400':'275')+',resizable=yes,status=no'); return false; } var PURO=null; function DPUR(PUT,rc){ var F=document.forms["MainForm"]; if(PUT=="SOIF"){ if(rc==0&&CS==1){ CS=1; var AS="/.Templates/JavaScript/FormEditFunctions.inc/__FormSave?Clear=0&Close=-1&TargetURL=/.Templates/JavaScript/FormEditFunctions.inc"; if(PURO!=null){ AS+="&"+uesc(PURO); } F.action=AS; F.submit(); } }else if(PUT="ICON"){ if(rc==0&&PURO!=null){ var p="/Icons/d"+PURO[2]; var n="Icon:"+PURO[0]+(PURO[1]!=-1?"."+PURO[1]:""); document.forms["MainForm"].elements["FieldID:"+PURO[0]+(PURO[1]!=-1?"."+PURO[1]:"")+"=LONG"].value=PURO[2]; for(var i=0;i