function getGETParameter(name){
	name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
	var regexS = "[\\?&]"+name+"=([^&#]*)";
	var regex = new RegExp( regexS );
	var results = regex.exec( window.location.href );
	if( results == null )
		return "";
	else
		return results[1];
}

function over(tmp){
	if(tmp.substr(0,9)!="kategorie")
		document.getElementById('start'+tmp).style.display='inline';
	else
		document.getElementById(tmp).style.backgroundImage='url(img/naviover.jpg)';
}

function out(tmp){
	if(tmp.substr(0,9)!="kategorie"){
		if(tmp.length!="3") tmp=tmp.substr(5,7);
		document.getElementById('start'+tmp).style.display='none';
	}else
		document.getElementById(tmp).style.backgroundImage='url(img/navi.jpg)';
}

function starthref(tmp){
	if(tmp.substr(0,5)=="start"){
		if(tmp.substr(5,1)=="l") lc=3; else if(tmp.substr(5,1)=="m") lc=4; else if(tmp.substr(5,1)=="r") lc=11;
		ln=tmp.substr(6,2);
		window.location.href="index.php?ln="+ln+"&lc="+lc;
	}
}
