
	var IE = navigator.appName.indexOf("Microsoft") != -1;
  var NS = navigator.appName.indexOf("Netscape") != -1;

function setVariables(){
if (NS) {
	tv=".top=";
	th=".left=";
	dS="document.";
	sD="";
	ty="window.pageYOffset";
	tx="window.pageXOffset";
	iW="window.innerWidth";
	iH="window.innerHeight"
}

if (IE) {
	th=".pixelLeft=";
	tv=".pixelTop=";
	dS="";
	sD=".style";
	ty="document.body.scrollTop";
	tx="document.body.scrollLeft";
	iW="document.body.clientWidth";
	iH="document.body.clientHeight"

}
xyz=500


object="flplogo";
checkLocationA()
}
movex=0,movey=0,xdiff=0,ydiff=0,ystart=0,xstart=0

function checkLocation(){
innerX=eval(iW)																								//Ermittlung der tatsächlichen Fenstergrösse
innerY=eval(iH)																								//Ermittlung der tatsächlichen Fensterbreite
innerXb=innerX-(innerX-54)																		//zwecks der Skalierung des Fensters, hier der fixe rechte Rand
innerYb=innerY-(innerY-2)
if (document.layers){innerYb-=2;innerXb-=0}
yy=eval(ty);
xx=eval(tx);
ydiff=ystart-yy;
xdiff=xstart-xx;
//if ((ydiff<(-1))||(ydiff>(1))) movey=Math.round(ydiff/10),ystart-=movey
if ((xdiff<(-1))||(xdiff>(1))) movex=Math.round(xdiff/10),xstart-=movex
//eval(dS+object+sD+tv+(ystart+innerYb));
eval(dS+object+sD+th+(xstart+innerXb));
setTimeout("checkLocation()",10)}

function checkLocationA(){ystart=eval(ty);xstart=eval(tx);}

function KunstId(wer)
	{
	Kunstbild = new Image();
	Kunstbild.src = wer;
	if(IE)
	{
	window.document.artist.src = Kunstbild.src;
	}
	if(NS)
	{
	window.document.flplogo.document.unten.document.images['artist'].src = Kunstbild.src;
	}
}


function Ankern(wo)
{ window.scrollTo(wo,0) }


function BsetFrame(frameNum)
	{
		if(IE)
		{
		loc = eval("window.document.perlogo");
		}
		if(NS)
		{
		loc = window.document.flplogo.document.logo.document.embeds[0];
		}
	frameNum = (parseInt(frameNum));
	if (IE) {
		TFrames = (parseInt(loc.TotalFrames));
	}
	if (NS)  {
		TFrames = (parseInt(loc.TotalFrames()));
	}
	if (frameNum <= TFrames) {
		if (!FDK_loaded) {
			while (!FDK_loaded) {
				if(loc.PercentLoaded() == 100)  {
					loc.GotoFrame(frameNum);
					FDK_loaded = true;
				}
			}
		}
		else  {
			loc.GotoFrame(frameNum);
		}
	}
	else {
		alert("Flash Scripting Error: The jump frame you specified is greater than the total number of fames in the Flash movie. Choose a lesser value.");
	}
} 

//function switchLogo(abc){													//diese Funktion tauscht bei Klick den Layerinhalt aus, falls gewünscht
//	if (abc=="menu"){                     		
//	eval(dS+object+sD+v+0);               		
//	eval(dS+object+sD+h+(-200));           		
//	object=abc}                              	
//	else xyz=setTimeout("delayLogo()",2000)   
//}

//function delayLogo(){
//	eval(dS+object+sD+v+0);          					
//	eval(dS+object+sD+h+(-200));     					
//	object='logo'                     				
//}