//Funzione testo scorrevole

var scrtxt="Segnozero "+
"Comunicazione Visiva";
var lentxt=scrtxt.length;
var width=100;
var pos=1-width;

function scorrevole() {
  pos++;
  var scroller="";
  if (pos==lentxt) {
    pos=1-width;
  }
  if (pos<0) {
    for (var i=1; i<=Math.abs(pos); i++) {
      scroller=scroller+" ";}
    scroller=scroller+scrtxt.substring(0,width-i+1);
  }
  else {
    scroller=scroller+scrtxt.substring(pos,width+pos);
  }
  window.status = scroller;
  setTimeout("scorrevole()",170);
  }


//Funzione sovrascritte pulsanti


function openNewWindow(URLtoOpen, windowName, windowFeatures) { 
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}

