function infoscroll(seed,looped){

var widthsetting = 1024;
var heightsetting = 768;
if (screen.width != widthsetting || screen.height != heightsetting) 
  {
msg = ".......Questo sito è stato progettato per una risoluzione di " + widthsetting + "x" + heightsetting + ", "
+ "mentre il Suo schermo ha una risoluzione di " + screen.width + "x"
+ screen.height + ".  Per una migliore visione del sito, se possibile "
+ "dovreste modificare la risoluzione.....";
  }
else msg = ""  
  var putout = " ";
  var c   = 1;


  if (looped > 1) 
  {  window.status="<--- BUON DIVERTIMENTO IN Charterpesca.net --->";  }
  else if (seed > 100) 
  {
     seed--;
     var cmd="infoscroll(" + seed + "," + looped + ")";
     timerTwo=window.setTimeout(cmd,100);
  }
  else if (seed <= 100 && seed > 0) 
  {
    for (c=0 ; c < seed ; c++) 
    {  putout+=" ";  }
    putout+=msg.substring(0,100-seed);	
    seed--;
    var cmd="infoscroll(" + seed + "," + looped + ")";
    window.status=putout;
    timerTwo=window.setTimeout(cmd,200);
  }
  else if (seed <= 0) 
  {
    if (-seed < msg.length) 
    {
      putout+=msg.substring(-seed,msg.length);
      seed--;
      var cmd="infoscroll(" + seed + "," + looped + ")";
      window.status=putout;
      timerTwo=window.setTimeout(cmd,200); // 100
    }
    else 
    {
      window.status=" ";
      looped += 1;
      var cmd = "infoscroll(100," + looped + ")";
      timerTwo=window.setTimeout(cmd,75); // 75
    }
  }
}

infoscroll(1,1)

