// JavaScript Document
startList = function() {
if (document.all&&document.getElementById) {
navRoot1 = document.getElementById("nav_vert1");
navRoot2 = document.getElementById("nav_vert2");
navRoot3 = document.getElementById("nav_vert3");
navRoot4 = document.getElementById("nav_vert4");
navRoot5 = document.getElementById("nav_vert5");
navRoot6 = document.getElementById("nav_vert6");
navRoot7 = document.getElementById("nav_vert7");
for (i=0; i<navRoot1.childNodes.length; i++) {
node = navRoot1.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }


for (i=0; i<navRoot2.childNodes.length; i++) {
node = navRoot2.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }

 
for (i=0; i<navRoot3.childNodes.length; i++) {
node = navRoot3.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
  
  
for (i=0; i<navRoot4.childNodes.length; i++) {
node = navRoot4.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }

  
for (i=0; i<navRoot5.childNodes.length; i++) {
node = navRoot5.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }

for (i=0; i<navRoot6.childNodes.length; i++) {
node = navRoot6.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }

for (i=0; i<navRoot7.childNodes.length; i++) {
node = navRoot7.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }

  
 }
}
window.onload=startList;

<!-- Begin

function popHelp(url) {
	var width = 350;
	var height = 300;
	helpWin = window.open(url, "helpWin", "width=" + width + ",height=" + height + ",toolbars=no,resizable=no,status=no,scrollbars=yes,scrolling=yes");
}

function popUp(strURL,strType,strHeight,strWidth) {
var strOptions="";
if (strType=="console") strOptions="scrollbars,resizable,height="+strHeight+",width="+strWidth;
if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
window.open(strURL, 'newWin', strOptions);
}

function popReg(url) {
	var width = 540;
	var height = 550;
	productWin = window.open(url, "productWin", "width=" + width + ",height=" + height + ",toolbar=0,scrollbars=0,scrolling=0,location=0,statusbar=0,status=0,menubar=0,resizable=0");
}

function verify() {

	re=/^[a-zA-Z\_]*$/;
	reg=/^[a-zA-Z\_ ]*$/;
	regan=/^[a-zA-Z\_ 0-9]*$/;
	var passwordmaxlength=6
	var themessage = "The following fields are required/incorrect: \n";

	if (document.form.firstname.value=="") {
		themessage = themessage + " - First Name\n";
	} else if (!re.exec(document.form.firstname.value)) {
		themessage = themessage + " -  First Name: Invalid Character Found!\n";
	}
	if (document.form.lastname.value=="") {
		themessage = themessage + " -  Last Name\n";
	} else if (!re.exec(document.form.lastname.value)) {
		themessage = themessage + " -  Last Name: Invalid Character Found!\n";
	}
	if (document.form.registrant.value=="") {
		themessage = themessage + " -  Registrant Name\n";
	} else if (!reg.exec(document.form.registrant.value)) {
		themessage = themessage + " -  Registrant: Invalid Character Found!\n";
	}
	if (document.form.address1.value=="") {
		themessage = themessage + " -  Address\n";
	} else if (!regan.exec(document.form.address1.value)) {
		themessage = themessage + " -  Address: Invalid Character Found!\n";
	}
	if (document.form.city.value=="") {
		themessage = themessage + " -  City\n";
	} else if (!re.exec(document.form.city.value)) {
		themessage = themessage + " -  City: Invalid Character Found!\n";
	}
	if (document.form.postcode.value=="") {
		themessage = themessage + " -  Postal Code\n";
	}
	if (document.form.country.value=="") {
		themessage = themessage + " -  Country\n";
	} else if (!re.exec(document.form.country.value)) {
		themessage = themessage + " -  Country: Invalid Character Found!\n";
	}
	if (document.form.phone.value=="") {
		themessage = themessage + " -  Telephone Number\n";
	}
	if (document.form.email.value=="") {
		themessage = themessage + " -  Email\n";
	} else if ((document.form.email.value.indexOf('@') == -1) || (document.form.email.value.indexOf('.') == -1)) {
		themessage = themessage + " -  Email: Please enter correct email address!\n";
	}
	if (document.form.password.value=="") {
		themessage = themessage + " -  Password";
	} else if ((document.form.password.value.length > passwordmaxlength) || (document.form.password.value.length < passwordmaxlength)){
		themessage = themessage + " - Password: Please enter 6 characters!";
	}
	//alert if fields are empty and cancel form submit
	if (themessage == "The following fields are required/incorrect: \n") {
		document.form.submit();
	}
	else {
		alert(themessage);
		return false;

	}
}

function verifydesign() {

	re=/^[a-zA-Z\_]*$/;
	reg=/^[a-zA-Z\_ ]*$/;
	regan=/^[a-zA-Z\_ 0-9]*$/;
	var passwordmaxlength=6
	var themessage = "The following fields are required/incorrect: \n";

	if (document.form.firstname.value=="") {
		themessage = themessage + " - First Name\n";
	} else if (!re.exec(document.form.firstname.value)) {
		themessage = themessage + " -  First Name: Invalid Character Found!\n";
	}
	if (document.form.lastname.value=="") {
		themessage = themessage + " -  Last Name\n";
	} else if (!re.exec(document.form.lastname.value)) {
		themessage = themessage + " -  Last Name: Invalid Character Found!\n";
	}
	if (document.form.company.value=="") {
		themessage = themessage + " -  Company Name\n";
	} else if (!reg.exec(document.form.company.value)) {
		themessage = themessage + " -  Compnay: Invalid Character Found!\n";
	}
	if (document.form.address1.value=="") {
		themessage = themessage + " -  Address\n";
	} else if (!regan.exec(document.form.address1.value)) {
		themessage = themessage + " -  Address: Invalid Character Found!\n";
	}
	if (document.form.city.value=="") {
		themessage = themessage + " -  City\n";
	} else if (!re.exec(document.form.city.value)) {
		themessage = themessage + " -  City: Invalid Character Found!\n";
	}
	if (document.form.country.value=="") {
		themessage = themessage + " -  Country\n";
	} else if (!re.exec(document.form.country.value)) {
		themessage = themessage + " -  Country: Invalid Character Found!\n";
	}
	if (document.form.phone.value=="") {
		themessage = themessage + " -  Telephone Number\n";
	}
	if (document.form.email.value=="") {
		themessage = themessage + " -  Email\n";
	} else if ((document.form.email.value.indexOf('@') == -1) || (document.form.email.value.indexOf('.') == -1)) {
		themessage = themessage + " -  Email: Please enter correct email address!\n";
	}

	//alert if fields are empty and cancel form submit
	if (themessage == "The following fields are required/incorrect: \n") {
		document.form.submit();
	}
	else {
		alert(themessage);
		return false;

	}
}

function verifycv() {

	re=/^[a-zA-Z\_]*$/; //allow chars
	reg=/^[a-zA-Z\_ ]*$/; //allow chars spaces
	regan=/^[a-zA-Z\_ 0-9]*$/; // allow number and chars and spaces
	var passwordmaxlength=6
	var themessage = "The following fields are required/incorrect: \n";

	if (document.form.firstname.value=="") {
		themessage = themessage + " - First Name\n";
	} else if (!re.exec(document.form.firstname.value)) {
		themessage = themessage + " -  First Name: Invalid Character Found!\n";
	}
	if (document.form.lastname.value=="") {
		themessage = themessage + " -  Last Name\n";
	} else if (!re.exec(document.form.lastname.value)) {
		themessage = themessage + " -  Last Name: Invalid Character Found!\n";
	}
	if (document.form.address.value=="") {
		themessage = themessage + " -  Address\n";
	} else if (!regan.exec(document.form.address.value)) {
		themessage = themessage + " -  Address: Invalid Character Found!\n";
	}
	if (document.form.city.value=="") {
		themessage = themessage + " -  City\n";
	} else if (!re.exec(document.form.city.value)) {
		themessage = themessage + " -  City: Invalid Character Found!\n";
	}
	if (document.form.postcode.value=="") {
		themessage = themessage + " -  Postal Code\n";
	}
	if (document.form.country.value=="") {
		themessage = themessage + " -  Country\n";
	} else if (!re.exec(document.form.country.value)) {
		themessage = themessage + " -  Country: Invalid Character Found!\n";
	}
	if (document.form.phone.value=="") {
		themessage = themessage + " -  Telephone Number\n";
	}
	if (document.form.email.value=="") {
		themessage = themessage + " -  Email\n";
	} else if ((document.form.email.value.indexOf('@') == -1) || (document.form.email.value.indexOf('.') == -1)) {
		themessage = themessage + " -  Email: Please enter correct email address!\n";
	}
	if (document.form.workexperience.value=="") {
		themessage = themessage + " -  Work Experience\n";
	} else if (!regan.exec(document.form.workexperience.value)) {
		themessage = themessage + " -  Work Experience: Invalid Character Found!\n";
	}
	if (document.form.qualifications.value=="") {
		themessage = themessage + " -  Qualifications";
	} else if (!regan.exec(document.form.qualifications.value)) {
		themessage = themessage + " -  Qualifications: Invalid Character Found!\n";
	}
	//alert if fields are empty and cancel form submit
	if (themessage == "The following fields are required/incorrect: \n") {
		document.form.submit();
	}
	else {
		alert(themessage);
		return false;

	}
}

function verifycallback() {

	re=/^[a-zA-Z\_]*$/; //allow chars
	reg=/^[a-zA-Z\_ ]*$/; //allow chars spaces
	regan=/^[a-zA-Z\_ 0-9]*$/; // allow number and chars and spaces
	var passwordmaxlength=6
	var themessage = "The following fields are required/incorrect: \n";

	if (document.form.firstname.value=="") {
		themessage = themessage + " - First Name\n";
	} else if (!re.exec(document.form.firstname.value)) {
		themessage = themessage + " -  First Name: Invalid Character Found!\n";
	}
	if (document.form.lastname.value=="") {
		themessage = themessage + " -  Last Name\n";
	} else if (!re.exec(document.form.lastname.value)) {
		themessage = themessage + " -  Last Name: Invalid Character Found!\n";
	}
	if (document.form.company.value=="") {
		themessage = themessage + " -  Company\n";
	} else if (!regan.exec(document.form.company.value)) {
		themessage = themessage + " -  Address: Invalid Character Found!\n";
	}
	if (document.form.phone.value=="") {
		themessage = themessage + " -  Telephone Number\n";
	}
	//alert if fields are empty and cancel form submit
	if (themessage == "The following fields are required/incorrect: \n") {
		document.form.submit();
	}
	else {
		alert(themessage);
		return false;

	}
}

myPix = new Array("/images/bar/leaf2.jpg","/images/bar/leaf3.jpg","/images/bar/leaf4.jpg","/images/bar/morning_sun.jpg","/images/bar/arctic.jpg")
imgCt = myPix.length 

function choosePic() {
	if (document.images) {
		randomNum = Math.floor((Math.random() * imgCt))
		document.myPicture.src = myPix[randomNum]
	}
}


function SymError()
{
  return true;
}
window.onerror = SymError;

function SymWinOpen(url, name, attributes)
{
  return (new Object());
}



<!-- Domain search script 

	function checkAll(theForm, cName, check) {
	for (i=0,n=theForm.elements.length;i<n;i++)
		if (theForm.elements[i].className.indexOf(cName) !=-1)
			theForm.elements[i].checked = check;
	}

	function TestForm(form)
	   {
		if ( !TestWhois(form) )
		return false;
		return true;
	   }

	function TestWhois(form)
	   {
		str = document.domainForm.dom.value;

		if ( str.indexOf('www.', 0) != -1)
		   {
			alert("\nDo not enter the www.\n\n");
			form.dom.value = "";
			document.domainForm.dom.focus();
			return false;
		   }

		if ( str.indexOf('.', 0) != -1)
		   {
			alert("\nDo not enter the domain extension.\n\n");
			form.dom.value = "";
			document.domainForm.dom.focus();
			return false;
		   }

		if ( str == "" )
		   {
			alert("\nThe domain field is blank.\n\n");
			document.domainForm.dom.focus();
			return false;
		   }

		for ( var i = 0; i < str.length; i++ )
		   {
			var ch = str.substring(i, i + 1);

			if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch) && (ch < "0" || "9" < ch)) && ch != '-')
			   {
				alert("The domain has illegal characters! Use only letters and numbers or a '-'");
				form.dom.value = "";
				document.domainForm.dom.focus();
				return false;
			   }
		   }

		return true;
	   }

// end domain search script -->



/* Functions that swaps images. */
function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
	objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
	if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
		(objStr.indexOf('document.all[')   ==0 && document.all   ==null))
	  objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
	obj = eval(objStr);
	if (obj != null) {
	  swapArray[j++] = obj;
	  swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
	  obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; //used for restore
}
function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}
/* Functions that handle preload. */
function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

// stop hiding -->
