// ----------------------------------------------------------------------------------------------------

	var ie4 = false;
	var pageID = "";

// ----------------------------------------------------------------------------------------------------
// Load all images into the browser when it loads the home page.

function FP_preloadImgs()
{
 var a = arguments;
 
 if(!document.FP_imgs) document.FP_imgs=new Array();
 
 for(var i=0; i <a.length; i++)
 {
 	document.FP_imgs[i]     = new Image;
 	document.FP_imgs[i].src = a[i];
 }
}
// --------------------------------------------------------------------------------------------------

function init()
{
	   // Get the filename without the directory information ..
	
	   var lastOccurs; // the position of the last (whatever) in the path

	   lastOccurs = location.pathname.lastIndexOf("/");
	   pageID = location.pathname.substring(lastOccurs + 1, location.pathname.length);

	   // Now get the file name without the extension ..
	   
	   lastOccurs = pageID.lastIndexOf(".");
	   pageID = pageID.substring(0, lastOccurs);
	   
	   if (pageID == '')
	   {
	      pageID = "index";
	   }
   
	   // Which browser is this? ..
	   
	   if (navigator.appName != "Microsoft Internet Explorer")
	   {
			document.styleSheets[1].disabled = false; // Enable Netscape=compatible styles
	   }
	   
	   // Check out the screen resolution and enable the 800 x 600 style sheet if necessary ..
	   
  	   if (screen.height <= 600)
  	   {
		  document.styleSheets[2].disabled = false;
  	   }
}

// ----------------------------------------------------------------------------------------------------
function tbMouseOver(li, tb)
{
	if (tb.className == 'tbHide')
	{
		li.className = 'liHideHover';
	}
	else
	{
		li.className = 'liShowHover';
	}
	return true;
}
// -------------------------------------------------------------------------------------------
function tbMouseOut(li, tb)
{
	if (tb.className == 'tbHide')
	{
		li.className = 'liInactive';
	}
	else
	{
		li.className = 'liActive';
	}	
	return true;
}
// -------------------------------------------------------------------------------------------
function showHide(li, tb)
{
	if (tb.className == 'tbShow')
	{
		tb.className = 'tbHide';
		li.className = 'liInactive';		
	}
	else
	{
		tb.className = 'tbShow';
		li.className = 'liActive';
	}
	return true;
}

// -------------------------------------------------------------------------------------------


//-->