<!--

// R.B.'s LeanMachine 1.0.1
// copyright 2001 Idea Resource Group

var docT = "";

function ClassNew(obj, new_style, sUrl) {

    var bUrl = "http://www.idearesource.com";
    if (obj.className) obj.className = new_style;
    else {
        if (document.all) tmp = document.all[obj];
        else if (document.layers) tmp = document.links[obj];
        else tmp = document.getElementById(obj);

        if (tmp.className) tmp.className = new_style;
    }
    window.status = bUrl+docT+sUrl;
    return true;
}
	
// RB's hybrid sniffer 1.0 
tmt_css_alt = "/woomb-no2.css";
tmt_css_main = "/woomb.css";

	var bls4;
	var bIsIE = navigator.appName != "Microsoft Internet Explorer" ;
    var bls4 = bIsIE && parseInt(navigator.appVersion) == 4 ;

if ((navigator.appVersion.indexOf("Mac") == -1) && (bls4)) {
   document.write("<link rel='stylesheet' href='" + tmt_css_alt + "' type='text/css'>");
}
     else 
     		{
   document.write("<link rel='stylesheet' href='" + tmt_css_main + "' type='text/css'>");
       }
// RB sniffer end

function testForm1() {

    var em=document.addform.username.value;
		if
		(document.addform.username.value=="")
 /*    (document.addform.username.value=="")
*/
	{
       alert("\nForm submission canceled due to one or more empty fields.\n\nPlease fill in the form with at least your email address and telephone. Thank you.");

        return false;
 }


if (em.length<8||em.indexOf('@')==-1||em.indexOf('.')==-1||em.indexOf(' ')!=-1)
        {
                alert("\nForm submission canceled due to an invalid Email address.\n\nPlease fill in the Email field correctly. Thank you.");
                document.addform.username.focus();
                return false;
        }

        return true;
}

// -->
