<!--
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
oldonload();
func();
}
}
}



//  autoOnState
addLoadEvent(function() {
	l=window.location.toString(); s=l.split("/");
	// ********* CHANGE ME  ****************************************************************
	f=s[3]; // Change this number to the number of slashes in the URL before the home page
	
	if (f == "index.html" || f == "") {
		return;
	}
	else {
		cn = "n-" + f;
		var nli = document.getElementById(cn);
		nli.className+="location";
	}
})


// table stripping

addLoadEvent(function() {

	var t = document.getElementsByTagName("table");
	for (var i=0; i<t.length; i++) {
		if (t[i].className == "striped") {
			var trs = t[i].getElementsByTagName("tr");
			for (var j=0; j<trs.length; j++) {
				if (j%2 == 1){} 
				else {trs[j].className+="ruled";}
			}
		}		
	}
})
