<!-- Inhalt vor alten Browsern verstecken

var footerOpened = false;
var lastColor = '#389cc6';
var lastActive = 'menu1';
var lastIndex = 0;


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 setSelectedItem( col, name, index )
{
	lastColor = col;
	lastActive = name;
	lastIndex = index;
	
	itemClickedHandler( col, name, index );
	itemOverHandler( col, index );
}

function itemOverHandler( col, index )
{
	lastColor = $("html").css('border-left-color');
	
	var curCSS = '.sIFR-root { color:'+col+';  }';
	var curCSS2 = '.sIFR-root { color:#333333;  }';
/*	if (sIFR.replacements['.h4'] != null) {
		sIFR.replacements['.h4'][ index ].changeCSS(curCSS);	
		sIFR.replacements['.h5'][ index ].changeCSS(curCSS2);
	}
*/	
//	setActiveItem( '#ff0000', menu3, 2 );
}

function itemOutHandler( index )
{
	$("html").css( {'border-color':lastColor} );	
	
	if (lastIndex != index) {
		var curCSS = '.sIFR-root { color:#000000;  }';
		var curCSS2 = '.sIFR-root { color:#999999;  }';
/*		if (sIFR.replacements['.h4'] != null) {
			sIFR.replacements['.h4'][ index ].changeCSS(curCSS);				
			sIFR.replacements['.h5'][ index ].changeCSS(curCSS2);
		}
*/	}
}

function itemClickedHandler( col, itemName, index )
{
	var tmpIndex = lastIndex;
	lastIndex = -1;
	itemOutHandler( tmpIndex );
	
	$("html").css( {'border-color':col} );	
	lastColor = col;	
	
	$('#'+lastActive+'_active').attr('id', lastActive);
	$('#'+itemName).attr('id', itemName+"_active");
	lastActive = itemName;
	
//	var curCSS = '.sIFR-root { color:'+col+';  }';
//	var curCSS2 = '.sIFR-root { color:#333333;  }';
//	if (sIFR.replacements['.h4'] != null) {
//		sIFR.replacements['.h4'][ index ].changeCSS(curCSS);
//		sIFR.replacements['.h5'][ index ].changeCSS(curCSS2);
//	}
	$(".h4:eq("+index+")").css( 'color', col );
	$(".h5:eq("+index+")").css( 'color', '#333333' );
	
	lastIndex = index;
}

function init()
{
}

$(document).ready(init);



// Ende: Inhalt verstecken -->   
