function ContactForm(obj)
{
var Msg = "The Following Fields are required to continue :\n\n";
var InitMsg = Msg;
var FocusVal = "";
var Pos = 0;

if (!eval("document."+obj+".FName.value"))
	{
	Msg = Msg + "- First Name\n";
		if (Pos == 0)
		{
		FocusVal = "FName";
		Pos = 1;
		}
	}
	
if (!eval("document."+obj+".LName.value"))
	{
	Msg = Msg + "- Last Name\n";
		if (Pos == 0)
		{
		FocusVal = "LName";
		Pos = 1;
		}
	}
	
if (!eval("document."+obj+".Town.value"))
	{
	Msg = Msg + "- Town\n";
		if (Pos == 0)
		{
		FocusVal = "Town";
		Pos = 1;
		}
	}
	
if (!eval("document."+obj+".Country.value"))
	{
	Msg = Msg + "- Country\n";
		if (Pos == 0)
		{
		FocusVal = "Country";
		Pos = 1;
		}
	}

if (!eval("document."+obj+".Email.value"))
	{
	Msg = Msg + "- Email Address\n";
		if (Pos == 0)
		{
		FocusVal = "Email";
		Pos = 1;
		}
	}
	
if (!eval("document."+obj+".TelHome.value"))
	{
	Msg = Msg + "- Home Telephone Number\n";
		if (Pos == 0)
		{
		FocusVal = "TelHome";
		Pos = 1;
		}
	}
	
if (!eval("document."+obj+".TelWork.value"))
	{
	Msg = Msg + "- Work Telephone Number\n";
		if (Pos == 0)
		{
		FocusVal = "TelWork";
		Pos = 1;
		}
	}

if (obj == 'Contractor'){
   if (eval("document."+obj+".ProjAntiStartDate.value") && !isDate(eval("document."+obj+".ProjAntiStartDate.value")))
		{
		Msg = Msg + "- Invalid Project Start Date \n";
			if (Pos == 0)
			{
			FocusVal = "ProjAntiStartDate";
			Pos = 1;
			}
		}		
}


if (InitMsg == Msg)
	{
	Msg="";
	return true;
	}
else
	{
	alert(Msg);
	if (FocusVal != "None")	{
		eval("document."+obj+"."+FocusVal+".focus();")}
	Msg="";
	}
	return false;

}
