//JavaScript/PopupFunctions.inc T=0 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/PopupFunctions.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/PopupFunctions.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/PopupFunctions.inc/__FormSave?Clear=0&Close=-1&TargetURL=/.Templates/JavaScript/PopupFunctions.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