// Created by iWeb 3.0.1 local-build-20100315

setTransparentGifURL('Media/transparent.gif');
function hostedOnDM() { return false; }
function onPageLoad() {
	loadMozillaCSS('Welcome_files/WelcomeMoz.css');
	adjustLineHeightIfTooBig('id1');
	adjustFontSizeIfTooBig('id1');
	adjustLineHeightIfTooBig('id2');
	adjustFontSizeIfTooBig('id2');
	adjustLineHeightIfTooBig('id3');
	adjustFontSizeIfTooBig('id3');
	fixupAllIEPNGBGs();
	fixAllIEPNGs('Media/transparent.gif');
	performPostEffectsFixups();
}

// eNews Check form
var REBlank = /^ *$/;
//
var RENumeric = /^([0-9])+$/;
//
var REEmail = /((^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$)|(^ *$))/;
//
function eNewsCheck() {
	// The Route to form
	var theform = document.e_signup;
	//
	if (theform.cm-name.value == 0 ){ // Check a firstname has been entered
        alert('Your name is required'); // Show Alert
        theform.cm-name.focus(); // Highlight the Element
        return false;
    } else if (theform.cm-bskjh-bskjh.value == 0 ){ // Check a email address has been entered
        alert('Your email address is required'); // Show Alert
        theform.cm-bskjh-bskjh.focus(); // Highlight the Element
        return false;
		
    } else if (REEmail.test(theform.cm-bskjh-bskjh.value) == false) { // Check that email is valid
        alert('A valid email address is required'); // Show Alert
        theform.cm-bskjh-bskjh.focus(); // Highlight the Element
        return false;
		
    } else {
		return true;
	}
}
