<!-- hide from old browsers

var days = new Array();
days[0] = "Sunday";
days[1] = "Monday";
days[2] = "Tuesday";
days[3] = "Wednesday";
days[4] = "Thursday";
days[5] = "Friday";
days[6] = "Saturday";

var months = new Array();
months[0] = "January";
months[1] = "February";
months[2] = "March";
months[3] = "April";
months[4] = "May";
months[5] = "June";
months[6] = "July";
months[7] = "August";
months[8] = "September";
months[9] = "October";
months[10] = "November";
months[11] = "December";

function externalLinks() { 
 if (!document.getElementsByTagName) return; 
 var anchors = document.getElementsByTagName("a"); 
 for (var i=0; i<anchors.length; i++) { 
   var anchor = anchors[i]; 
   if (anchor.getAttribute("href") && 
       anchor.getAttribute("rel") == "external") 
     anchor.target = "_blank"; 
 	} 
} 
window.onload = externalLinks;

function checkEmail(strng) {
	var error = "";

	var emailFilter=/^.+@.+\..{2,6}$/;

	if (!(emailFilter.test(strng))) {
		return false;
	}

	var illegalChars= /[\(\)\<\>\,\;\:\\\/\"\[\] ']/

	if (strng.match(illegalChars)) {
		return false;
	}

	return true;
}

function nl_validator(theForm)
{
	if(!checkEmail(theForm.newsletter.value)) {
		 alert("Please enter a valid Email Address");
		theForm.newsletter.focus();
		 return false;
	}

	return (true);
}

function taf_validator(theForm)
{

 	if(theForm.tellafriend1.value == "") {
 		 alert("Please enter a Name.");
 		 theForm.tellafriend1.focus();
 		 return(false);
 	}


	if(!checkEmail(theForm.tellafriend2.value)) {
		 alert("Please enter a valid Email Address");
		theForm.tellafriend2.focus();
		 return false;
	}


	return (true);
}

function switchImg(thesrc,theidon,theidoff) {
	document.getElementById(theidon).className = "active";
	document.getElementById(theidoff).className = "";
	document.getElementById('mainimg').src = "/prodhuge/" + thesrc + ".jpg";
	return false;
}

// - end hiding -->