function ClearForm() { var FieldType; for (var i = 0; i < document.EditForm.length; i++) { FieldType = document.EditForm.elements[i].type if (FieldType == "text" || FieldType == "textarea") { document.EditForm.elements[i].value = "" } if (FieldType == "select-one") { document.EditForm.elements[i].options.selectedIndex = 0 } } } function OpenNewWindow(url, width, height) { var randomnumber=Math.floor(Math.random()*5001) window.open(url, randomnumber, "top=10,left=10,menubar=0,resizable=1,scrollbars=1,width=" + width + ",height=" + height) } function OpenWindowNoScroll(url, width, height) { window.open(url, 'popup_noscroll', "top=10,left=10,menubar=0,resizable=0,scrollbars=0,width=" + width + ",height=" + height) } function protect_images2(e) { var msg = "Sorry, our images are copyrighted."; if (navigator.appName == 'Netscape' && e.which == 3) { alert(msg); return false; } if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) { alert(msg); return false; } else return true; } function protect_images1() { if(document.images) { for(i=0;i esizable=1,scrollbars=1,width=" + width + ",height=" + height) } function OpenWindowNoScroll(url, width, height) { window.open(url, 'popup_noscroll', "top=10,left=10,menubar=0,resizable=0,scrollbars=0,width=" + width + ",height=" + height) } function protect_images2(e) { var msg = "Sorry, our images are copyrighted."; if (navigator.appName == 'Netscape' && e.which == 3) { alert(msg); return false; } if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) { alert(msg); return false; } else return true; } function protect_images1() { if(document.images) { for(i=0;i