// News Ticker
 $(document).ready(function(){
   
   var newsinterval;
   var listheight = parseFloat($("#newsticker dl").height() + 12);
   
   $("#newsticker dl").append($("#newsticker dl").html());
      
   newsinterval = setInterval('movenews('+40+','+listheight+')',40);
   
   $("#newsticker dl").hover(
   function () {clearInterval(newsinterval);},
   function () {newsinterval = setInterval('movenews('+40+','+listheight+')',40);}
   )
   
 });
 
 function movenews (interv, listheight) {

   var holderheight = $("#newsticker").height();
   var curtop;
   var newtop;
   
   curtop = $("#newsticker dl").css("top").split("p");
   curtop = parseFloat(curtop[0]);
   
   if (curtop < -listheight)
   { 
     curtop = curtop + listheight;
     $("#newsticker dl").css("top", curtop);
   }
   
   newtop = curtop - (interv * 0.025);
   
  $("#newsticker dl").css("top",newtop+"px");
  //$("#newsticker dl").animate({top : newtop}, interv, "linear");
}

