<!--
var menu;
var offset = 0;
var old = 0;
function getObj(name)
{
  if (document.getElementById) 
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all) 
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers) 
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

window.onload = function () 
{
	setReferers();
	menu = new getObj("menu");
	movemenu();
}

function movemenu() 
{
	if (window.innerHeight) 
	{
		offset = window.pageYOffset
	}
	else if (document.documentElement && document.documentElement.scrollTop) 
	{
		offset = document.documentElement.scrollTop
	}
	else if (document.body) 
	{
		offset = document.body.scrollTop
	}
    if (offset == old)
    {
		menu.style.top = String(offset)+"px";
    }
	old = offset;
	temp = setTimeout(movemenu, 400);
}

function setReferers() 
{
	if (document.getElementById) 
    {
		var w3a = document.getElementById("w3a");
		w3a.href="http://validator.w3.org/check?verbose=1&uri="+document.URL;
		var cssa = document.getElementById("cssa");
		cssa.href = "http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri="+document.URL;
	}
	else
	{
		return;
	}
}


--> 