function setType(newItem,texte) 
{
	var txtValue = document.getElementById(newItem);
	if(!txtValue.value || txtValue.value == texte) {
		txtValue.value = "";
	}
}
function resetType(newItem,texte) 
{
	var txtValue = document.getElementById(newItem);
	if(!txtValue.value) {
		txtValue.value = texte;
	} 
}
function showPass() 
{
	var txtValue = document.getElementById('password');
	var txtValue2 = document.getElementById('password_temp');
	txtValue.style.display = "block";
	txtValue2.setAttribute("disabled",true)
	txtValue2.style.display = "none";
	txtValue.focus();
}
function hidePass() 
{
	var txtValue = document.getElementById('password');
	var txtValue2 = document.getElementById('password_temp');
	if(!txtValue.value) {
		txtValue.style.display = "none";
		txtValue.value = "";
		txtValue2.style.display = "block";
		txtValue2.removeAttribute("disabled")
	}
}