// *****************************************************************************
// System:    GKK Homepage
// Program:   gkkscript.js
//
// Purpose:   Java script for general functions
//
// Called by: index.php
// Calls:
// *****************************************************************************
// Responsible:  Webmaster
// *****************************************************************************
// YYYY-MM-DD  Sign  Comments
// -----------------------------------------------------------------------------
// 2001-07-03  HMO   Created
// 2007-12-01  PK    Modified to php-files
// *****************************************************************************
// -----------------------------------------------------------------------------
// losen - Enables login to the website if the right password is submitted.
//
// Parameters: none
// -----------------------------------------------------------------------------

<!--
function losen()
{
  if (document.form1.pw.value != "")
    {
      window.location=escape(document.form1.pw.value.toLowerCase()) + "/index.php";
      document.form1.pw.value = "";
      if (dns == "")
        {
          window.location= "index.php";
        }
     } 
}
function onerror()
{
  window.location = "index.php";
}
//-->

