function change()
{
	document.fioritoForm.pics.src="images/button-home-down.gif"
}
function changeback()
{
	document.fioritoForm.pics.src="images/button-home.gif"
}
function change2()
{
	document.fioritoForm.pics2.src="images/button-as-down.gif"
}
function changeback2()
{
	document.fioritoForm.pics2.src="images/button-as.gif"
}
function change3()
{
	document.fioritoForm.pics3.src="images/button-sfHomes-down.gif"
}
function changeback3()
{
	document.fioritoForm.pics3.src="images/button-sfHomes.gif"
}
function change4()
{
	document.fioritoForm.pics4.src="images/button-pwHomes-down.gif"
}
function changeback4()
{
	document.fioritoForm.pics4.src="images/button-pwHomes.gif"
}
function change5()
{
	document.fioritoForm.pics5.src="images/button-search-down.gif"
}
function changeback5()
{
	document.fioritoForm.pics5.src="images/button-search.gif"
}
function change6()
{
	document.fioritoForm.pics6.src="images/button-cn-down.gif"
}
function changeback6()
{
	document.fioritoForm.pics6.src="images/button-cn.gif"
}
function change7()
{
	document.fioritoForm.pics7.src="images/button-interests-down.gif"
}
function changeback7()
{
	document.fioritoForm.pics7.src="images/button-interests.gif"
}
function change8()
{
	document.fioritoForm.pics8.src="images/button-contact-down.gif"
}
function changeback8()
{
	document.fioritoForm.pics8.src="images/button-contact.gif"
}
function validate()
{
	if (document.forms[0].FirstName.value == "")
	{
		alert ("Please enter your firstname on the e-mail form")
		document.forms[0].FirstName.focus()
		return false;
	}
	if (document.forms[0].LastName.value == "")
	{
		alert ("Please enter your lastname on the e-mail form")
		document.forms[0].LastName.focus()
		return false;
	}
	if (document.forms[0].PHone.value == "")
	{
		alert ("Please enter your phone number on the e-mail form")
		document.forms[0].PHone.focus()
		return false;
	}
	//This will check the validity of the e-mail supplied by the customer
	//We are checking @, ., net, com, edu, gov, org
	if (document.forms[0].Email.value.indexOf("@") == -1)
	{
		alert ("Please enter a valid e-mail address")
		document.forms[0].Email.focus()
		return false;
	}
	if (document.forms[0].Email.value.indexOf(".com") == -1 && document.forms[0].Email.value.indexOf(".net") == -1 && document.forms[0].Email.value.indexOf(".edu") == -1 && document.forms[0].Email.value.indexOf(".gov") == -1 && document.forms[0].Email.value.indexOf(".org") == -1)
	{
		alert ("Please enter a valid e-mail address")
		document.forms[0].Email.focus()
		return false;
	}
	
}
