function focusthis(obj){
   if (obj.type=='text') { 
		var np = document.createElement('input');
		np.id='pass';
		np.type='password';
		np.value='';
		np.name='pass';
		//np.className='campo_log';
		obj.parentNode.replaceChild(np,obj);
		np.focus();
		np.focus();
		np.onblur =  function () {blurthis(this);};
		np.onfocus =  function () {focusthis(this);};
	}
}
function blurthis(obj){
	if (obj.value == '') {
		var np = document.createElement('input');
		np.id='pass';
		np.type='text';
		np.value='Password';
		np.name='pass';
		//np.className='campo_log';
		np.onblur =  function () {blurthis(this);};
		np.onfocus =  function () {focusthis(this);};
		obj.parentNode.replaceChild(np,obj);
	}
}

