function initInputs()
{
	var inputs = document.getElementsByTagName("input");
	for (var i=0; i<inputs.length; i++)
	{
		if ((inputs[i].type == "text" && inputs[i].name == "login") || (inputs[i].type == "password" && inputs[i].name == "pass"))
		{
			inputs[i].onfocus = function ()
			{
				if (this.value == "Email de Usuario" || this.value == "Clave")
					this.value = "";
			}
			inputs[i].onclick = function ()
			{
				if (this.value == "Email de Usuario" || this.value == "Clave")
					this.value = "";
			}
			inputs[i].onblur = function ()
			{
				if (this.value == "" && this.name == "login") this.value = "Email de Usuario";
				if (this.value == "" && this.name == "pass") this.value = "Clave";
			}
		}
	}
}
if (window.addEventListener)
{
	window.addEventListener("load", initInputs, false);
}
else if (window.attachEvent){
	window.attachEvent("onload", initInputs);
}