function startlogomove() {
	window.setInterval("logomove()", 10);
}
function logomove() {
	if (document.all){
		pageWidth = document.body.clientWidth;
		if (pageWidth>900)
			document.all.logodiv.style.pixelLeft = pageWidth/2+365;		
		else
			document.all.logodiv.style.pixelLeft = 643;
		document.all.logodiv.style.visibility="visible";	
		document.all.logodiv.style.zIndex=1;
	} else if (!document.all && document.getElementById){
		pageWidth = innerWidth;
		if (pageWidth>900)
			document.getElementById('logodiv').style.left = pageWidth/2+365+"px";		
		else
			document.getElementById('logodiv').style.left = 643+"px";
			document.getElementById('logodiv').style.visibility="visible";
			document.getElementById('logodiv').style.zIndex=1;
	} else {
		pageWidth = innerWidth;
		if (pageWidth>900)
			document.layers["logodiv"].left = pageWidth/2+365;		
		else
			document.layers["logodiv"].left = 643;
		document.layers["logodiv"].visibility="show";
	}
}
function kontaktdiv() {
	if (document.getElementById) {
		document.getElementById("kdiv").style.left = pageWidth/2-160+"px";
		document.getElementById("kdiv").style.zIndex=10;
		if (document.getElementById("kdiv").style.visibility!="hidden") 
			document.getElementById("kdiv").style.visibility = "hidden";
		else
			document.getElementById("kdiv").style.visibility = "visible";
			
	} else if (document.all) {
		document.all.kdiv.style.left = pageWidth/2-160+"px";
		document.all.logodiv.style.zIndex=10;
		if (document.all.kdiv.style.visibility != "hidden")
			document.all.kdiv.style.visibility = "hidden";
		else
			document.all.kdiv.style.visibility = "visible";
	} 
	
}

function doreset() {
	for (i=0;i<document.form1.elements.length;i++) {
		check=false;
		if (document.form1.elements[i].selectedIndex){
			if (document.form1.elements[i].selectedIndex!=0) {
				document.form1.elements[i].selectedIndex=0;
				check=true;
			}
		}
		if (check)
			document.form1.submit();
	}
}
function grossansicht(im,show) {
	if (document.getElementById) {
		if (show) {
			document.getElementById("bigdiv").style.visibility = "visible";
			document.getElementById("bigdiv").style.zIndex=20;
			document.getElementById("bigimg").src=im;
		}
	} else if (document.all) {
		document.all["bigimg"].src ="URL("+im+")";
		if (show) {
			document.all.bigdiv.style.visibility = "visible";
			document.all.bigdiv.style.zIndex=20;
		}
	} 
	
}
function hidegrossansicht() {
	if (document.getElementById) {
		document.getElementById("bigdiv").style.visibility = "hidden";
	} else if (document.all) {
		document.all.bigdiv.style.visibility = "hidden";
		
	} 
}
