<!--

hTimeTop="";

l_idTop="";



function hideMenuTop(l_idTop,closeClick){

	TimeOutTop(LNameTop);

}



var snameTop = "";

var msTop = "";

var activeTop = "";



i1Top = -280;



SLNameTop="";



function MoveMenuTop(mlID){

	LNameTop = mlID;

	

	if (i1Top!=0){

		i1Top=i1Top+10;

		SetLayer(LNameTop,"top",i1Top+"px");

		LNameTopOld1 = LNameTop;

		i1TopOld = i1Top;

		msTop1=setTimeout("MoveMenuTop(LNameTop)",10);

	}

}



function MoveMenuBackTop(mlID){

	LNameTopOld = mlID;

	if (LNameTopOld == "businessandpartner"){

		if (i1TopOld!=-280){

			i1TopOld=i1TopOld-10;

			SetLayer(LNameTopOld,"top",i1TopOld+"px");

			LNameTopOldOld1 = LNameTopOld;

			i1Top = i1TopOld;

			bs1Top=setTimeout("MoveMenuBackTop(LNameTopOld)",10);

		}

	}



}



function TimeOutTop(mlID){

	MoveMenuBackTop("businessandpartner");

}



hTime="";

h_id="";

s_id="";

l_id="";

ms1b="";

SLNameOld="";

closeClick="";



function SetLayer(LName,funct,wert){

	if (hTime!=""){

		window.clearTimeout(hTime);

	}

	if (document.getElementById){

		var newLayer = document.getElementById(LName).style;

		newLayer[funct]=wert;

	}

}



function SetLayer2(LName,funct,wert){

	if (document.getElementById){

		var newLayer = document.getElementById(LName).style;

		newLayer[funct]=wert;

	}

}



function SetLayer3(LName,funct,wert){

	if (document.getElementById){

		var newLayer = document.getElementById(LName);

		newLayer[funct]=wert;

	}

}



function closelayer(){

	document.getElementById("flashfilm").innerHTML="<br />";

	document.getElementById("flashfilm").className="flashLeer";

	SetLayer2('flashfilm','visibility','hidden');

}



function showMenu(l_id){

	l_id = l_id;

	if (h_id!=""){

		SetLayer(h_id,"display","none");

	}

	if (l_id != "ms"){

		s_id = l_id;

	}

	else {

		window.clearTimeout(hTime);

	}

	if(s_id!=""){

		SetLayer(s_id,"display","block");

	}

	

	if (ms1b!="" && startsite=="positiv"){

		window.clearTimeout(ms1b);

	}

}



function hideMenu(l_id,closeClick){

	if (l_id != "ms"){

		h_id = l_id;

	}

	if (s_id != h_id){

		SetLayer(h_id,"display","none");

	}

	else {

		if (h_id!="" && closeClick=="ms"){

			hideMenu2(h_id);

		}

		else if (h_id!=""){

			hTime = setTimeout("hideMenu2(h_id)",1000);

		}

	}

	

	if (startsite=="positiv" && closeClick=="ms"){

		TimeOut(LName);

	}

	else if (startsite=="positiv"){

		ms1b=setTimeout('TimeOut(LName)',1000);

	}

}



function hideMenu2() {

	SetLayer(h_id,"display","none");

}



function MouseOut(iname){

	if (sname != iname && iname!=""){

		newSRC = document[iname].src.replace("_o.","_n.");

		document[iname].src = newSRC;

	}

}



function SetImageStart(name){

	/*sname = name;

	if (sname!=""){

		MouseOver(sname);

	}*/

}



function MouseOutStart(iname){

	//newSRC = document[iname].src.replace("_o.","_n.");

	//document[iname].src = newSRC;

}



var sname = "";

var ms = "";

var active = "";



i1 = 270;

i2 = 270;

i3 = 270;

i4 = 270;

i5 = 270;

aStart = 270;

aEnd = 100;

aSpeed = 10;

aFrame = 10;

LNameOld = "";

i1Old = "";

i2Old = "";

i3Old = "";

i4Old = "";

i5Old = "";

startsite="";



function MoveMenu(mlID){

	startsite="positiv";

	if (ms1b!="" && startsite=="positiv"){

		window.clearTimeout(ms1b);

	}

	CheckMenuOld(mlID);

	LName = mlID;

	if (LName == "hm1"){

		if (i1!=aEnd){

			i1=i1-aFrame;

			SetLayer(LName,"top",i1+"px");

			SetLayer3(LName,"className","hm01 hm_ani");

			LNameOld1 = LName;

			i1Old = i1;

			ms1=setTimeout("MoveMenu(LName)",aSpeed);

		}

		else {

			SetImageStart("b01");

			SetLayer("sMenu_36","left","151px");

			SetLayer("sMenu_36","display","block");

		}

	}

	else if (LName == "hm2"){

		if (i2!=aEnd){

			i2=i2-aFrame;

			SetLayer(LName,"top",i2+"px");

			SetLayer3(LName,"className","hm02 hm_ani");

			LNameOld2 = LName;

			i2Old = i2;

			ms2=setTimeout("MoveMenu(LName)",aSpeed);

		}

		else {

			SetImageStart("b02");

			SetLayer("sMenu_35","left","0px");

			SetLayer("sMenu_35","display","block");

		}

	}

	else if (LName == "hm3"){

		if (i3!=aEnd){

			i3=i3-aFrame;

			SetLayer(LName,"top",i3+"px");

			SetLayer3(LName,"className","hm03 hm_ani");

			LNameOld3 = LName;

			i3Old = i3;

			ms3=setTimeout("MoveMenu(LName)",aSpeed);

		}

		else {

			SetImageStart("b03");

			SetLayer("sMenu_34","left","302px");

			SetLayer("sMenu_34","display","block");

		}

	}

	else if (LName == "hm4"){

		if (i4!=aEnd){

			i4=i4-aFrame;

			SetLayer(LName,"top",i4+"px");

			SetLayer3(LName,"className","hm04 hm_ani");

			LNameOld4 = LName;

			i4Old = i4;

			ms4=setTimeout("MoveMenu(LName)",aSpeed);

		}

		else {

			SetImageStart("b04");

			SetLayer("sMenu_33","left","453px");

			SetLayer("sMenu_33","display","block");

		}

	}

	else if (LName == "hm5"){

		if (i5!=aEnd){

			i5=i5-aFrame;

			SetLayer(LName,"top",i5+"px");

			SetLayer3(LName,"className","hm05 hm_ani");

			LNameOld5 = LName;

			i5Old = i5;

			ms5=setTimeout("MoveMenu(LName)",aSpeed);

		}

		else {

			SetImageStart("b05");

			SetLayer("sMenu_32","left","604px");

			SetLayer("sMenu_32","display","block");

		}

	}

}



function MoveMenuBack(mlID){//

	LNameOld = mlID;

	if (LNameOld == "hm1"){

		if (i1Old!=aStart){

			i1Old=i1Old+aFrame;

			SetLayer(LNameOld,"top",i1Old+"px");

			LNameOldOld1 = LNameOld;

			i1 = i1Old;

			bs1=setTimeout("MoveMenuBack(LNameOld)",aSpeed);

		}

		/*else {

			window.clearTimeout(bs1);

		}*/

	}

	else if (LNameOld == "hm2"){

		if (i2Old!=aStart){

			i2Old=i2Old+aFrame;

			SetLayer(LNameOld,"top",i2Old+"px");

			LNameOldOld2 = LNameOld;

			i2 = i2Old;

			bs2=setTimeout("MoveMenuBack(LNameOld)",aSpeed);

		}

	}

	else if (LNameOld == "hm3"){

		if (i3Old!=aStart){

			i3Old=i3Old+aFrame;

			SetLayer(LNameOld,"top",i3Old+"px");

			LNameOldOld3 = LNameOld;

			i3 = i3Old;

			bs3=setTimeout("MoveMenuBack(LNameOld)",aSpeed);

		}

	}

	else if (LNameOld == "hm4"){

		if (i4Old!=aStart){

			i4Old=i4Old+aFrame;

			SetLayer(LNameOld,"top",i4Old+"px");

			LNameOldOld4 = LNameOld;

			i4 = i4Old;

			bs4=setTimeout("MoveMenuBack(LNameOld)",aSpeed);

		}

	}

	else if (LNameOld == "hm5"){

		if (i5Old!=aStart){

			i5Old=i5Old+aFrame;

			SetLayer(LNameOld,"top",i5Old+"px");

			LNameOldOld5 = LNameOld;

			i5 = i5Old;

			bs5=setTimeout("MoveMenuBack(LNameOld)",aSpeed);

		}

	}

}



function CheckMenuOld(mlID){

	if (mlID!="hm1" && i1Old!="" && i1Old!=270){

		//clearTimeout("ms1");

		MoveMenuBack("hm1");

		SetLayer("sMenu_36","display","none");

		MouseOutStart("b01");

	}

	else {

		if (i1Old==270){

			SetLayer3("hm1","className","hm01");

		}

	}



	if (mlID!="hm2" && i2Old!="" && i2Old!=270){

		//clearTimeout("ms2");

		MoveMenuBack("hm2");

		SetLayer("sMenu_35","display","none");

		MouseOutStart("b02");

	}

	else {

		if (i2Old==270){

			SetLayer3("hm2","className","hm02");

		}

	}



	if (mlID!="hm3" && i3Old!="" && i3Old!=270){

		//clearTimeout("ms3");

		MoveMenuBack("hm3");

		SetLayer("sMenu_34","display","none");

		MouseOutStart("b03");

	}

	else {

		if (i3Old==270){

			SetLayer3("hm3","className","hm03");

		}

	}



	if (mlID!="hm4" && i4Old!="" && i4Old!=270){

		//clearTimeout("ms4");

		MoveMenuBack("hm4");

		SetLayer("sMenu_33","display","none");

		MouseOutStart("b04");

	}

	else {

		if (i4Old==270){

			SetLayer3("hm4","className","hm04");

		}

	}



	if (mlID!="hm5" && i5Old!="" && i5Old!=270){

		//clearTimeout("ms5");

		MoveMenuBack("hm5");

		SetLayer("sMenu_32","display","none");

		MouseOutStart("b05");

	}

	else {

		if (i5Old==270){

			SetLayer3("hm5","className","hm05");

		}

	}

}



function TimeOut(mlID){

	if (mlID=="hm1"){

		//clearTimeout("ms1");

		MoveMenuBack("hm1");

		SetLayer("sMenu_36","display","none");

		MouseOutStart("b01");

	}



	if (mlID=="hm2"){

		//clearTimeout("ms2");

		MoveMenuBack("hm2");

		SetLayer("sMenu_35","display","none");

		MouseOutStart("b02");

	}



	if (mlID=="hm3"){

		//clearTimeout("ms3");

		MoveMenuBack("hm3");

		SetLayer("sMenu_34","display","none");

		MouseOutStart("b03");

	}



	if (mlID=="hm4"){

		//clearTimeout("ms4");

		MoveMenuBack("hm4");

		SetLayer("sMenu_33","display","none");

		MouseOutStart("b04");

	}



	if (mlID=="hm5"){

		//clearTimeout("ms5");

		MoveMenuBack("hm5");

		SetLayer("sMenu_32","display","none");

		MouseOutStart("b05");

	}

}



function PrintPage() { 

	var sOption="toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,width=660,height=580,left=100,top=25"; 



	var sWinHTML = document.getElementById('content').innerHTML;

	var strBereich = document.title;

	var strBodyClass = document.body.className;

	var strBodyId = document.body.id;

      

	var winprint=window.open("","",sOption); 

       winprint.document.open(); 

       winprint.document.write('<html><title>' + document.title + '</title><link rel="stylesheet" href="style/typo3cache.css" type="text/css"><link rel="stylesheet" href="style/rewe.css" type="text/css"><link rel="stylesheet" href="style/rewe_print.css" type="text/css"><body id="'+strBodyId+'" class="'+strBodyClass+'" onload="window.print();">'); 

       winprint.document.write('<div style="position: relative; z-index: 10;"><img src="image/head_drucken.png" width="640" height="80" border="0"><br>');

       //winprint.document.write('<div id="infoDiv" style="position: absolute; left: 10px; top: 90px; width: 360px; height: 16px; z-index: 2;"><span style="font-size: 15px; color: #fff; font-family: arial; text-decoration: none;"><strong>' + strBereich + '</strong></span></div></div>');

       winprint.document.write('<div id="content" style="position: relative;">'+sWinHTML+'</div>');

       winprint.document.write('</body></html>');

       winprint.document.close(); 

       winprint.focus(); 

}



//check for flash

var flashversion = 7;

var plugin = 1;

//var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

if ( plugin ) {

	//plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= flashversion;

}

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('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+flashversion+'")))\n');

	document.write('</SCRIPT\> \n');

}



function playSWF(file,id,vars,width,height,wmode,bgcolor,baseurl,wLName) {

	fsource='<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';

	fsource+=' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" ';

	fsource+=' ID='+id+' WIDTH="'+width+'"; HEIGHT="'+height+'">';

	fsource+=' <PARAM NAME="allowScriptAccess" VALUE="sameDomain" /> <PARAM NAME=movie VALUE="'+file+'"> <PARAM NAME=FlashVars VALUE="page_vars='+vars+'"> <PARAM NAME=menu VALUE=false>  <PARAM NAME="BASE" VALUE='+baseurl+'> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode value='+wmode+'> <PARAM NAME=bgcolor VALUE='+bgcolor+'>';

		if(navigator.userAgent.indexOf("Opera")==-1) {

			fsource+=' <EMBED src="'+file+'" FlashVars="page_vars='+vars+'" wmode='+wmode+' menu=false quality=high bgcolor='+bgcolor+'';

			fsource+=' swLiveConnect=FALSE allowScriptAccess="sameDomain" NAME='+id+' WIDTH="'+width+'" HEIGHT="'+height+'"';

			fsource+=' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" BASE='+baseurl+'>';

			fsource+=' </EMBED>';

		}

		else	{

			fsource+=' <EMBED src="'+file+'" FlashVars="page_vars='+vars+'" wmode='+wmode+' menu=false quality=high bgcolor='+bgcolor+'';

			fsource+=' swLiveConnect=FALSE allowScriptAccess="sameDomain" ID='+id+' WIDTH="'+width+'" HEIGHT="'+height+'"';

			fsource+=' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" BASE='+baseurl+'>';

			fsource+=' </EMBED>';

		}

	fsource+=' </OBJECT>';



	if (document.getElementById){

		document.getElementById(wLName).innerHTML=fsource;

	}



}



function WriteLayer(lName,lConten){

	if (document.getElementById){

		document.getElementById(lName).innerHTML=lConten;

	}

}



function nx_send(){

        nx_win = window.open("/nx_mail_news.php?url="+escape(document.location)+"&title="+escape(document.title),"_danke", 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=360,height=450');

        nx_win.focus();

        return false;

} 
 


//-->