<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v3.0
  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); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

var winPrev = 0;
function MM_openBrWindow(theURL,winName,features) { //v1.2
  if (winPrev.closed == false)
	winPrev.close();
	
  winPrev = window.open(theURL,winName,features);
}

function putImage(imgDocID,imgObjName) {
	//   imgDocID - the name or number of the document image to be replaced
	//   imgObjName - the name of the image object to be swapped in
	if (browser) {
	        document.images[imgDocID].src = eval(imgObjName + ".src")
	}
}

function window_onload()
{
	var btnName = document.MyForm.curBtnName.value;
	document.all(btnName)[0].innerHTML = "<font size='1' face='arial' color='#D7001B'>></font>";
	document.all(btnName)[1].style.color = "#D7001B";
}

var browser = navigator.appName;
var version = navigator.appVersion;

var platform = navigator.platform.substr(0,3);
if (platform == 'Mac') {
        if (browser == 'Microsoft Internet Explorer') {
                if (version == '4.0 (compatible; MSIE 5.0; Macintosh; I; PPC)')  {
                        document.write('<link rel="stylesheet" type="text/css" href="includes/styles_mac_ie5.css">');
                }
                else {
                        document.write('<link rel="stylesheet" type="text/css" href="includes/styles_mac.css">');
                }
        }
        else {
                document.write('<link rel="stylesheet" type="text/css" href="includes/styles_mac.css">');
        }
}
else if (browser == 'Netscape') {
        document.writeln('<link rel="stylesheet" type="text/css" href="includes/styles_win_nav.css">');
}
else  {
        document.writeln('<link rel="stylesheet" type="text/css" href="includes/styles.css">');
}

function Correct_Nav()
 {
        if (navigator.appName == 'Netscape')
        {
        
                var nav_td = "<td height='20' align='left' valign='middle'>" ;
            return(nav_td);
         
        }
        else if(navigator.appName == 'Microsoft Internet Explorer')
        {
                var nav_td = '<td style="font-size: 8pt; color: #ffffff; line-height:18px;" height="20">' ;
                return(nav_td);
        }
 }
var over = 'no';
var version = navigator.appVersion.substr(0,1);
var whichOne = ' ';
var whichNews = '1';
var styleSheetElement;
var oldElement;

function menuOn(pic) {
        over = 'yes';
        if ((navigator.appName == 'Netscape') && (version < 5)) {
                if (whichOne != ' ')  {
                        eval('document.' + whichOne + 'Menu.visibility = "hidden"');  
                }
                eval('document.' + pic + 'Menu.visibility = "visible"');        
                whichOne = pic;                 
        }
        else {
                var layerName = pic + 'Menu';
                styleSheetElement = document.getElementById(layerName);
                if(document.images) {
                        if (whichOne != ' ') {
                                whichOne = whichOne + 'Menu';
                                oldElement = document.getElementById(whichOne);
                                oldElement.style.visibility = "hidden";
                        }
                styleSheetElement.style.visibility = "visible";
                whichOne = layerName; 
                }
        }
}

function overChecker(pic) {
        whichOne = pic;
        over = 'no';
        setTimeout("menuOff()", 700);
}

function menuOff() 
{
        if (document.images) {
                if (over == 'no')  {
                                if ((navigator.appName == 'Netscape') && (version < 5)) {
                                        eval('document.' + whichOne + 'Menu.visibility = "hidden"');    
                                }
                                else {
                                styleSheetElement.style.visibility = "hidden";
                        }
                }       
        }
}

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;


HM_PG_MenuWidth = 250;
HM_PG_FontFamily = "Arial,sans-serif";
HM_PG_FontSize = 8;
HM_PG_FontBold = 0;
HM_PG_FontItalic = 0;
HM_PG_FontColor = "blue";
HM_PG_FontColorOver = "white";
HM_PG_BGColor = "#DDDDDD";
HM_PG_BGColorOver = "#FFCCCC";
HM_PG_ItemPadding = 3;

HM_PG_BorderWidth = 1;
HM_PG_BorderColor = "black";
HM_PG_BorderStyle = "solid";
HM_PG_SeparatorSize = 1;
HM_PG_SeparatorColor = "#d0ff00";

HM_PG_ImageSrc = "HM_More_black_right.gif";
HM_PG_ImageSrcLeft = "HM_More_black_left.gif";
HM_PG_ImageSrcOver = "HM_More_white_right.gif";
HM_PG_ImageSrcLeftOver = "HM_More_white_left.gif";

HM_PG_ImageSize = 5;
HM_PG_ImageHorizSpace = 0;
HM_PG_ImageVertSpace = 2;

HM_PG_KeepHilite = true; 
HM_PG_ClickStart = 0;
HM_PG_ClickKill = false;
HM_PG_ChildOverlap = 20;
HM_PG_ChildOffset = 10;
HM_PG_ChildPerCentOver = null;
HM_PG_TopSecondsVisible = .5;
HM_PG_StatusDisplayBuild =0;
HM_PG_StatusDisplayLink = 0;
HM_PG_UponDisplay = null;
HM_PG_UponHide = null;
HM_PG_RightToLeft = 0;

HM_PG_CreateTopOnly = 0;
HM_PG_ShowLinkCursor = 1;
HM_PG_NSFontOver = true;

//HM_a_TreesToBuild = [2];

function LNchgColor(strID)
	{
		var obj = document.getElementById(strID);
		obj.style.backgroundColor = "#EFEFEF";
		document.body.style.cursor = "hand";
		document.HiddenForm.MenuSelected.value = strID;
	}
function LNremoveColor(strID, bChild)
	{
		if (bChild != "YES")
		{
			var obj = document.getElementById(strID);
			obj.style.backgroundColor = "white";
			document.body.style.cursor = "default";
		}
		if (document.HiddenForm.MenuSelected.value != "")
		{
			var prevobj = document.getElementById(document.HiddenForm.MenuSelected.value);
			prevobj.style.backgroundColor = "white";
			document.body.style.cursor = "default";
		}
	}	
function gotoPage(strURL)
	{
		window.document.location.href = strURL;
	}

//-->
