/*var menuids=new Array("verticalmenu") //Enter id(s) of UL menus, separated by commas
var submenuoffset=-2 //Offset of submenus from main menu. Default is -2 pixels.

function createcssmenu(){
for (var i=0; i<menuids.length; i++){
  var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
    var spanref=document.createElement("span")
		spanref.className="arrowdiv"
		spanref.innerHTML="&nbsp;&nbsp;"
		ultags[t].parentNode.getElementsByTagName("a")[0].appendChild(spanref)
		
    ultags[t].parentNode.onmouseover=function(){
     this.getElementsByTagName("ul")[0].style.left=this.parentNode.offsetWidth+submenuoffset+"px";     
     this.getElementsByTagName("ul")[0].style.display = 'block';                 
     this.document.getElementsByTagName('ul')[0].style.direction='ltr';
    //this.document.getElementsByTagName('ul')[0].style.visibility='visible';
    
    }
    ultags[t].parentNode.onmouseout=function(){
    //this.document.getElementsByTagName('ul')[0].style.visibility='hidden';
    this.getElementsByTagName("ul")[0].style.display="none";
    }
    }
  }
}

if (window.addEventListener)
window.addEventListener("load", createcssmenu, false)
else if (window.attachEvent)
window.attachEvent("onload", createcssmenu)

*/
//document.body.style.cursor="hand";
  
 var LColor,LSelected;
    function Highlight(row)
    {   
        LColor= row.style.backgroundColor;      
        if (row.style.backgroundColor != 'cadetblue')
          row.style.backgroundColor='ActiveBorder';
          row.style.cursor="hand";
    }

    function UnHighlight(row)
    {
        row.style.backgroundColor=LColor;
    }       

    function CursorHand(obj)
    {      
        obj.style.cursor="hand";
    }

    function UnHighlight(row)
    {
        row.style.backgroundColor=LColor;
    }       

//var ostat = false; 
function scrollstop(obj) { 
  obj.scrollAmount = 0; 
  //ostat = true; 
} 

function scrollright() {
  news.direction = "right"; 
}

function scrollleft() {
  news.direction = "left"; 
}

function scrollplay(obj) { 
  obj.scrollAmount = 5; 
 // ostat = false; 
} 

function scrollfast() { 
if(news.scrollAmount <= 340)
   news.scrollAmount += 20;  
} 

function scrollnormal() { 
  news.scrollAmount = 5;  
} 

function toggle(id) {
  var e = document.getElementById(id);
  if(e.style.display == 'block')
  //if(e.style.overflow = "invisible")
     e.style.display = 'none';
     //e.style.overflow = "visible";
  else
    e.style.display = 'block';
    //e.style.overflow = "invisible";
 }
 
 function far(id) {
  var e = document.getElementById(id);
       e.style.display = 'none';  
 }

 /*var tp=0; 
 function MovedivUp() { 
   alert("ok");
   var tm=setTimeout("makeMove()",100); 
   divNewsText.style.top=tp; 
   tp--; 
   if(tp==-100){ 
   tp=70; 
   } 
} */


