<!--
if (document.layers)  {ns = 1; ie = 0; ns6=0;} 
if (document.all) {ns = 0; ie = 1; ns6=0;}
if (document.getElementById&&!document.all) {ns6=1; ns=0; ie=0;}

function printpop(url,id) {
window.open(url,id,"height=550,width=600,top=10,left=20,toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes");}

function popuxp(url,id) {
window.open(url,id,"height=620,width=1000,top=5,left=5,toolbar=no,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes");}


function popic(url,id) {
msg=window.open(url,id,"height=425,width=425,top=100,left=200,toolbar=no,location=no,status=no,menubar=yes,scrollbars=yes,resizable=yes");
txt='<html><head><title>Sitzplan Passionsspiele Römersteinbruch</title></head><body topmargin=0 leftmargin=0><center>\n<img src="'+url+'">';
msg.document.write(txt); msg.document.close(); msg.focus();
}


function kEmpty(word) {
if((word=="Stichwort")||(word=="keyword")||(word=="suchbegriff")) 
{document.search.keyword.value="";}}

function fill_div(to,content) {
if (ie) {document.all[to].innerHTML=content;}
if (ns6) {document.getElementById(to).innerHTML=content;}
}


function getW() {document.getElementById("abox").style.overflow="hidden";}

function setDIV(box) {
var minheight=560; if(screen.availHeight > 800) {var minheight=screen.availHeight-200;}
var maxheight=1080-200; if (minheight > maxheight) {var minheight=maxheight;}

var docdiv=document.getElementById(box);
var contentheight=docdiv.offsetHeight;
if(contentheight<minheight) {docdiv.style.height=minheight+"px";}

var name="textbox";
document.getElementById(name).style.overflow = "auto";
setHome(name);

}

function setHome(name) {
var dheight=screen.availHeight-150;
var dmaxheight=1080-150; if (dheight > dmaxheight) {var dheight=dmaxheight;}
var nheight=dheight-40;

	if(screen.availHeight > 800) {
	if(name) {document.getElementById(name).style.height=nheight+"px";}
	document.getElementById("hold").style.height=dheight+"px";
	}


}



document.write("<LINK REL='stylesheet' HREF='font.css' TYPE='text/css'>");
// -->