﻿// JavaScript Document
function preload() { 
  var args = preload.arguments; 
  imgs = new Array();
  for(x=0; x < args.length; x++) {
    imgs[x] = new Image();
    imgs[x].src = args[x];
  }
}
  function verif() 
{ if (document.frmKit.inpName.value == "Efter & förnamn*" || document.frmKit.inpName.value == "Efter & förnamn*")
	{
		alert ('Fyll i ditt namn');
		document.frmKit.inpName.focus();
		return false;
	}
if (document.frmKit.inpCountry.value == "Pays" || document.frmKit.inpCountry.value == "Land" ||  document.frmKit.inpCountry.value == "")
	{
		alert ('Fyll in ditt land');
		document.frmKit.inpCountry.focus();
		return false;
	}
	if(document.frmKit.inpEmail.value == "Email*" || document.frmKit.inpEmail.value == "")
	{
		alert ('Fyll i din emailaddress');
		document.frmKit.inpEmail.focus();
		return false;
	}
	if(document.frmKit.certAge.checked == false)
	{
		alert ('Man måste intyga att vara 18 år eller äldre och acceptera de regler och villkor som gäller');
		return false;
	}
}
  
  
  
  
  
  
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


   function popupPub(page) {
       window.open(page,"pub","menubar=no, status=no, scrollbars=no, menubar=no, width=600, height=335");
   }
