//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++ valContactForm()
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function valContactForm(){
	
	tmpObj=document.getElementById('txtEstName');
	if (tmpObj.value==''){
		window.alert('Please enter your Name!');
		tmpObj.focus();
		return false;
	}
	tmpObj=document.getElementById('txtEstState');
	if (tmpObj.value==''){
		window.alert('Please enter your State!');
		tmpObj.focus();
		return false;
	}
	tmpObj=document.getElementById('txtEstPhone');
	if (tmpObj.value==''){
		window.alert('Please enter your Phone!');
		tmpObj.focus();
		return false;
	}
	tmpObj=document.getElementById('txtEstDesc');
	if (tmpObj.value==''){
		window.alert('Please enter your Project Details!');
		tmpObj.focus();
		return false;
	}
	
	objForm=document.getElementById('frmReqQuote');
	objForm.action='/submitEstForm.php';
	objForm.submit();
	
}
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++ valUploadPhotoForm()
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function valUploadPhotoForm(){
	
	tmpObj=document.getElementById('txtFullName');
	if (tmpObj.value==''){
		window.alert('Please enter your full name!');
		tmpObj.focus();
		return false;
	}
	tmpObj=document.getElementById('txtAddr');
	if (tmpObj.value==''){
		window.alert('Please enter your address!');
		tmpObj.focus();
		return false;
	}
	tmpObj=document.getElementById('txtCity');
	if (tmpObj.value==''){
		window.alert('Please enter your city!');
		tmpObj.focus();
		return false;
	}
	tmpObj=document.getElementById('txtZipCode');
	if (tmpObj.value==''){
		window.alert('Please enter your zipcode!');
		tmpObj.focus();
		return false;
	}
	tmpObj=document.getElementById('txtDesc');
	if (tmpObj.value==''){
		window.alert('Please enter your project description!');
		tmpObj.focus();
		return false;
	}
	tmpObj=document.getElementById('txtEmail');
	if (tmpObj.value==''){
		window.alert('Please enter your email address!');
		tmpObj.focus();
		return false;
	}
	tmpObj=document.getElementById('txtPwd');
	if (tmpObj.value==''){
		window.alert('Please create your password!');
		tmpObj.focus();
		return false;
	}
	tmpObj2=document.getElementById('txtConfPwd');
	if (tmpObj2.value==''){
		window.alert('Please confirm your password!');
		tmpObj2focus();
		return false;
	}
	if (tmpObj.value!=tmpObj2.value){
		window.alert('Password do not match!');
		tmpObj2focus();
		return false;
	}
	
	tmpObj=document.getElementById('filePhoto');
	if (tmpObj.value==''){
		window.alert('Please select your photo to upload!');
		tmpObj.focus();
		return false;
	}
	
	objForm=document.getElementById('frmUploadPhoto');
	objForm.action='/members/uploadFirstPhoto.php';
	objForm.submit();
	
}


