$("slideshow").style.display="none";
$("slideshow_wrapper").style.display="block";

var slideshow=new TINY.slideshow("slideshow");

window.onload=function() 
{
	// Create slide show
	slideshow.auto=true;
	slideshow.speed=5;
	slideshow.link="slideshow_linkhover";
	slideshow.info="slideshow_information";
	slideshow.thumbs="slideshow_slider";
	slideshow.left="slideshow_slideleft";
	slideshow.right="slideshow_slideright";
	slideshow.scrollSpeed=4;
	slideshow.spacing=5;
	slideshow.active="#fff";
	slideshow.init("slideshow","slideshow_image",null,null,"slideshow_imglink");
	
	// Automatically show details?
	if (document.location.href.indexOf("#details") > 0) showdetails();
	
	// Put in background music
	var bgmusic = document.getElementById("bgmusic");
	if (bgmusic) {
		setTimeout(function() {
			bgmusic.innerHTML = "<embed hidden='true' src='media/MinglePlace.mp3' AutoStart='true' ShowStatusBar='0' ShowControls='0' ShowDisplay='0' volume='1' height='1' width='1' loop='3'>";
			var bgsound = document.createElement("bgsound");
			bgsound.setAttribute("src","media/MinglePlace.mp3");
			bgsound.setAttribute("loop","3");
			var head = document.getElementsByTagName("head")[0];
			head.appendChild(bgsound);
		}, 2000);
	}
}

function showdetails()
{
	document.getElementById("desc_summary").className="hidden";
	document.getElementById("desc_details").className="text";
}
