﻿//SUB ROOT PAGE ONLY FUNCTIONS

//Pre-Caching

if (document.images) {
var indexbtns = new Array()
indexbtns[0] = null;
indexbtns[1] = new Image()
indexbtns[1].src = "/source/indexbutton1.gif"
indexbtns[2] = new Image()
indexbtns[2]. src = "/source/indexover1.gif"
indexbtns[3] = new Image()
indexbtns[3]. src = "/source/back.gif"
indexbtns[4] = new Image()
indexbtns[4]. src = "/source/backover.gif"

}

//Swap Functions

function indexbtnswap(n) {
	eval("document.indexbtn.src = indexbtns["+n+"].src")
}
function secout(n) {
	if (n != secactiveitem) {
	eval("document.indexbtn"+n+".src = indexbtns["+n+"].src")
	}
}