function clearText(thefield){


if (thefield.defaultValue==thefield.value)


thefield.value = ""


}

function refillText(thefield){


if (thefield.value == "")


thefield.value = thefield.defaultValue;


}


function capitalizeMe(obj) {

		if (thefield.value == "")
		
		
		thefield.value = thefield.defaultValue;

        val = obj.value;


        newVal = '';


        val = val.split(' ');


        for(var c=0; c < val.length; c++) {


                newVal += val[c].substring(0,1).toUpperCase() +


val[c].substring(1,val[c].length) + ' ';


        }


        obj.value = newVal;


}


function outputStringToDisplay() { }


function verify() {
var themessage = "Please enter a valid";
if (document.getElementById("emailaddress").value=="<Email Address>"  || document.getElementById("emailaddress").value=="<Your Email Address>") {
themessage = themessage + " email address.";
}
//alert if fields are empty and cancel form submit
if (themessage != "Please enter a valid") {
alert(themessage);
return false;
   }
}
