<!--

function stopg_scroll() {
 if($timerg_scroll) {
  window.clearTimeout($timerg_scroll);
  $timerg_scroll=null;
 }
}

function giu_scroll() {
 if(parseInt(document.getElementById($ids[3]).style.top)<(document.getElementById($ids[2]).offsetHeight+document.getElementById($ids[3]).offsetHeight+$offSet)) {
  document.getElementById($ids[3]).style.top=(parseInt(document.getElementById($ids[3]).style.top)+$offSet)+"px";
 } else {
  document.getElementById($ids[3]).style.top=(document.getElementById($ids[2]).offsetHeight+$offSet)+"px";
 }
 $timerg_scroll=window.setTimeout("giu_scroll();", 200);
}

function play_scroll() {
 if(!$timer_scroll) $timer_scroll=window.setTimeout("news_scroll();", 200);
}

function stop_scroll() {
 if($timer_scroll) {
  window.clearTimeout($timer_scroll);
  $timer_scroll=null;
 }
}

function news_scroll() {
 if(parseInt(document.getElementById($ids[3]).style.top)>-(document.getElementById($ids[3]).offsetHeight+$offSet)) {
  document.getElementById($ids[3]).style.top=(parseInt(document.getElementById($ids[3]).style.top)-$offSet)+"px";
 } else {
  document.getElementById($ids[3]).style.top=(document.getElementById($ids[2]).offsetHeight)+"px";
 }
 $timer_scroll=window.setTimeout("news_scroll();", 200);
}

function avvia_news() {
 document.getElementById($ids[3]).style.left="0px";
 document.getElementById($ids[3]).style.top=(document.getElementById($ids[2]).offsetHeight+$offSet)+"px";
 document.getElementById($ids[3]).style.visibility="visible";
 news_scroll();
}

var $news=new Array();
 $news[0]="Forint S.p.A. Contra' del Monte,13     Vicenza";
 $news[1]="................................................................";
 $news[2]="";
 $news[3]="Forint S.p.A. Viale Monza, 253         Milano";
 $news[4]="................................................................";
 $news[5]="Forint S.p.A. Via Renata Bianchi, 91             Genova Campi";
 $news[6]="...............................................................";
 $news[7]="Forint S.p.A.                          Torino";
 $news[8]="................................................................";
 $news[9]="Forint S.p.A. Via della Caffarelletta, 51   Roma";
 $news[10]="................................................................";
 $news[11]="Forint S.p.A. Via F.lli Wright        Fiumicino";
 $news[12]="................................................................";
 $news[13]="Forint S.p.A. Via Le Lame,11          Frosinone";
 $news[14]="................................................................";
 $news[15]="";
 $news[16]="................................................................";
 $news[17]="";
 $news[18]="....... SITO IN AGGIORNAMENTO .......";
 $news[19]="";
 $news[20]="";


var $ids=new Array();
 $ids[0]="containernp";
 $ids[1]="container_pan";
 $ids[2]="container_news";
 $ids[3]="container_scroll";

var $altezza=300;
var $offSet=5;
var $timer_scroll=null;
var $timerg_scroll=null;

document.write("<div id=\""+$ids[0]+"\" style=\"width:200px; border-left:#000000 0px solid; border-right:#000000 0px solid;\">");
 document.write("<div id=\""+$ids[2]+"\" style=\"width:100%; height:250px; position:relative; overflow:hidden; border:#000000 0px solid;\">");
  document.write("<div id=\""+$ids[3]+"\" style=\"position:absolute; top:0px; left:0px; visibility:hidden;\">");
   document.write("<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">");
   for(var $x=0; $x<$news.length; $x++) {
    document.write("<tr><td>"+($news[$x])+"</td></tr>");
   }
   document.write("</table>");
  document.write("</div>");
 document.write("</div>");

document.write("</div>");

window.onload=function() {
avvia_news();
}

//-->