if (navigator.appVersion.indexOf("2.") != -1){         check = false;	 }if ((navigator.appVersion.indexOf("3.") != -1) && (navigator.appName.indexOf("Explorer") != -1)){	 check = false;	 }else {	 check = true;	 }if (check == true){	 	 image0 = new Image();	 image0.src = "/de/img/btn_submit_low.gif";	 image0on = new Image();	 image0on.src = "/de/img/btn_submit_high.gif";	 	 image1 = new Image();	 image1.src = "/de/img/btn_port_low.gif";	 image1on = new Image();	 image1on.src = "/de/img/btn_port_high.gif";		 	 image2 = new Image();	 image2.src = "/de/img/btn_pro_low.gif";	 image2on = new Image();	 image2on.src = "/de/img/btn_pro_high.gif";	 image3 = new Image();	 image3.src = "/de/img/btn_serv_low.gif";	 image3on = new Image();	 image3on.src = "/de/img/btn_serv_high.gif";	 	 image4 = new Image();	 image4.src = "/de/img/btn_news_low.gif";	 image4on = new Image();	 image4on.src = "/de/img/btn_news_high.gif";}imageStay = ""function imageon(name){	 if (imageStay != name){			 document[name].src = eval(name + "on.src");	 }}function imageoff(name){	 if (imageStay != name){			 document[name].src = eval(name + ".src");	 }}function on(name){	 if (check == true){	 imageon(name);	 }}function off(name){	 if (check == true){	 imageoff(name);	 }}function popUpLand(url,width,height) {    	MeinFenster = window.open("/de/popup_land.php?imgfull=" + url + "","land","width=800,height=216,menubar=no,dependent=yes,scrollbars=yes,resizable=no");		MeinFenster.moveTo(parent.window.screenLeft,parent.window.screenTop); 		MeinFenster.focus();}function popUpPanel(url,width,height) {    	popupwidth = width + 16;		MeinFenster = window.open("/de/popup_panel.php?imgfull=" + url + "","panel","width=" + popupwidth + ",height=600,menubar=no,dependent=yes,scrollbars=yes,resizable=no");		MeinFenster.moveTo(parent.window.screenLeft,parent.window.screenTop); 		MeinFenster.focus();}function calculator(price,width,height,title){		URL = "/de/popup_calc.php?width="+width+"&height="+height+"&price="+price+"&name="+title;		MeinFenster = window.open(URL,"calc","width=300,height=400,menubar=no,dependent=yes,scrollbars=no,resizable=no");		MeinFenster.moveTo(parent.window.screenLeft+493,parent.window.screenTop+48);		MeinFenster.focus();}  var name  = 0, width = 0, height = 0, cm2price = 0, ratio = 0;  var calcForm, orderForm;  function formatCurrency(val)  {  	var pre = Math.floor(val);	var post = Math.floor((val - pre)*100);	return pre + "." + post;  }  function parseURL()  {	var query = window.location.search;	if( ratio != 0 ) return 1;	if(query.length == 0) return 0;	var Values = query.split("&");	if(Values.length == 0) return 0;	width    = Values[0].substr(Values[0].lastIndexOf("=")+1, Values[0].length);	height   = Values[1].substr(Values[1].lastIndexOf("=")+1, Values[1].length);	cm2price = Values[2].substr(Values[2].lastIndexOf("=")+1, Values[2].length)/100;	name 	 = Values[3].substr(Values[3].lastIndexOf("=")+1, Values[3].length);	ratio = height ? width/height: 0;	if(ratio == 0) return 0;  	return 1;  }  function calcPrice(type)  {  	var area = 0, actWidth = 0, actHeight = 0, startMeter = 0, totPrice = 0;	var withFoil = calcForm.foil.checked;	var useHeight = type=="h";	var inVal = calcForm.width.value;	if(useHeight){		inVal = calcForm.height.value;	}	if(ratio == 0 ) return;	if(inVal < 2.5 || isNaN(ratio * inVal)){		//alert("Bitte geben Sie einen Wert von mind. 2.5 cm ein!");		return;	}	if(useHeight){		actWidth  = Math.floor(100*ratio * inVal)/100;		actHeight  = inVal;		calcForm.width.value = actWidth;	}	else{		actWidth  = inVal;		actHeight  = Math.floor(100*inVal/ratio)/100;		calcForm.height.value = actHeight;	}	startMeter = Math.floor(actWidth/100) +1 ;	area = actWidth * actHeight;	totPrice = Math.floor(100*cm2price * area)/100;	if(withFoil) totPrice += 100 * startMeter;	calcForm.price.value = formatCurrency(totPrice);  }function init(){	if(!parseURL()) return;	calcForm = document.forms[0];	//calcForm.width.value = width;	//calcForm.height.value = height;	//calcPrice("h");}