//JavaScript/RecipientFunctions.inc T=78 function vncb(RO){var s=0;try{var F=document.forms["MainForm"];var E=RO.obj.responseXML.firstChild;while(E!=null&&(E.nodeType!=1||E.tagName!="fcnv")){E=E.nextSibling;}if(E!=null){E=E.firstChild;}while(E!=null&&E.nodeType!=1){E=E.nextSibling;}if(E!=null&&E.nodeType==1&&E.tagName=="vkey"){F.elements["VKey"].value=E.firstChild.nodeValue;do{E=E.nextSibling;}while(E!=null&&E.nodeType!=1);}if(E!=null&&E.nodeType==1&&E.tagName=="result"){var m=parseInt(E.firstChild.nodeValue);if(m==0){alert("");s=1;CS=1;}else if(m==1){E=E.nextSibling;while(E!=null&&E.nodeType!=1){E=E.nextSibling;}if(E!=null&&E.nodeType==1&&E.tagName=="match"){E=E.firstChild;var nm=null;var st=0;var uc=null;var icn=null;while(E!=null){if(E.nodeType==1){if(E.tagName=="name"){nm=E.firstChild.nodeValue;st=parseInt(E.getAttribute("status"));}else if(E.tagName=="class"){if(E.firstChild!=null){uc=E.firstChild.nodeValue;}else{uc="";}}else if(E.tagName=="icon"){icn=E.firstChild.nodeValue;}}E=E.nextSibling;}if(nm!=null&&uc!=null&&icn!=null){var C=F.elements["NV"+RO.f+"C"];var c=parseInt(C.value);C.value=c+1;while(c>RO.i){document.getElementById("RD"+f+"I"+(c-1)).id="RD"+RO.f+"I"+c;c-=1;}var NC;var R=document.getElementById("RT"+RO.f).insertRow(RO.i);NC=R.insertCell(0);NC.innerHTML="\"\"<\/a>";NC=R.insertCell(1);NC.align="center";NC.innerHTML="\""+uc+"\"";NC=R.insertCell(2);NC.className="p";NC.noWrap=true;NC.innerHTML=" "+((st&1)?((st&2)?"":"")+"":"")+nm+((st&1)?"<\/b>"+((st&2)?"<\/i>":""):"");F.elements["NV"+RO.f].value="";s=1;}}CS=1;}else if(m==2){F.action="/plugins/FOV2-0010A815/FOV2-0010A819/FAV2-00105510/FOV2-00109FE6/FOV2-001085C2/FOV2-001085C3/S0178FF92/__FormSave?Clear=0&Close=-1&JumpAction=3&O=Insert&E=1&F="+RO.f+"&I="+RO.i+"&s="+uesc(RO.s)+"&AB=1&LF=1&CF=1&RF=1";if(RO.o){F.action+=RO.o;}F.submit();s=1;CS=1;}}}catch(e){}if(s==0){sw.location.reload(true);}else{SHMBS();}}function vn(f,i,s,o){var F=document.forms["MainForm"];if(CS==1){CS=;var RO=null;if(typeof(CRO)!="undefined"){var a="/plugins/FOV2-0010A815/FOV2-0010A819/FAV2-00105510/FOV2-00109FE6/FOV2-001085C2/FOV2-001085C3/S0178FF92/__Lookup?Templates=NV&AL=1&Operation=Insert&FieldID="+f+"&Index="+i+"&srch="+uesc(s)+"&VKey="+F.elements["VKey"].value;RO=new ARO();if(RO!=null){RO.CB=vncb;RO.f=f;RO.i=i;RO.s=s;RO.o=o;}}if(RO==null||!RO.G(a)){F.action="/plugins/FOV2-0010A815/FOV2-0010A819/FAV2-00105510/FOV2-00109FE6/FOV2-001085C2/FOV2-001085C3/S0178FF92/__FormSave?Clear=0&Close=-1&JumpAction=3&O=Insert&E=1&F="+f+"&I="+i+"&s="+uesc(s)+"&AB=1&LF=1&CF=1&RF=1";if(o){F.action+=o;}F.submit();}}return false;}function dncb(RO){try{var F=document.forms["MainForm"];var E=RO.obj.responseXML.firstChild;while(E!=null&&(E.nodeType!=1||E.tagName!="fcnv")){E=E.nextSibling;}if(E!=null){E=E.firstChild;}while(E!=null&&E.nodeType!=1){E=E.nextSibling;}if(E!=null&&E.nodeType==1&&E.tagName=="vkey"){F.elements["VKey"].value=E.firstChild.nodeValue;do{E=E.nextSibling;}while(E!=null&&E.nodeType!=1);}}catch(e){}}function dn(f,i,o){var F=document.forms["MainForm"];if(CS==1){CS=;var RO=null;if(typeof(CRO)!="undefined"){var a="/plugins/FOV2-0010A815/FOV2-0010A819/FAV2-00105510/FOV2-00109FE6/FOV2-001085C2/FOV2-001085C3/S0178FF92/__Lookup?Templates=NV&AL=1&Operation=Delete&FieldID="+f+"&Index="+i+"&VKey="+F.elements["VKey"].value;RO=new ARO();if(RO!=null){RO.CB=dncb;}}if(RO==null||!RO.G(a)){F.action="/plugins/FOV2-0010A815/FOV2-0010A819/FAV2-00105510/FOV2-00109FE6/FOV2-001085C2/FOV2-001085C3/S0178FF92/__FormSave?Clear=0&Close=-1&JumpAction=3&O=Delete&E=1&F="+f+"&I="+i;if(o){F.action+=o;}F.submit();}else{var C=F.elements["NV"+f+"C"];var c=parseInt(C.value)-1;C.value=c;document.getElementById("RT"+f).deleteRow(i);while(i