function MyFore()
   {
   window.location.assign("http://tefterche.org/apfg/forecasts/myrundselect.php")
   }
function UserFore()
   {
   window.location.assign("http://tefterche.org/apfg/forecasts/userrundselect.php")
   }
function ResAPFG()
   {
   window.location.assign("http://tefterche.org/apfg/results/agrundselect.php")
   }
function ResEL()
   {
   window.location.assign("http://tefterche.org/apfg/results/elrundselect.php")
   }
function ResED()
   {
   window.location.assign("http://tefterche.org/apfg/results/edrundselect.php")
   }
function ResEC()
   {
   window.location.assign("http://tefterche.org/apfg/results/ecrundselect.php")
   }
function ResEZ()
   {
   window.location.assign("http://tefterche.org/apfg/results/ezrundselect.php")
   }
function ResOld()
   {
   window.location.assign("http://tefterche.org/apfg/results/oldrundselect.php")
   }
function StandAPFG()
   {
   window.location.assign("http://tefterche.org/apfg/standings/stag.php")
   }
function StandEL()
   {
   window.location.assign("http://tefterche.org/apfg/standings/stel.php")
   }
function StandED()
   {
   window.location.assign("http://tefterche.org/apfg/standings/sted.php")
   }
function StandEC()
   {
   window.location.assign("http://tefterche.org/apfg/standings/stec.php")
   }
function StandEZ()
   {
   window.location.assign("http://tefterche.org/apfg/standings/stez.php")
   }
function StandOld()
   {
   window.location.assign("http://tefterche.org/apfg/standings/stold.php")
   }
function Pdata()
   {
   window.location.assign("http://tefterche.org/apfg/register/pdata.php")
   }
function Register()
   {
   window.location.assign("http://tefterche.org/apfg/register/register.php")
   }
function LostPwd()
   {
   window.location.assign("http://tefterche.org/apfg/register/lostpwd.php")
   }
function LogOut()
   {
   window.location.assign("http://tefterche.org/apfg/logout.php")
   }
function Admin()
   {
   window.location.assign("http://tefterche.org/apfg/admin/admin.php")
   }
function Help()
   {
   window.location.assign("http://tefterche.org/apfg/help/help.php")
   }
function GoHome()
   {
   window.location.assign("http://tefterche.org/apfg/default.php")
   }
function Archive()
   {
   if (document.getElementById("arhiv").value!="none")
	  window.location.assign("http://tefterche.org/apfg/"+document.getElementById("arhiv").value+"/default.php")
   }
function mouseOver(n,t)
   {
   switch (t)
      {
	  case 0:
         document.getElementById("b"+n).className='butoff0';
		 break;
      case 1:
         document.getElementById("b"+n).className='butoff1';
		 break;
	  case 2:
	     document.getElementById("b"+n).className='butoff2';
		 break;
	  case 3:
	     document.getElementById("b"+n).className='butoff3';
		 break;
	  case 4:
	     document.getElementById("b"+n).className='butoff4';
		 break;
	  case 5:
	     document.getElementById("b"+n).className='butoff5';
		 break;
	  case 6:
	     document.getElementById("b"+n).className='butoff6';
		 break;
	  }
   }
function mouseOut(n,t)
   {
   switch (t)
      {
	  case 0:
         document.getElementById("b"+n).className='butnorm0';
		 break;
      case 1:
         document.getElementById("b"+n).className='butnorm1';
		 break;
	  case 2:
	     document.getElementById("b"+n).className='butnorm2';
		 break;
	  case 3:
	     document.getElementById("b"+n).className='butnorm3';
		 break;
	  case 4:
	     document.getElementById("b"+n).className='butnorm4';
		 break;
	  case 5:
	     document.getElementById("b"+n).className='butnorm5';
		 break;
	  case 6:
	     document.getElementById("b"+n).className='butnorm6';
		 break;
	  }
   }
function buttonOn(n,t)
   {
   switch (t)
      {
	  case 0:
         document.getElementById("b"+n).className='buton0';
		 break;
      case 1:
         document.getElementById("b"+n).className='buton1';
		 break;
	  case 2:
	     document.getElementById("b"+n).className='buton2';
		 break;
	  case 3:
	     document.getElementById("b"+n).className='buton3';
		 break;
	  case 4:
	     document.getElementById("b"+n).className='buton4';
		 break;
	  case 5:
	     document.getElementById("b"+n).className='buton5';
		 break;
	  case 6:
	     document.getElementById("b"+n).className='buton6';
		 break;
	  }
   }
