function formValidation(contactForm){
	if (contactForm.FirstName.value == ""){
		alert("Please enter your First Name");
		contactForm.FirstName.focus();
		return false;
	}
	if (contactForm.LastName.value == ""){
		alert("Please enter your Last Name");
		contactForm.LastName.focus();
		return false;
	}
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(contactForm.email.value)==false){
		alert("Invalid Email Address");
		contactForm.email.focus();
		return false;
	}
	if (contactForm.phone_number.value == ""){
		alert("Please enter your phone number");
		contactForm.phone_number.focus();
		return false;
	}
return true;
}
function onClick_pic(strImg){
	
	
	//newwindow=window.open(strImg,'United Renovations','width=700,height=500');
	//if (window.focus) {newwindow.focus()}
	//window.open("p.html?"+strImg, "", "resizable=0,HEIGHT=500,WIDTH=700");
	window.open("p.html?"+strImg, "", "resizable=0,HEIGHT=500,WIDTH=700");
}

function createFlashMarkup(width,height,uri,replaceid,BGColor){
	var embed = document.createElement('embed');
	embed.setAttribute('width',width);
	embed.setAttribute('height',height);
	embed.setAttribute('src',uri);
	embed.setAttribute('bgcolor',BGColor);

	var div = document.getElementById(replaceid);
	//document.getElementsByTagName('body')[0].replaceChild(embed,div);
	div.appendChild(embed);
}