/* caller */
window.onload = function() {
	netscape_test();
};

//Browserabfrage
var nn4, nn6, ie, opera, firefox_mozilla;

if(navigator.appName.substring(0,8)=="Netscape" && parseInt(navigator.appVersion)==4)
{
nn4=true; 
}
else{nn4=false;}

if(navigator.appName.substring(0,8)=="Netscape" && parseInt(navigator.appVersion)==5)
{
nn6=true; 
//alert(navigator.userAgent);
if ((""+navigator.userAgent).indexOf("Netscape")==-1) 
	{nn6=false;
	 firefox_mozilla=true; 
	}
}
else{nn6=false;}

if(navigator.appName.substring(0,8)=="Microsof" && parseInt(navigator.appVersion)==4)
{
//var iie = (document.all) ? true : false;
ie=true; 
if ((""+navigator.userAgent).indexOf("Opera")!=-1) 
	{ie=false;
	 opera=true;
	}
}
else{ie=false;}

// Navigation CSS
navHover = function() {
	var lis = document.getElementById("navmenu").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", navHover);

/*definition der layer je nach Browser*/
function init_leistungen()
{
if (nn4)
{
 S=document.layers["sicherheit"];
 G=document.layers["garantie"];
 FF=document.layers["frachtfrei"];
 SA=document.layers["sonderanfertigung"];
 E=document.layers["erfahrung"];
}
if (nn6 || firefox_mozilla)
{
 S=document.getElementById("sicherheit").style;
 G=document.getElementById("garantie").style;
 FF=document.getElementById("frachtfrei").style;
 SA=document.getElementById("sonderanfertigung").style;
 E=document.getElementById("erfahrung").style;
 }
if (ie || opera)
{
 S=document.all.sicherheit.style;
 G=document.all.garantie.style;
 FF=document.all.frachtfrei.style;
 SA=document.all.sonderanfertigung.style;
 E=document.all.erfahrung.style;
}
}

function init_historie()
{
if (nn4)
{
 HI=document.layers["historie_inhalt"];
 H1_1=document.layers["H1_text"];
 H1_2=document.layers["H1_bild1"];
 H1_3=document.layers["H1_bild2"];
 H1_4=document.layers["H1_bild3"];
 H1_5=document.layers["H1_bild4"];
 H1_6=document.layers["H1_bild5"];
 H1_7=document.layers["H1_bild6"];
 H2_1=document.layers["H2_text"];
 H2_2=document.layers["H2_bild1"];
 H3_1=document.layers["H3_text"];
 H3_2=document.layers["H3_bild1"];
}
if (nn6 || firefox_mozilla)
{
 HI=document.getElementById("historie_inhalt").style;
 H1_1=document.getElementById("H1_text").style;
 H1_2=document.getElementById("H1_bild1").style;
 H1_3=document.getElementById("H1_bild2").style;
 H1_4=document.getElementById("H1_bild3").style;
 H1_5=document.getElementById("H1_bild4").style;
 H1_6=document.getElementById("H1_bild5").style;
 H1_7=document.getElementById("H1_bild6").style;
 H2_1=document.getElementById("H2_text").style;
 H2_2=document.getElementById("H2_bild1").style;
 H3_1=document.getElementById("H3_text").style;
 H3_2=document.getElementById("H3_bild1").style;
 }
if (ie || opera)
{
 HI=document.all.historie_inhalt.style;
 H1_1=document.all.H1_text.style;
 H1_2=document.all.H1_bild1.style;
 H1_3=document.all.H1_bild2.style;
 H1_4=document.all.H1_bild3.style;
 H1_5=document.all.H1_bild4.style;
 H1_6=document.all.H1_bild5.style;
 H1_7=document.all.H1_bild6.style;
 H2_1=document.all.H2_text.style;
 H2_2=document.all.H2_bild1.style;
 H3_1=document.all.H3_text.style;
 H3_2=document.all.H3_bild1.style;
}
}
function init_judo()
{
if (nn6 || firefox_mozilla)
{
 B_0=document.getElementById("Bild_0").style;
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 B_4=document.getElementById("Bild_4").style;
 B_5=document.getElementById("Bild_5").style;
 B_6=document.getElementById("Bild_6").style;
 B_7=document.getElementById("Bild_7").style;
 B_8=document.getElementById("Bild_8").style;
 B_9=document.getElementById("Bild_9").style;
 B_10=document.getElementById("Bild_10").style;
 B_11=document.getElementById("Bild_11").style;
 B_12=document.getElementById("Bild_12").style;
 }
if (ie || opera)
{
 B_0=document.all.Bild_0.style;
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
 B_4=document.all.Bild_4.style;
 B_5=document.all.Bild_5.style;
 B_6=document.all.Bild_6.style;
 B_7=document.all.Bild_7.style;
 B_8=document.all.Bild_8.style;
 B_9=document.all.Bild_9.style;
 B_10=document.all.Bild_10.style;
 B_11=document.all.Bild_11.style;
 B_12=document.all.Bild_12.style;
}
}
function init_turnmatten()
{
if (nn6 || firefox_mozilla)
{
 B_0=document.getElementById("Bild_0").style;
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 B_4=document.getElementById("Bild_4").style;
 B_5=document.getElementById("Bild_5").style;
 B_6=document.getElementById("Bild_6").style;
 B_7=document.getElementById("Bild_7").style;
 B_8=document.getElementById("Bild_8").style;
 B_9=document.getElementById("Bild_9").style;
 B_10=document.getElementById("Bild_10").style;
 B_11=document.getElementById("Bild_11").style;
 }
if (ie || opera)
{
 B_0=document.all.Bild_0.style;
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
 B_4=document.all.Bild_4.style;
 B_5=document.all.Bild_5.style;
 B_6=document.all.Bild_6.style;
 B_7=document.all.Bild_7.style;
 B_8=document.all.Bild_8.style;
 B_9=document.all.Bild_9.style;
 B_10=document.all.Bild_10.style;
 B_11=document.all.Bild_11.style;
}
}
function init_grapplingTatami()
{
if (nn6 || firefox_mozilla)
{
 B_0=document.getElementById("Bild_0").style;
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_4=document.getElementById("Bild_4").style;
 B_5=document.getElementById("Bild_5").style;
 B_6=document.getElementById("Bild_6").style;
 B_7=document.getElementById("Bild_7").style;
 B_8=document.getElementById("Bild_8").style;
 B_9=document.getElementById("Bild_9").style;
 B_11=document.getElementById("Bild_11").style;
 }
if (ie || opera)
{
 B_0=document.all.Bild_0.style;
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_4=document.all.Bild_4.style;
 B_5=document.all.Bild_5.style;
 B_6=document.all.Bild_6.style;
 B_7=document.all.Bild_7.style;
 B_8=document.all.Bild_8.style;
 B_9=document.all.Bild_9.style;
 B_11=document.all.Bild_11.style;
}
}
function init_zehn()
{
if (nn6 || firefox_mozilla)
{
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 B_4=document.getElementById("Bild_4").style;
 B_5=document.getElementById("Bild_5").style;
 B_6=document.getElementById("Bild_6").style;
 B_7=document.getElementById("Bild_7").style;
 B_8=document.getElementById("Bild_8").style;
 B_9=document.getElementById("Bild_9").style;
 B_10=document.getElementById("Bild_10").style;
 }
if (ie || opera)
{
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
 B_4=document.all.Bild_4.style;
 B_5=document.all.Bild_5.style;
 B_6=document.all.Bild_6.style;
 B_7=document.all.Bild_7.style;
 B_8=document.all.Bild_8.style;
 B_9=document.all.Bild_9.style;
 B_10=document.all.Bild_10.style;
}
}
function init_ringermattenelemente()
{
if (nn6 || firefox_mozilla)
{
 B_0=document.getElementById("Bild_0").style;
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 B_4=document.getElementById("Bild_4").style;
 }
if (ie || opera)
{
 B_0=document.all.Bild_0.style;
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
 B_4=document.all.Bild_4.style;
}
}
function init_grapplingWrestling()
{
if (nn6 || firefox_mozilla)
{
 B_0=document.getElementById("Bild_0").style;
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 B_4=document.getElementById("Bild_4").style;
 B_5=document.getElementById("Bild_5").style;
 B_6=document.getElementById("Bild_6").style;
 }
if (ie || opera)
{
 B_0=document.all.Bild_0.style;
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
 B_4=document.all.Bild_4.style;
 B_5=document.all.Bild_5.style;
 B_6=document.all.Bild_6.style;
}
}
function init_drei()
{
if (nn6 || firefox_mozilla)
{
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 }
if (ie || opera)
{
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
}
}
function init_2()
{
if (nn6 || firefox_mozilla)
{
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 }
if (ie || opera)
{
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
}
}

function init_8()
{
if (nn6 || firefox_mozilla)
{
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 B_4=document.getElementById("Bild_4").style;
 B_5=document.getElementById("Bild_5").style;
 B_6=document.getElementById("Bild_6").style;
 B_7=document.getElementById("Bild_7").style;
 B_8=document.getElementById("Bild_8").style;
 }
if (ie || opera)
{
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
 B_4=document.all.Bild_4.style;
 B_5=document.all.Bild_5.style;
 B_6=document.all.Bild_6.style;
 B_7=document.all.Bild_7.style;
 B_8=document.all.Bild_8.style;
}
}

function init_7()
{
if (nn6 || firefox_mozilla)
{
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 B_4=document.getElementById("Bild_4").style;
 B_5=document.getElementById("Bild_5").style;
 B_6=document.getElementById("Bild_6").style;
 B_7=document.getElementById("Bild_7").style;
 }
if (ie || opera)
{
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
 B_4=document.all.Bild_4.style;
 B_5=document.all.Bild_5.style;
 B_6=document.all.Bild_6.style;
 B_7=document.all.Bild_7.style;
}
}

function init_vier()
{
if (nn6 || firefox_mozilla)
{
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 B_4=document.getElementById("Bild_4").style;
 }
if (ie || opera)
{
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
 B_4=document.all.Bild_4.style;
}
}
function init_9()
{
if (nn6 || firefox_mozilla)
{
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 B_4=document.getElementById("Bild_4").style;
 B_5=document.getElementById("Bild_5").style;
 B_6=document.getElementById("Bild_6").style;
 B_7=document.getElementById("Bild_7").style;
 B_8=document.getElementById("Bild_8").style;
 B_9=document.getElementById("Bild_9").style;
 }
if (ie || opera)
{
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
 B_4=document.all.Bild_4.style;
 B_5=document.all.Bild_5.style;
 B_6=document.all.Bild_6.style;
 B_7=document.all.Bild_7.style;
 B_8=document.all.Bild_8.style;
 B_9=document.all.Bild_9.style;
}
}
function init_12()
{
if (nn6 || firefox_mozilla)
{
 B_1=document.getElementById("Bild_1").style;
 B_2=document.getElementById("Bild_2").style;
 B_3=document.getElementById("Bild_3").style;
 B_4=document.getElementById("Bild_4").style;
 B_5=document.getElementById("Bild_5").style;
 B_6=document.getElementById("Bild_6").style;
 B_7=document.getElementById("Bild_7").style;
 B_8=document.getElementById("Bild_8").style;
 B_9=document.getElementById("Bild_9").style;
 B_10=document.getElementById("Bild_10").style;
 B_11=document.getElementById("Bild_11").style;
 B_12=document.getElementById("Bild_12").style;
 }
if (ie || opera)
{
 B_1=document.all.Bild_1.style;
 B_2=document.all.Bild_2.style;
 B_3=document.all.Bild_3.style;
 B_4=document.all.Bild_4.style;
 B_5=document.all.Bild_5.style;
 B_6=document.all.Bild_6.style;
 B_7=document.all.Bild_7.style;
 B_8=document.all.Bild_8.style;
 B_9=document.all.Bild_9.style;
 B_10=document.all.Bild_10.style;
 B_11=document.all.Bild_11.style;
 B_12=document.all.Bild_12.style;
}
}

// Netscape Warnung!
function netscape_test()
{
if (nn4==true || opera==true)
{
var FensterI;
FensterI=window.open("netscape.htm","FensterI","width=260,height=130,top=200,left=200,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no");
}
}

// Bilder vorausladen
function vorausladen(name1,dunkles,name2,helles)
{
eval(name1 + "=new Image()");
eval(name1 + ".src='" +dunkles+"'");
eval(name2 + "=new Image()");
eval(name2 + ".src='" +helles+"'");
}
function vorausladen_bild(name,ort)
{
eval(name + "=new Image()");
eval(name + ".src='" +ort+"'");
}

//öffnet das Fenster Top Angebot
function FensterTopAngebot(urlParam)
{
FensterA=window.open("topangebot.php?urlParam","FensterA","width=500,height=670,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterA.focus();
}

//öffnet das Fenster ScoreInfo
function FensterScoreInfo(urlParam)
{
FensterS=window.open("scoreinfo.php?urlParam","FensterS","width=700,height=660,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterS.focus();
}

//öffnet das Fenster Fila
/*function FensterFila(urlParam)
{
FensterF=window.open("zertifikat_fila.htm","FensterF","width=855,height=600,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterF.focus();
}*/

//öffnet die Bestellungsfenster
function FensterAngebotJudomatte(urlParam)
{
FensterJ1=window.open("bestellung/angebot_judomatte.php?urlParam","FensterJ1","width=700,height=650,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotGrapplingTatami(urlParam)
{
FensterJ1=window.open("bestellung/angebot_grapplingTatami.php?urlParam","FensterGT","width=700,height=550,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotGrapplingWrestling(urlParam)
{
FensterJ1=window.open("bestellung/angebot_grapplingWrestling.php?urlParam","FensterGW","width=900,height=535,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotJudoWurfmatte(urlParam)
{
FensterJ1=window.open("bestellung/angebot_judowurfmatte.php?urlParam","FensterJ2","width=700,height=360,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotJudoPuzzlematte(urlParam)
{
FensterJ1=window.open("bestellung/angebot_judopepuzzlematte.php?urlParam","FensterJ3","width=700,height=370,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTP_F1(urlParam)
{
FensterJ1=window.open("bestellung/angebot_tp_f1.php?urlParam","FensterTP2","width=700,height=470,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTP_F2(urlParam)
{
FensterJ1=window.open("bestellung/angebot_tp_f2.php?urlParam","FensterTP1","width=700,height=470,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTP_S1(urlParam)
{
FensterJ1=window.open("bestellung/angebot_tp_s1.php?urlParam","FensterTP3","width=700,height=530,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTP_S2(urlParam)
{
FensterJ1=window.open("bestellung/angebot_tp_s2.php?urlParam","FensterTP4","width=700,height=530,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTP_S4(urlParam)
{
FensterJ1=window.open("bestellung/angebot_tp_s4.php?urlParam","FensterTP5","width=700,height=440,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTPBag(urlParam)
{
FensterJ1=window.open("bestellung/angebot_tpbag.php?urlParam","FensterTP6","width=700,height=590,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}

function FensterAngebotTPStumpfLeder(urlParam)
{
FensterJ1=window.open("bestellung/angebot_tpstumpfleder.php?urlParam","FensterTP1","width=700,height=470,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTPStumpfSynthetik(urlParam)
{
FensterJ1=window.open("bestellung/angebot_tpstumpfsynthetik.php?urlParam","FensterTP2","width=700,height=470,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTPBeine(urlParam)
{
FensterJ1=window.open("bestellung/angebot_tpbeine.php?urlParam","FensterTP3","width=700,height=470,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTPMetallfuss(urlParam)
{
FensterJ1=window.open("bestellung/angebot_tpmetallfuss.php?urlParam","FensterTP4","width=700,height=475,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotRingermattendecken(urlParam)
{
FensterJ1=window.open("bestellung/angebot_ringermattendecken.php?urlParam","FensterRM1","width=900,height=710,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotRingermattenelemente(urlParam)
{
FensterJ1=window.open("bestellung/angebot_ringermattenelemente.php?urlParam","FensterRM2","width=750,height=495,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotRingermattenkomplett(urlParam)
{
FensterJ1=window.open("bestellung/angebot_ringermattenkomplett.php?urlParam","FensterRM3","width=900,height=710,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotPuzzlematten(urlParam)
{
FensterJ1=window.open("bestellung/angebot_puzzlematten.php?urlParam","FensterPZM","width=700,height=480,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotZubehoerMattenwagen(urlParam)
{
FensterJ1=window.open("bestellung/angebot_zubehoer_mattenwagen.php?urlParam","FensterZM","width=700,height=345,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotZubehoerTischstoppuhr(urlParam)
{
FensterJ1=window.open("bestellung/angebot_zubehoer_tischstoppuhr.php?urlParam","FensterWA","width=730,height=470,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotZubehoerAnzeigetafel(urlParam)
{
FensterJ1=window.open("bestellung/angebot_zubehoer_anzeigetafel.php?urlParam","FensterZA","width=700,height=270,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotZubehoerWerbeaufsteller(urlParam)
{
FensterJ1=window.open("bestellung/angebot_zubehoer_werbeaufsteller.php?urlParam","FensterZW","width=730,height=310,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotZubehoerReparaturset(urlParam)
{
FensterJ1=window.open("bestellung/angebot_zubehoer_reparaturset.php?urlParam","FensterZR","width=700,height=300,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotZubehoerAntistolperkante(urlParam)
{
FensterJ1=window.open("bestellung/angebot_zubehoer_antistolperkante.php?urlParam","FensterZAS","width=700,height=375,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotPrallschutz(urlParam)
{
FensterJ1=window.open("bestellung/angebot_prallschutz.php?urlParam","FensterZP","width=700,height=450,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotZubehoerWaagen(urlParam)
{
FensterJ1=window.open("bestellung/angebot_zubehoer_waagen.php?urlParam","FensterWA","width=700,height=425,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTurnmatten(urlParam)
{
FensterJ1=window.open("bestellung/angebot_turnmatten.php?urlParam","FensterTM","width=700,height=435,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotTurnmattenSL(urlParam)
{
FensterJ1=window.open("bestellung/angebot_turnmattenSL.php?urlParam","FensterTMSL","width=700,height=435,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotGymnastikmatten(urlParam)
{
FensterJ1=window.open("bestellung/angebot_gymnastikmatten.php?urlParam","FensterGYM","width=700,height=520,top=5,left=50,dependent=yes,resizable=yes,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}

/* height: -2 Movies Movies Movies Movies Movies Movies Movies Movies Movies Movies Movies Movies Movies */
function FensterBagMovie()
{
FensterJ1=window.open("../filme/tpBag.php","FensterM1","width=384,height=306,top=200,left=200,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterJ1.focus();
}
function FensterBoneMovie()
{
FensterJ1=window.open("../filme/tpBone.php","FensterM2","width=384,height=306,top=200,left=200,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterJ1.focus();
}
function FensterSDummiesMovie()
{
FensterJ1=window.open("../filme/tpsDummies.php","FensterM3","width=384,height=306,top=200,left=200,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterJ1.focus();
}

//layer unsichtbar oder sichtbar machen
function unsichtbar()
{
for(i=0;i<unsichtbar.arguments.length;i++)
{
unsichtbar.arguments[i].visibility='hidden';
}
}

function sichtbar()
{
for(i=0;i<sichtbar.arguments.length;i++)
{
sichtbar.arguments[i].visibility='visible';
}
}

// Bilder vergrößern
var neuesFenster=null;
function bildFenster (bild,breite,hoehe,text)
{
                if (neuesFenster != null && !neuesFenster.closed){
                     neuesFenster.close();
		 neuesFenster=window.open("","Bild","width="+breite+",height="+hoehe+",screenX=200,screenY=200,left=200,top=100");
         neuesFenster.document.open();
         neuesFenster.document.writeln("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><title>"+text+"</title></head><body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>");
         neuesFenster.document.writeln("<p><a href=\"javascript:self.close();\">");
         neuesFenster.document.writeln("<img src='../bilder/"+bild+"' width='"+breite+"' height='"+hoehe+"' border='0' alt='"+text+"' title='"+text+"'>");
         neuesFenster.document.writeln("</a></p></body></html>");
         neuesFenster.document.close();
         neuesFenster.moveTo(200,100);
         neuesFenster.focus();
                }
				else{
         neuesFenster=window.open("","Bild","width="+breite+",height="+hoehe+",screenX=200,screenY=200,left=200,top=100");
         neuesFenster.document.open();
         neuesFenster.document.writeln("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><title>"+text+"</title></head><body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>");
         neuesFenster.document.writeln("<p><a href=\"javascript:self.close();\">");
         neuesFenster.document.writeln("<img src='../bilder/"+bild+"' width='"+breite+"' height='"+hoehe+"' border='0' alt='"+text+"' title='"+text+"'>");
         neuesFenster.document.writeln("</a></p></body></html>");
         neuesFenster.document.close();
         neuesFenster.moveTo(200,100);
         neuesFenster.focus(); 
				}
}

// Bilder vergrößern Galerie
var neuesFensterGalerie=null;
function bildFenster_galerie (bild,breite,hoeheBild,hoeheFenster,text,unterschrift,haref)
{
                if (neuesFensterGalerie != null && !neuesFensterGalerie.closed){
                     neuesFensterGalerie.close();
		 neuesFensterGalerie=window.open("","Bild","width="+(breite+5)+",height="+hoeheFenster+",screenX=200,screenY=50,left=200,top=50");
         neuesFensterGalerie.document.open();
         neuesFensterGalerie.document.writeln("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><title>"+text+"</title><link rel=\"stylesheet\" href=\"../foeldeak.css\" type=\"text/css\"></head><body><table><tr><td>");
         neuesFensterGalerie.document.writeln("<a href=\"javascript:self.close();\">");
         neuesFensterGalerie.document.writeln("<img src='../bilder/"+bild+"' width='"+breite+"' height='"+hoeheBild+"' border='0' alt='"+text+"' title='"+text+"'></a></td></tr>");
         neuesFensterGalerie.document.writeln("<tr><td align=\"center\">"+unterschrift+"<br/><a href=\""+haref+"\" target=\"_blank\">"+haref+"</a></td></tr>");		 
         neuesFensterGalerie.document.writeln("</table></body></html>");
         neuesFensterGalerie.document.close();
         neuesFensterGalerie.moveTo(200,50);
         neuesFensterGalerie.focus();
                }
				else{
		 neuesFensterGalerie=window.open("","Bild","width="+(breite+5)+",height="+hoeheFenster+",screenX=200,screenY=50,left=200,top=50");
         neuesFensterGalerie.document.open();
         neuesFensterGalerie.document.writeln("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><title>"+text+"</title><link rel=\"stylesheet\" href=\"../foeldeak.css\" type=\"text/css\"></head><body><table><tr><td>");
         neuesFensterGalerie.document.writeln("<a href=\"javascript:self.close();\">");
         neuesFensterGalerie.document.writeln("<img src='../bilder/"+bild+"' width='"+breite+"' height='"+hoeheBild+"' border='0' alt='"+text+"' title='"+text+"'></a></td></tr>");
         neuesFensterGalerie.document.writeln("<tr><td align=\"center\">"+unterschrift+"<br/><a href=\""+haref+"\" target=\"_blank\">"+haref+"</a></td></tr>");		 
         neuesFensterGalerie.document.writeln("</table></body></html>");
         neuesFensterGalerie.document.close();
         neuesFensterGalerie.moveTo(200,50);
         neuesFensterGalerie.focus();
				}
}

// Bilder vergrößern Galerie
var neuesFensterGalerie2=null;
function bildFenster_galerie2 (bild,breite,hoeheBild,hoeheFenster,text,unterschrift,haref,haref2)
{
                if (neuesFensterGalerie != null && !neuesFensterGalerie.closed){
                     neuesFensterGalerie.close();
		 neuesFensterGalerie=window.open("","Bild","width="+breite+",height="+hoeheFenster+",screenX=200,screenY=100,left=200,top=100");
         neuesFensterGalerie.document.open();
         neuesFensterGalerie.document.writeln("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><title>"+text+"</title><link rel=\"stylesheet\" href=\"foeldeak.css\" type=\"text/css\"></head><body><table><tr><td>");
         neuesFensterGalerie.document.writeln("<a href=\"javascript:self.close();\">");
         neuesFensterGalerie.document.writeln("<img src='../bilder/"+bild+"' width='"+breite+"' height='"+hoeheBild+"' border='0' alt='"+text+"' title='"+text+"'></a></td></tr>");
         neuesFensterGalerie.document.writeln("<tr><td align=\"center\">"+unterschrift+"<br/><a href=\""+haref+"\" target=\"_blank\">"+haref+"</a><br/><a href=\""+haref2+"\" target=\"_blank\">"+haref2+"</a></td></tr>");		 
         neuesFensterGalerie.document.writeln("</table></body></html>");
         neuesFensterGalerie.document.close();
         neuesFensterGalerie.moveTo(200,100);
         neuesFensterGalerie.focus();
                }
				else{
		 neuesFensterGalerie=window.open("","Bild","width="+breite+",height="+hoeheFenster+",screenX=200,screenY=100,left=200,top=100");
         neuesFensterGalerie.document.open();
         neuesFensterGalerie.document.writeln("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head><title>"+text+"</title><link rel=\"stylesheet\" href=\"foeldeak.css\" type=\"text/css\"></head><body><table><tr><td>");
         neuesFensterGalerie.document.writeln("<a href=\"javascript:self.close();\">");
         neuesFensterGalerie.document.writeln("<img src='../bilder/"+bild+"' width='"+breite+"' height='"+hoeheBild+"' border='0' alt='"+text+"' title='"+text+"'></a></td></tr>");
         neuesFensterGalerie.document.writeln("<tr><td align=\"center\">"+unterschrift+"<br/><a href=\""+haref+"\" target=\"_blank\">"+haref+"</a><br/><a href=\""+haref2+"\" target=\"_blank\">"+haref2+"</a></td></tr>");
         neuesFensterGalerie.document.writeln("</table></body></html>");
         neuesFensterGalerie.document.close();
         neuesFensterGalerie.moveTo(200,100);
         neuesFensterGalerie.focus();
				}
}