function getEl(el) {
 if(document.getElementById(el))
   return document.getElementById(el);
 else 
   return false;
}


function isValidEmail (email) {
	return (/^([a-z0-9_\-]+\.)*[a-z0-9_\-]+@([a-z0-9][a-z0-9\-]*[a-z0-9]\.)+[a-z]{2,4}$/i).test(email);
}


function pFocusON (obj) {
 obj.style.backgroundImage = '';
 obj.className = 'inputPasswordOn';
}

function pFocusOFF (obj) {
 obj.style.backgroundImage = 'url(\'/site/img/pss.gif\')';
 obj.style.backgroundRepeat = 'no-repeat';
}