// JavaScript Document

var current_id="hotel";
function showItem(id) {
	var prev_obj = document.getElementById("item_"+current_id);
	var obj = document.getElementById("item_"+id);
	if (prev_obj) {
		prev_obj.style.display = "none";
	}
	document.getElementById("tab_"+current_id).className = "search_bar_unselected";
	if (obj) {
		obj.style.display = "block";
		current_id = id;
	}
	document.getElementById("tab_"+id).className = "search_bar_selected";
}

/*
	Optionally override the settings defined at the top
	of the highslide.js file. The parameter hs.graphicsDir is important!
*/
	hs.graphicsDir = 'images/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.wrapperClassName = 'controls-in-heading';
	hs.fadeInOut = true;
	//hs.dimmingOpacity = 0.75;

	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: false,
		overlayOptions: {
			opacity: 1,
			position: 'top right',
			hideOnMouseOut: false
		}
	});

