<!-- hide script from old browsers

//detect browser:
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) browserVer = "1";
else if (browserName == "Microsoft Internet Explorer" && browserVer == 4) browserVer = "1";
else browserVer = "2";

//preload images:
if (browserVer == 1) {
a1 = new Image(255,79);
a1.src = "images/sub_nav1.jpg";
a2 = new Image(255,79);
a2.src = "images/sub_nav1a.jpg";
b1 = new Image(255,78);
b1.src = "images/sub_nav2.jpg";
b2 = new Image(255,78);
b2.src = "images/sub_nav2a.jpg";
c1 = new Image(255,78);
c1.src = "images/sub_nav3.jpg";
c2 = new Image(255,78);
c2.src = "images/sub_nav3a.jpg";
}

//image swapping function:
function hiLite(imgDocID, imgObjName, comment) {
if (browserVer == 1) {
document.images[imgDocID].src = eval(imgObjName + ".src");
window.status = comment; return true;
}}
//end hiding -->

function change1(){

document.getElementById("1").style.background='url(images/menu_item2.jpg)';

}

function change2(){

document.getElementById("1").style.background='url(images/menu_item.jpg)';

}

function change3(){

document.getElementById("2").style.background='url(images/menu_item_bottom2.jpg)';

}

function change4(){

document.getElementById("2").style.background='url(images/menu_item_bottom.jpg)';

}

//Specify highlight behavior. "TD" to highlight table cells, "TR" to highlight the entire row:
var highlightbehavior="TD"

var ns6=document.getElementById&&!document.all
var ie=document.all

function changeto(e,highlightcolor){
source=ie? event.srcElement : e.target
if (source.tagName=="TABLE")
return
while(source.tagName!=highlightbehavior && source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function contains_ns6(master, slave) { //check if slave is contained by master
while (slave.parentNode)
if ((slave = slave.parentNode) == master)
return true;
return false;
}

function changeback(e,originalcolor){
if (ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
source.style.backgroundColor=originalcolor
}
