*/
function onKeyPress () {
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;
if (keycode == 13) {
alert("To submit this form, please use the button below. To advance to another input field, use your 'Tab' key.");
return false
}
return true
}
// Disables input fields based on user's current input
// onClick="document.FormName???.FormField???.disabled=document.FormName???.FormField???.readOnly = !this.checked;"
// Check for Flash and write browser plugin appropriate code
/* Example Usage:
*/
function FlashCheck(FlashVer,FlashCode,NonFlashCode)
{
if ((navigator.appName == "Microsoft Internet Explorer" &&
navigator.appVersion.indexOf("Mac") == -1 &&
navigator.appVersion.indexOf("3.1") == -1) ||
(navigator.plugins && navigator.plugins["Shockwave Flash"]) ||
navigator.plugins["Shockwave Flash" + FlashVer])
{
// Insert Flash Object Tag
document.write(FlashCode);
}
else {
// Insert Image Tag
document.write(NonFlashCode);
}
}
// End hiding script from old browsers -->
// Prevents machines from grabbing email addresses from our websites
/*
*/
function SafeEmail(EmailName,DomainName,SubjectLine,VisibleLink){
document.write(''+VisibleLink+'');
}