function UserLogin() {
//  alert('Funzione Momentaneamente Disabilitata');
  document.F0.action = "restricted/ltype.php";
  document.F0.method = "post";
  document.F0.submit();  
}

function UserLogout() {
  document.F0.action = "restricted/logout.php";
  document.F0.method = "post";
  document.F0.submit();  
}

function redct(im_url) {
  window.location=im_url;  
}

function OpenWindow(link) {
   window.open(link,"reg","status=no,resizable=no,scrollbars=yes,height=500,width=700") 
}
   
function UserRegister() {
  OpenWindow('restricted/register_user.php');
}

function MailRegister() {
  OpenWindow('restricted/register_mail.php');
}

function UserRegisterSubmit() {
  document.F0.action = "register_user.php";
  document.F0.method = "post";
  document.F0.tact.value = "01";
  document.F0.submit();  
}

function MailRegisterSubmit() {
  document.F0.action = "register_mail.php";
  document.F0.method = "post";
  document.F0.tact.value = "02";
  document.F0.submit();  
}