//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;}
//alert(ie);

// Netscape Warnung! ******************************************************************************
window.onload = function() {
	netscape_test();
};

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");
}
}

// Navigation CSS *********************************************************************************
navHover = function() {
	
	if(document.getElementById("navmenu")){
	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(document.getElementById("navmenu1")){
	var lis = document.getElementById("navmenu1").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(document.getElementById("navmenu2")){
	var lis2 = document.getElementById("navmenu2").getElementsByTagName("LI");
	for (var i=0; i<lis2.length; i++) {
		lis2[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis2[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
	}

	if(document.getElementById("navmenu3")){
	var lis2 = document.getElementById("navmenu3").getElementsByTagName("LI");
	for (var i=0; i<lis2.length; i++) {
		lis2[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis2[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_warenkorb()
{
if (nn4)
{
 Z=document.layers["zahlen"];
 L=document.layers["liefern"];
 R=document.layers["zurueck"];
 F=document.layers["frachtkosten"];
}
if (nn6 || firefox_mozilla)
{
 Z=document.getElementById("zahlen").style;
 L=document.getElementById("liefern").style;
 R=document.getElementById("zurueck").style;
 F=document.getElementById("frachtkosten").style;
 }
if (ie || opera)
{
 Z=document.all.zahlen.style;
 L=document.all.liefern.style;
 R=document.all.zurueck.style;
 F=document.all.frachtkosten.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;
 B_13=document.getElementById("Bild_13").style;
 B_14=document.getElementById("Bild_14").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;
 B_13=document.all.Bild_13.style;
 B_14=document.all.Bild_14.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_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;
 B_7=document.getElementById("Bild_7").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;
}
}
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_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_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_fuenf()
{
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;
 }
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;
}
}
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_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_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_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_11()
{
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;
 }
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;
}
}
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;
}
}

// 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 NachwuchsFörderpreis ********************************************************************************
function FensterStart(urlParam)
{
	try {
	FensterSt=window.open("nachwuchs.php?urlParam","FensterSt","width=700,height=490,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
	FensterSt.focus();
	} catch (e) {
	// im Livebetrieb die untere Zeile auskommentieren
	//alert("fehler: " + e.toString());
	}
}
//ö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 Frachtkostenfenster *******************************************************************************************
function openRabatt()
{
FensterRabatt=window.open("bestellung/rabatt.php","FensterRabatt","width=670,height=195,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterRabatt.focus();
}
//öffnet die Frachtkostenfenster *******************************************************************************************
function FensterFKTransport()
{
FensterFKTMW=window.open("bestellung/fk_mattenwagen.php","FensterFKTMW","width=670,height=190,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKTMW.focus();
}
function FensterFKJudo()
{
FensterFKJU=window.open("bestellung/fk_judo.php","FensterFKJU","width=670,height=190,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKJU.focus();
}
function FensterFKAntiSlip()
{
FensterFKGW=window.open("bestellung/fk_antislip.php","FensterFKGW","width=670,height=210,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKGW.focus();
}
function FensterFKGW()
{
FensterFKGW=window.open("bestellung/fk_gladiatorwall.php","FensterFKGW","width=670,height=210,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKGW.focus();
}
function FensterFKGummi()
{
FensterFKGM=window.open("bestellung/fk_gummi.php","FensterFKGM","width=680,height=190,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKGM.focus();
}
function FensterFKAntiStolper()
{
FensterFKAS=window.open("bestellung/fk_antiStolper.php","FensterFKAS","width=680,height=190,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKAS.focus();
}
function FensterFKTurnmatten()
{
FensterFKTM=window.open("bestellung/fk_turnmatten.php","FensterFKTM","width=680,height=200,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKTM.focus();
}
function FensterFKCombatBagF()
{
FensterFKCBF=window.open("bestellung/fk_combatbagF.php","FensterFKCBF","width=680,height=320,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKCBF.focus();
}
function FensterFKTrainingBag()
{
FensterFKTB=window.open("bestellung/fk_trainingbag.php","FensterFKTB","width=680,height=350,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKTB.focus();
}
function FensterFKTrainingBagF()
{
FensterFKTBF=window.open("bestellung/fk_trainingbagF.php","FensterFKTBF","width=680,height=290,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKTBF.focus();
}
function FensterFKTrainingBagDVD()
{
FensterFKTBDVD=window.open("bestellung/fk_trainingbagDVD.php","FensterFKTBDVD","width=670,height=190,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKTBDVD.focus();
}
function FensterFKGladiatorWallDVD()
{
FensterFKTBDVD=window.open("bestellung/fk_gladiatorwallDVD.php","FensterFKGWDVD","width=670,height=190,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKGWDVD.focus();
}
function FensterFKTpS()
{
FensterFKTPS=window.open("bestellung/fk_trainingspuppenS.php","FensterFKTPS","width=670,height=190,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKTPS.focus();
}
function FensterFKTpF()
{
FensterFKTPF=window.open("bestellung/fk_trainingspuppenF.php","FensterFKTPF","width=670,height=200,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKTPF.focus();
}
function FensterFKTpE()
{
FensterFKTPE=window.open("bestellung/fk_trainingspuppenE.php","FensterFKTPE","width=670,height=190,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKTPE.focus();
}
function FensterFKTpZ1()
{
FensterFKTPZ1=window.open("bestellung/fk_trainingspuppenZ1.php","FensterFKTPZ1","width=670,height=190,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKTPZ1.focus();
}
function FensterFKEasyRoll()
{
FensterFKER=window.open("bestellung/fk_easyroll.php","FensterFKER","width=670,height=420,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKER.focus();
}
function FensterFKEasyRollTB()
{
FensterFKERTB=window.open("bestellung/fk_easyrollTB.php","FensterFKERTB","width=670,height=190,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKERTB.focus();
}
function FensterFKLeatherBell()
{
FensterFKLB=window.open("bestellung/fk_leatherbell.php","FensterFKLB","width=680,height=310,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKLB.focus();
}
function FensterFKLeatherBellT()
{
FensterFKLB=window.open("bestellung/fk_leatherbellT.php","FensterFKLB","width=680,height=260,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKLB.focus();
}
function FensterFKMatcleaner()
{
FensterFKMC=window.open("bestellung/fk_matcleaner.php","FensterFKMC","width=680,height=400,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterFKMC.focus();
}
//öffnet die Angebotfenster ************************************************************************************************
//Ringen
function FensterAngebotRegupol(urlParam)
{
FensterREG=window.open("bestellung/angebot_regupol.php?"+urlParam,"FensterREG","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterREG.focus();
}
function FensterAngebotRingermattendecken(urlParam)
{
FensterRM1=window.open("bestellung/angebot_ringermattendecken.php?"+urlParam,"FensterRM1","width=900,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterRM1.focus();
}
function FensterAngebotRingermattenelementeT(urlParam)
{
FensterRM2=window.open("bestellung/angebot_ringermattenelementeT.php?"+urlParam,"FensterRM2","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterRM2.focus();
}
function FensterAngebotRingermattenelementeS(urlParam)
{
FensterRM22=window.open("bestellung/angebot_ringermattenelementeS.php?"+urlParam,"FensterRM22","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterRM22.focus();
}
function FensterAngebotRingermattenkomplett(urlParam)
{
FensterRM3=window.open("bestellung/angebot_ringermattenkomplett.php?"+urlParam,"FensterRM3","width=900,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterRM3.focus();
}
function FensterAngebotZubehoerAnzeigetafel(urlParam)
{
FensterZA=window.open("bestellung/angebot_zubehoer_anzeigetafel.php?"+urlParam,"FensterZA","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterZA.focus();
}

function FensterAngebotZubehoerReparaturset(urlParam)
{
FensterZR=window.open("bestellung/angebot_zubehoer_reparaturset.php?"+urlParam,"FensterZR","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterZR.focus();
}
//Judo
function FensterAngebotJudomatte(urlParam)
{
FensterJ1=window.open("bestellung/angebot_judomatte.php?"+urlParam,"FensterJ1","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ1.focus();
}
function FensterAngebotJudoWurfmatte(urlParam)
{
FensterJ2=window.open("bestellung/angebot_judowurfmatte.php?"+urlParam,"FensterJ2","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ2.focus();
}
function FensterAngebotJudoPuzzlematte(urlParam)
{
FensterJ3=window.open("bestellung/angebot_judopepuzzlematte.php?"+urlParam,"FensterJ3","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterJ3.focus();
}
//Grappling
function FensterAngebotGrapplingTatami(urlParam)
{
FensterGT=window.open("bestellung/angebot_grapplingTatami.php?"+urlParam,"FensterGT","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterGT.focus();
}
function FensterAngebotGrapplingWrestling(urlParam)
{
FensterGW=window.open("bestellung/angebot_grapplingWrestling.php?urlParam","FensterGW","width=900,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterGW.focus();
}
//EasyRoll
function FensterAngebotEasyroll(urlParam)
{
FensterER=window.open("bestellung/angebot_easyroll.php?"+urlParam,"FensterER","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterER.focus();
}
//Turnmatten
function FensterAngebotTurnmatten(urlParam)
{
FensterTM=window.open("bestellung/angebot_turnmatten.php?"+urlParam,"FensterTM","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterTM.focus();
}
function FensterAngebotTurnmattenSL(urlParam)
{
FensterTMSL=window.open("bestellung/angebot_turnmattenSL.php?"+urlParam,"FensterTMSL","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterTMSL.focus();
}
function FensterAngebotGymnastikmatten(urlParam)
{
FensterGYM=window.open("bestellung/angebot_gymnastikmatten.php?"+urlParam,"FensterGYM","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterGYM.focus();
}
//Puzzlematten
function FensterAngebotPuzzlematten(urlParam)
{
FensterPZM=window.open("bestellung/angebot_puzzlematten.php?"+urlParam,"FensterPZM","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterPZM.focus();
}
//Trainingspuppen
function FensterAngebotTP_F1(urlParam)
{
FensterTP1=window.open("bestellung/angebot_tp_f1.php?"+urlParam,"FensterTP1","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterTP1.focus();
}
function FensterAngebotTP_F2(urlParam)
{
FensterTP2=window.open("bestellung/angebot_tp_f2.php?"+urlParam,"FensterTP2","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterTP2.focus();
}
function FensterAngebotTP_S1(urlParam)
{
FensterTPS1=window.open("bestellung/angebot_tp_s1.php?"+urlParam,"FensterTPS1","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterTPS1.focus();
}
function FensterAngebotTP_S2(urlParam)
{
FensterTPS2=window.open("bestellung/angebot_tp_s2.php?"+urlParam,"FensterTPS2","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterTPS2.focus();
}
function FensterAngebotTP_S4(urlParam)
{
FensterTPS4=window.open("bestellung/angebot_tp_s4.php?"+urlParam,"FensterTPS4","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterTPS4.focus();
}
//Hallenzubehör
function FensterAngebotPrallschutz(urlParam)
{
FensterPS=window.open("bestellung/angebot_prallschutz.php?"+urlParam,"FensterPS","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterPS.focus();
}
function FensterAngebotZubehoerMattenwagen(urlParam)
{
FensterZM=window.open("bestellung/angebot_zubehoer_mattenwagen.php?"+urlParam,"FensterZM","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterZM.focus();
}
function FensterAngebotZubehoerWerbeaufsteller(urlParam)
{
FensterZW=window.open("bestellung/angebot_zubehoer_werbeaufsteller.php?"+urlParam,"FensterZW","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterZW.focus();
}
function FensterAngebotZubehoerWaagen(urlParam)
{
FensterWA=window.open("bestellung/angebot_zubehoer_waagen.php?"+urlParam,"FensterWA","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterWA.focus();
}
function FensterAngebotZubehoerTischstoppuhr(urlParam)
{
FensterZTS=window.open("bestellung/angebot_zubehoer_tischstoppuhr.php?"+urlParam,"FensterZTS","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterZTS.focus();
}
function FensterAngebotZubehoerAntistolperkante(urlParam)
{
FensterZAS=window.open("bestellung/angebot_zubehoer_antistolperkante.php?"+urlParam,"FensterZAS","width=740,height=600,top=5,left=50,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=yes");
FensterZAS.focus();
}


/* Movies Movies Movies Movies Movies Movies Movies Movies Movies Movies Movies Movies Movies *************************** */
function FensterBagMovie()
{
FensterM1=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");
FensterM1.focus();
}
function FensterCombatBagMovie()
{
FensterM6=window.open("filme/tpCombatBag.php","FensterM6","width=384,height=306,top=200,left=200,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterM6.focus();
}
function FensterMiletoBagMovie()
{
FensterM7=window.open("filme/tpBagMiletto.php","FensterM7","width=384,height=306,top=200,left=200,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterM7.focus();
}
function FensterFitnessMovie()
{
FensterM7=window.open("filme/tpFitness.php","FensterM7","width=400,height=243,top=200,left=200,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterM7.focus();
}
function FensterBoneMovie()
{
FensterM2=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");
FensterM2.focus();
}
function FensterSDummiesMovie()
{
FensterM3=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");
FensterM3.focus();
}
function FensterEcoMovie()
{
FensterM4=window.open("filme/tpEco.php","FensterM4","width=384,height=306,top=200,left=200,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterM4.focus();
}
function FensterAllMovie()
{
FensterM5=window.open("filme/tpAll.php","FensterM5","width=384,height=306,top=200,left=200,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterM5.focus();
}
function FensterGWMovie(text)
{
FensterM5=window.open("filme/wall.php?text="+text,"FensterM5","width=384,height=350,top=200,left=200,dependent=yes,resizable=no,status=no,toolbar=no,location=no,menubar=no,scrollbars=no");
FensterM5.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,10);
         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,10);
         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();
		}
}
// Bilder vergrößern Galerie
var neuesFensterGalerie3=null;
function bildFenster_galerie3 (bild,breite,hoeheBild,hoeheFenster,text,unterschrift,haref)
{
    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=\"left\"><br/>"+unterschrift+"<br/><a href=\""+haref+"\" target=\"_blank\">"+haref+"</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=\"left\"><br/>"+unterschrift+"<br/><a href=\""+haref+"\" target=\"_blank\">"+haref+"</a></td></tr>");		 
         neuesFensterGalerie.document.writeln("</table></body></html>");
         neuesFensterGalerie.document.close();
         neuesFensterGalerie.moveTo(200,100);
         neuesFensterGalerie.focus();
		}
}