CORIDOOR = "31d53ff9-58d7-4081-948b-f41569410eab";
LIT_GATE = "1b4c251d-9027-461d-94a5-a7ea9da76a81";
GATE_ROOM = "e0b0acc2-78d6-46f9-a0ca-9598d14f2e23";
RAISED_GATE = "b5e2bdb8-b737-4b37-9d6d-a5dc4ff4d26e";
COFFEE_MAKER = "b1736d9b-26ad-44e3-b2b6-64f9bd745914";
AIR_SCRUBBER = "60FB388C-C3AC-4156-AD04-90377C784D74";
GATE_CLOSEUP = "FAE6B608-CA8A-4465-B6A0-5CC49D7DE46B";
CONTROL_ROOM = "F727E50D-7A7C-4ABE-91D4-F2BFD10A6EA5";
KINO_ROOM = "A4C12AEC-7639-4903-9940-5899CE9B2B4D";
KINO_BALL = "F0745DCC-1A84-433E-B44A-45727AAB6298";


var nMaxVideos=2;
var nVideo=1;


function CheckDoor(id)
{
	var returnVal;
	
	if(Current_Synth==RAISED_GATE)
	{
		returnVal = "<p>This is a view of the Stargate in the gate from from the upper mezzanine. <a href='#' onclick='javascript:DoDoor(\"" + GATE_ROOM + "\")'>Click here to go back to the main level!</a></p>";
	}
	
	
	if(Current_Synth==LIT_GATE)
	{
		returnVal = "<p>You've discovered a secret synth, showing the new Stargate aboard the destiny with all 9 chevrons locked and encoded in a dialling sequence! <a href='#' onclick='javascript:DoDoor(\"" + GATE_ROOM + "\")'>Click here to go back to the gate room!</a></p>";
	}
	
	if(Current_Synth==COFFEE_MAKER)
	{
	    returnVal = "<p>An ancient device located in the Destiny gate room.  The function of this device is yet to be discovered by the Destiny's new inhabitants. <a href='#' onclick='javascript:DoDoor(\"" + GATE_ROOM + "\")'>Click here to go back to the gate room!</a></p>";
	}	

        if(Current_Synth==KINO_BALL)
        {
            returnVal = "<p>This is a close-up view of a Kino from different angles.  The Kino is a flying camera ball.  The crew uses it to explore the ship, and it functions as a MALP before the go through the gate to a new planet. <a href='#' onclick='javascript:DoDoor(\"" + KINO_ROOM + "\")'>Click here to go back to the Kino room!</a></p>";
        }
        if(Current_Synth==AIR_SCRUBBER)
        {
                switch(id)
                {
                    case 0:
                        returnVal = "<p>This is the ship's CO2 scrubber.  It is an integral part of the life support system, as it filters Co2 out of the air. There are many scrubbers located throughout the ship and are recognizable by their specific cover panel.</p>";
                        break;
                    case 1:
                        returnVal = "<p>This is the ship's CO2 scrubber.  It is an integral part of the life support system, as it filters Co2 out of the air. There are many scrubbers located throughout the ship and are recognizable by their specific cover panel.</p>";
                        break;
                    case 2:
                        returnVal = "<p>This is the ship's air scrubber with canister.  It is an integral part of the life support system.  The canister hold the compound the Ancients used to scrub Co2 from the air.</p>";
                        break;
                    case 3:
                        returnVal = "<p>This is the ship's air scrubber with canister.  It is an integral part of the life support system.  The canister hold the compound the Ancients used to scrub Co2 from the air.</p>";
                        break;
                    default:
                        returnVal = "<p>This is the ship's CO2 scrubber.  It is an integral part of the life support system, as it filters Co2 out of the air. There are many scrubbers located throughout the ship and are recognizable by their specific cover panel.</p>";
                        break;
                }
        }

        if(Current_Synth==CONTROL_ROOM)
        {
                switch(id)
                {
                    case 0:
                        returnVal = "<p>A Door, corridor to the right leads to the Control Interface Room.</p>";
                        break;
		    case 1:
			returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
			break;
                    case 2:
                        returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
                        break;
                    case 3:
                        returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
                        break;
                    case 4:
                        returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
                        break;
                    case 5:
                        returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
                        break;
                    case 6:
                        returnVal = "<p>A Door</p>";
                        break;
                    case 7:
                        returnVal = "<p>A Door</p>";
                        break;
                    case 8:
                        returnVal = "<p>A Door, with a door controller on the right</p>";
                        break;
                    case 9:
                        returnVal = "<p>A door controller</p>";
                        break;
                    case 10:
                        returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
                        break;
                    case 11:
                        returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
                        break;
                    case 13:
                        returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
                        break;
                    case 15:
                        returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
                        break;
                    case 16:
                        returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
                        break;
                    case 17:
                        returnVal = "<p>Device with as yet unknown function</p>";
                        break;
                    case 19:
                        returnVal = "<p>This corridor leads to the Control Interface Room.</p>";
                        break;
                    case 28:
                        returnVal = "<p>Device with as yet unknown function</p>";
                        break;
                    case 29:
                        returnVal = "<p>Device with as yet unknown function</p>";
                        break;
                    case 30:
                        returnVal = "<p>Device with as yet unknown function</p>";
                        break;
                    case 31:
                        returnVal = "<p>Door Controller</p>";
                        break;
                    case 43:
                        returnVal = "<p>Control Room wall panel.  <a href='#' onclick='javascript:DoDoor(\"" + AIR_SCRUBBER + "\")'>Click here to look at the Air Scrubber.</a></p>";
                        break;
                    case 47:
                        returnVal = "<p>One of the Control Interface consoles in front of the Control Interface Hub.</p>";
                        break;
                    case 52:
                        returnVal = "<p>This is one of the Control Interface consoles.</p>";
                        break;
                    case 53:
                        returnVal = "<p>This is one of the Control Interface consoles.</p>";
                        break;
                    case 55:
                        returnVal = "<p>One of the Control Interface consoles in front of the Control Interface Hub.</p>";
                        break;
                    case 56:
                        returnVal = "<p>The Control Interface Hub.</p>";
                        break;
                    case 60:
                        returnVal = "<p>The Control Interface Hub.  Consoles in this room are tied directly into the Hub which is a conduit to all ship information but not control of all systems.</p>";
                        break;
                    case 61:
                        returnVal = "<p>The Control Interface Hub.  Consoles in this room are tied directly into the Hub which is a conduit to all ship information but not control of all systems. </p>";
                        break;
                    case 63:
                        returnVal = "<p>This is the Control Interface Hub. Consoles in this room are tied directly into the Hub which is a conduit to all ship information but not control of all systems.</p>";
                        break;
                    case 64:
                        returnVal = "<p>This is the Control Interface Hub. Consoles in this room are tied directly into the Hub which is a conduit to all ship information but not control of all systems.</p>";
                        break;
                    case 65:
                        returnVal = "<p>Control Room</p>";
                        break;

		    default:
			returnVal = "<p>defaultThe Control Room</p>";
			break;
		}
	}

        if(Current_Synth==KINO_ROOM)
        {
                switch(id)
                {
                    case 0:
                        returnVal = "<p>This corridor leads to the Kino room.  Eli has taken this room as his quarters.</p>";
                        break;
                    case 1:
                        returnVal = "<p>This corridor leads to the Kino room.  Eli has taken this room as his quarters.</p>";
                        break;
                    case 2:
                        returnVal = "<p>This is the Kino room's control console.  As with the ships other consoles, it displays Kino telemetry among other ship systems.</p>";
                        break;
                    case 3:
                        returnVal = "<p>This corridor leads to the Kino room.  Eli has taken this room as his quarters.</p>";
                        break;
                    case 4:
                        returnVal = "<p>This corridor leads to the Kino room.  Eli has taken this room as his quarters.</p>";
                        break;
                    case 5:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
                    case 6:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
		    case 7:
			returnVal = "<p>This is the Kino room's control console.  As with the ships other consoles, it displays Kino telemetry among other ship systems.</p>";
			break;
                    case 8:
                        returnVal = "<p>Kino room's control console.  As with the ships other consoles, it displays Kino telemetry among other ship systems.</p>";
                        break;
                    case 9:
                        returnVal = "<p>Controller</p>";
                        break;
                    case 13:
                        returnVal = "<p>The Kino dispenser. It manufactures and dispenses Kinos.  As one Kino is removed it automatically advances the existing and manufactures a new one.  The supply is theoretically limitless. - Time will tell.</p>";
                        break;
                    case 10:
                        returnVal = "<p>The Kino dispenser. It manufactures and dispenses Kinos.  As one Kino is removed it automatically advances the existing and manufactures a new one.  The supply is theoretically limitless. - Time will tell.</p>";
                        break;
                    case 11:
                        returnVal = "<p>The Kino dispenser. It manufactures and dispenses Kinos.</p>";
                        break;
                    case 12:
                        returnVal = "<p>The Kino dispenser. It manufactures and dispenses Kinos.  As one Kino is removed it automatically advances the existing and manufactures a new one.  The supply is theoretically limitless. - Time will tell.</p>";
                        break;
                    case 14:
                        returnVal = "<p>The Kino dispenser. It manufactures and dispenses Kinos. <a href='#' onclick='javascript:DoDoor(\"" + KINO_BALL + "\")'>Click here to look at a Kino Ball.</a></p>";
                        break;
                    case 15:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
                    case 16:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
                    case 17:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
                    case 18:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
                    case 19:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
                    case 20:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
                    case 21:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
                    case 22:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
                    case 23:
                        returnVal = "<p>Eli's bunk.</p>";
                        break;
                    case 24:
                        returnVal = "<p>This is Eli's discarded classified documents envelope.</p>";
                        break;
                    case 25:
                        returnVal = "<p>This is Eli's discarded classified documents envelope.</p>";
                        break;
                    case 27:
                        returnVal = "<p>Eli's math notes</p>";
                        break;
                    case 28:
                        returnVal = "<p>Eli's math notes</p>";
                        break;
                    case 29:
                        returnVal = "<p>Eli's math notes</p>";
                        break;
                    case 30:
                        returnVal = "<p>Eli's hat.</p>";
                        break;
                    case 31:
                        returnVal = "<p>Eli's hat.</p>";
                        break;
                    case 32:
                        returnVal = "<p>Eli's snapshots from the Kino footage.</p>";
                        break;
                    case 33:
                        returnVal = "<p>Eli's snapshots from the Kino footage.</p>";
                        break;
                    case 34:
                        returnVal = "<p>Eli's snapshots from the Kino footage.</p>";
                        break;
                    case 35:
                        returnVal = "<p>Eli's snapshots from the Kino footage.</p>";
                        break;
                    case 36:
                        returnVal = "<p>Eli's snapshots from the Kino footage.</p>";
                        break;
                    case 37:
                        returnVal = "<p>Eli's snapshots from the Kino footage.</p>";
                        break;
                    case 38:
                        returnVal = "<p>Eli's snapshots from the Kino footage.</p>";
                        break;
                    case 39:
                        returnVal = "<p>Eli's snapshots from the Kino footage.</p>";
                        break;
                    default:
                        returnVal = "<p>The Kino Room </p>";
                        break;
		}
	}	
	if(Current_Synth==CORIDOOR)
	{
		switch(id)
		{
		    case 0:
		        returnVal = "<p> On the right is a closed rectangular grey door, straight ahead is there is a closed door further down the corridor.  </p>";
		        break;
		    case 1:
		        returnVal = "<p> Close up of a door with the door control indicating that it is unlocked. </p>";
		        break;
		   case 3:
		        returnVal = "<p> Open door frame with the door controller on the right side of the door frame.  Further down the corridor is a closed door. </p>";
		        break;
		    case 4:
		        returnVal = "<p> Left side of open door frame showing wear and tear and a closed door further down the corridor </p>";
		        break;
		    case 5:
		        returnVal = "<p> Closed door straight ahead through an open door. </p>";
		        break;
		   case 7:
		        returnVal = "<p> Close view of wall detail with an undiscovered purpose. </p>";
		        break;
		    case 8:
		        returnVal = "<p> Closed door showing brownish stains. </p>";
		        break;
		    case 9:
		        returnVal = "<p> Right wall of the corridor showing wear and tear. </p>";
		        break;
		    case 10:
		        returnVal = "<p> Close up of the corridor's right wall. </p>";
		        break;
		    case 11:
		        returnVal = "<p> Closed door and wall detail with as yet unknown purpose. </p>";
		        break;
		    case 12:
		        returnVal = "<p> Longer view down the corridor through an open door.  A controller on the right of the door frame shows the open door to be unlocked. </p>";
		        break;
		    case 13:
		        returnVal = "<p> Through an open doorway looking towards a closed door. </p>";
		        break;
		    case 14:
		        returnVal = "<p> Corridor leading to a closed door. </p>";
		        break;
		   case 16:
		        returnVal = "<p>Wall of the corridor with a vent.  Door controller with the amber light showing the door is unlocked.  </p>";
		        break;
		    case 17:
		        returnVal = "<p> Close up of wall showing a vent and stains.  </p>";
		        break;
		    case 18:
		        returnVal = "<p> Closed door on the side of the corridor.  </p>";
		        break;
		    case 19:
		        returnVal = "<p> Close up of stains on the closed door on the side of the corridor.  </p>";
		        break;
		    case 20:
		        returnVal = "<p> Edge of door frame with stains.  </p>";
		        break;
		    case 21:
		        returnVal = "<p>Wall close up.  </p>";
		        break;
		    case 22:
		        returnVal = "<p>Close up of wall with a stained vent.  </p>";
		        break;
		    case 23:
		        returnVal = "<p>Door controller with the amber light indicating the door is unlocked.  The small blue light is the sensor for when the door is on auto.  </p>";
		        break;
		    case 24:
		        returnVal = "<p> Door controller on the right side of the door frame.  </p>";
		        break;
		    case 25:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 30:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 34:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 51:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 52:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 53:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 54:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 69:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 70:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 98:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 99:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 113:
                        returnVal = "<p> Closed door at the end of the corridor.  </p>";
                        break;
		    case 114:
		        returnVal = "<p> Closed door at the end of the corridor.  </p>";
		        break;
		    case 26:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 27:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 28:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 29:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 35:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 36:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 37:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 38:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 39:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 61:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 78:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 88:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 97:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 31:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 32:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 33:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 42:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 43:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 44:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 45:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 48:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 49:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 50:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 63:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 64:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 65:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 66:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 67:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 68:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 81:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 82:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 83:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 84:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 85:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 110:
                        returnVal = "<p>Wall of the corridor.  </p>";
                        break;
		    case 111:
		        returnVal = "<p>Wall of the corridor.  </p>";
		        break;
		    case 41:
                        returnVal = "<p> A closed door with the door controller indicating the door is unlocked. <a href='#' onclick='javascript:DoDoor(\"" + GATE_ROOM + "\")'>Click here to go see what's on the other side!</a></p>";
                        break;
		    case 46:
                        returnVal = "<p> A closed door with the door controller indicating the door is unlocked. <a href='#' onclick='javascript:DoDoor(\"" + GATE_ROOM + "\")'>Click here to go see what's on the other side!</a></p>";
                        break;
		    case 62:
                        returnVal = "<p> A closed door with the door controller indicating the door is unlocked. <a href='#' onclick='javascript:DoDoor(\"" + GATE_ROOM + "\")'>Click here to go see what's on the other side!</a></p>";
                        break;
		    case 100:
                        returnVal = "<p> A closed door with the door controller indicating the door is unlocked. <a href='#' onclick='javascript:DoDoor(\"" + GATE_ROOM + "\")'>Click here to go see what's on the other side!</a></p>";
                        break;
		    case 90:
                        returnVal = "<p> A closed door with the door controller indicating the door is unlocked. <a href='#' onclick='javascript:DoDoor(\"" + GATE_ROOM + "\")'>Click here to go see what's on the other side!</a></p>";
                        break;
		    case 59:
		        returnVal = "<p> A closed door with the door controller indicating the door is unlocked. <a href='#' onclick='javascript:DoDoor(\"" + GATE_ROOM + "\")'>Click here to go see what's on the other side!</a></p>";
		        break;
		    case 55:
                        returnVal = "<p> Close up of the wall.</p>";
                        break;
		    case 56:
		    case 57:
		    case 89:
		    case 103:
		    case 104:
		    case 105:
		    case 106:
		        returnVal = "<p> Close up of the wall.</p>";
		        break;
		    case 58:
                        returnVal = "<p> Center of closed door.</p>";
                        break;
		    case 60:
		        returnVal = "<p> Center of closed door.</p>";
		        break;
		    case 71:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 72:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 73:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 74:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 76:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 77:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 79:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 80:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 86:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 92:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 94:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 95:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 101:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 102:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 108:
                        returnVal = "<p> Close up of closed door and door controller.</p>";
                        break;
		    case 112:
		        returnVal = "<p> Close up of closed door and door controller.</p>";
		        break;
		    case 75:
                        returnVal = "<p> Close up of center of door showing layered cogs.</p>";
                        break;
		    case 87:
                        returnVal = "<p> Close up of center of door showing layered cogs.</p>";
                        break;
		    case 118:
                        returnVal = "<p> Close up of center of door showing layered cogs.</p>";
                        break;
		    case 119:
		        returnVal = "<p> Close up of center of door showing layered cogs.</p>";
		        break;
		    case 91:
		        returnVal = "<p> Door controller blue light showing the door is on auto, amber light indicating the door is unlocked.  Underneath the button there are small manual override buttons.</p>";
		        break;
		    case 93:
                        returnVal = "<p> Close up of center of door showing layered cogs. Some ancient writing can be seen around the center.</a>";
                        break;
		    case 96:
                        returnVal = "<p> Close up of center of door showing layered cogs. Some ancient writing can be seen around the center.</a>";
                        break;
		    case 107:
                        returnVal = "<p> Close up of center of door showing layered cogs. Some ancient writing can be seen around the center.</a>";
                        break;
		    case 117:
                        returnVal = "<p> Close up of center of door showing layered cogs. Some ancient writing can be seen around the center.</a>";
                        break;
		    case 120:
                        returnVal = "<p> Close up of center of door showing layered cogs. Some ancient writing can be seen around the center.</a>";
                        break;
		    case 121:
		        returnVal = "<p> Close up of center of door showing layered cogs. Some ancient writing can be seen around the center.</a>";
		        break;
		    case 122:
		        returnVal = "<p> Door controller with the blue light showing the door is on auto.  When the red light is lit the door is locked, the amber light is lit so the door is unlocked.  Underneath the 8 buttons are used for manual override or changing locking codes.</p>";
		        break;
		    case 47:
                                returnVal = "<p> A corridor aboard the Destiny. Explore it to find some hidden surprises! </p>";
                                break;
		    case 2:
                                returnVal = "<p> A corridor aboard the Destiny. Explore it to find some hidden surprises! </p>";
                                break;
		    case 15:
                                returnVal = "<p> A corridor aboard the Destiny. Explore it to find some hidden surprises! </p>";
                                break;
		    case 6:
                                returnVal = "<p> A corridor aboard the Destiny. Explore it to find some hidden surprises! </p>";
                                break;
		    case 115:
                                returnVal = "<p> A corridor aboard the Destiny. Explore it to find some hidden surprises! </p>";
                                break;
		    case 40:
                                returnVal = "<p> A corridor aboard the Destiny. Explore it to find some hidden surprises! </p>";
                                break;
			default:
				returnVal = "<p> A corridor aboard the Destiny. Explore it to find some hidden surprises! </p>";
				break;
			
		}
	}
	if(Current_Synth==GATE_ROOM)
	{
		switch(id) {

		    case 0:
		        returnVal = "<p>A front view of the Stargate aboard the Destiny </p>";
		        break;
		    case 1:
		        returnVal = "<p>Corner of the Destiny Gate room </p>";
		        break;
		    case 2:
                        returnVal = "<p>Next to the door is one of two hubs in this room. <a href='#' onclick='javascript:DoDoor(\"" + COFFEE_MAKER + "\")'>Click here to go see it in more detail!</a></p>";
			break;
		    case 3:
                        returnVal = "<p>Next to the door is one of two hubs in this room. <a href='#' onclick='javascript:DoDoor(\"" + COFFEE_MAKER + "\")'>Click here to go see it in more detail!</a></p>";
                        break;
		    case 52:
                        returnVal = "<p>Next to the door is one of two hubs in this room. <a href='#' onclick='javascript:DoDoor(\"" + COFFEE_MAKER + "\")'>Click here to go see it in more detail!</a></p>";
			break;
		    case 55:
		        returnVal = "<p>Next to the door is one of two hubs in this room. <a href='#' onclick='javascript:DoDoor(\"" + COFFEE_MAKER + "\")'>Click here to go see it in more detail!</a></p>";
		        break;
		    case 4:
		        returnVal = "<p>The corner of Destiny gate room. The staircase leads up to the gate room mezzanine.  To the left of the stairs is a console. <a href='#' onclick='javascript:DoDoor(\"" + RAISED_GATE + "\")'>Click here to go see the gate room from the mezzanine!</a></p>";
		        break;
		    case 5:
                        returnVal = "<p>The corner of Destiny gate room. The staircase leads up to the gate room mezzanine.  To the left of the stairs is a console. <a href='#' onclick='javascript:DoDoor(\"" + RAISED_GATE + "\")'>Click here to go see the gate room from the mezzanine!</a></p>";
                        break;
		    case 7:
                        returnVal = "<p>The corner of Destiny gate room. The staircase leads up to the gate room mezzanine.  To the right of the stairs is a console. <a href='#' onclick='javascript:DoDoor(\"" + RAISED_GATE + "\")'>Click here to go see the gate room from the mezzanine!</a></p>";
                        break;
		    case 56:
			returnVal = "<p>The staircase leads up to the mezzanine.  The door behind the stairs leads toward crew quarters. <a href='#' onclick='javascript:DoDoor(\"" + RAISED_GATE + "\")'>Click here to go see the gate room from the mezzanine!</a></p>";
			break;
		    case 6:
		        returnVal = "<p>The end of Destiny gate room. The staircases lead up to the gate room mezzanine.  There are two consoles in either corner.  Straight ahead, the corridor leads to the Nexus room. <a href='#' onclick='javascript:DoDoor(\"" + RAISED_GATE + "\")'>Click here to go see the gate room from the mezzanine!</a></p>";
		        break;
		    case 8:
                        returnVal = "<p>The Wall of the gate room</p>";
                        break;
		    case 60:
                        returnVal = "<p>A panel on the wall of the gate room. <a href='#' onclick='javascript:DoDoor(\"" + AIR_SCRUBBER + "\")'>Click here to go see the co2 scrubber</a></p>"; 
                        break;
		    case 61:
		        returnVal = "<p>A panel on the wall of the gate room. <a href='#' onclick='javascript:DoDoor(\"" + AIR_SCRUBBER + "\")'>Click here to go see the co2 scrubber</a></p>";
		        break;
		    case 9:
                        returnVal = "<p>Next to the door is one of two hubs in this room. <a href='#' onclick='javascript:DoDoor(\"" + COFFEE_MAKER + "\")'>Click here to go see it in more detail!</a></p>";
                        break;
		    case 62:
		        returnVal = "<p>Next to the door is one of two hubs in this room. <a href='#' onclick='javascript:DoDoor(\"" + COFFEE_MAKER + "\")'>Click here to go see it in more detail!</a></p>";
		        break;
		    case 10:
		        returnVal = "<p>Next to the door is one of two hubs in this room. <a href='#' onclick='javascript:DoDoor(\"" + COFFEE_MAKER + "\")'>Click here to go see it in more detail!</a></p>";
		        break;
		    case 11:
		        returnVal = "<p> The Wall of the gate room. </p>";
		        break;
                    case 34:
                        returnVal = "<p>Above the gate is the gate bearing.  It lights up briefly and goes out when symbols lock under it.  Once the puddle is formed the gate bearing stays lit while the gate is active.";
			break;
                    case 16:
                        returnVal = "<p>Above the gate is the gate bearing.  It lights up briefly and goes out when symbols lock under it.  Once the puddle is formed the gate bearing stays lit while the gate is active.";
			break;
		    case 12:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 13:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 14:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 15:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 19:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 20:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 21:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 22:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 23:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 24:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 25:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 26:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 32:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 33:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 44:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 45:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 46:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 47:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 48:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 49:
                        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
                        break;
		    case 50:
		        returnVal = "<p>This front view of the Stargate aboard the Destiny gives a close up view of one of its nine chevrons and its symbols.  The symbols correspond to symbols in the Destiny's DHD. </p>";
		        break;
		    case 17:
                        returnVal = "<p> The wall of the gate room.  The door controller on the wall indicates that the door is unlocked. </p>";
                        break;
		    case 18:
                        returnVal = "<p> The wall of the gate room.  The door controller on the wall indicates that the door is unlocked. </p>";
                        break;
		    case 38:
                        returnVal = "<p> The wall of the gate room.  The door controller on the wall indicates that the door is unlocked. </p>";
                        break;
		    case 41:
		        returnVal = "<p> The wall of the gate room.  The door controller on the wall indicates that the door is unlocked. </p>";
		        break;
		    case 27:
                        returnVal = "<p> This front view of the Stargate aboard the Destiny gives a close up view of where the gate meets the gate room floor. </p>";
                        break;
		    case 40:
                        returnVal = "<p> This front view of the Stargate aboard the Destiny gives a close up view of where the gate meets the gate room floor. </p>";
                        break;
		    case 51:
		        returnVal = "<p> This front view of the Stargate aboard the Destiny gives a close up view of where the gate meets the gate room floor. </p>";
		        break;
		    case 28:
                        returnVal = "<p> A close up view of the floor beneath the Stargate showing the in floor Chevron.  It supplies a visual to show the address locking prior to the gate activating.  The entire gate turns, so this shows the chevron that is hidden beneath the floor. </p>";
                        break;
		    case 39:
		        returnVal = "<p> A close up view of the floor beneath the Stargate showing the in floor Chevron.  It supplies a visual to show the address locking prior to the gate activating.  The entire gate turns, so this shows the chevron that is hidden beneath the floor. </p>";
		        break;
		    case 29:
                       returnVal = "<p> The wall of the gate room. </p>";
                        break;
		    case 30:
		        returnVal = "<p> The wall of the gate room. </p>";
		        break;
		    case 31:
                       returnVal = "<p> The wall of the gate room. </p>";
                        break;
		    case 35:
                       returnVal = "<p> The wall of the gate room. </p>";
                        break;
		    case 36:
                       returnVal = "<p> The wall of the gate room. </p>";
                        break;
		    case 37:
                       returnVal = "<p> The wall of the gate room. </p>";
                        break;
		    case 42:
                       returnVal = "<p> The wall of the gate room. </p>";
                        break;
		    case 43:
		        returnVal = "<p> The wall of the gate room. </p>";
		        break;
		    case 53:
                        returnVal = "<p> An ancient device located in the Destiny gate room.  The function of this device is yet to be discovered by the Destiny's new inhabitants. <a href='#' onclick='javascript:DoDoor(\"" + COFFEE_MAKER + "\")'>Click here to go see it in more detail!</a></p>";
                        break;
		    case 63:
		        returnVal = "<p> An ancient device located in the Destiny gate room.  The function of this device is yet to be discovered by the Destiny's new inhabitants. <a href='#' onclick='javascript:DoDoor(\"" + COFFEE_MAKER + "\")'>Click here to go see it in more detail!</a></p>";
		        break;
		    case 54:
		        returnVal = "<p> The wall door of the gate room. </p> <a href='#' onclick='javascript:DoDoor(\"" + CORIDOOR + "\")'>Click Here to go through it to see the Coridoor!</a></p>";
		        break;
		    case 57:
		        returnVal = "<p> The staircase leads up to the gate room mezzanine. Behind the stairs the door leads toward most quarters and the control interface room.</p>";
		        break;
		    case 58:
		        returnVal = "<p> The end of Destiny gate room.  There are two consoles in either corner.  Straight ahead, the corridor leads to the Kino room. <a href='#' onclick='javascript:DoDoor(\"" + KINO_ROOM + "\")'>Click Here to go through to the Kino Room</a></p>";
		        break;
		    case 59:
		        returnVal = "<p> The end of Destiny gate room.  Straight ahead, the corridor leads to the Kino room. <a href='#' onclick='javascript:DoDoor(\"" + KINO_ROOM + "\")'>Click Here to go through to the Kino Room</a></p>";
		        break;
		    case 64:
                        returnVal = "<p> The DHD (Dial Home Device) console.  The DHD is used to dial the Stargate aboard the Destiny. <a href='#' onclick='javascript:DoDoor(\"" + LIT_GATE + "\")'>Click here to go see the Stargate lit up with an address dialed!</a></p>";
                        break;
		    case 65:
		        returnVal = "<p> The DHD (Dial Home Device) console.  The DHD is used to dial the Stargate aboard the Destiny. <a href='#' onclick='javascript:DoDoor(\"" + LIT_GATE + "\")'>Click here to go see the Stargate lit up with an address dialed!</a></p>";
		        break;
		    case 66:
                        returnVal = "<p> This close up of the console which can be used as the DHD, but also can control many other things throughout the ship. <a href='#' onclick='javascript:DoDoor(\"" + LIT_GATE + "\")'>Click here to go see the Stargate lit up with an address dialed!</a></p>";
		    case 67:
		        returnVal = "<p> This close up of the console which can be used as the DHD, but also can control many other things throughout the ship. <a href='#' onclick='javascript:DoDoor(\"" + LIT_GATE + "\")'>Click here to go see the Stargate lit up with an address dialed!</a></p>";
		        break;    
			default:
			    returnVal = "<p> A front view of the Stargate aboard the Destiny </p>";
			break;
		}
	}
//	returnVal += id;
	return returnVal;
}
