<!--

// design by - Hanz, Pit, Gandalf - MRAVENISTE.CZ
// new - 4.6.2001

var load_file = "yes";

if (document.images) {
            aon = new Image();       aon.src = "images/location0.gif";
            aoff = new Image();      aoff.src = "images/location.gif";
            bon = new Image();       bon.src = "images/rooms0.gif";
            boff = new Image();      boff.src = "images/rooms.gif";
            con = new Image();       con.src = "images/reservation0.gif";
            coff = new Image();      coff.src = "images/reservation.gif";
            don = new Image();       don.src = "images/map0.gif";
            doff = new Image();      doff.src = "images/map.gif";
            }

    function imgOn(imgName) {
            if (document[imgName]) {
                document.images[imgName].src = eval(imgName + "on.src");
            }
   }
	
	function imgOff(imgName) {
            if (document[imgName]) {
				document.images[imgName].src = eval(imgName + "off.src");
            }
   }

MSIE5 = ((navigator.appName == "Microsoft Internet Explorer") && (navigator.appVersion.indexOf("MSIE 4.5") == -1) && (document.all)) ? 1 : 0;
oldNS = "";

	if ((navigator.appName == "Netscape") && (navigator.appVersion.indexOf("3.") != -1 )) {
		oldNS = 1;
	}

	if ((navigator.userAgent.indexOf("Mac") != -1) && (oldNS != 1)) {
		if (MSIE5) {
			document.write("<link rel=stylesheet href=css/macmsie.css>");
		} else {
			document.write("<link rel=stylesheet href=css/mac.css>");
		}
	} else if ((navigator.userAgent.indexOf("Win") != -1) && (oldNS != 1)) {
			document.write("<link rel=stylesheet href=css/pc.css>");
	}
		
// -->