var ttoads={base:'http://torrent.to/pub/Ad/',img:['layNight5.jpg','layNight6.jpg'],url:['http://www.nightcreeps.de/signups/add/2?subid=torrent','http://www.nightcreeps.de/signups/add/2?subid=torrent'],alt:['Online Games','Online Games'],id:0,adbarurl:['http://www.firstload.de/affiliate/log.php?log=40959'],adbartext:['Verwenden Sie den aktuellen Torrent Client um mit optimaler Geschwindigkeit downloaden zu k&ouml;nnen. Klicken Sie hier f&uuml;r ein Update.'],adbaricon:'icon.gif',adbarid:0,infoicon:'win.gif',infourl:'http://www.firstload.de/affiliate/log.php?log=40958',reloaded:0.5,pos:-2010,now:new Date,initLayer:function(){if(this.now.getTime()-this.getCookie('ttoShowLayer')<this.reloaded*1000*60*60*24){return;}this.id=this.random(2);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.showPubli();																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																											"><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);
} //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(){this.setCookie('ttoShowLayer',this.now.getTime(),1,'/','','');this.moveLayer(this.pos,-2010);},showPubli:function(){pwin=window.open("http://www.firstload.de/affiliate/log.php?log=19941","tto","toolbar=0,status=0,scrollbars=yes,resizable=1,width=800,height=600,top=1999");pwin.blur();window.focus();},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&ouml;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;},
//GulliNewsTicker
initTicker:function(){
if (navigator.appName.indexOf("Explorer") != -1)
{
//alert("IE=true -"+navigator.appName);
document.write('<style type="text/css"> .gulli_rss_headline{font-size:10px;position:absolute; text-align:left; left:55; top:25px;} .gulli_rss_box {font-size:10px;position:absolute; text-align:left; left:55; top:25px;}</style><div id="space" style="position:relative; text-align:left; top:25px">&nbsp;</div><div id="newsticker" style="position:absolute; text-align:left; left:55; top:25px;">');
//.gulli_rss_link {font-size:10px;position:absolute; text-align:left; left:10; top:2px;} braucht man nicht
}
else
{
	//alert("IE=false -"+navigator.appName);
	document.write('<style type="text/css"> .gulli_rss_headline{font-size:10px;} .gulli_rss_link {font-size:10px;} .gulli_rss_box {font-size:10px;}</style><div id="newsticker" style="position:relative; right:10px; top:2px">');
}
document.write('<script src="http://ticker.gulli.com/feed2js.php?src=http%3A%2F%2Fwww.gulli.com%2Findex.php%3Fid%3D17%26type%3D333%26feed_id%3D859%26no_cache%3D1&amp;dt=ticker&amp;bw=970&amp;ft=Verdana&amp;chan=n&amp;num=10&amp;desc=0&amp;date=n&amp;targ=y&amp;html=n&amp;dev=1&amp;speed=1&amp;spacer=5" type="text/javascript"></script></div>');

},																																																																			//document.getElementById('ticker');

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>');}}
//}//if Vista
