/** * Most of the scripts below were found at * www.alistapart.com and related sites. They are used * here because they are web standards compliant. These * scripts are all free to reuse and are not licensed as * part of the Kryptronic Hybrid X Core (KHXC). * * All onload() events go at the bottom of this file. */ /** * Function DisableSubmit() used to disable submit buttons * after then have been depressed. This is implemented to * stop multiple click submissions of forms. */ var submitted = false; function DisableSubmit(formname) { if(submitted == true) { return; } document.forms[formname].submit(); document.forms[formname].SUBMIT.value = 'Please Wait...'; document.forms[formname].SUBMIT.disabled = true; submitted = true; } /** * Function externalLinks() used to provide a standards * compliant way of producing a pop-up link to another * page. */ function externalLinks() { if (!document.getElementsByTagName) return; var anchors = document.getElementsByTagName("a"); for (var i=0; i