// These all must be declared above this file.
// var sNextPage;
// var sPreviousPage;
// var clrMouseOver;
// var clrNormal;

var bd=new BrowserDetector(navigator.userAgent);

function onNextPage()
{
	top.location.href = sNextPage;
}

function onPreviousPage()
{
	top.location.href = sPreviousPage;
}

function onMouseOverMenu(itemname)
{
    if (bd.browser != "IE")
        return true;
        
    var item = MM_findObj(itemname);
    
    if (item)
    {
        if (item.style)
        {
            item.style.color = clrMouseOver;
        }
    }
    
    
    return true;
}

function onMouseOutMenu(itemname)
{
    if (bd.browser != "IE")
        return true;

    var item = MM_findObj(itemname);

    if (item)
    {
        if (item.style)
        {
            item.style.color = clrNormal;
        }
    }

    return true;
}

var bDisplayFlash=false;

if ((navigator.appName == "Microsoft Internet Explorer" && 
	navigator.appVersion.indexOf("Mac") == -1 && 
	navigator.appVersion.indexOf("3.1") == -1) || 
	(navigator.plugins && (navigator.plugins["Shockwave Flash"] || navigator.plugins["Shockwave Flash 2.0"])))
{ 
	bDisplayFlash = true;
}

function outputGifHeader ()
{
	document.write ("<img border=\"0\" src=\"images/HeaderStatement.gif\" style=\"position:absolute;left:324;top:6;z-index:95\" width=\"315\" height=\"100\">");
}

function outputFlashHeader()
{
	document.write ("<div style=\"position:absolute;left:324;top:6;width:315;height:100;z-index:95\">");
	document.write ("<OBJECT");
	document.write (" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"");
	document.write (" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"");
	document.write (" WIDTH=\"315\" HEIGHT=\"100\" id=\"HeaderStatement\" ALIGN=\"\">");
	document.write ("<PARAM NAME=movie VALUE=\"flash/HeaderStatement.swf\">");
	document.write ("<PARAM NAME=quality VALUE=high>");
	document.write ("<PARAM NAME=bgcolor VALUE=#006468>"); 
	document.write ("<EMBED");
	document.write (" src=\"flash/HeaderStatement.swf\"");
	document.write (" quality=high bgcolor=#006468 ");
	document.write (" WIDTH=\"315\" HEIGHT=\"100\" NAME=\"HeaderStatement\" ALIGN=\"\"");
	document.write (" TYPE=\"application/x-shockwave-flash\"");
	document.write (" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\">");
	document.write ("</EMBED>");
	document.write ("</OBJECT>");
	document.write ("</div>");
}

