<!--

document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">');
document.write('<meta name="MSSmartTagsPreventParsing" content="true">');

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
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.getAttribute("rel") == "new_window" )
		anchor.target = "_blank";
	}
}

function imgerr(img) {
   img.src='http://www.spaandsalon.co.uk/images/errorimage.gif';
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function validateAdd(){
	if ((document.add.email.value=='') || (document.add.name.value==''))
	{
		var bad = true;
		alert('Please make sure the form is complete');
	}
	if ((!document.add.rent.checked) && (!document.add.model.checked) && (!document.add.masseur.checked) && (!document.add.strip.checked))	
	{
		var bad = true;
		alert('You must select at least one type');
	}
	if (!bad)
	{
		document.add.action = "add_1.php?submit=submit"
		document.add.submit();
	}
}


function validate(){
	if ((document.emailForm.email.value=='') || (document.emailForm.text.value=='') || (document.emailForm.name.value=='')){
	alert('Please make sure the form is complete');
	}
	else 
	{
		document.emailForm.action = 'contact.php'
		document.emailForm.submit();
	}
	}






//-->


