var isNav, isIE, is4;
if (parseInt(navigator.appVersion) >= 4) {
    if (navigator.appName == "Netscape") {
      isNav = true;
	  if (parseInt(navigator.appVersion) >= 5) is4=true;
   } else is4=true;
} else is4=false;


function get_obj(welches) {
	return (document.getElementById) ? document.getElementById(welches).style : (isNav) ? eval("document."+welches) : eval("document.all."+welches+".style");
}
function get_div(welches) {
	return (document.getElementById) ? document.getElementById(welches) : (isNav) ? eval("document."+welches) : eval("document.all."+welches);
}


if (document.images) {
	var picOff= new Array;
	picOff[1]	= new Image();
	picOff[1].src= "images/navi/nav_0_hom_off.gif";
	picOff[2]	= new Image();
	picOff[2].src= "images/navi/nav_0_sit_off.gif";
	var picOn= new Array;
	picOn[1]	= new Image();
	picOn[1].src= "images/navi/nav_0_hom_on.gif";
	picOn[2]	= new Image();
	picOn[2].src= "images/navi/nav_0_sit_on.gif";
}





function subIn(bild) {
	if (document.images) document.images["sub"+bild].src=picOn[bild].src
}



function subOut(bild) {
	if (document.images) document.images["sub"+bild].src=picOff[bild].src
}

function wbIn(bild) {
	if (document.images) document.images[bild].src="images/navi/"+bild+"_on.gif";
}



function wbOut(bild) {
//alert(bild)
	if (document.images) document.images[bild].src="images/navi/"+bild+"_off.gif";
}

var aktivInfo=0;

function infoIn(info) {
	var x;
	if (aktivInfo>0) {
		x=get_obj("info"+aktivInfo);
		x.visibility="hidden";
		aktivInfo=info;
	}
	x=get_obj("info"+info);
	x.visibility="visible";
	aktivInfo=info;
}



function infoOut() {
	if (aktivInfo>0) {
		var x=get_obj("info"+aktivInfo);
		x.visibility="hidden";
	}
}




		function map24_removeDefaultValues(){
			if (document.link2map24.sstreet.value == 'Straße') 	document.link2map24.sstreet.value 	= '';
			if (document.link2map24.szip.value 	  == 'PLZ') 		document.link2map24.szip.value 		= '';
			if (document.link2map24.scity.value   == 'Ort') 		document.link2map24.scity.value 	= '';
		
			}



