function Titolo(parametro)
{
    document.title = "Paganese.it - Testata giornalistica "+parametro;
}

var x = 0
var speed = 60
var text = "B e n v e n u t o   s u   P a g a n e s e . i t"
var course = 120
var text2 = text

function Scroll()
{
  window.status = text2.substring(0, text2.length)
 
  if (course < text2.length) 
  {
     setTimeout("Scroll2()", speed)
  }
  else 
  {
     text2 = " " + text2

     setTimeout("Scroll()", speed);
  }
}

function Scroll2()
{
   window.status = text2.substring(x, text2.length)

   if (text2.length - x == text.length)
   { 
      text2 = text
      x = 0

      setTimeout("Scroll()", speed);
   }
   else
   {
     x++
     setTimeout("Scroll2()", speed);
   }
}

Scroll();

function right(e)
{
  var msg = "www.paganese.it - Copyright © 2000 Rugial";

  if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
  {
    alert(msg);
    return false;
  }
  else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) 
  {
    alert(msg);
    return false;
  }
  return true;
}

document.onmousedown = right;

if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown = right;


function disableselect(e)
{
  return false
}

function reEnable()
{
  return true
}

document.onselectstart=new Function ("return false")

if (window.sidebar)
{
  document.onmousedown = disableselect;
  document.onclick = reEnable;
}