// JavaScript Document
var browserNetScape=false;
var tableHeight = 0;
function openURL(url)
		{
			window.open(url,'_blank',  'resizable=yes,toolbar=no,status=no,scrollbars=yes,menubar=no,directories=no,location=no,dependant=yes', true, true);
		}
function setVariables()
{  
  if (navigator.appName == "Netscape")  	 
  	browserNetScape = true;
	checkLocation();
}
function checkLocation()
{
var CurPos = 0; var offSet=0; var factor=8; var totHeight = 0; var maxHeight=0;
tableHeight = document.getElementById("scrollTable").clientHeight;
totHeight = document.getElementById("mainTable").clientHeight;
  if (browserNetScape == true) 
  {  	
  	var str = document.getElementById("object1").style.top;
  	CurPos = eval(str.replace("px","").replace("pt",""));
	offSet = eval(window.pageYOffset);
  }
  else
  {
  	CurPos = object1.style.pixelTop;
	offSet = document.body.scrollTop;
  }
	offSet = offSet - (offSet % factor);	
	if (CurPos<offSet)
	CurPos = CurPos + factor;	
	else if (CurPos>offSet)
	CurPos = CurPos - factor;
	maxHeight = totHeight-tableHeight-500;
	if (CurPos>maxHeight)
		CurPos = maxHeight - (maxHeight % factor);
  if (browserNetScape == true) 
   	document.getElementById("object1").style.top=CurPos;
  else
  	object1.style.pixelTop = CurPos;	
  setTimeout("checkLocation()",10)
}