<!--
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) {
//---------------------
theheight=window.document.body.clientHeight-10;
minheight=565;
maxheight=1080;
boxheight=minheight+40;
//---------------------

var minh=0;
if(theheight > boxheight) {var minh=theheight-45;}
if (minh > minheight) {var minheight=minh;}
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";
setHome(name,minheight);
document.getElementById(name).style.overflow = "auto";

}


function setHome(name,mn) {
//---------------------
theheight=window.document.body.clientHeight-10;
minheight=565; if(mn) {minheight=mn;}
maxheight=1080;
boxheight=minheight+40;
//---------------------

var dheight=theheight;
if (dheight > maxheight) {var dheight=maxheight;}
var nheight=minheight+5;    //outer textbox

	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'>");
// -->
