function cont()
{
	if (navigator.appName=="Microsoft Internet Explorer") return;

	var content_wight=(window.innerWidth/2)-430;
	if (content_wight<2) content_wight=0;
	document.getElementById('main').style.left=content_wight+"px";
	timer=setTimeout("cont()", 1);
}



function cont_start()
{
	if (navigator.appName=="Microsoft Internet Explorer") return;

	var content_wight=(window.innerWidth/2)-430;
	if (content_wight<2) content_wight=0;
	document.writeln("<style rel=\"stylesheet\">");
	document.writeln("#main{left:"+content_wight+"px;}");
	document.writeln("</style>");
}

function cont_start2()
{
	if (navigator.appName=="Microsoft Internet Explorer") return;

	var content_height=document.getElementById('hintergrund2').offsetHeight+300;
	if (content_height<window.innerHeight) content_height=window.innerHeight;
	document.writeln("<style rel=\"stylesheet\">");
	document.writeln("#rahmengraulinks{height:"+content_height+"px;}");
	document.writeln("#rahmengraurechts{height:"+content_height+"px;}");
	document.writeln("</style>");
}

