// --- EDS utilities ...
function IsIE(){return (navigator.appName.indexOf('Microsoft') != -1);}
//function FlipColor(oElement, sColor) { if (IsIE()) oElement.style.backgroundColor = sColor; }
function FlipColor(oElement, sColor) { oElement.style.backgroundColor = sColor; }
function TrimAllTextFields(form) { var reLeadTrailSpaces = new RegExp("^\x20{1,}|\x20{1,}$", "gi"); for (var x = 0; x < form.elements.length; x++) { if ((form.elements[x].type == "textarea") || (form.elements[x].type == "text")) { form.elements[x].value = form.elements[x].value.replace(reLeadTrailSpaces, ""); } } }
function isEmail(pr_email){var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;	return filter.test(pr_email);}

