// JavaScript Document
var Navlevel0 = document.getElementsByName("Navlevel0");	
var ActiveNavlevel0 = "";

function CheckNavlevel0(Num) {
		if (ActiveNavlevel0 != "" && ActiveNavlevel0 != Num) {
			Navlevel0[ActiveNavlevel0].style.color = "";
		}
		Navlevel0[Num].style.color = "#E15A3C";
		ActiveNavlevel0 = Num;
}

function ChangeColorNavlevel0 (Num, Color){
	if (ActiveNavlevel0 != Num) {
		switch (Color) {
			case '0':
				Navlevel0[Num].style.color = "#E15A3C";
				Navlevel0[Num].style.bgcolor = "#E15A3C";
				break;
			case '1':
				Navlevel0[Num].style.color = "";
				break;
		}
	}
}

var Navlevel1 = document.getElementsByName("Navlevel1");	
var ActiveNavlevel1 = "";

function CheckNavlevel1(Num) {
		if (ActiveNavlevel1 != "" && ActiveNavlevel1 != Num) {
			Navlevel1[ActiveNavlevel1].style.color = "";
		}
		Navlevel1[Num].style.color = "#E15A3C";
		ActiveNavlevel1 = Num;
}

function ChangeColorNavlevel1 (Num, Color){
	if (ActiveNavlevel1 != Num) {
		switch (Color) {
			case '0':
				Navlevel1[Num].style.color = "#E15A3C";
				Navlevel1[Num].style.bgcolor = "#E15A3C";
				break;
			case '1':
				Navlevel1[Num].style.color = "";
				break;
		}
	}
}

var Navlevel2 = document.getElementsByName("Navlevel2");	
var ActiveNavlevel2 = "";

function CheckNavlevel2(Num) {
		if (ActiveNavlevel2 != "" && ActiveNavlevel2 != Num) {
			Navlevel2[ActiveNavlevel2].style.color = "";
		}
		Navlevel2[Num].style.color = "#E15A3C";
		ActiveNavlevel2 = Num;
}

function ChangeColorNavlevel2 (Num, Color){
	if (ActiveNavlevel2 != Num) {
		switch (Color) {
			case '0':
				Navlevel2[Num].style.color = "#E15A3C";
				break;
			case '1':
				Navlevel2[Num].style.color = "";
				break;
		}
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  winName = window.open(theURL,winName,features);
  winName.focus();

}

// copyright 1999-2001 Idocs, Inc. http://www.idocs.com/tags/
// Distribute this script freely, but keep this 
// notice with the code.
var resetRolls = new Object();

function resetimage(src)
{
this.src=src;
this.confirm=true;
this.alt="Reset";
this.write=resetimage_write;
}

function resetimage_write()
{
document.write('<A ');
if (this.rollover)
    {
    if (! this.name)
        {
        alert('to create a rollover you must give the image a name');
        return;
        }

    resetRolls[this.name] = new Object();
    resetRolls[this.name].over = new Image();
    resetRolls[this.name].over.src=this.rollover;
    resetRolls[this.name].out = new Image();
    resetRolls[this.name].out.src=this.src;
    document.write(
        ' onMouseOver="if (document.images)document.images[\'' + 
        this.name + '\'].src=resetRolls[\'' + this.name + '\'].over.src"' + 
        ' onMouseOut="if (document.images)document.images[\'' + 
        this.name + '\'].src=resetRolls[\'' + this.name + '\'].out.src"'
        );
    }
document.write(' HREF="javascript:');
if (this.confirm)
    document.write('if(confirm(\'Are you sure you want to reset?\'))');
document.write(
    'document.forms[' + 
    (document.forms.length - 1) + '].reset();void(0);">');
document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '"');
document.write(' BORDER=0');
if (this.name)document.write(' NAME="' + this.name + '"');
if (this.height)document.write(' HEIGHT=' + this.height);
if (this.width)document.write(' WIDTH=' + this.width);
if (this.otheratts)document.write(' '+ this.otheratts);
document.write('></A>');
}

