
	function change_disp(id)
	{	
		document.getElementById(id).style.visibility="visible";   	
		//$(id).style.visibility = 'visible';
		switch(id)
		{
			case "product_vert":
				var prod = document.getElementById("products_img");
				prod.src ="images/corners/hover/products.png";
				prod.className = "blur2";
			break;
			case "purchase_vert":
				var purc = document.getElementById("purchase_img");
				purc.src ="images/corners/hover/purchase.png";
				purc.className = "blur";
			break;
			case "support_vert":
				var supp = document.getElementById("support_img");
				supp.src ="images/corners/hover/support.png";
				supp.className = "blur";
			break;
		}
	}

	function go_back(id)
	{
		switch(id)
		{
			case "product_vert":
				var prod = document.getElementById("products_img");
				prod.src ="http://familyassessmentform.com/new_faf/images/corners/orig/pixel.png";
				prod.className = "";
			break;
			case "purchase_vert":
				var purc = document.getElementById("purchase_img");
				purc.src ="http://familyassessmentform.com/new_faf/images/corners/orig/pixel.png";
				purc.className = "";
			break;
			case "support_vert":
				var supp = document.getElementById("support_img");
				supp.src ="http://familyassessmentform.com/new_faf/images/corners/orig/pixel.png";
				supp.className = "";
			break;
		}
		document.getElementById(id).style.visibility = "hidden"; 
	}

	function keep_disp(id1,id2)
	{
		document.getElementById(id1).style.visibility="visible";   	
		document.getElementById(id2).style.visibility="visible";   	
	}

	function new_disp(id1,id2)
	{
		document.getElementById(id1).style.visibility="hidden";   	
		document.getElementById(id2).style.visibility="hidden";   	
	}
	
	
	function on_hover(id)
	{	
		switch(id)
		{
			case "index_link":
				var purc = document.getElementById("home_img");
				purc.src ="images/corners/hover/home.png";
				purc.width ="97";
				if(navigator.appName!='Microsoft Internet Explorer'){
					purc.style.marginTop="-1px";
				}			
			break;
			case "research_link":
				var prod = document.getElementById("research_img");
				prod.src ="images/corners/hover/research.png";
				prod.width ="97";
				if(navigator.appName!='Microsoft Internet Explorer'){
					prod.style.marginTop="-1px";
				}
			break;
			case "contact_link":
				var purc = document.getElementById("contact_img");
				purc.src ="images/corners/hover/contact.png";
				purc.width ="97";
				if(navigator.appName!='Microsoft Internet Explorer'){
					purc.style.marginTop="-1px";
				}
			break;
		}
	}
	
	function on_out(id)
	{	
		switch(id)
		{
			case "index_link":
				var prod = document.getElementById("home_img");
				prod.src ="http://familyassessmentform.com/new_faf/images/corners/orig/pixel.png";
			break;
			case "research_link":
				var prod = document.getElementById("research_img");
				prod.src ="http://familyassessmentform.com/new_faf/images/corners/orig/pixel.png";
			break;
			case "contact_link":
				var purc = document.getElementById("contact_img");
				purc.src ="http://familyassessmentform.com/new_faf/images/corners/orig/pixel.png";
			break;
		}
	}
	
	function validate_form()
	{
		var i=0;
		var msg="Please Enter: \n";
		if(document.form.First_Name.value=="")
		{
			i=1;
			msg+="- First Name \n"
		}
		if(document.form.Last_Name.value=="")
		{
			i=1;
			msg+="- Last Name \n"
		}
		if(document.form.Contact_Phone.value=="")
		{
			i=1;
			msg+="- Contact Phone \n"
		}
		if(document.form.Contact_Email.value=="")
		{
			i=1;
			msg+="- Contact Email \n"
		}
		if(i==1)
		{
			alert(msg);
			return false;
		}
	}
		

