// Image Data File
// for use with "The Life Support Site" gallery

// VARIABLE STRUCTURE:
// photo[topic number][photo number][property number]

var gallery = new Array("", "cpr/adult", "cpr/child", "cpr/adult/dummy", "choking/adult", "choking/child", "recovery_position/adult", "recovery_position/child", "misc/hyperthermia", "misc/hypothermia", "misc/bleeding", "misc/shock/adult", "misc/shock/child", "misc/action_for_vomit/adult", "misc/action_for_vomit/child", "blooper");

var photo = new Array(
				new Array (
					// no category chosen, show logo
					new Array (
						"logo_small.gif",
						"Please choose a gallery!",
						2
					)
				),
				
				new Array (
					// cpr/adult Category
					new Array (
						"1.jpg",
						"<b>CPR Adult</b> - \"You have just entered the room, show me what you would do\"",
						0
					),
					new Array (
						"2.jpg",
						"<b>Check for Dangers</b> - anything that might harm you or the casualty, or might impede your actions. Here, the chair and scissors need attention.",
						1
					),
					new Array (
						"3.jpg",
						"(Here) Remove the chair.",
						1
					),
					new Array (
						"4.jpg",
						"(Here) Remove the scissors to make them safe.",
						0
					),
					new Array (
						"5.jpg",
						"When handling items which might be dangerous yourself, <b>always observe the proper precautions</b>.",
						0
					),
					new Array (
						"6.jpg",
						"There is a ring on the casualty's finger - <b>never remove any jewellery</b>. You may later be accused of theft or the casualty may become agitated on discovery of the missing item.",
						0
					),
					new Array (
						"7.jpg",
						"<b>Check the Casualty Response</b> - shake lightly on the shoulders and ask \"Hello, can you hear me?\".",
						0
					),
					new Array (
						"8.jpg",
						"<b>Call for Help</b> - if a bystander arrives, instruct the person to call an ambulance.",
						1
					),
					new Array (
						"9.jpg",
						"<b>Turn the Casualty</b> - place the nearest arm to you straight out above the head.<br />Note: St. John's Ambulance Stage 1 will have a casualty already face up.",
						0
					),
					new Array (
						"10.jpg",
						"Place the <b>legs together</b>.",
						0
					),
					new Array (
						"11.jpg",
						"Place the <b>arm furthest from you next to the casualty's side</b>.",
						0
					),
					new Array (
						"12.jpg",
						"<b>Check for harmful objects</b> on the side which you will turn the casualty. Feel down the side, and check the pocket in particular. If a watch or glasses are worn, remove them and place nearby.",
						0
					),
					new Array (
						"13.jpg",
						"Ensure the <b>head is facing away from you</b>.",
						0
					),
					new Array (
						"14.jpg",
						"Turn over by placing your hands on the shoulder and hip (arm too if possible). Catch the head half way down (shown here).",
						0
					),
					new Array (
						"15.jpg",
						"Place the casualty's <b>arm next to their side</b>",
						0
					),
					new Array (
						"16.jpg",
						"<b>Ensure the casualty's legs are together</b> - they can come apart in turning.",
						0
					),
					new Array (
						"17.jpg",
						"<b>Open and Check the Airway</b> - tilt the head back as far as possible and open the mouth. Check for obstructions in the mouth which could be obstructing breathing.",
						0
					),
					new Array (
						"18.jpg",
						"<b>Check Breathing</b> for 10 seconds - Look, Listen and Feel. Look for the chest rising and listen for exhailing with your ear and feel any air exhailed.",
						0
					),
					new Array (
						"19.jpg",
						"<b>No Breathing</b> - phone an Ambulance and continue.<br /><b>Breathing</b> - place in the recovery position and phone an ambulance.",
						0
					),
					new Array (
						"20.jpg",
						"<b>Begin Chest Compressions</b> - find the V shape in the person's chest made by the ribs and place your middle finger here.<br />Note: Due to recent changes in the syllabus, you are now expected to instantly find the correct location. ",
						0
					),
					new Array (
						"21.jpg",
						"Place your index finger next to your middle finger.<br />Note: Due to recent changes in the syllabus, you are now expected to instantly find the correct location.",
						0
					),
					new Array (
						"22.jpg",
						"Using two hands intertwined, place the base of the lower palm next to the index finger.<br />Note: Due to recent changes in the syllabus, you are now expected to instantly find the correct location.",
						0
					),
					new Array (
						"23.jpg",
						"<b>Give 30 Compressions</b> - remember to pull the top of your hands up, and to compress to 4-5 centimetres.",
						0
					),
					new Array (
						"24.jpg",
						"<b>Give 2 effective Breaths</b> - using mouth to mouth give 2 breaths, administering up to 5 if some do not go in. Hold the nose to prevent air escape. On a healthy casualty, breathe over the top.",
						0
					),
					new Array (
						"25.jpg",
						"Another view of 2 effective breaths, showing how to breathe over the top when practicing on a healthy casualty.",
						0
					),
					new Array (
						"26.jpg",
						"<b>Repeat 30 Compressions to 2 Breaths</b> until professional or more experienced help arrives.",
						0
					)
				),
				
				new Array (
					// cpr/child
					new Array (
						"1.jpg",
						"<b>CPR Child</b> - \"You have just entered the room, show me what you would do\".",
						0
					),
					new Array (
						"2.jpg",
						"<b>Check for Dangers</b> - anything that might harm you or the casualty, or might impede your actions.",
						1
					),
					new Array (
						"3.jpg",
						"<b>Check the casualty Response</b> - shake lightly on the shoulders and ask \"Hello, can you hear me?\".",
						0
					),
					new Array (
						"4.jpg",
						"Call for <b>help</b>. If a bystander arrives, instruct the person to call an ambulance.",
						0
					),
					new Array (
						"5.jpg",
						"<b>Turn the Casualty</b> - Place the <b>arm furthest from you next to the casualty's side</b>.",
						0
					),
					new Array (
						"6.jpg",
						"Place the nearest arm to you straight out above the head.",
						0
					),
					new Array (
						"7.jpg",
						"Place the <b>legs together</b>.",
						0
					),		
					new Array (
						"8.jpg",
						"Ensure the <b>head is facing away from you</b>, and check for harmful objects on the side which you will turn the casualty.",
						0
					),			
					new Array (
						"9.jpg",
						"Turn over by placing your hand on the shoulder and hip (arm too if you can). Catch the head half way down.",
						0
					),
					new Array (
						"11.jpg",
						"Place the casualty's <b>arm next to their side</b> and ensure the casualty's legs are together.",
						0
					),
					new Array (
						"12.jpg",
						"<b>Open and Check the Airway</b> - tilt the head back as far as possible and open the mouth. Check for obstructions in the mouth which could be obstructing breathing.",
						0
					),
					new Array (
						"13.jpg",
						"<b>Check Breathing</b> for 10 seconds - Look, Listen and Feel. Look for the chest rising, listen for exahling with your ear and feel any air exhailed. If breathing, begin the recovery position and phone an ambulance.",
						0
					),
					new Array (
						"14.jpg",
						"<b>Give 5 effective Breaths</b> - using mouth to mouth give 5 breaths. Hold the nose to prevent air escape. On a healthy casualty, breathe over the top.",
						0
					),
					new Array (
						"15.jpg",
						"<b>Give 30 Compressions</b> - remember to only use one hand and administer to one third of the chest depth.",
						0
					),
					new Array (
						"14.jpg",
						"<b>Give 2 effective Breaths</b> - using mouth to mouth give 2 breaths, administering up to 5 if some do not go in. Hold the nose to prevent air escape. On a healthy casualty, breathe over the top.",
						0
					),
					new Array (
						"16.jpg",
						"Repeat 30 compressions to 2 breaths. <b>After 1 minute</b> phone an ambulance, then return and continue 30 compressions to 2 breaths.",
						1
					)
				),
				
				new Array (
					// cpr/adult/dummy Category
					new Array (
						"1.jpg",
						"<b>CPR Adult (Dummy)</b> - \"You have just entered the room, show me what you would do\". Check for Dangers, anything that might harm you or the casualty, or might impede your actions.",
						0
					),
					new Array (
						"2.jpg",
						"<b>Check the casualty Response</b> - shake lightly on the shoulders and ask \"Hello, can you hear me?\".",
						0
					),
					new Array (
						"3.jpg",
						"<b>Call for Help</b> - if a bystander arrives, instruct the person to call an ambulance.",
						0
					),
					new Array (
						"4.jpg",
						"<b>Open and Check the Airway</b> - tilt the head back as far as possible and open the mouth. Check for obstructions in the mouth which could be obstructing breathing.",
						0
					),
					new Array (
						"5.jpg",
						"<b>Check Breathing</b> for 10 seconds - Look, Listen and Feel. Look for the chest rising, listen for exahling with your ear and feel any air exhailed.",
						0
					),
					new Array (
						"6.jpg",
						"<b>No Breathing</b> - phone an Ambulance and continue.<br /><b>Breathing</b> - place in the recovery position and phone an ambulance.",
						0
					),
					new Array (
						"8.jpg",
						"<b>Begin Chest Compressions</b> - find the V shape in the person's chest made by the ribs and place your middle finger here. Slide your other hand down from the casualty's throat. Note: Due to recent changes in the syllabus, you are now expected to instantly find the correct location. These photos are still provided for reference and for beginners.",
						0
					),
					new Array (
						"10.jpg",
						"<b>Give 30 Compressions</b> - remember to pull the top of your hands up, and to compress to 4-5 centimetres.",
						0
					),
					new Array (
						"12.jpg",
						"<b>Give 2 effective Breaths</b> - using mouth to mouth give 2 breaths, administering up to 5 if some do not go in. Hold the nose to prevent air escape. On a healthy casualty, breathe over the top.",
						0
					),
					new Array (
						"13.jpg",
						"<b>Repeat 30 Compressions to 2 Breaths</b> until professional or more experienced help arrives.",
						0
					)
				),
				
				new Array (
					// choking/adult
					new Array (
						"1.jpg",
						"<b>Choking (Adult)</b> - a choking casualty is likely to be clutching the throat, may have a red face and may be struggling to breathe.",
						1
					),
					new Array (
						"2.jpg",
						"If choking is mild, administer <b>back slaps</b> and <b>encourage to cough</b>.",
						1
					),
					new Array (
						"3.jpg",
						"When choking is serious, perform <b>abdominal thrusts</b> (pull hands in and up from this position) on an ADULT casualty. If the casualty becomes unconcious, start CPR. <i>Warning: Never perform on a simulated casualty!</i>",
						1
					)
				),
				
				new Array (
					// choking/child
					new Array (
						"1.jpg",
						"<b>Choking (Child)</b> - a choking casualty is likely to be clutching the throat, may have a red face and may be struggling to breathe.",
						1
					),
					new Array (
						"2.jpg",
						"If choking is mild, administer <b>back slaps</b> and <b>encourage to cough</b>. If serious, perform <b>abdominal thrusts</b>.",
						1
					)
				),
				
				new Array (
					// recovery_position/adult
					new Array (
						"1.jpg",
						"<b>Recovery Position</b> - in Life Support exams, you begin the recovery position on a breathing casualty after having performed the CPR sequence and ascertained CPR is unnecessary. For St. John's Ambulance candidates, you should perform AMEGA and DR.AB from here.",
						0
					),
					new Array (
						"2.jpg",
						"Although you should not remove jewellery, a watch that may be broken in the procedure can be removed and placed near the casualty. Ensure the paramedics take it when they arrive.",
						0
					),
					new Array (
						"3.jpg",
						"Feel down the side of the casualty to ensure there are no sharp objects which may damage the casualty when rolled over.",
						0
					),
					new Array (
						"4.jpg",
						"Place the hand nearest you into a stop sign, with the elbow at a ninety degree angle.",
						0
					),
					new Array (
						"5.jpg",
						"Place the <b>back</b> of the casualty's hand against the casualty's cheek. <i>DO NOT</i> remove your hand or the casualty's arm will fall back down.",
						0
					),
					new Array (
						"6.jpg",
						"By placing your other hand under the casualty's furthest knee, pull upwards so the knee is in the position shown. Do not remove your hand or the knee will fall over.",
						0
					),
					new Array (
						"7.jpg",
						"Pull the knee towards you and the rest of the casualty's body will follow it.",
						0
					),
					new Array (
						"8.jpg",
						"The casualty will look similar to this once rolled over.",
						0
					),
					new Array (
						"9.jpg",
						"Put the leg which you used as a lever into a 90 degree angle. This will prevent the casualty from rolling over.",
						0
					),
					new Array (
						"10.jpg",
						"Tilt the head back and open the mouth, thus opening the airway and providing a route for any vomit to leave the casualty should vomitting occur.",
						0
					),
					new Array (
						"11.jpg",
						"Ensure that the casualty's arm is not pressing on the other arm, or circulation will be cut off. Move the bottom arm if this is the case.",
						0
					),
					new Array (
						"12.jpg",
						"Completed Recovery Position.",
						0
					)
				),
				
				new Array (
					// recovery_position/child
					new Array (
						"1.jpg",
						"<b>Recovery Position</b> - in Life Support exams, you begin the recovery position on a breathing casualty after having performed the CPR sequence and ascertained CPR is unnecessary. Although you should not remove jewellery, a watch that may be broken in the procedure can be removed and placed near the casualty. Ensure the paramedics take it when they arrive.",
						0
					),
					new Array (
						"2.jpg",
						"Place the hand nearest you into a stop sign, with the elbow at a ninety degree angle. Feel down the side of the casualty to ensure there are no sharp objects which may damage the casualty when rolled over.",
						0
					),
					new Array (
						"3.jpg",
						"Place the <b>back</b> of the casualty's hand against the casualty's cheek. <i>DO NOT</i> remove your hand or the casualty's arm will fall back down.",
						0
					),
					new Array (
						"4.jpg",
						"By placing your other hand under the casualty's furthest knee, pull upwards so the knee is in the position shown. Do not remove your hand or the knee will fall over.",
						0
					),
					new Array (
						"5.jpg",
						"Pull the knee towards you and the rest of the casualty's body will follow it.",
						0
					),
					new Array (
						"6.jpg",
						"Put the leg which you used as a lever into a 90 degree angle. This will prevent the casualty from rolling over.",
						0
					),
					new Array (
						"7.jpg",
						"Ensure that the casualty's arm is not pressing on the other arm, or circulation will be cut off. Move the bottom arm if this is the case.",
						0
					),
					new Array (
						"8.jpg",
						"Tilt the head back and open the mouth, thus opening the airway and providing a route for any vomit to leave the casualty should vomitting occur.",
						1
					),					
					new Array (
						"9.jpg",
						"Completed Recovery Position.",
						0
					)
				),
				
				new Array (
					// misc/hyperthermia
					new Array (
						"1.jpg",
						"<b>Hyperthermia</b> (the casualty is too hot) - instruct to remove as much clothing as possible.",
						1
					),
					new Array (
						"2.jpg",
						"As seen here, a ridiculous quantity of clothing is being worn.",
						1
					),
					new Array (
						"3.jpg",
						"If necessary, help the casualty in removing clothing, but do so slowly and carefully.",
						1
					),
					new Array (
						"4.jpg",
						"If the casualty can remove clothing themselves, this is better than doing so yourself. Without leaving the casualty, look for a source of cool water or a cool item.",
						1
					),
					new Array (
						"5.jpg",
						"Provide a still, cool (not extremely cold) drink to the casualty. Here, the rescuer is fanning the casualty with a magazine. You should contact the emergency services when hyperthermia is severe.",
						1
					)
				),
				
				new Array (
					// misc/hypothermia
					new Array (
						"1.jpg",
						"<b>Hypothermia</b> (the casualty is too cold) - obvious signs include shiverring, a pale complexion and confusion.",
						1
					),
					new Array (
						"2.jpg",
						"Instruct to drink a warm/lukewarm (not hot) drink. Never remove any wet clothing from the casualty.",
						1
					),
					new Array (
						"3.jpg",
						"Place many layers on the casualty. Avoid leaving the casualty alone wherever possible.",
						0
					),
					new Array (
						"4.jpg",
						"The casualty has a lot of clothes and warm items on top of him. You should contact the emergency services when hypothermia is severe.",
						0
					)
				),
				
				new Array (
					// misc/bleeding
					new Array (
						"1.jpg",
						"<b>Bleeding</b> - during an art project, bleeding begins upon being stabbed by scissors.<br />Note: No Humans were hurt in the making of these pictures.",
						1
					),
					new Array (
						"2.jpg",
						"Untreated, bleeding can continue for some time, and can also begin to look extremely bad. This can worry the casualty.",
						0
					),
					new Array (
						"3.jpg",
						"Calm the casualty down, as a person can enter shock on the sight of blood, which can kill.",
						1
					),
					new Array (
						"4.jpg",
						"Apply pressure to the wound, preferably with a clean object, and elevate above the heart to stem the bleeding. Contact emergency services if severe.",
						1
					)
				),
				
				new Array (
					// misc/shock/adult
					new Array (
						"1.jpg",
						"<b>Shock</b> (hypovolemic shock) - treat by instructing the casualty to raise their legs. Provide a cushion for the head where possible. If there is no object around for the casualty to rest their legs on, support the legs yourself.",
						0
					)
				),
				
				new Array (
					// misc/shock/child
					new Array (
						"1.jpg",
						"<b>Shock</b> (hypovolemic shock) - treat by instructing the casualty to raise their legs. Provide a cushion for the head where possible. If there is no object around for the casualty to rest their legs on, support the legs yourself.",
						0
					)
				),
				
				new Array (
					// misc/action_for_vomit/adult
					new Array (
						"1.jpg",
						"<b>Action for Vomit</b> - use when the casualty is lying on their back and begins vomitting. Place one hand on the shoulder and one on the hip.",
						0
					),
					new Array (
						"2.jpg",
						"Roll away from you, and catch the head. Keep one hand on the hip during the roll and use your knees to support the casualty.",
						0
					),
					new Array (
						"3.jpg",
						"Using the casualty's other hand, clean any vomit away from the mouth. Roll back carefully when vomitting has stopped, paying particular attention to the head.",
						0
					)
				),
				
				new Array (
					// misc/action_for_vomit/child
					new Array (
						"1.jpg",
						"<b>Action for Vomit</b> - use when the casualty is lying on their back and begins vomitting. Place one hand on the shoulder and one on the hip. Roll away from you, and catch the head. Keep one hand on the hip during the roll and use your knees to support the casualty.",
						0
					),
					new Array (
						"2.jpg",
						"Using the casualty's other hand, clean any vomit away from the mouth. Roll back carefully when vomitting has stopped, paying particular attention to the head.",
						0
					)
				),
				
			new Array (
					// blooper
					new Array (
						"1.jpg",
						"<b>Blooper Reel</b> - Trying to get red faced for the hyperthermia photographs!",
						1
					),
					new Array (
						"2.jpg",
						"Is an unconscious casualty, with no heart beating, meant to be laughing? (This is one of numerous photos like this, but we don't have enough storage space for them all!)",
						0
					),
					new Array (
						"3.jpg",
						"Woo! The Cup on Head Sequence!",
						1
					),
					new Array (
						"4.jpg",
						"Praying to the cup?",
						0
					),
					new Array (
						"5.jpg",
						"Is there any danger? I don't know...",
						1
					),
					new Array (
						"6.jpg",
						"Perhaps best if we don't use our Primary Coach's mug, it might insult our German friends and team member!",
						1
					),
					new Array (
						"7.jpg",
						"Pretending to be hot...",
						1
					),
					new Array (
						"8.jpg",
						"...still pretending to be hot...",
						1
					),
					new Array (
						"9.jpg",
						"You are meant to be freezing cold, not laughing!",
						1
					),
					new Array (
						"10.jpg",
						"Slight over-reaction at the sight of blood, I think...",
						1
					),
					new Array (
						"11.jpg",
						"Having a break :-)",
						0
					),
					new Array (
						"12.jpg",
						"Don't eat that sandwich! You just bled on it during an incident!",
						0
					),
					new Array (
						"13.jpg",
						"You give the bystander a mobile phone to call an ambulance... What do you think this guy is going to do?",
						1
					),
					new Array (
						"14.jpg",
						"This is ridiculous, people...",
						0
					),
					new Array (
						"15.jpg",
						"Go which way?",
						0
					),
					new Array (
						"16.jpg",
						"Some say that he can cycle to school faster than a car... Some say that he cuts his lawn with nail clippers...<br />All we know, is he's called 'The Stig'... (Not Really...)",
						1
					),
					new Array (
						"17.jpg",
						"The End. Thanks for watching - we had a great laugh with this lot!",
						0
					)					
				)
			);		