function highlightText(Obj){
	//var d = 0;
	Obj.value = '';
	Obj = changeInputType(Obj,'password');
}
function unhighlightText(Obj){
	Obj = changeInputType(Obj,'text');
	Obj.value = "Password";
}

function changeInputType(oldObject, oType) {
  var newObject = document.createElement('input');
  newObject.type = oType;
  if(oldObject.size) newObject.size = oldObject.size;
  if(oldObject.value) newObject.value = oldObject.value;
  if(oldObject.name) newObject.name = oldObject.name;
  if(oldObject.id) newObject.id = oldObject.id;
  if(oldObject.className) newObject.className = oldObject.className;
  oldObject.parentNode.replaceChild(newObject,oldObject);
  return newObject;
}

function LogInOrOut()
{
	document.getElementById("divLogedOut").style.display = "none";
	document.getElementById("divLogedIn").style.display = "block";
	document.getElementById("divLogedOutButton").style.display = "none";
}
