var dhtmlBrowser=0;
var domBrowser=0;
var dhtmlnav=0;
if ((navigator.appName == "Mozilla" || navigator.appName == "Netscape") && (navigator.appVersion.indexOf("4.") == -1)) {
	domBrowser=1;
	dhtmlnav=1;
} else {
	if ((document.all) || (document.layers))
		dhtmlBrowser=1; 
		dhtmlnav=1;
}

function imageswap(on, imageID) {
	if (on)
		eval("document.images['" + imageID + "'].src = " + imageID + "_on.src");
	else
		eval("document.images['" + imageID + "'].src = " + imageID + "_off.src");
}

function hideparents (exceptThis) {
	if (exceptThis) imageswap(1,exceptThis+'_hd');
  	if (exceptThis != 'nav_1') hideLayer(0,'nav_1');
	if (exceptThis != 'nav_2') hideLayer(0,'nav_2');
}

if ((dhtmlnav || dhtmlBrowser) && (navigator.appVersion.indexOf("3.") == -1)) {
	var locprot = location.protocol + "";
	var endscript = "\n<";
	endscript += "/SCRIPT>\n";
	if (domBrowser) {
	  	document.write("<SCRIPT LANGUAGE=\"JavaScript1.2\" SRC=\"/includes/dhtml_6.js\">");
	  	document.write(endscript);
	} else {
		document.write("<SCRIPT LANGUAGE=\"JavaScript1.2\" SRC=\"/includes/dhtml_45.js\">");
	  	document.write(endscript);
	}
	document.write("<SCRIPT LANGUAGE=\"JavaScript1.2\" SRC=\"/includes/dhtml_nav.js\">");
	document.write(endscript);
} else {
	dhtmlBrowser=0;
	domBrowser=0;
	dhtmlnav=0;
}

function off(filePrefix) {
    if (document.images) {
        document [filePrefix].src = eval(filePrefix + "_off.src");
	}
}
function on(filePrefix) {
    if (document.images) {
        document [filePrefix].src = eval(filePrefix + "_on.src");
	}
}
function off2(filePrefix,default_img) {
    if (document.images) {
        document [filePrefix].src = eval(filePrefix + "_off.src");
	}
    document ["imgbar"].src = "/images/" + default_img;
}
function on2(filePrefix) {
    if (document.images) {
        document [filePrefix].src = eval(filePrefix + "_on.src");
	}
	document ["imgbar"].src = eval(filePrefix + "_prh.src");
}
function off3(filePrefix,default_img) {
    if (document.images) {
        document [filePrefix].src = eval(filePrefix + "_off.src");
	}
    document ["imgbar"].src = "/images/" + default_img;
}
function on3(filePrefix) {
    if (document.images) {
        document [filePrefix].src = eval(filePrefix + "_on.src");
	}
	document ["imgbar"].src = "/images/imgbar_markh.jpg";
}
function on3a(filePrefix) {
    if (document.images) {
        document [filePrefix].src = eval(filePrefix + "_on.src");
	}
}
function off4(filePrefix,default_img) {
    if (document.images) {
        document [filePrefix].src = eval(filePrefix + "_off.src");
	}
    document ["imgbar4"].src = "/images/" + default_img;
}
function on4(filePrefix) {
    if (document.images) {
        document [filePrefix].src = eval(filePrefix + "_on.src");
	}
	document ["imgbar4"].src = "/images/imgbar_markh.jpg";
}
function noop() {
	return;
}
// -->

