// Opens window with predefined features
function popUp(theURL,winName,features) { 
	window.open(theURL,winName,features);
}

// CHECK Fields on form pages
function formCheck(object){

	controller = 0
	warning = "The following corrections are required:\n"
	if (object._FIRST.value==""){
		controller ++
		warning += controller+". Please enter your name.\n"
	}

	if (object._EMAIL.value==""){
		controller ++
		warning += controller+". Please enter your email.\n"
	}

	if (object._STREET1.value==""){
		controller ++
		warning += controller+". Please enter your address.\n"
	}

	if (object._CITY.value==""){
		controller ++
		warning += controller+". Please enter your city.\n"
	}

	if (object._STATE.value==""){
		controller ++
		warning += controller+". Please enter your state.\n"
	}

	if (object._ZIP.value==""){
		controller ++
		warning += controller+". Please enter your zipcode.\n"
	}

	if (controller > 0){
		alert(warning)
		return false;
	}
	else{
		return true;
	}

}

