
 // Close Popup

  function popup_exit(close_id){
  element = document.getElementById(close_id);
  element.style.visibility = 'hidden';
  element.style.display    = 'none';
  document.getElementById('recover').style.display = 'none';
  document.getElementById('span_login').style.display = 'inline'; 
  }// END function


  // Show Popup
  function popup_show(id, x, y){
  element = document.getElementById(id);
  element.style.position   = "absolute";
  element.style.visibility = "visible";
  element.style.display    = "block";
  element.style.left = (document.documentElement.scrollLeft+(document.body.clientWidth -element.clientWidth )/2+x)+'px';
  element.style.top  = y+'px';
  }




 function recovery(){
 document.getElementById('span_login').style.display = 'none'; 
 document.getElementById('recover').style.display = 'inline';
 document.recover.recover_info.focus();
 } 
 
 function recovery_cancel(){
 document.getElementById('span_login').style.display = 'inline'; 
 document.getElementById('recover').style.display = 'none';
 document.login.uname.focus();
 } 
 
 
 
 






 

