function Browser() {
	var b=navigator.appName;
	if (b=="Netscape") this.b="ns";
	else if ((b=="Opera") || (navigator.userAgent.indexOf("Opera")>0)) this.b = "opera";
	else if (b=="Microsoft Internet Explorer") this.b="ie";
	this.version=navigator.appVersion;
	this.v=parseInt(this.version);
	this.ns=(this.b=="ns" && this.v>=4);
	this.ns4=(this.b=="ns" && this.v==4);
	//this.ns6=(this.b=="ns" && this.v==5);
	this.ie=(this.b=="ie" && this.v>=4);
	this.ie4=(this.version.indexOf('MSIE 4')>0);
	this.ie5=(this.version.indexOf('MSIE 5')>0);
	this.ie55=(this.version.indexOf('MSIE 5.5')>0);
	this.ie6up = ((navigator.appVersion.indexOf("MSIE 6")!=-1)||(navigator.appVersion.indexOf("MSIE 7")!=-1));
	this.opera=(this.b=="opera");
	var ua=navigator.userAgent.toLowerCase();
	this.mac = (ua.indexOf("mac")!=-1);
}
// END BROWSER OBJECT
var is = new Browser();



if (document.images) { 
		
	bullet_on= new Image();
	bullet_on.src = dirUp + "images/nav/subnav_bullet_rollover.gif";
	bullet_off = new Image();
	bullet_off.src = dirUp + "images/spacer.gif";

}
function roll(divName, imgElementName, imgVariableName, whichState) {
	if ((is.ns4)&&(divName!=-1)) {
		var imgObject = eval("document." + divName +".document.images['"+imgElementName +"']");
		imgObject.src = eval(imgVariableName + "_" + whichState + ".src");
	}	
	else {
		document.images[imgElementName].src = eval(imgVariableName + "_" + whichState + ".src");
	}
}

function navRoll(imgElementName, whichState) {
	roll(-1,imgElementName,'bullet',whichState);
}