	 //######## hover link images ########\\
	//#####################################\\

	function nav_hover(id){
		document.getElementById(id).src='img/'+id+'_hover.jpg';
		}
	function nav_norm(id){
		document.getElementById(id).src='img/'+id+'.jpg';
		}
	function img_hover(id,img){
		document.getElementById(id).src = img;
		}
		
		
	function change_map_location(type,location,lang)
	{
		
	if(lang == 'd')
	{
	if(type == 1)type = 'Zentrale';
	if(type == 2)type = 'Niederlassung';
	if(type == 3)type = 'Projektb&uuml;ro';
	}
	
	if(lang == 'e')
	{
	if(type == 1)type = 'main office';
	if(type == 2)type = 'branch';
	if(type == 3)type = 'project office';
	}
	

	
	if(location == 1) location = 'Meppen';
	if(location == 2) location = 'Hamburg';
	if(location == 3) location = 'Berlin';
	if(location == 4) location = 'Schieder';
	if(location == 5) location = 'Mainz';
	if(location == 6) location = 'Frankfurt';
	if(location == 7) location = 'Erxleben';
	if(location == 8) location = 'Stuttgart';
	if(location == 9) location = 'Karlsruhe';
	if(location == 10) location = 'N&uuml;rnberg';
	if(location == 11) location = 'M&uuml;nchen';
	if(location == 12) location = 'Unterpremst&auml;tten';
	
	
	document.getElementById('map_location_txt').innerHTML = '<strong>' + type + ':</strong><br>' + location;
	
	}
	
	function clear_map_location(lang)
	{
		if(lang == 'd')	clear_message = '<strong>pmb-net Standorte:</strong><br /> in Deutschland und &Ouml;sterreich';	
		else			clear_message = '<strong>pmb-net Offices:</strong><br /> in Germany and Austria';	
		document.getElementById('map_location_txt').innerHTML = clear_message;
	}
	
	
	
	
	function pulldown_sitemap(card)
	{
	
	if(card == 'sitemap') cocard = 'offices';
	else				  cocard = 'sitemap';
	
	if(document.getElementById(cocard+'_container').style.height == '120%')
	{pulldown_sitemap(cocard);}
	
	var direct_height  = document.getElementById(card+'_container').style.height;
	
	var current_height  = (direct_height == '0%') ?    0  : 120;
	var new_height 		= (direct_height == '0%') ?  120  :   0;
	var step       		= (direct_height == '0%') ?    5  :  -5;
	
	
	i = current_height;
	count = 0;
	do{i+=step;count++; window.setTimeout('document.getElementById(\''+card+'_container\').style.height = \''+i+'%\';', (count*10) );}
	while(i != new_height)

	}
	
	function confirmThis(txt,url)
	{
	if(confirm(txt))document.location = url;
	}
	
	function fadeTextInput(ref,colorCounter)
	{   
		
		if(colorCounter==1){color = 'B7B7B7';}
		if(colorCounter==2){color = 'B2B2B2';}
		if(colorCounter==3){color = '7A7A7A';}
		if(colorCounter==4){color = 'CCCCCC';}
		if(colorCounter==5){return;}
		
		colorCounter = parseInt(colorCounter) + 1;
		
		document.getElementById(ref).style.background = '#'+color;
		setTimeout('fadeTextInput(\''+ref+'\',\''+colorCounter+'\')',100);
	}
	
	function openWindow(theURL,winName,features) {window.open(theURL,winName,features);}


