function $(id){return document.getElementById(id)}
function toleft(fff,fff1,fff2,speed0,flag){
fff=$(fff);fff1=$(fff1);fff2=$(fff2)
fff2.innerHTML=fff1.innerHTML
function Marquee0(){
if(fff2.offsetWidth-fff.scrollLeft<=0){
fff.scrollLeft-=fff1.offsetWidth
}
else{
fff.scrollLeft++
}
}
flag=setInterval(Marquee0,speed0)
fff.onmouseover=function(){clearInterval(flag);}
fff.onmouseout=function(){flag=setInterval(Marquee0,speed0);}
}

  function externallinks() { 
 if (!document.getElementsByTagName) return; 
 var anchors = document.getElementsByTagName("a"); 
 for (var i=0; i<anchors.length; i++) { 
   var anchor = anchors[i]; 
   if (anchor.getAttribute("href") && 
       anchor.getAttribute("rel") == "external") 
     anchor.target = "_blank"; 
 } 
} 
window.onload = externallinks;

