document.write ("<DIV ID='logo2' STYLE='position:absolute;top:0px'><DIV ID='logo' STYLE='position:absolute; overflow:hidden; clip: rect(auto auto auto 350);'>\
<TABLE WIDTH=320 BORDER=0 CELLPADDING=0 CELLSPACING=0 id='ShutterAd'>\
<TR>\
<TD COLSPAN=3><A HREF='http://www.roadsexe.com/index.php?id="+login+"' target='_new'><IMG SRC='http://www.roadsexe.com/vote/01.gif' WIDTH=320 HEIGHT=57 border=0></a></TD>\
</TR>\
<TR>\
<TD COLSPAN=3><A HREF='http://www.roadsexe.com/index.php?id="+login+"' target='_new'><IMG SRC='http://www.roadsexe.com/vote/02.jpg' WIDTH=320 HEIGHT=274 border=0></a></TD>\
</TR>\
<TR>\
<TD><A HREF='http://www.roadsexe.com/index.php?id="+login+"' target='_new'><IMG SRC='http://www.roadsexe.com/vote/03.gif' WIDTH=104 HEIGHT=19 border=0></a></TD>\
<TD><A HREF='http://www.roadsexe.com/index.php?id="+login+"' target='_new'><IMG SRC='http://www.roadsexe.com/vote/04.gif' WIDTH=108 HEIGHT=19 border=0></a></TD>\
<TD><IMG SRC='http://www.roadsexe.com/vote/05.gif' WIDTH=108 HEIGHT=19 id='werbung' onclick='init()' style='cursor:hand' border=0></TD>\
</TR>\
</TABLE>\
</DIV></div>\
");







function MM_openBrWindow(theURL,winName,features) 

{

  window.open(theURL,winName,features);

}



function init(){

	  var obj=document.getElementById("logo");

      var pos = getDim(document.getElementById("ShutterAd"));

	  obj.style.height=350;

	  obj.style.width=320;

		obj.style.clip="rect(0px auto auto auto)";

	  //Animation starten

	  	moveIn(320,0)

}



function moveIn(cl,ypos){

   var obj=document.getElementById("logo");

   if (cl<0)

      setTimeout("moveOut(0,"+ypos+")", 5000);

   else

	  {	

		//obj.style.clip="rect("+cl+"px auto auto auto)";

		obj.style.top=ypos-cl+"px";

		cl=cl-5;

		setTimeout("moveIn("+cl+","+ypos+")", 10)

	  }

}



function moveOut(cl,ypos){

   var obj=document.getElementById("logo");

   if (cl>330)

	  {	obj.style.clip="rect(330px auto auto auto)";

	  	//obj.style.visibility="hidden";

	  }

   else

	  {	

		//obj.style.clip="rect("+cl+"px auto auto auto)";

		obj.style.top=ypos-cl+"px";

		cl=cl+5;

		setTimeout("moveOut("+cl+","+ypos+")", 5)

	  }

}

var timer
function scrolltop()
{
logo2.style.pixelTop=document.body.scrollTop 
timer=setTimeout('scrolltop()',20) 
}
scrolltop()

function getDim(el){

	  var rd = {x:el.offsetLeft,y:el.offsetTop}, tEl=el.offsetParent

	  while (tEl){

	  	rd.x += tEl.offsetLeft

	  	rd.y += tEl.offsetTop

	  	tEl = tEl.offsetParent

	  }

	  return rd

}



init();