if(window.parent && window.parent!=window.self && window.parent.location.host=='events.city-flyer.at')
	document.write(
"<body>"
	);
else
{	document.createElement('SECTION'); document.write(

	"<style>\n"+
	"	HTML { _overflow:hidden; }\n"+
	"	BODY { display:block; padding:0; margin:0; _width:100%; _height:100%; _overflow:auto; }\n"+
	"	IFRAME { z-index:110; } SECTION { display:block; }\n"+
	"	IFRAME.fixed { position:fixed; _position:absolute; }\n"+
	"	IFRAME#banner { left:0; top:0; height:90px; }\n"+
	"	IFRAME#navleiste { left:0; top:90px; width:200px; height:100%; }\n"+
	"	IFRAME#bottom { left:0; bottom:0; width:100%; _width:expression(document.body.clientWidth); height:25px; }\n"+
	"	SECTION#scroller,DIV#scroller { padding:90px 0 25px 210px; margin:6px; overflow-x:visible; overflow-y:hidden; }\n"+
	//"	A[name] { padding-top:90px; #position:relative; }\n"+
	"</style>\n\n"+

	"<body>\n"+
	"	<iframe seamless id=banner frameborder=0 scrolling=no class=fixed width=100%\n"+
	"		src='http://www.city-flyer.at/static/home/logobanner2.htm'></iframe>\n"+
	"	<iframe seamless id=navleiste frameborder=0 scrolling=no class=fixed\n"+
	"		src='http://www.city-flyer.at/static/home/navleiste2.htm'></iframe>\n"+
	"	<iframe seamless id=bottom frameborder=0 scrolling=no class=fixed\n"+
	"		src='http://www.city-flyer.at/static/home/tools.htm'></iframe>\n"+
	"	<div align=center style='height:1px;visibility:hidden;overflow:hidden;' id=totalwidth></div>\n\n"+
	"	<section id=scroller class=scroller><span>"
	);

	window.name='Main';

	document.write(
	"<script> init_pseudo_frames(); </script>"
	);
}

function init_pseudo_frames()
{	var twe=document.getElementById('totalwidth'),ifm=document.getElementById('banner');
	if(twe.offsetWidth>=1 && ifm.offsetWidth>=twe.offsetWidth)
		if(ifm.setExpression) try { /*IE8:access denied exception*/
			ifm.setExpression('width','document.body.clientWidth'); ifm.style.width='';
			/*document.OnRearPart=new Function("return document.recalc(1);");*/
		} catch(ex) {}
		else ifm.style.width=twe.offsetWidth+'px;';
}
