function FlashTop(x)
{

var ShockMode = 0;
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
	if (navigator.plugins && navigator.plugins["Shockwave Flash"])
		ShockMode = 1;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
   && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('ShockMode = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8")))\n');
	document.write('</SCRIPT\> \n');
	ShockMode = 1;
}
if ( ShockMode ) {
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write(' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"');
	document.write(' ID=sauerundsohn WIDTH=946 HEIGHT=176>');
	document.write('  <PARAM NAME=movie VALUE="pics/flash/anim_'+x+'.swf"> ');
	document.write('  <PARAM NAME=quality VALUE=high> ');
	document.write('  <PARAM NAME=bgcolor VALUE=#28273C> ');
	document.write('  <PARAM NAME=menu VALUE=false> ');
	document.write('  <PARAM NAME=wmode VALUE=transparent> ');
	document.write('<EMBED SRC="pics/flash/anim_'+x+'.swf" wmode=transparent');
	document.write(' swLiveConnect=true WIDTH=946 HEIGHT=176 name=sauerundsohn');
	document.write(' QUALITY=high BGCOLOR=#28273C menu=false');
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
	document.write('</EMBED>');
	document.write('</OBJECT>');
} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appName.indexOf("Mozilla")>=0 && navigator.appVersion.indexOf("2.")>=0)){
	document.write('<img src="pics/flash/pic_'+x+'.jpg" width="946" height="176" border="0" align="left" hspace="0" vspace="0">');

}


}




function FlashREF(x)
{
var ShockMode = 0;
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
	if (navigator.plugins && navigator.plugins["Shockwave Flash"])
		ShockMode = 1;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
   && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('ShockMode = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8")))\n');
	document.write('</SCRIPT\> \n');
	ShockMode = 1;
}
if ( ShockMode ) {
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write(' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"');
	document.write(' ID=player WIDTH=300 HEIGHT=260>');
	document.write('  <PARAM NAME=movie VALUE="pics/flash/ref_player.swf"> ');
	document.write('  <PARAM NAME=quality VALUE=high> ');
	document.write('  <PARAM NAME=bgcolor VALUE=#FFFFFF> ');
	document.write('  <PARAM NAME=FlashVars VALUE="dataid='+x+'"> ');
	document.write('  <PARAM NAME=menu VALLUE=false> ');
	document.write('<EMBED SRC="pics/flash/ref_player.swf" FlashVars="dataid='+x+'"');
	document.write(' swLiveConnect=true WIDTH=300 HEIGHT=260 name=player');
	document.write(' QUALITY=high BGCOLOR=#FFFFFF menu=false');
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
	document.write('</EMBED>');
	document.write('</OBJECT>');
} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appName.indexOf("Mozilla")>=0 && navigator.appVersion.indexOf("2.")>=0)){
	document.write('<img src="/php/thumbgr.php?bildid=" border="0" width=300 height=225 vspace=0 hspace=0>');
	document.write('<br><a href="javascript:popup(\'fotos\');">Weitere Bilder</a>');

}


}


function Flash(filename,breite,hoehe)
{
var ShockMode = 0;
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
	if (navigator.plugins && navigator.plugins["Shockwave Flash"])
		ShockMode = 1;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
   && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('ShockMode = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8")))\n');
	document.write('</SCRIPT\> \n');
	ShockMode = 1;
}
if ( ShockMode ) {
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write(' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"');
	document.write(' ID=f1 WIDTH='+breite+' HEIGHT='+hoehe+'>');
	document.write('  <PARAM NAME=movie VALUE="pics/flash/'+filename+'.swf"> ');
	document.write('  <PARAM NAME=quality VALUE=high> ');
	document.write('  <PARAM NAME=bgcolor VALUE=#FFFFFF> ');
	document.write('  <PARAM NAME=menu VALLUE=false> ');
	document.write('<EMBED SRC="pics/flash/'+filename+'.swf"');
	document.write(' swLiveConnect=true WIDTH='+breite+' HEIGHT='+hoehe+' name=f1');
	document.write(' QUALITY=high BGCOLOR=#FFFFFF menu=false');
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
	document.write('</EMBED>');
	document.write('</OBJECT>');
} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appName.indexOf("Mozilla")>=0 && navigator.appVersion.indexOf("2.")>=0)){
	document.write('<img src="pics/flash/'+filename+'.jpg" width="'+breite+'" height="'+hoehe+'" border="0" align="left" hspace="0" vspace="0">');

}


}


function FlashStart(filename,breite,hoehe,backcolor)
{
var ShockMode = 0;
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
	if (navigator.plugins && navigator.plugins["Shockwave Flash"])
		ShockMode = 1;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
   && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('ShockMode = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8")))\n');
	document.write('</SCRIPT\> \n');
	ShockMode = 1;
}
if ( ShockMode ) {
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write(' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"');
	document.write(' ID=flx WIDTH='+breite+' HEIGHT='+hoehe+'>');
	document.write('  <PARAM NAME=movie VALUE="pics/flash/'+filename+'.swf"> ');
	document.write('  <PARAM NAME=quality VALUE=high> ');
	document.write('  <PARAM NAME=bgcolor VALUE=#'+backcolor+'> ');
	document.write('  <PARAM NAME=menu VALLUE=false> ');
	document.write('<EMBED SRC="pics/flash/'+filename+'.swf"');
	document.write(' swLiveConnect=true WIDTH='+breite+' HEIGHT='+hoehe+' name=flx');
	document.write(' QUALITY=high BGCOLOR=#'+backcolor+' menu=false');
	document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
	document.write('</EMBED>');
	document.write('</OBJECT>');
} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appName.indexOf("Mozilla")>=0 && navigator.appVersion.indexOf("2.")>=0)){
	document.write('<img src="pics/flash/'+filename+'.jpg" width="'+breite+'" height="'+hoehe+'" border="0" align="left" hspace="0" vspace="0">');

}


}




function foto(x,y,z)
{
fotofenster = window.open("/php/fotos.php?seite="+x+"&dataid="+y+"&id="+z+"&lg="+lg,"fotos","width=850,height=600,dependent=yes,menubar=yes,toolbar=yes,screenX=500,screenY=500,scrollbars=yes,status=yes,resizable=yes");
}

function popup(x,y)
{
ppfenster = window.open("/php/"+x+".php?id="+y,"popup","width=850,height=600,dependent=yes,menubar=yes,toolbar=yes,screenX=500,screenY=500,scrollbars=yes,status=yes,resizable=yes");
}
function video(lg)
{
vdfenster = window.open("/php/video.php?lg="+lg,"videofenster","width=400,height=450,dependent=yes,screenX=500,screenY=500,status=yes,resizable=yes");
}


function druckansicht(a,b,c,d)
{
dafenster = window.open(a+"?seite="+b+"&id="+c+"&lg="+d,"popup","width=600,height=700,dependent=yes,menubar=yes,toolbar=yes,screenX=500,screenY=500,scrollbars=yes,status=yes,resizable=yes");
}
function extern(x)
{
exfenster = window.open("/php/"+x,"popup","width=850,height=600,dependent=yes,menubar=no,toolbar=no,screenX=500,screenY=500,scrollbars=yes,status=yes,resizable=yes");
}

function anfahrt(lg)
{
affenster = window.open("/php/anfahrt.php?lg="+lg,"popup","width=700,height=730,dependent=yes,menubar=yes,toolbar=no,screenX=500,screenY=500,scrollbars=yes,status=yes,resizable=yes");
}


function popup2(x,lg)
{
pp2fenster = window.open("/php/ansprechpartner.php?lg="+lg+"&name="+x,"popup2","width=480,height=650,dependent=yes,menubar=no,toolbar=no,screenX=500,screenY=500,scrollbars=no,status=no,resizable=no");
}

