<!--
url = (window.location);

function check_ar(stat){
	stat = stat.toString();
	var elm = new Array("bk1","bk2","bk3","bk4","bk5","bk6");
	document.getElementById("bk1").innerHTML;
	if(document.all){
		var dis = (stat == "true" ? "block" : "none");
	}
	else{
		var dis = (stat == "true" ? "table-row" : "none");
	}
	
	for(var i = 0; i <elm.length;i++){
		var obj = elm[i];
		document.getElementById(obj).style.display = dis;
	}
	
}



function openOldGallery(item,fimg,no)
{
//window.open('http://www.active-muenster.de/switchold_gallery.php?item='+item+'&file='+fimg+'&no='+no,'Gallery','width=650,height=600,left=100,top=50');
window.open('http://www.active-muenster.de/switchold_gallery.php?item='+item+'&file='+fimg+'&no='+no+'','v7','width=600,height=600');
}

function openGallery(item)
{
window.open('switch_gallery.php?item='+item,'Gallery','width=300,height=500,left=100,top=50');
}

function imgWin(img,width,height)
{
//window.open('popup.php','Popup','left=100,top=50');
window.open('http://www.active-muenster.de/popup.php?img='+img,'Popup','width=0,height=0,left=100,top=50');
}

function popUp(val)
{
	window.open('anfahrt.html','POPUP','width=700,height=500,left=100,top=50');
}
		
function popUpImage(img,val)
{
	document.getElementById("popUp"+img).style.visibility = "visible";
	var width = document["popupImage"+img].width / 2;
	var height = document["popupImage"+img].height;
	if(!document.all)
	{
	function getKey (Ereignis) {
		
		var posY = Ereignis.clientY;
		//document.getElementById("popUp").style.left = posX+"px";
		document.getElementById("popUp"+img).style.marginTop = "-200px";
		}
	document.onclick = getKey;
	//document.onmousemove = getKey;
	}
	
	else
	{
		var width = document.popupImage.width;
		var height = document.popupImage.height;
		if(!document.all)
		{
		var winWidth = window.innerWidth;
		var winHeight = window.innerHeight;
		}
		else
		{
		var winWidth = screen.availWidth;
		var winHeight = screen.availHeight;
		}
		var posX = (winWidth/2) - width;
		var posY = (winHeight/2) - height;
	}
	document.getElementById("popUp"+img).style.display = "visible";
}

function popUpClose(img)
{
	document.getElementById("popUp"+img).style.visibility = "hidden";
}
-->