var scrtxt="Belenchia Immobiliare - compravendite - affitti - gestioni - amministrazioni - ";
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);
  }

function ext(str) {

        searchWin = window.open(str,'ext','menubar=yes,scrollbars=yes,resizable=yes,width=800,height=600,status=no,location=no,toolbar=no');

//        searchWin.refer = self;

}
function ext1(str) {

        searchWin = window.open(str,'ext','menubar=yes,scrollbars=yes,resizable=yes,width=500,height=380,status=no,location=no,toolbar=no');

//        searchWin.refer = self;

}

function ext2(str) {

        searchWin = window.open(str,'ext','menubar=yes,scrollbars=yes,resizable=yes,width=500,height=300,status=no,location=no,toolbar=no');

//        searchWin.refer = self;

}
function ext3(str) {

        searchWin = window.open(str,'ext','menubar=yes,scrollbars=yes,resizable=yes,width=500,height=600,status=no,location=no,toolbar=no');

//        searchWin.refer = self;

}

