function openFenster (url) {
   fenster = window.open(url, "fenster1", "width=200,height=220,status=no,scrollbars=no,resizable=no");
   fenster.focus();
}
function blendSubnavi(idnumber, blend, parentnumber) {
	that = document.getElementById("subnavi_"+idnumber);
	that_parent = document.getElementById("navi_"+parentnumber);
	that_parent_div = document.getElementById("nav_"+parentnumber);
	if(blend) {
		that.style.visibility="visible";
		that_parent_div.style.backgroundColor='#3c3c3c';
		that_parent.style.color='#ffffff';
//		that_parent.style.textDecoration='underline';
		document.getElementById("topten_arrow_down").style.visibility="hidden";
	} else {
		that.style.visibility="hidden";
		that_parent_div.style.backgroundColor='#ffffff';
		that_parent.style.color='#3c3c3c';
//		that_parent.style.textDecoration='none';
		document.getElementById("topten_arrow_down").style.visibility="visible";
	}
}
function blendMap(continent, blend) {
	that_list = document.getElementById("list_"+continent);
	that_spacer = document.getElementById("spacer_"+continent);
	that_map = document.getElementById("map_"+continent);
	that_txt = document.getElementById("continent_"+continent);
	if(blend) {
		that_list.style.visibility="visible";
		that_spacer.style.visibility="visible";
		that_map.style.visibility="visible";
		that_txt.style.backgroundColor='#808080';
//		that_txt.style.textDecoration='underline';
	}  else {
		that_list.style.visibility="hidden";
		that_spacer.style.visibility="hidden";
		that_map.style.visibility="hidden";
		that_txt.style.backgroundColor='#3c3c3c';
//		that_txt.style.textDecoration='none';
	} 
}
function markLand(blend, region, map_id, land) {
	if(region == "europa2") {
		region = "europa";
		regionl = "europa2";
	} else {
		regionl = region;
	}
	mapimg = document.getElementById('region_map_'+regionl+"_"+map_id);
	landtxt = document.getElementById(land+"_"+map_id);
	marking = document.getElementById(land+"_div_"+map_id);
	if(blend) {
		mapimg.src='/images/maps/'+region+'/'+land+'.gif';
//		landtxt.style.textDecoration='underline';
		marking.style.backgroundColor = '#808080';
	} else { 
		mapimg.src='/images/maps/'+region+'/'+regionl+'.gif';
//		landtxt.style.textDecoration='none';
		marking.style.backgroundColor = '#3c3c3c';
	}
}
function darkNaviOver(that, linkid, blend) {
	thelink = document.getElementById(linkid);
	if(blend) {
		that.style.backgroundColor='#3c3c3c'; 
		thelink.style.color='#ffffff';
	} else {
		that.style.backgroundColor='#ffffff'; 
		thelink.style.color='#000000';
	}
}
function lightNaviOver(that, blend) {
	if(blend) {
		that.style.backgroundColor='#808080'; 
	} else {
		that.style.backgroundColor='#3c3c3c'; 
	}
}
function blendToptenNavi(blend) {
	that = document.getElementById("topten_over");
	if(blend) {
		that.style.visibility="visible";
	} else {
		that.style.visibility="hidden";
	}
}
function blendTopTenImgOverTxt(that, blend) {
	txt_div = document.getElementById("topten_imgover_txt");
	if(blend) {
		txt_div.innerHTML = that.title;
	} else {
		txt_div.innerHTML = '';
	}
}
function hideWrapper() {
	wrapper = document.getElementById('wrapper');
	if(wrapper.style.visibility == "hidden")
		wrapper.style.visibility='visible';
	else
		wrapper.style.visibility='hidden';
}
function blendPartner(blend) {
	partnerdiv = document.getElementById('partner');
	subnavidiv = document.getElementById('partner_parent');
	if(blend){
		partnerdiv.style.visibility='visible';
		subnavidiv.style.height='190px';
	} else {
		partnerdiv.style.visibility='hidden';
		subnavidiv.style.height='130px';
	}
}
