var flashfilename

function hideall2(){
	document.getElementById('grand-lobby').style.display = "none";
	document.getElementById('cafe-carinthia').style.display = "none";
	document.getElementById('champagne-bar').style.display = "none";
	document.getElementById('chart-room').style.display = "none";
	document.getElementById('commodore-club').style.display = "none";
	document.getElementById('golden-lion').style.display = "none";
	document.getElementById('grills-lounge').style.display = "none";
	document.getElementById('hemispheres').style.display = "none";
	document.getElementById('midships-bar-and-lounge').style.display = "none";
	document.getElementById('the-queens-room-ballroom').style.display = "none";
	document.getElementById('winter-garden').style.display = "none";
	document.getElementById('queens-grill-restaurant').style.display = "none";
	document.getElementById('princess-grill-restaurant').style.display = "none";
	document.getElementById('britannia-restaurant').style.display = "none";
	document.getElementById('todd-english-restaurant').style.display = "none";
	document.getElementById('lido').style.display = "none";
	document.getElementById('the-courtyard').style.display = "none";
	document.getElementById('q1-queens-grill-grand-suite').style.display = "none";
	document.getElementById('q1-queens-grill-grand-suite-lounge').style.display = "none";
	document.getElementById('q1-queens-grill-grand-suite-bedroom').style.display = "none";
	document.getElementById('q1-queens-grill-grand-suite-bathroom').style.display = "none";
	document.getElementById('q2-queens-grill-master-suite').style.display = "none";
	document.getElementById('q2-queens-grill-master-suite-lounge').style.display = "none";
	document.getElementById('q2-queens-grill-master-suite-bedroom').style.display = "none";
	document.getElementById('q2-queens-grill-master-suite-bathroom').style.display = "none";
	document.getElementById('q3-queens-grill-penthouse').style.display = "none";
	document.getElementById('q5-queens-grill-queens-suite').style.display = "none";
	document.getElementById('p1-princess-grill-princess-suites').style.display = "none";
	document.getElementById('britannia-stateroom-balcony').style.display = "none";
	document.getElementById('britannia-stateroom-oceanview').style.display = "none";
	document.getElementById('britannie-stateroom-standard-inside').style.display = "none";
	document.getElementById('cunard-royal-spa-and-fitness-centre-spa').style.display = "none";
	document.getElementById('cunard-royal-spa-and-fitness-centre-fitness').style.display = "none";
	document.getElementById('cunard-royal-spa-and-fitness-centre-massage').style.display = "none";
	document.getElementById('pavilion-pool').style.display = "none";
	document.getElementById('the-library').style.display = "none";
	document.getElementById('connexions-internet-centre').style.display = "none";
	document.getElementById('cunardia').style.display = "none";
	document.getElementById('empire-casino').style.display = "none";
	document.getElementById('cunard-insights').style.display = "none";
	document.getElementById('royal-court-theatre').style.display = "none";
	document.getElementById('royal-court-theatre-box').style.display = "none";
	document.getElementById('sports-deck').style.display = "none";
	document.getElementById('the-royal-arcade').style.display = "none";
	document.getElementById('the-zone-the-play-zone').style.display = "none";
}

function showhide2(id){

	hideall2();

	if (document.getElementById){
		obj = document.getElementById(id);
		obj.style.display = "";
		
		if (obj.getAttribute("id") == 'grand-lobby') {
			
			flashfilename = 'captain_lobby';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		}
			
		if (obj.getAttribute("id") == 'cafe-carinthia') {
			
			flashfilename = 'carinthia';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'champagne-bar') {
			
			flashfilename = 'champane_bar';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'chart-room') {
			
			flashfilename = 'chart_room';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
			
		if (obj.getAttribute("id") == 'commodore-club') {
			
			flashfilename = 'commodore_club';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'golden-lion') {
			
			flashfilename = 'golden_lion';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'grills-lounge') {
			
			flashfilename = 'grills_lounge';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'hemispheres') {
			
			flashfilename = 'hemispheres';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'midships-bar-and-lounge') {
			
			flashfilename = 'midbar';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'the-queens-room-ballroom') {
			
			flashfilename = 'queens_room';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'winter-garden') {
			
			flashfilename = 'winter_garden';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
			
		}
		
		if (obj.getAttribute("id") == 'queens-grill-restaurant') {
			
			flashfilename = 'queens_grill_rest';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
			
		}
		
		if (obj.getAttribute("id") == 'princess-grill-restaurant') {
			
			flashfilename = 'd_princess_grill';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'britannia-restaurant') {
			
			flashfilename = 'britania';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'todd-english-restaurant') {
			
			flashfilename = 'todd_english';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'lido') {
			
			flashfilename = 'lido';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'the-courtyard') {
			
			flashfilename = 'court_yard';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'q1-queens-grill-grand-suite') {
			
			flashfilename = 'q1';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'q1-queens-grill-grand-suite-lounge') {
			
			flashfilename = 'q1';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'q1-queens-grill-grand-suite-bedroom') {
			
			flashfilename = 'q1';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'q1-queens-grill-grand-suite-bathroom') {
			
			flashfilename = 'q1';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'q2-queens-grill-master-suite') {
			
			flashfilename = 'q2';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'q2-queens-grill-master-suite-lounge') {
			
			flashfilename = 'q2';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'q2-queens-grill-master-suite-bedroom') {
			
			flashfilename = 'q2';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'q2-queens-grill-master-suite-bathroom') {
			
			flashfilename = 'q2';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'q3-queens-grill-penthouse') {
			
			flashfilename = 'q2';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'q5-queens-grill-queens-suite') {
			
			flashfilename = 'q2';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'p1-princess-grill-princess-suites') {
			
			flashfilename = 'a_princess_grill';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
			
		}
		
		if (obj.getAttribute("id") == 'britannia-stateroom-balcony') {
			
			flashfilename = 'stateroom_balcony';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'britannia-stateroom-oceanview') {
			
			flashfilename = 'stateroom_out';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'britannie-stateroom-standard-inside') {
			
			flashfilename = 'state_room_in';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'cunard-royal-spa-and-fitness-centre-spa') {
			
			flashfilename = 'spa_hydro_pool';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'cunard-royal-spa-and-fitness-centre-fitness') {
			
			flashfilename = 'fitness_centre';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
			
		}
		
		if (obj.getAttribute("id") == 'cunard-royal-spa-and-fitness-centre-massage') {
			
			flashfilename = 'spa_massage';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'pavilion-pool') {
			
			flashfilename = 'pavilion_pool';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'the-library') {
			
			flashfilename = 'library';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'connexions-internet-centre') {
			
			flashfilename = 'internet_centre';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'cunardia') {
			
			flashfilename = 'cunardia';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'empire-casino') {
			
			flashfilename = 'casino';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'cunard-insights') {
			
			flashfilename = 'cunard_insights';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'royal-court-theatre') {
			
			flashfilename = 'theatre';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'royal-court-theatre-box') {
			
			flashfilename = 'theatre_box';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'sports-deck') {
			
			flashfilename = 'sports_deck';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'the-royal-arcade') {
			
			flashfilename = 'royal_arcade';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		
		}
		
		if (obj.getAttribute("id") == 'the-zone-the-play-zone') {
			
			flashfilename = 'children';
		
			// <![CDATA[
			
			var so = new SWFObject("swf/vr_loader.swf", "video", "218", "290", "8", "");
			so.addVariable("video", "http://86.17.14.109/qvmicrositefiles/th/" + flashfilename); // this line is optional, but this example uses the variable and displays this text inside the flash movie
			so.write("head");
			
			// ]]>
		}
	}
}

function showhide3(id){
		
	if (id == 'grand-lobby_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=grand-lobby'
	
	if (id == 'cafe-carinthia_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=cafe-carinthia'
		
	if (id == 'champagne-bar_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=champagne-bar'
		
	if (id == 'chart-room_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=chart-room'
		
	if (id == 'commodore-club_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=commodore-club'
		
	if (id == 'golden-lion_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=golden-lion'
		
	if (id == 'grills-lounge_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=grills-lounge'
		
	if (id == 'hemispheres_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=hemispheres'
		
	if (id == 'midships-bar-and-lounge_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=midships-bar-and-lounge'
		
	if (id == 'the-queens-room-ballroom_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=the-queens-room-ballroom'
		
	if (id == 'winter-garden_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=winter-garden'
		
	if (id == 'queens-grill-restaurant_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=queens-grill-restaurant'
		
	if (id == 'princess-grill-restaurant_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=princess-grill-restaurant'
		
	if (id == 'britannia-restaurant_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=britannia-restaurant'
		
	if (id == 'todd-english-restaurant_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=todd-english-restaurant'
		
	if (id == 'lido_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=lido'
		
	if (id == 'the-courtyard_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_flash.php?swf=the-courtyard'
		
	if (id == 'q1-queens-grill-grand-suite_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_flash.php?swf=q1-queens-grill-grand-suite'
		
	if (id == 'q1-queens-grill-grand-suite-lounge_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=q1-queens-grill-grand-suite-lounge'
		
	if (id == 'q1-queens-grill-grand-suite-bedroom_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=q1-queens-grill-grand-suite-bedroom'
		
	if (id == 'q1-queens-grill-grand-suite-bathroom_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=q1-queens-grill-grand-suite-bathroom'
		
	if (id == 'q2-queens-grill-master-suite_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_flash.php?swf=q1-queens-grill-grand-suite'
		
	if (id == 'q2-queens-grill-master-suite-lounge_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_flash.php?swf=q1-queens-grill-grand-suite'
		
	if (id == 'q2-queens-grill-master-suite-bedroom_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=q2-queens-grill-master-suite-bedroom'
		
	if (id == 'q2-queens-grill-master-suite-bathroom_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=q2-queens-grill-master-suite-bathroom'
		
	if (id == 'q3-queens-grill-penthouse_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=queens-grill-penthouse'
		
	if (id == 'q5-queens-grill-queens-suite_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=q5-queens-grill-queens-suite'
		
	if (id == 'p1-princess-grill-princess-suites_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=princess-grill-princess-suites'
		
	if (id == 'britannia-stateroom-balcony_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_image.php?jpg=britannia-stateroom-balcony'
		
	if (id == 'britannia-stateroom-oceanview_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=britannia-stateroom-oceanview'
		
	if (id == 'britannie-stateroom-standard-inside_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=britannie-stateroom-standard-inside'
		
	if (id == 'cunard-royal-spa-and-fitness-centre-spa_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=cunard-royal-spa-and-fitness-centre-spa'
		
	if (id == 'cunard-royal-spa-and-fitness-centre-fitness_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=cunard-royal-spa-and-fitness-centre-fitness'
		
	if (id == 'cunard-royal-spa-and-fitness-centre-massage_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_flash.php?swf=cunard-royal-spa-and-fitness-centre-massage'
		
	if (id == 'pavilion-pool_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=pavilion-pool'
		
	if (id == 'the-library_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_flash.php?swf=the-library'
		
	if (id == 'connexions-internet-centre_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_image.php?jpg=connexions-internet-centre'
		
	if (id == 'cunardia_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_image.php?jpg=cunardia'
		
	if (id == 'empire-casino_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=empire-casino'
		
	if (id == 'cunard-insights_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_image.php?jpg=cunard-insights'
		
	if (id == 'royal-court-theatre_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=royal-court-theatre'
		
	if (id == 'royal-court-theatre-box_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=royal-court-theatre-box'
		
	if (id == 'sports-deck_pan')
		frames['vt_frame'].location.href ='virtualtour_pan.php?jpg=sports-deck'
		
	if (id == 'the-royal-arcade_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_flash.php?swf=the-royal-arcade'
		
	if (id == 'the-zone-the-play-zone_pan')
		frames['vt_frame'].location.href ='virtualtour_pan_image.php?jpg=the-zone-the-play-zone'
}