function viewPanorama(url)
{
	var wx = (screen.width - 636) / 2;
	var wy = (screen.height - 360) / 2;
	window.open(url,'mywindow','width=636,height=336,status=0,toolbar=0,menubar=0,resizable=0,scrollbars=0,left='+wx+',top='+wy);
}

function openVideo()
{
	$('a.video').click();
}

function openPDF()
{	
	$('a.directory').click();
}

function direction()
{
	$('a.direction').click();
}

//function makeReserve(){
//	$('a.reservation').click();
//	window.location('http://localhost/sanctuary/');
//}

function viewReport(){
	$('a.weather').click();
}

function PopupCenter(pageURL, title,w,h) {
	var left = (screen.width/2)-(w/2);
	var top = (screen.height/2)-(h/2);
	var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);	
} 