/////
// The "Popup()" function will deliver a new window with specific user-details
//
// @param  string  url
// @param  string  url
function Popup(url, window_name)
{
        settings = "toolbar=no, location=no, directories=no,"+
                "status=no, menubar=no, scrollbars=yes,"+
                "resizable=yes, width=500, height=400";

        NewWindow = window.open(url, window_name,settings);

		// SD:02.01.2003 : Das neue Fenster in den Vordergrund holen
		NewWindow.focus();
}  // end of the 'Popup()' function

function selChangeLiga(form)
{
   form.action="index.php";
   form.submit();
}


function selChangeSpiel(form)
{
   form.action="index.php";
   form.submit();
}

function selChangeSr(form)
{
   form.action="index.php";
   form.submit();
}


function selChangeGewinner(form)
{
   form.action="index.php";
   form.submit();
}

function decrypt_mail(mail_address)
{
   var ascii = 0;
   var decrypted_mail = '';

   for (var i = 0; i < mail_address.length; i++)
   {
      ascii = mail_address.charCodeAt(i);

      if (ascii >= 8364)
      {
         ascii = 128;
      }

      decrypted_mail += String.fromCharCode(ascii - 1);
   }

   location.href = decrypted_mail;
	location.target = '';
}

