var restkarten=zeile_1 + "<br />" + zeile_2 + "<br />" + zeile_3
var ie=document.all
var dom=document.getElementById
var ns4=document.layers
var calunits=document.layers? "" : "px"

var bouncelimit=32 //(must be divisible by 8)
var direction="up"

function initbox(){
if (!dom&&!ie&&!ns4)
return
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
crossobj.top=scroll_top-250+calunits
crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",50)
}

function dropin(){
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
if (parseInt(crossobj.top)<200+scroll_top)
crossobj.top=parseInt(crossobj.top)+39+calunits
else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",50)
}
}

function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit+calunits
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}

function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility="hidden"
}

function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

if (restkarten=="<br /><br />"){
} else {
	window.onload=initbox

	document.write ("<div id=dropin style=position:absolute;visibility:hidden;left:230px;top:0px;width:450px;height:150px;z-index:996>")

	document.write ("<style type=text/css><!--")
	document.write (".klein {font: 11px Verdana, Arial, Helvetica, sans-serif; color: #FFFFFF;}")
	document.write (".txtgr {font: bold 12px Arial, Helvetica, sans-serif; color: #FFFFCC;}")
	document.write (".ueber {font: 14px Verdana, Arial, Helvetica, sans-serif; color: #FFFFFF;}")
	document.write ("--></style>")

	document.write ("<div id=karten style=position:absolute;left:8px;top:45px;width:292px;height:51px;z-index:997;>")
	document.write ("<span class=txtgr>" + restkarten + "</span></div>")

	document.write ("<div id=text style=position:absolute;left:11px;top:121px;width:293px;height:28px;z-index:998; class=klein>")
	document.write ("oder gleich anrufen: " + telefon + "<br>(Montag-Sonntag von " + oeffnungszeiten + ")</div>")

	document.write ("<div id=over style=position:absolute;left:0px;top:0px;width:449px;height:149px;z-index:999;>")
	document.write ("<a href=../restkarten-last-minute/musical-lastminute.html target=_self>")
	document.write ("<img src=http://root.heidpark.com/content/content_restkarten/operette-wieeinstimmai/images/trans.gif width=450 height=150 border=0></a></div>")

	document.write ("<table width=450 height=150 border=0 cellpadding=10 cellspacing=0><tr>")
	document.write ("<td background=http://root.heidpark.com/content/content_restkarten/operette-wieeinstimmai/images/restkarten-musical-lastminute.jpg></td></tr></table>")

	document.write ("<img src=http://root.heidpark.com/content/content_restkarten/operette-wieeinstimmai/images/trans.gif height=4 width=1 border=0 /><br>")
	document.write ("<a href=javascript:void(0) onclick=dismissbox();return false><img src=http://root.heidpark.com/content/content_restkarten/operette-wieeinstimmai/images/close.gif border=0 /></a>")

	document.write ("</div>")
}
