//Employment

function checkformEmployment (form)
{

	var Name = Employment.Name.value ;
	if (Name == "")
		{
			alert ("Please enter your name.") ;
			Employment.Name.focus();
			return ;
		}

	var Email = Employment.Email.value ;
	if (Email == "")
		{
			alert ("Please enter your email address.") ;
			Employment.Email.focus();
			return ;
		}

	var Phone = Employment.Phone.value ;
	if (Phone == "")
		{
			alert ("Please enter your phone number.") ;
			Employment.Phone.focus();
			return ;
		}


Employment.submit() ;

}


//Service

function checkformService (form)
{

	var Name = service.Name.value ;
	if (Name == "")
		{
			alert ("Please enter your name.") ;
			service.Name.focus();
			return ;
		}

	var Email = service.Email.value ;
	if (Email == "")
		{
			alert ("Please enter your email address.") ;
			service.Email.focus();
			return ;
		}

	var Phone = service.Phone.value ;
	if (Phone == "")
		{
			alert ("Please enter your phone number.") ;
			service.Phone.focus();
			return ;
		}


service.submit() ;

}



//contact

function checkformcontact (form)
{

	var Name = contact.Name.value ;
	if (Name == "")
		{
			alert ("Please enter your name.") ;
			contact.Name.focus();
			return ;
		}	

	var Phone = contact.Phone.value ;
	if (Phone == "")
		{
			alert ("Please enter your phone number.") ;
			contact.Phone.focus();
			return ;
		}
		
	var Email = contact.Email.value ;
	if (Email == "")
		{
			alert ("Please enter your email address.") ;
			contact.Email.focus();
			return ;
		}		


contact.submit() ;

}

//contact

function checkformcontact (form)
{

	var Name = contact.Name.value ;
	if (Name == "")
		{
			alert ("Please enter your name.") ;
			contact.Name.focus();
			return ;
		}	

	var Phone = contact.Phone.value ;
	if (Phone == "")
		{
			alert ("Please enter your phone number.") ;
			contact.Phone.focus();
			return ;
		}
		
	var Email = contact.Email.value ;
	if (Email == "")
		{
			alert ("Please enter your email address.") ;
			contact.Email.focus();
			return ;
		}		


contact.submit() ;

}

//estimate

function checkformestimate (form)
{

	var Name = estimate.Name.value ;
	if (Name == "")
		{
			alert ("Please enter your name.") ;
			estimate.Name.focus();
			return ;
		}

	var Email = estimate.Email.value ;
	if (Email == "")
		{
			alert ("Please enter your email address.") ;
			estimate.Email.focus();
			return ;
		}

	var Phone = estimate.Phone.value ;
	if (Phone == "")
		{
			alert ("Please enter your phone number.") ;
			estimate.Phone.focus();
			return ;
		}


estimate.submit() ;

}


//service

function checkformservice (form)
{

	var Name = service.Name.value ;
	if (Name == "")
		{
			alert ("Please enter your name.") ;
			service.Name.focus();
			return ;
		}

	var Email = service.Email.value ;
	if (Email == "")
		{
			alert ("Please enter your email address.") ;
			service.Email.focus();
			return ;
		}

	var Phone = service.Phone.value ;
	if (Phone == "")
		{
			alert ("Please enter your phone number.") ;
			service.Phone.focus();
			return ;
		}


service.submit() ;

}


var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countup(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var paststring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1/365)
var thisYear =(Math.round(difference))
document.write (thisYear)
}

function open_fad(url) {
mywin = window.open(url,"window",'scrollbars=yes,resizable=yes,width=575,height=525');
}

function open_dist(url) {
mywin = window.open(url,"window",'scrollbars=yes,resizable=yes,width=615,height=600');
}


