var l=document.getElementById("logos"),ll=document.getElementById("logosl"),_a=document.getElementById("dla");var p=0,pl=0,s=100,w=0;
function init(){p=l.offsetWidth,pl=ll.offsetWidth;var _1=new Image();_1.src="imgs/logos.jpg";_1.style.position="absolute";_1.style.top="60px";w=_1.width;if(w==0){l.appendChild(_1);w=_1.width;}scrollIt();};_a.onclick=function(){location.href="?dl="+_a.target;};l.onmouseover=function(){ll.style.visibility="visible";};l.onmouseout=function(){ll.style.visibility="hidden";};
function scrollIt(){var bp=l.style.backgroundPosition;if(bp==""){bp="0px 5px";}var _2=bp.split(" ");var _3=parseInt(_2[0]);var _4=parseInt(_2[1]);l.style.backgroundPosition=p+"px "+_4+"px";p=((p+1)%(w/2));bp=ll.style.backgroundPosition;if(bp==""){bp="0px -50px";}var _2=bp.split(" ");var _3=parseInt(_2[0]);var _4=parseInt(_2[1]);ll.style.backgroundPosition=pl+"px "+_4+"px";pl=(pl+2)%(w);setTimeout("scrollIt()",s);};var last=0;l.onmousemove=function(e){var _5=0;var _6=0;if(!e){var e=window.event;}if(e.pageX||e.pageY){_5=e.pageX;_6=e.pageY;}else{if(e.clientX||e.clientY){_5=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;_6=e.clientY+document.body.scrollTop+document.documentElement.scrollTop;}}var _7=window.document.getElementById("logos");var _8=_5-_7.parentNode.offsetLeft;x=_7.offsetWidth-_8+22;var l=window.document.getElementById("logosl");l.style.left=(_8-(l.offsetWidth+5))+"px";var _9=l.style.backgroundPosition.split(" ");var _a=parseInt(_9[0]);var _b=parseInt(_9[1]);if(last==0){l.style.backgroundPosition=_a+(x*2)+"px "+_b+"px";}else{l.style.backgroundPosition=_a+((x-last)*2)+"px "+_b+"px";}pl+=((x-last)*2);last=x;};document.getElementById("un").focus();
function activateTab(_c){deactvateAll();_c.className="on";_c.parentNode.className="on";var _d=document.getElementById("content_"+_c.id);if(_d){_d.style.display="block";}};
function deactvateAll(){var ts=document.getElementById("tabsc").getElementsByTagName("a");for(var j=0;j<ts.length;j++){var t=ts[j];t.className="";t.parentNode.className="";}var cs=document.getElementById("content").getElementsByTagName("div");for(var j=0;j<cs.length;j++){var _e=cs[j];_e.style.display="none";}};window.onload=init;