// JavaScript Document

function openRouteGMaps(openMyId, iSession){
	MyGMapWindow = window.open("/php-bin/haendlersuche/RoutenPlaner.inc.php?oID="+openMyId+"&sSessionId="+iSession, "Maps", "width=688,height=757,scrollbars=no");
	MyGMapWindow.focus();
}

function showInfo2(sDiv){
	if(document.getElementById(sDiv).style.visibility == "hidden"){
		document.getElementById(sDiv).style.visibility="visible";
		document.getElementById(sDiv).style.height = "110px";
	}else{
		document.getElementById(sDiv).style.visibility="hidden";
		document.getElementById(sDiv).style.height = "0px";
	}
}

function jsACA_closeDIVHaendler(sDiv){
	var iHaendlerCNT = document.getElementById("countHaendler").value;

	if(iHaendlerCNT != ''){
			for(i = 0;i<iHaendlerCNT;i++){
					sDivInfo = "infobox_"+i;
					
					document.getElementById(sDivInfo).style.visibility="hidden";
					document.getElementById(sDivInfo).style.height = "0px";
				
			}
	}
	document.getElementById(sDiv).style.visibility="hidden";
	
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

jQuery.noConflict();
jQuery(document).ready(function(){
	jQuery('span.hervorheben').prepend('<img src="/images/page_elements/a_icon_hervorheben.png" alt="" />');
});

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-2712538-1']);
  _gaq.push(['_gat._anonymizeIp']);
	_gaq.push(['_trackPageview']);
	

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
