var hostName = 'http://www.mandm.net.au'; function onLoadCommonFunction() { //MM_preloadImages('http://www.mandm.net.au/admin_images/slide_right.jpg'); } function popupWindow(path, where, hite, wide){ if (window.event){ window.event.returnValue = false; } var width; var height; var imgWidth; var imgHeight; if (screen.width0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 0) { return SIDString; } sidc = 0; while (sidc < 32) { SIDString = SIDString + getRandomLetter(); sidc++; } return SIDString; } function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=930,height=470,left = 260,top = 220');"); } function CheckMultiple4(frm, name) { for (var i=0; i < frm.length; i++) { fldObj = frm.elements[i]; fldId = fldObj.id; if (fldId) { var fieldnamecheck=fldObj.id.indexOf(name); if (fieldnamecheck != -1) { if (fldObj.checked) { return true; } } } } return false; } function CheckForm4(f) { if (f.email.value == "") { alert("Please enter your email address."); f.email.focus(); return false; } if (f.captcha.value == "") { alert("Please enter the security code shown"); f.captcha.focus(); return false; } return true; }