
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));


try {
var pageTracker = _gat._getTracker("UA-13199521-3");
pageTracker._trackPageview();
} catch(err) {}


function showhide1(katalog1) 
{
	obj = document.getElementById(katalog1);
	obj.style.display = obj.style.display == 'block' ? 'none' : 'block' ;
	document.getElementById("felgen").className = document.getElementById("felgen").className == "active_sub_felgen_class" ? "sub_felgen" : "active_sub_felgen_class";
	
}


function showhide2(sound) 
{
	obj = document.getElementById(sound);
	obj.style.display = obj.style.display == 'block' ? 'none' : 'block' ;
	document.getElementById("auspuff").className = document.getElementById("auspuff").className == "active_sub_auspuff_class" ? "sub_auspuff" : "active_sub_auspuff_class";
	
}

function subHover()
{
	 document.getElementBycId("felgen").className = "active_sub_felgen_class";

}

function load() 
	{
      if (GBrowserIsCompatible()) 
	  {
	    var lat = 52.46160542362035;
		var lng = 13.472049236297607;
	    var point = new GLatLng(lat, lng);
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(point, 15);
      
	
		var sim = new GMarker(point);
		sim.bindInfoWindowHtml("Sim - Performance <br>Neuk&ouml;llnische Allee 160<br>12057 Berlin");
		map.addOverlay(sim);
	  }
	}

function CheckLen(Target)
{
	var maxlength = "13"; //die maximale Zeichenlänge
	
	StrLen=Target.value.length;
	
	if (StrLen==1&&Target.value.substring(0,1)==" ")
	{
	Target.value="";
	StrLen=0;
	}
	
	if (StrLen>maxlength )
	{
	Target.value=Target.value.substring(0,maxlength);
	CharsLeft=0;
	}else
	{
	CharsLeft=maxlength-StrLen;
	}
	
	document.zaehlformular.Anzahl.value=CharsLeft;
	
}

function showhide(ibox) 
{
	obj = document.getElementById(ibox);
	obj.style.display = obj.style.display ==  'block' ? 'none' : 'block';
}

