// FORM VALIDATION FUNCTIONS //function validateForm(){	if (document.contactForm.contactName.value==""){		alert("Please enter your Name.");		document.contactForm.contactName.focus();return false	}	if (document.contactForm.contactEmail.value==""|document.contactForm.contactEmail.value.indexOf("@")==-1|document.contactForm.contactEmail.value.indexOf(".")==-1){		alert("Please enter a valid Email Address.");		document.contactForm.contactEmail.focus();return false	}	if (document.contactForm.contactTelephone.value==""){		alert("Please enter your Telephone Number.");		document.contactForm.contactTelephone.focus();return false	}	if (document.contactForm.contactMessage.value==""){		alert("Please enter your Message.");		document.contactForm.contactMessage.focus();return false	}	else{document.contactForm.submit();}	}// GALLERY FUNCTIONS //function fadeSwich(obj){	if (obj.filters.alpha.opacity==100){		obj.filters.alpha.opacity=40;}	else{		obj.filters.alpha.opacity=100;}}function changeImage(imageSrc){	document.images['largePic'].src=imageSrc}// NAVIGATION FUNCTIONS //var lastMenu="null"; function langMenuOn(imgName){	if (imgName.indexOf("prev")!=-1){		document.images[imgName].src='images/previous.gif';}	else if (imgName.indexOf("next")!=-1){		document.images[imgName].src='images/next.gif';}	else{		document.images[imgName].src='images/dot_red.gif';}}function langMenuOff(imgName){	if (imgName.indexOf("prev")!=-1){		document.images[imgName].src='images/previous_grey.gif';}	else if (imgName.indexOf("next")!=-1){		document.images[imgName].src='images/next_grey.gif';}	else{		document.images[imgName].src='images/spacer.gif';}}function navItemOn(cellName, imgName){if (document.getElementById){		document.images[imgName].src='images/do.gif';		document.getElementById(cellName).style.backgroundColor='#CC3300';	}}function navItemOff(cellName, imgName){	if (document.getElementById){		document.images[imgName].src='images/spacer.gif';		if (imgName.indexOf("0")!=-1){			document.getElementById(cellName).style.backgroundColor='#E4E4E4';}		else{			document.getElementById(cellName).style.backgroundColor='#CCCCCC';}	}} function showMenu(menuName){	if (document.getElementById){		if (lastMenu=='null'){			document.getElementById(menuName).style.visibility='visible'		}		else if (menuName==lastMenu){			if (document.getElementById(menuName).style.visibility=='visible')			{document.getElementById(menuName).style.visibility='hidden'}			else			{document.getElementById(menuName).style.visibility='visible'}		}		else {		document.getElementById(menuName).style.visibility='visible'		document.getElementById(lastMenu).style.visibility='hidden'		}	}		if (document.layers){		if (lastMenu=='null'){			document.layers[menuName].visibility='visible'		}		else if (menuName==lastMenu){			if (document.layers[menuName].visibility=='visible')			{document.layers[menuName].visibility='hidden'}			else			{document.layers[menuName].visibility='visible'}		}		else {		document.layers[menuName].visibility='visible'		document.layers[lastMenu].visibility='hidden'		}	}			lastMenu=menuName}
