function initPage()
{
	var inputs = document.getElementsByTagName("input");
	for (var i=0; i<inputs.length; i++)
	{
		
		if (inputs[i].type == "text" && inputs[i].className == "text" && inputs[i].value == "Enter Email Address")
		{
			inputs[i].onfocus = function () {
					if (this.value == "Enter Email Address")
						this.value = "";
				}
			inputs[i].onblur = function () {
					if (this.value == "")
						this.value = "Enter Email Address";
				}	
		}
	}
}

if (window.addEventListener)
	window.addEventListener("load", initPage, false);
else if (window.attachEvent)
	window.attachEvent("onload", initPage);
