var tit = document.title;
var c = 0;
var r = 1;


function writetitle() {
if (document.all || document.getElementById) {

//    if (c==0) {
//        document.title = tit.substring(0,1);
//    }
  if (c==tit.length) {
//    document.title = ' | '+document.title;
//    setTimeout("rottitle()", 250) 
//    setTimeout("writetitle()", 1000)
  }
  else {
    c++;
//    if (document.title != tit.substring(0,c)) {
//        tit = document.title;
//        c = 0;
//      } else {
	document.title = tit.substring(0,c);
//      }
    setTimeout("writetitle()", 100)
  }
}
}

function rottitle() {
if (document.all || document.getElementById) {



  if (r=='1') {
	rotme='/';
  }


  if (r=='2') {
	rotme='-';
  }

  if (r=='3') {
	rotme='\\';
  }

  if (r=='4') {
	rotme='-';
	r='0';	
  }

r++;

//setTimeout("rottitle()", 250)

  document.title = ' '+rotme+' '+tit;

}
}

writetitle()

