// JavaScript Document
function SymError()
{
  return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
  return (new Object());
}

window.open = SymWinOpen;

	var Chaser = 
	{
		// you set these paramaters! hover	: 107,
		hover	: 10,
		divisor	: 6,
		callRate: 55,
		layer	: document[document.all ? "all" : "layers"]["myChaser"]
	}
	

	// We will constantly call this function to check the position
	// of the chaser relative to the window frame, and move it if necessary.
	Chaser.paint = function() {

		// browser specific way to check amount window has scrolled by.
		targetY = (document.all ? document.body.scrollTop : window.pageYOffset) + Chaser.hover;

		// browser specific way to check chaser's position.
		currentY = document.all ? Chaser.layer.style.pixelTop : Chaser.layer.top

		difference = currentY - targetY;
		decrement = Math.round(difference / Chaser.divisor);
		
		// browser-specific method of moving chaser
		if (document.all)
			Chaser.layer.style.pixelTop -= decrement
		else
			Chaser.layer.top -= decrement
	}

	
	window.setInterval("Chaser.paint()", Chaser.callRate)

window.open = SymRealWinOpen;

function MM_checkBrowser(NSvers,NSpass,NSnoPass,IEvers,IEpass,IEnoPass,OBpass,URL,altURL) { //v4.0

  var newURL='', verStr=navigator.appVersion, app=navigator.appName, version = parseFloat(verStr);

  if (app.indexOf('Netscape') != -1) {

    if (version >= NSvers) {if (NSpass>0) newURL=(NSpass==1)?URL:altURL;}

    else {if (NSnoPass>0) newURL=(NSnoPass==1)?URL:altURL;}

  } else if (app.indexOf('Microsoft') != -1) {

    if (version >= IEvers || verStr.indexOf(IEvers) != -1)

     {if (IEpass>0) newURL=(IEpass==1)?URL:altURL;}

    else {if (IEnoPass>0) newURL=(IEnoPass==1)?URL:altURL;}

  } else if (OBpass>0) newURL=(OBpass==1)?URL:altURL;

  if (newURL) { window.location=unescape(newURL); document.MM_returnValue=false; }

}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_changeProp(objName,x,theProp,theValue) { //v6.0
  var obj = MM_findObj(objName);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
    if (theValue == true || theValue == false)
      eval("obj."+theProp+"="+theValue);
    else eval("obj."+theProp+"='"+theValue+"'");
  }
}
