function half_screen(){
window.moveTo(0,0)
//window.resizeTo(screen.width/2,screen.height/2)
window.resizeTo(500,800)

document.form1.fullname.focus();

}

function full_screen(){
window.moveTo(0,0)
window.resizeTo(screen.width,screen.height-30)
}


function changeCSS(obj, bgColor, bdColor, ftColor) {
   	if (document.getElementById) {
		obj.style.backgroundColor = bgColor;
		obj.style.borderColor = bdColor;
		obj.style.color = ftColor;
	}
}


	function validateForm2()
	{
	    formObj = document.form1;
		if (formObj.fullname.value == "") {
		alert("You must enter your name before pressing 'Submit'. Please enter all the required information and press 'Submit' again");
		formObj.fullname.focus();		
		return false;
	    }
		else if (formObj.email.value == "") {
		alert("You must enter a valid email address before pressing 'Submit'. Please enter all the required information and press 'Submit' again");
		formObj.email.focus();		
		return false;
	    }
		else if (formObj.phone.value == "") {
		alert("You must enter your phone number before pressing 'Submit'. Please enter all the required information and press 'Submit' again");
		formObj.phone.focus();		
		return false;
	    }
	}


