/*
 * jQuery 1.1.3.1 - New Wave Javascript
 *
 * Copyright (c) 2010 KMK Reklambyrå AB
 *
 * $Date: 2010-02-18 12:17:24 -0400 (Thu, 18 Feb 2010) $
 * $Rev: 0003 $
 */
 
<!--

function valid2(){

	var foretag = document.katalog.foretag.value;
if (foretag==""){
alert("Ange företagsnamn!")
document.katalog.foretag.focus()
return false
	}
	
	var kontaktperson = document.katalog.kontaktperson.value;
if (kontaktperson==""){
alert("Ange kontaktperson!")
document.katalog.kontaktperson.focus()
return false
	}
	
	var adress = document.katalog.adress.value;
if (adress==""){
alert("Ange adress!")
document.katalog.adress.focus()
return false
	}
	
	var postnr = document.katalog.postnr.value;
if (postnr==""){
alert("Ange postnr!")
document.katalog.postnr.focus()
return false
	}
	
	var ort = document.katalog.ort.value;
if (ort==""){
alert("Ange ort!")
document.katalog.ort.focus()
return false
	}

	var epost = document.katalog.epost.value;
if (epost==""){
alert("Du glömde ange din E-postadress!")
document.katalog.epost.focus()
return false
	}
if (epost.indexOf('@', 0) == -1 || epost.indexOf('.', 0) == -1){ alert("Denna E-postadress är EJ giltig!");
		document.katalog.epost.focus()
		return false
		}
}


function valid(){

	var foretag = document.order.foretag.value;
if (foretag==""){
alert("Ange företagsnamn!")
document.order.foretag.focus()
return false
	}
	
	var adress = document.order.adress.value;
if (adress==""){
alert("Ange adress!")
document.order.adress.focus()
return false
	}
	
	var postnr = document.order.postnr.value;
if (postnr==""){
alert("Ange postnr!")
document.order.postnr.focus()
return false
	}
	
	var ort = document.order.ort.value;
if (ort==""){
alert("Ange ort!")
document.order.ort.focus()
return false
	}
	
	var kontaktperson = document.order.kontaktperson.value;
if (kontaktperson==""){
alert("Ange kontaktperson!")
document.order.kontaktperson.focus()
return false
	}
	
	var tel = document.order.tel.value;
if (tel==""){
alert("Ange telefon!")
document.order.tel.focus()
return false
	}
	
	var epost = document.order.epost.value;
if (epost==""){
alert("Du glömde ange din E-postadress!")
document.order.epost.focus()
return false
	}
if (epost.indexOf('@', 0) == -1 || epost.indexOf('.', 0) == -1){ alert("Denna E-postadress är EJ giltig!");
		document.order.epost.focus()
		return false
		}
}



/* Popupfönster. */
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}




//-->

