if (navigator.appName == "Netscape") {
document.write ("<link rel=\"stylesheet\" href=\"_css/css_netscape.css\"  type=\"text/css\">")
} else {
document.write ("<link rel=\"stylesheet\" href=\"_css/css_other.css\"  type=\"text/css\">")
document.write ("<link rel=\"stylesheet\" href=\"_css/css_other_ptint.css\"  media=\"print\" type=\"text/css\">")
}

ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

function show(id) {if (ns4) document.layers[id].visibility = "show"
	else if (ie4) document.all[id].style.visibility = "visible"}

function hide(id) {if (ns4) document.layers[id].visibility = "hide"
	else if (ie4) document.all[id].style.visibility = "hidden"}
	
function preload(imgObj,imgSrc) {
	if (document.images) {
		eval(imgObj+' = new Image()')
		eval(imgObj+'.src = "'+imgSrc+'"')
	}
}

function change(imgId,imgObj){
if (document.images)
document.images[imgId].src=eval(imgObj+".src")
}

preload('m01','_img/menu01.jpg');
preload('m01h','_img/menu01h.jpg');

preload('m02','_img/menu02.jpg');
preload('m02h','_img/menu02h.jpg');

preload('m03','_img/menu03.jpg');
preload('m03h','_img/menu03h.jpg');

preload('m04','_img/menu04.jpg');
preload('m04h','_img/menu04h.jpg');

preload('t01','_img/topmenu01.gif');
preload('t01h','_img/topmenu01h.gif');

preload('t02','_img/topmenu02.gif');
preload('t02h','_img/topmenu02h.gif');

preload('t03','_img/topmenu03.gif');
preload('t03h','_img/topmenu03h.gif');

preload('t04','_img/topmenu04.gif');
preload('t04h','_img/topmenu04h.gif');


function print_window()
{
	url = self.window.location.href;

	onUrl = url.substring(0,url.length-5);
	
	urlToLoad = onUrl+"_print.html";
	
	alert(urlToLoad);
	
	//cnf = "toolbar=no,menubar=no,location=no,personalbar=no,status=no,directories=no,";
	//cnf += "resizable=yes,scrollbars=yes"; 

	//nwWin = window.open(urlToLoad,"nwWin",cnf);
	//nwWin.window.print();
}
