var PrStyle;
function ChStyle(obj, NwStyle) {
	PrStyle = obj.className;
	obj.className = NwStyle;
	
	PrSelection = obj;
	return;
	}

var newwindow;
function PopUp(pagina,w,h,nometarget) { 
	window.open(pagina,nometarget,'scrollbars=no,status=no,menubar=no,resizable=no,directories=no,top=100,left=100,width='+w+',height='+h);
	if (window.focus) {newwindow.focus()}
	}

var scrtxt="Umberto Grati Graphic Designer - ugrat@tin.it";
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);
  }
scorrevole();