	var agt=navigator.userAgent.toLowerCase();
	var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
	var is_major = parseInt(navigator.appVersion);
	var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));

	if ((is_nav && is_major < 5 ) || (is_ie  && is_major < 4)){
		document.location.href = "splash.htm";
	}
	
	function ValidateAndSubmitVibraCustomerInfo(){
		if ( ValidateAndSubmit(document.forms.VibraAdressForm.NameCardHolder) && ValidateAndSubmit(document.forms.VibraAdressForm.AddressLine1) && ValidateAndSubmit(document.forms.VibraAdressForm.PostalCode) && ValidateAndSubmit(document.forms.VibraAdressForm.City) && ValidateAndSubmit(document.forms.VibraAdressForm.EmailAddress) && ValidateAndSubmit(document.forms.VibraAdressForm.Password)){
			document.forms.VibraAdressForm.action="shop.slrp?Status=3";
			document.forms.VibraAdressForm.submit();
		}else{
			alert("One or more of the * fields has not been specified. Please try again.");
			document.forms.VibraAdressForm.NameCardHolder.focus();
		}
	}
	function ValidateAndSubmit(obj){
		if (obj.value != ""){
			return true;
		}else{
			return false;
		}
	}
	
	function faceOffmailinglist(obj, el){
		if ( emailCheck(el) ){
			document.location.href = "default.slrp?EmailName=" + obj + "&EmailEmail=" + el;
		}
	}
	function FillInInfo(){
		document.forms.VibraAdressForm.action="shop.slrp?Status=2&fill=1";
		document.forms.VibraAdressForm.submit();
	}
	function faceDelivery(){
		document.forms.VibraAdressForm.action="shop.slrp?Status=2&delivered=1";
		document.forms.VibraAdressForm.submit();
	}
	
	
	
	function ChangeIcon(imageName, mode){
	var imageOn
	var imageOff
		if (document.images){
			if (mode == "on") {
				imgName = 'war_mem'+imageName
				imageOn = eval(imgName + "_on.src");
				document[imgName].src = imageOn;
			}else{
				imgName = 'war_mem'+imageName
				imageOff = eval(imgName + "_off.src");
				document[imgName].src = imageOff;
			}
		}
	} 
	
	function faceOffSelectoin(obj){
		var Identifier = obj.options[obj.selectedIndex].value;
		if ( Identifier != "n/a" ) {
			document.location.href = "default.slrp?VibraSelection=" + obj.options[obj.selectedIndex].value;
		}
	}
	function faceOffStringSearch(obj){
			document.location.href = "default.slrp?StringSearch=" + obj;
	}
	function faceOffDropSearch(obj){
			document.location.href = "default.slrp?DropSearch=" + obj;
	}
	function payYourBill(){
		document.forms.Betaling.submit();
	}
	function faceOOF(){
		document.location.href = "shop.slrp?Status=1"
		//document.forms.Shop.submit();
	}
	
	function PostIt(){
		document.forms.VibraShopMain.action = "forum.slrp?MailSubmit=submit"
		document.forms.VibraShopMain.submit();
	}
	function PostItCom(){
		document.forms.VibraShopMain.action = "forum.slrp?MailSubmitCom=submit"
		document.forms.VibraShopMain.submit();
	}
	function newWindow(url, name, width, height, scroll) {
		window.open(url,name,"width="+width+",height="+height+",toolbar=0,directories=0,menubar=0,status=1,resizable=0,location=0,scrollbars="+scroll+",copyhistory=0,marginheight=0,marginwidth=0");
	}
	function emailCheck(obj) {
		var txt = obj;
		if ( txt.indexOf("@") < 3 ){
			alert("This email address seems wrong. Please check the prefix and '@' sign.");
			return false;
		}
		return true;
	}