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