function display(id) {
	// id arrays
	var links = ['hotel', 'hotel_hunting_hall', 'hotel_bar', 'hotel_standard', 'hotel_lux', 'townhouses', 'townhouses_first_floor', 'townhouses_second_floor', 'restaurant', 'entertainment_business_center', 'conference_hall', 'swimming_pool', 'billiard', 'sauna', 'harbour', 'fishing', 'helipad', 'boathouse','slip'];
	var blocks = ['hotel_block', 'hotel_hunting_hall_block', 'hotel_bar_block', 'hotel_standard_block', 'hotel_lux_block', 'townhouses_block', 'townhouses_first_floor_block', 'townhouses_second_floor_block', 'restaurant_block', 'entertainment_business_center_block', 'conference_hall_block', 'swimming_pool_block', 'billiard_block', 'sauna_block', 'harbour_block', 'fishing_block', 'slip_block', 'helipad_block', 'boathouse_block'];
	var bases = ['hotel', 'townhouses', 'restaurant', 'entertainment_business_center', 'harbour', 'fishing', 'slip', 'helipad', 'boathouse'];
//	var links = ['hotel', 'hotel_hunting_hall', 'hotel_bar', 'hotel_standard', 'hotel_lux', 'townhouses', 'townhouses_first_floor', 'townhouses_second_floor', 'restaurant', 'entertainment_business_center', 'conference_hall', 'swimming_pool', 'billiard', 'sauna', 'harbour', 'fishing', 'helipad', 'boathouse','bathhouse','slip'];
//	var blocks = ['hotel_block', 'hotel_hunting_hall_block', 'hotel_bar_block', 'hotel_standard_block', 'hotel_lux_block', 'townhouses_block', 'townhouses_first_floor_block', 'townhouses_second_floor_block', 'restaurant_block', 'entertainment_business_center_block', 'conference_hall_block', 'swimming_pool_block', 'billiard_block', 'sauna_block', 'harbour_block', 'fishing_block', 'slip_block', 'helipad_block', 'boathouse_block','bathhouse_block'];
//	var bases = ['hotel', 'townhouses', 'restaurant', 'entertainment_business_center', 'harbour', 'fishing', 'slip', 'helipad', 'boathouse','bathhouse'];
// show particular
	if (id != 'all') {
		// define subs
		if (id == 'hotel_hunting_hall' || id =='hotel_bar' || id =='hotel_standard' || id =='hotel_lux') { var sub_id = id; id = 'hotel'; }
		if (id == 'townhouses_first_floor' || id =='townhouses_second_floor') { var sub_id = id; id = 'townhouses'; }
		if (id =='conference_hall' || id =='billiard' || id == 'swimming_pool' || id == 'sauna') { var sub_id = id; id = 'entertainment_business_center';	}
		// define links & blocks
		if (typeof(sub_id) != 'undefined') {
			var elink_sub = document.getElementById(sub_id);
			var element_sub = document.getElementById(sub_id+'_block');
		}
		var elink = document.getElementById(id);
		var element = document.getElementById(id+'_block');
		// get styles from css file for bases
		if (element.currentStyle) {
			elink.style.backgroundColor = elink.currentStyle.backgroundColor;
			elink.style.color = elink.currentStyle.color;
			element.style.visibility = element.currentStyle.visibility;
			element.style.display = element.currentStyle.display;
		} else {
			elink.style.backgroundColor = (getComputedStyle (elink,'')).backgroundColor;
			elink.style.color = (getComputedStyle (elink,'')).color;
			element.style.visibility = (getComputedStyle (element,'')).visibility;
			element.style.display = (getComputedStyle (element,'')).display;
		}

			// first, hide everything
			for (i=0; i < links.length; i++) {
				var elks = document.getElementById(links[i]);
				elks.style.backgroundColor = "transparent";
			}
			for (i=0; i < bases.length; i++) {
				var elks = document.getElementById(bases[i]);
				elks.style.color = "#FFFFFF";
			}
			for (i=0; i < blocks.length; i++) {
				var els = document.getElementById(blocks[i]);
				els.style.visibility = "hidden";
				els.style.display = "none";
			}
			// then, show particular
			elink.style.backgroundColor = "#FFFFFF";
			elink.style.color = "#000000";
			element.style.visibility = "visible";
			element.style.display = "block";
			if (typeof(sub_id) != 'undefined') {
				elink_sub.style.backgroundColor = "#FFFFFF";
				elink_sub.style.color = "#000000";
				element_sub.style.visibility = "visible";
				element_sub.style.display = "block";
			}
	// or just hide everything
	} else {
		for (i=0; i < links.length; i++) {
			var elks = document.getElementById(links[i]);
			elks.style.backgroundColor = "transparent";
		}
		for (i=0; i < bases.length; i++) {
			var elks = document.getElementById(bases[i]);
			elks.style.color = "#FFFFFF";
		}
		for (i=0; i < blocks.length; i++) {
			var els = document.getElementById(blocks[i]);
			els.style.visibility = "hidden";
			els.style.display = "none";
		}
	}
}
