//GA
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-766037-1']);
_gaq.push(['_setDomainName', top.location.host.replace('www.','')]);
_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);
})();


function openPopup(url,name,width,height,resizable,scrollbars,menubar,toolbar,location,directories,status) {
	var popup = window.open(url, name, 'width=' + width + ',height=' + height + ',resizable=' + resizable + ',scrollbars=' + scrollbars
	+ ',menubar=' + menubar + ',toolbar=' + toolbar + ',location=' + location + ',directories=' + directories + ',status=' + status);
	popup.focus();
}

function switchVisibility(who) {
	var switchMan = document.getElementById(who);

	if (switchMan.className == "hide") {
		switchMan.className = "show";
	} else {
		switchMan.className = "hide";
		document.generalform.katalog_r[0].checked = false;
		document.generalform.katalog_r[1].checked = false;
	}
}

function jumpTo(targ,selObj){
	var loc=selObj.options[selObj.selectedIndex].value;
	if (loc){
		eval("location='"+loc+"'");
	} else {
		selObj.selectedIndex=0;
	}
}

