function Clear2(FormItem,Text)
	{
	if (FromItem = 1)
		{
		if (document.quickcontact.name.value == Text)
			{
			document.quickcontact.name.value = "";
			}
		}
	if (FromItem = 2)
		{
		if (document.quickcontact.email.value == Text)
			{
			document.quickcontact.email.value = "";
			}
		}
	if (FromItem = 3)
		{
		if (document.quickcontact.phone.value == Text)
			{
			document.quickcontact.phone.value = "";
			}
		}
	if (FromItem = 4)
		{
		if (document.quickcontact.intrested.value == Text)
			{
			document.quickcontact.intrested.value = "";
			}
		}
	}
	
function Fill2(FormItem,Text)
	{
	if (FromItem = 1)
		{
		if (document.quickcontact.name.value == "")
			{
			document.quickcontact.name.value = Text;
			}
		}
	if (FromItem = 2)
		{
		if (document.quickcontact.email.value == "")
			{
			document.quickcontact.email.value = Text;
			}
		}
	if (FromItem = 3)
		{
		if (document.quickcontact.phone.value == "")
			{
			document.quickcontact.phone.value = Text;
			}
		}
	if (FromItem = 4)
		{
		if (document.quickcontact.intrested.value == "")
			{
			document.quickcontact.intrested.value = Text;
			}
		}
	}
	
function CheckForm2()
	{
	var Good = 0
	var theEmail = document.quickcontact.email.value
	var Checkfor1 = theEmail.indexOf('@');
	var Checkfor2 = theEmail.indexOf('.');
	var alert1 = "Name, phone, and email are required  "
	var alert2 = "Email address is invalid  "
	
	if (document.quickcontact.name.value == "" || document.quickcontact.phone.value == "" || document.quickcontact.email.value == "" || document.quickcontact.name.value == "Name" || document.quickcontact.phone.value == "Phone" || document.quickcontact.email.value == "Email")
		{
		Good = 1;
		}
	else if (Checkfor1 == -1 || Checkfor2 == -1)
		{		
		Good = 2;
		}
		
	if (Good == 1)
		{
		alert (alert1);
		return false;
		}
	else if (Good == 2)
		{
		alert (alert2);
		return false;
		}
	else if (Good == 0)
		{
		return true;
		}
	}