function mailto(name) {
window.location.href = "mailto:" + name + "@germancult.de";
}

function zufallsbild(id,bild) {
	window.location.href = "?tuningtreffen/" + id + "#bild" + bild;
	//album("gallery",id,bild);
}

GECKO = document.getElementById? 1:0 ;
NS = document.layers? 1:0 ;
IE = document.all? 1:0 ;

function showSubmenu(untermenue)
{
	if (GECKO) 
	{
		if (document.getElementById(untermenue).style.display == 'none') document.getElementById(untermenue).style.display = 'block' 
		else document.getElementById(untermenue).style.display = 'none';
	}
	else if (NS) 
	{
		if (document.layers[untermenue].style.display == 'none') document.layers[untermenue].style.display = 'block';
		else document.layers[untermenue].style.display = 'none';
	}
	else if (IE) 
	{
		if (document.all[untermenue].style.display == 'none') document.all[untermenue].style.display = 'block';
		else document.all[untermenue].style.display = 'none';
	}
}

startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("navigation");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;

google_ad_client = "pub-4272052849330156";
google_ad_width = 460;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-10-23: GCB-Body
google_ad_channel = "0699901112";
google_ad_slot = "2296860568";

