///init form Sign up for Newsletter function frmProductRequestInfo() { if (!$("Request_Product_Info_Form_8_btnSubmit")) return; new fValiderAlert("/xml/product_request_info.xml", "Request_Product_Info_Form_8_btnSubmit", { width: 160 }); } function frmProductRequestDemo() { if (!$("Request_Product_Demo_Form_8_btnSubmit")) return; new fValiderAlert("/xml/product_request_demo.xml", "Request_Product_Demo_Form_8_btnSubmit", { width: 160 }); } function frmServiceRequestInfo() { if (!$("Request_Service_Info_Form_8_btnSubmit")) return; new fValiderAlert("/xml/service_request_info.xml", "Request_Service_Info_Form_8_btnSubmit", { width: 160 }); } function frmContact() { if (!$("frmContactRequestButton")) return; new fValiderAlert("/xml/contact.xml", "frmContactRequestButton", { width: 160 }); } function frmCareer() { if (!$("frmProductRequestInfoButton")) return; new fValiderAlert("/xml/career.xml", "frmProductRequestInfoButton", { width: 160 }); } function frmSupport() { if (!$("frmSupportRequestButton")) return; new fValiderAlert("/xml/supportRequest.xml", "frmSupportRequestButton", { width: 160 }); } function frmSupportRequest() { if (!$("SupportRequestForm_7_btnSubmit")) return; new fValiderAlert("/xml/SupportRequestForm.xml", "SupportRequestForm_7_btnSubmit", { width: 160 }); } function frmCareerApplication() { if (!$("frmApplyJobButton")) return; new fValiderAlert("/xml/CareerApplication.xml", "frmApplyJobButton", { width: 160 }); } window.addEvent("load", function(e) { // global settings for all forms fSetAlertOptions({ width: 100, bAlertOnBlur: false, iAlertAutoHide: 3000 }); // create alert for "contact" forms frmContact(); frmProductRequestInfo(); frmProductRequestDemo(); frmServiceRequestInfo(); frmCareer(); frmSupport(); frmSupportRequest(); frmCareerApplication(); });