//JavaScript/PopupFunctions.inc T=523 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); } var PORO=null; function DPUR(PUT,rc){ var F=document.forms["MainForm"]; if(PUT=="SOIF"){ if(rc==0&&CS==1){ CS=; var AS="/plugins/FOV2-0010A815/FOV2-0010A819/FAV2-00105510/FOV2-00105547/FOV2-00105548/FOV2-0010554A/S00AA69B8/FormSave?Clear=0&Close=-1&TargetURL=/plugins/FOV2-0010A815/FOV2-0010A819/FAV2-00105510/FOV2-00105547/FOV2-00105548/FOV2-0010554A/S00AA69B8"; if(PORO!=null) AS+="&"+uesc(PORO); F.action=AS; F.submit(); } }else if(PUT="ICON"){ if(rc==0&&PORO!=null){ var M=document.images["Icon:"+PORO[0]+(PORO[1]!=-1?"."+PORO[1]:"")]; document.forms["MainForm"].elements["FieldID:"+PORO[0]+(PORO[1]!=-1?"."+PORO[1]:"")+"=LONG"].value=PORO[2]; M.src="/Icons/d"+PORO[2]; } PORO=null; } } function OOW(){ OPU('/plugins/FOV2-0010A815/FOV2-0010A819/FAV2-00105510/FOV2-00105547/FOV2-00105548/FOV2-0010554A/S00AA69B8?Close=-1&FormID=172 ','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; } function ODW(){ OPU("/plugins/FOV2-0010A815/FOV2-0010A819/FAV2-00105510/FOV2-00105547/FOV2-00105548/FOV2-0010554A/S00AA69B8?Templates=EF&FormID=186","EFWIN","width=400,height=500,resizable=yes,status=no,dependent=yes"); return false; } //*PopupFunctions T=525