// JavaScript Document

	function inputOnFocus(id,texto)
	{
		if(id.value == " Clave")
			id.type = "password";		
		if(id.value == texto)
			id.value = "";		
		return true;
	}
	
	function inputOnBlur(id,texto)
	{
		if(id.value.length == 0)
			id.type = "text";		
		if(id.value.length == 0)
			id.value = texto;
		return true;
	}
	
	function imgChange(img,id)
	{
		id.src = img;
	}

function mostrar_text(id)
{
	if(id.value.length == 0)
	{
		id.style.display='none';
		texto = document.getElementById("pass_text");
		texto.style.display = 'block';
	}
}
function mostrar_pass(id)
{
	id.style.display='none';
	pass = document.getElementById("password");
	pass.style.display = 'block';
	pass.focus();
}