function datePicker(e,d){var b=document.getElementById(e).value;var c;var a=d+"calendar.aspx?d="+b;c=window.showModalDialog(a,null,"status:no;dialogWidth:275px;dialogHeight:260px;dialogHide:true;help:no;scroll:no");if(c!=null){document.getElementById(e).value=c}}function uploadFile(d,c,b){var a;a=window.showModalDialog(c+"addFile.aspx?s="+b,null,"status:no;dialogWidth:400px;dialogHeight:300px;dialogHide:true;help:no;scroll:yes");if(a!=null){document.getElementById(d).value=a}}function custAddr(){window.open("CustMaint_Addr.aspx","AddrMaint","resizable=1, width=750, height=550, status=1, scrollbars=1")}function custContacts(){window.open("CustMaint_Cont.aspx","ContMaint","resizable=1, width=475, height=280, status=1, scrollbars=1")}function browseFile(d,c,b){var a;a=window.showModalDialog(c+"browseFile.aspx?s="+b,null,"status:no;dialogWidth:250px;dialogHeight:600px;dialogHide:true;help:no;scroll:yes");if(a!=null){document.getElementById(d).value=a}}function browseCusts(c,b){var a;a=window.showModalDialog(b+"BrowseCusts.aspx",null,"status:no;dialogWidth:1000px;dialogHeight:500px;dialogHide:true;help:no;scroll:yes");alert(a);document.getElementById(c).value=a};
