<!-- Inhalt vor alten Browsern verstecken

var footerOpened = false;


function relocate( url )
{
	window.location.href = url;
}

function openMail( mailto )
{
	if (lang==0)
		window.location.href = "mailto:"+mailto+"?subject=Become%20a%20partner";
	else
		window.location.href = "mailto:"+mailto+"?subject=Partnerschaft";
}

function openLink( href )
{
	window.open( href );
}

function initRollOver( element )
{
	$(element).hover(
	 function()
	 {
	  this.src = this.src.replace(".png","_highlight.png");
	 },
	 function()
	 {
	  this.src = this.src.replace("_highlight.png",".png");
	 }
	);
}

function openFooter()
{
	$('#footer').animate( {
		height: '230px'
	}, 400	);
}

function closeFooter()
{
	$('#footer').animate( {
		height: '18px'
	}, 400	);
}

function toggleFooter() 
{
	if (footerOpened) {
		footerOpened = false;
		closeFooter();
	} else {
		footerOpened = true;
		openFooter();
	}
}

function openVideo( videoId )
{
	$( videoId ).animate( {
		height: '470px'
	}, 400	);
}

function showLogin()
{
	$('#login').css('visibility', 'visible');
}

function hideLogin()
{
	$('#login').css('visibility', 'hidden');
}


if(typeof sIFR == "function"){
    sIFR.replaceElement("h1", named({sFlashSrc: "swf/dinpro.swf", sColor: "#008ce2", sCase: "upper", sWmode:"transparent"}));
    sIFR.replaceElement("h3", named({sFlashSrc: "swf/dinpro.swf", sColor: "#008ce2", sCase: "upper", sWmode:"transparent"}));
    sIFR.replaceElement("h4", named({sFlashSrc: "swf/dinpro.swf", sColor: "#000000", sCase: "upper", sWmode:"transparent"}));
};




/**
 * 	Lädt eine SWF Datei als dynamischen HTML-DIV
 */
function loadSWFLayer( swf_url, swf_width, swf_height, base, videoId, playerId, publisherId, linkBaseUrl )
{
	$("#player").fadeOut("fast");
	var flashvars = {
		videoId: videoId,
		linkBaseURL: linkBaseUrl,
		playerId: playerId,
		domain: "embed",
		publisherID: publisherId
	};
	var params = {
		base: base,
		seamlesstabbing: "false",
		allowFullScreen: "true",
		swLiveConnect: "true",
		allowScriptAccess: "always",
		wmode: "transparent"		
	};
	var attributes = {
		id: "player"
	};	
	
	swfobject.embedSWF(swf_url, "player",
					   swf_width, swf_height, "9.0.47", "swf/expressInstall.swf", flashvars, params, attributes);
	
	$("#playerWrapper").fadeIn("slow");
	$("#player").fadeIn("slow");
	playerVisible = true;
	
	$("#player").css("top", 830/2-swf_height/2);
	$("#player").css("left", 950/2-swf_width/2);
	$("#player").css("width", (swf_width+4)+"px");
	$("#player").css("height", (swf_height+3)+"px");
	
}


// Ende: Inhalt verstecken -->   
