	//<!--

	nn = (document.layers)? true : false;
	ie = (document.all)? true : false;
	moz = (document.getElementById&&!ie)? true : false;
	currFloor = 0;

	pageIsLoaded = false;
	function startIt() 
	{
		pageIsLoaded = true;
	}
	
	window.onload = startIt;

	function floorObj(file) 
	{
		this.selected = new Image();
		this.selected.src = "templates/img/regions/" + file+"-s.gif";
	}
	
	floors = new Array("1","2","3","4","5","6","7","8", "9","10");
	floorImg = new Array();
	for (i in floors)
	{
		floorImg[floors[i]] = new floorObj("a"+floors[i]);
	}

	function overFloor(which) 
	{
		document.images.build.src = (currFloor == which)? floorImg[which].active.src : floorImg[which].selected.src;
	}

	function outFloor(which) 
	{
		document.images.build.src ="templates/img/regions/blank.gif";
	}

	function showtt(leer) 
	{
		if (nn) leer.visibility = "show";
		if (ie) leer.style.visibility = "visible";
		if (moz) document.getElementById(leer).style.visibility = "visible";
	}

	function hidett(leer) 
	{
		if (nn) leer.visibility = "hide";
		if (ie) leer.style.visibility = "hidden";
		if (moz) document.getElementById(leer).style.visibility = "hidden";
	}
	//-->
