var mt;function sysPopup(py,fz,ns,po){var gx=0,kj=false,mo='width=1,height=1,top=1,left=1,directories=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,titlebar=no,toolbar=no';if(po=='KILLEXISTINGWINDOW'){if(document.all){mt=window.open('',fz,mo);mt.close();};fz=fz}else{fz=fz+'_'+po;if(document.all){};};switch(ns){case'sellerservices_invoice':gx='height=600, width=700, left=120,screenX=120,top=20,screenY=20, alwaysRaised=yes, dependent=yes, scrollbars=yes';break;case'proddetails':gx='height=600, width=800, left=120,screenX=120,top=20,screenY=20, alwaysRaised=yes, dependent=yes, scrollbars=yes, toolbar=yes,location=no, directories=no,status=no,menubar=yes,resizable=3';break;case'maildetails':gx='height=625, width=700, left=120,screenX=120,top=20,screenY=20, alwaysRaised=yes, dependent=yes, scrollbars=yes, toolbar=no,location=yes,directories=yes,status=yes,menubar=yes,resizable=3';break;case'help':gx='height=600, width=700, left=120,screenX=120,top=20,screenY=20, alwaysRaised=yes, dependent=yes, scrollbars=yes, resizable=3';break;case'fullwin':gx='height=620, width=820, left=120,screenX=120,top=20,screenY=20, alwaysRaised=yes, dependent=yes, scrollbars=yes, resizable=3';break;case'mail_edit':gx='height=625, width=620, left=120,screenX=120,top=20,screenY=20, alwaysRaised=yes, dependent=yes, scrollbars=yes, resizable=3';break;case'helpsmall':gx='height=450, width=475, left=120,screenX=120,top=20,screenY=20, alwaysRaised=yes, dependent=yes, scrollbars=yes, resizable=3';break;case'uploads':gx='height=625, width=675, left=120,screenX=120,top=20,screenY=20, alwaysRaised=yes, dependent=yes, scrollbars=yes, resizable=3';break;case'NewProductDoActivation':gx='height=450, width=500,                                         alwaysRaised=yes, dependent=yes, scrollbars=no';break;case'txtsmall':gx='height=400, width=450, left=120,screenX=120,top=20,screenY=20, alwaysRaised=yes, dependent=yes, scrollbars=no, resizable=3';break;default:gx=ns;};if(document.all){var jj=parseInt(gx.substring(7,10));jj=jj-20;gx=gx.substring(0,7)+jj+gx.substring(10,gx.length)};mt=window.open(py,fz,gx);mt.focus();if(kj){window.onunload=function(){mt.close();};window.onfocus=function(){mt.close();};};};
