var ttoads={base:'#',img:['game1.jpg','game2.jpg','game3.jpg'],url:['#','#','#'],alt:[''],id:0,adbarurl:['#'],adbartext:[''],adbaricon:'icon.gif',adbarid:0,infoicon:'win.gif',infourl:'#',reloaded:0.5,pos:-2010,now:new Date,changeLayer:function(){this.setCookie('ttoChangeLayer',this.now.getTime(),1,'/','','');},initLayer:function(){if((this.now.getTime()-this.getCookie('ttoChangeLayer')>this.reloaded*1000*60*5)&&this.getCookie('ttoChangeLayer')){//if virusPublicity 

if(this.now.getTime()-this.getCookie('ttoShowLayer')<this.reloaded*1000*60*60){return;}this.id=this.random(11);document.write('<style>#ttolayer{font:12px Arial, sans-serif;position:fixed;top:50px;left:-13510px;width:780px;height:420px;border:1px solid black;background:#000 url('+this.base+'front.gif) no-repeat;margin: 0 0 0 50%;} #ttolayer .top_right{float:right;height:20px;line-height:20px;margin:0;} #ttolayer .top_left{float:left;margin:0 0 0 15px;height:20px;line-height:20px;}</style><!--[if IE]><style>#ttolayer{position:absolute;top: expression(50+((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+"px"); }</style><![endif]--><div id="ttolayer"><div class="top_right"><a href="javascript:ttoads.hideLayer();"><img src="'+this.base+'close1.gif" onmouseover="this.src=\''+this.base+'close2.gif\'" onmouseout="this.src=\''+this.base+'close1.gif\'" alt="schliessen" style="border:0" /></a></div><div class="top_left"><a href="javascript:ttoads.maxLayer();" style="color: #fff;text-decoration:none;">'+this.alt[this.id]+'</a></div><a href="javascript:ttoads.maxLayer();" style="color: #fff;"><img src="'+this.base+this.img[this.id]+'" alt="'+this.alt[this.id]+'" style="border:0;margin:0;" /></a></div>');window.setTimeout("ttoads.moveLayer(ttoads.pos,-390)",5000);
}
else
{ 
if(this.now.getTime()-this.getCookie('ttoChangeLayer')<this.reloaded*1000*60*10){return;}
this.id=this.random(3);document.write('<style>#ttolayer{font:12px Arial, sans-serif;position:fixed;top:50px;left:-13510px;width:780px;height:400px;border:1px solid black;background:#000 url('+this.base+'front.gif) no-repeat;margin: 0 0 0 50%;} #ttolayer .top_right{float:right;height:20px;line-height:20px;margin:0;} #ttolayer .top_left{float:left;margin:0 0 0 15px;height:20px;line-height:20px;}</style><!--[if IE]><style>#ttolayer{position:absolute;top: expression(50+((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+"px"); }</style><![endif]--><div id="ttolayer"><div class="top_right"><a href="javascript:ttoads.hideLayer();ttoads.changeLayer();"><img src="'+this.base+'close1.gif" onmouseover="this.src=\''+this.base+'close2.gif\'" onmouseout="this.src=\''+this.base+'close1.gif\'" alt="schliessen" style="border:0" /></a></div><div class="top_left"><a href="javascript:ttoads.maxLayer();" style="color: #fff;text-decoration:none;">'+this.alt[this.id]+'</a></div><a href="javascript:ttoads.maxLayer();" style="color: #fff;"><img src="'+this.base+this.img[this.id]+'" alt="'+this.alt[this.id]+'" style="border:0;margin:0;" /></a></div>');window.setTimeout("ttoads.moveLayer(ttoads.pos,-390)",5000);
}// else GamesPublicity
} //end initLayer()


,maxLayer:function(){open(this.url[this.id]);this.hideLayer();},moveLayer:function(from,to){if(to<this.pos){this.pos=this.pos-20;}else{this.pos=this.pos+20;}document.getElementById('ttolayer').style.left=this.pos+'px';if(to!=this.pos){window.setTimeout("ttoads.moveLayer(ttoads.pos,"+to+")",10);}},hideLayer:function(){if(this.getCookie('ttoChangeLayer')){this.setCookie('ttoShowLayer',this.now.getTime(),1,'/','','');}this.moveLayer(this.pos,-2010);},initAdbar:function(){this.adbarid=this.random(0);document.write('<style>#ttoadbar{width:100%;background:#ffffe7 url('+this.base+this.adbaricon+') 7px 2px no-repeat; border-bottom: 1px solid #adaa9c;}</style><div id="ttoadbar"><a href="'+this.adbarurl[this.id]+'" style="display: block; height: 16px; padding: 4px 0 0 0; color:#333; text-decoration: none; margin: 0 0 0 25px; font: 12px Arial, sans-serif;" target="_blank">'+this.adbartext[this.id]+'</a></div>');},initInfo:function(){if(this.now.getTime()-this.getCookie('ttoShowInfo')<this.reloaded*1000*60*60){return;}document.write('<style>#ttoinfo {position: fixed; right: 10px; bottom: 10px; width: 250px;}</style><!--[if IE]><style>#ttoinfo{ position:absolute;bottom:auto; top:expression(((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+((w=document.documentElement.clientHeight)?w:document.body.clientHeight)-110+"px"); }</style><![endif]--><div id="ttoinfo"><div style="background: url('+this.base+this.infoicon+') left -20px no-repeat;"><h2 style="background: url('+this.base+'icon_info.gif) 0 11px no-repeat;margin: 0 0 0 12px; padding: 12px 12px 0 24px;"><a href="javascript:ttoads.hideInfo()" style="float: right;"><img src="'+this.base+'info_1.gif" onmouseover="this.src=\''+this.base+'info_2.gif\'" onmouseout="this.src=\''+this.base+'info_1.gif\'" alt="Schliessen" style="border:0;" /></a><a href="'+this.infourl+'" style="color: #333;text-decoration: none; font: 12px Arial, sans-serif; font-weight: bold;">Download - Archiv gefunden</a></h2><p style="background: url('+this.base+this.infoicon+') right -30px no-repeat;margin: 0 0 0 12px; padding: 4px 12px 0 0;"><a href="'+this.infourl+'" style="color: #333;text-decoration: none; font: 10px Arial, sans-serif;">Mehr als 300 Terabyte an Videos, Games, Software, MP3s und Erotikinhalten können jetzt runtergeladen werden.</a></p></div><p style="margin: 0;padding: 0;height: 28px; background: url('+this.base+this.infoicon+') bottom left no-repeat;">&nbsp;</p></div>');},hideInfo:function(){this.setCookie('ttoShowInfo',this.now.getTime(),1,'/','','');document.getElementById('ttoinfo').style.display='none';},random:function(max){return Math.ceil(Math.random()*1000)%max;},
																																																																		
getCookie:function(name){var a_all_cookies=document.cookie.split(';');var a_temp_cookie='';var cookie_name='';var cookie_value='';var b_cookie_found=false;for(i=0;i<a_all_cookies.length;i++){a_temp_cookie=a_all_cookies[i].split('=');cookie_name=a_temp_cookie[0].replace(/^\s+|\s+$/g,'');if(cookie_name==name){b_cookie_found=true;if(a_temp_cookie.length>1){cookie_value=unescape(a_temp_cookie[1].replace(/^\s+|\s+$/g,''));}return cookie_value;break;}a_temp_cookie=null;cookie_name='';}if(!b_cookie_found){return null;}},setCookie:function(name,value,expires,path,domain,secure){var today=new Date();today.setTime(today.getTime());if(expires){expires=expires*1000*60*60*24;}var expires_date=new Date(today.getTime()+(expires));document.cookie=name+"="+escape(value)+((expires)?";expires="+expires_date.toGMTString():"")+((path)?";path="+path:"")+((domain)?";domain="+domain:"")+((secure)?";secure":"");},rotation:function(link,banner){var bannerid=this.random(banner.length);document.write('<a href="'+link+'" target="_blank"><img src="'+banner[bannerid]+'" alt="" style="border:0;margin:10px 0;" /></a>');}}

