var lr2007 = [
["Light Racers 2007","Pictures from the first Great Light Racer Championship, Farmington, UT, 2007","lr2007"],

["DSC00216","MESA kids","Cammy, Melanie, Jimmy and Jeff",true],
["DSC00230","Lebaron-Eddington","Jeff, Talon and Jimmy Lebaron, and Tyler Eddington working on their Light Racers",true],
["DSC00244","Light Racer Graduation","",true],
["DSC00249","Second Generation Pirates","Corin Turner, Lindsey Leafblad, Quinn Turner, Timmy Leafblad",true],
["DSC00252","Hot Rods","",true],
["DSCF3823","Jeff and Talon LeBaron","",true],
["DSCF3843","Team MESA pit stop","Jimmy LeBaron",true],
["DSCF3832","Light Racer First Aid","Jeff, Sue, and Talon LeBaron",true],
["DSCF3835","Team MESA","",true],
["DSCF3840","The McGill Racer","",true],
["DSCF3841","Stranded on the moon","Danny, Jeffery, Timmy and Lindsey Leafblad, Quinn and Corin Turner",true],
["DSCF3847","Team Flora","",true],
["DSCF3851","Pirates taking the lead","",true],
["DSC00228","It's a wedding cage! it's a shopping basket!","Technology Tycoons's Multi-Directional Light Racer",true],
["DSC00229","Team MESA line up","",true],
["DSC00256","Kid Racers and Michael Flora","",true]
];

var bp2007 = [
["Beam Power 2007","Pictures from the 2007 Beam Power Challenge, Farmington, UT, 2007","bp2007"],
["200710228586","2007 Race Track","",true],
["DSC00339","2007 Race Track - Night Shot","",true],
["DSC00467","2007 Race Track - Twilight Shot","",true],

//USST
["DSC00473","USST at bottom of Race Track","",true],
["DSC00472","USST at bottom of Race Track - Zoomed In","",true],
["sr02-191007-lg","USST in mid Track","(Night vision false color)",true],
["sr04-181007-lg","USST climber showing laser beam signature","(Night vision false color)",true],
["usst12","USST power beaming station","transfering power to the climber",true],
["DSC00476","USST climber lit bright","by power beam",true],
["DSC00015","USST climber","close up",true],
["DSC00431","USST climber","on travel cart - daytime",true],
["DSC00364","USST climber","on travel cart - nighttime",true],
["DSC00369","Rare glimpse","into USST power beaming source",true],
["DSC00379","USST power beaming source","moving into position",true],
["DSC00480","USST group picture","",true],

//KCSP
["sr06-211007-lg","KCSP climber in mid-track","Utah scenary as backdrop",true],
["DSC00017","KCSP magic sight","",true],
["DSCN2603","KCSP magic sight - demonstrated","Red dot shows where reflected light beam will go",true],
["DSC00018","KCSP Climber","close up",true],
["DSCN2636","KCSP climber, very bright","good aiming job by mirrors",true],
["DSCF7243","Captain Turner, Crew, and Guests","",true],
//LM
["200709228210","Lasermotive vertical treadmill","On the floor of Climber Row",true],
["200710118465","Lasermotive through-the-PV-array shot","",true],
["200710188560","Lasermotive PV array shot","",true],
["200710198567","Lasermotive vertical treadmill","",true],
["200710198568","Lasermotive climber","close-up",true],
["DSCN2640","Lasermotive vertical treadmill","standing in climber row",true],

//UBC
["DSC00010","UBC lightweight PV array","",true],
["DSC00302","UBC mirror brought into position","",true],
["DSC00305","UBC mirror in position","",true],
["DSC00308","UBC mirror and tether","",true],

//ETC
["DSC00025","E-T-C climber close-up","",true],
["DSC00347","E-T-C getting set up","",true],
["DSC00350","E-T-C on ribbon","",true],
["E-T-C_Beam_071021","E-T-C search lights","",true],
["E-T-C_Climber_2007_on_ribbon","E-T-C Dragonfly at night","",true],
["picture-3","E-T-C at the bottom of the ribbon","",true],
["picture-4","E-T-C at the bottom of the ribbon","",true],
["Team_Photo_071021","E-T-C Team Photo","",true]
];


var ts2007 = [
["Tether Strength 2007","Pictures from the 2007 Tether Strength Challenge, Farmington, UT, 2007","ts2007"],

["DSC00264","House Tethers","Proud workmanship of Dr. Bradley C. Edwards",true],

["DSC00279","The Astroaraneae Tether","Michael Remington, Team Leader",true],

["DSC00289.cropped","Astroaraneae:1 MIT:0","Team Astroaraneae beats MIT's CNT tether.<br>Re-match scheduled for 2008",true]
];


var sd2006 = [
["I&Q week 2006","Pictures from shakedown procedures, Las Cruces, NM, 2006","sd2006"],

["DSCF2807","Here will be magic","Still empty I&Q week work area, at the county fair building"],
["CimberAssemblyHall1","10 teams","At our very own Olympic Village"],
["Photo_10.4","Top of Ribbon","Ben Shelef and Dave Carty working on the top-of-climb mechanism"],
["AllHandsMeeting1","No Parking","Team Briefing"],
["DSCN1177","Boys and Toys","Ben Shelef and Dave Carty of Spaceward"],

["BrianTurnerWorking","Bright Idea","Brian Turner working on the 2nd stage Solar Concentrator"],
["DSCF2799","Big Brother and the Holding Company","Brian Turner of the Kansas City Space Pirates, and li'l sis"],
["DSCF2809","When in doubt, pack","Brian Turner's modest travel toolset"],
["DSCF2811","Damn the Torpedoes, full speed ahead","Brian's mom, positioning one of his 15(!) solar light reflectors"],
//["DSCF2813","Brian's mom again","Brian's mom hauling some more mirrors"],
["DSCF2812","Full Tilt Boogie","The Solar Concentrator will have 20 of these mirrors, all pointing at the climber."],
["MS 2006 EG (28)","Mirror Line-up","Several of Kansas City's Solar Collector mirrors"],
["MS 2006 EG (20)","Mirror Mirror","Marc Schwager and a close up of one of Kansas City's Solar Collector mirrors"],
["KCSpacePiratesReflectors1","More Mirrors","KCSP's mirror lineup"],
["DSCF2842","Family Gathering","About half of the KCSP team, discussing last-minute improvements"],
["20061017KCSPQualifying006","KSCP","on the transport pad"],
["KCSpacePiratesStuckAtTheTop","KCSP","Qualifying"],

["DSCF2863","TurboCrawler","With KCSP in the background"],
["DSCF2846","TurboCrawler","Turbo Light Source"],
["DSCF2854","TurboCrawler","Turbo at night"],

["SpaceMinersPersonnel","Spaceminers",""],

["MS 2006 EG (145)","Microwave Alley","Punkworks' Microwave Beam transmitter"],
["PunkworksDish","Punkworks","Microwave 30 seconds on High"],
["Photo_102206_006","Punkworks","At the starting line"],

["DSCF2860","MClimber","Julie Bellerose taking the first manned Space Elevator ride"],
["DSCF2867","MClimber","Night shot 1"],
["DSCF2868","MClimber","Night shot 2"],
["DSCF2869","MClimber","Night shot 3"],

["StarclimberArray","Climber One","Stronger, Ligher, Cheaper<br>Low-cost large-area PV receiver"],
["Photo_10.1","Climber One","Matt assembling his PV collector"],
["DSCF2843","TurboCrawler","Matt working on the control logic"],
["MattAbramsMakingRepairs","Climner One","Matt working on the drive mechanism"],

["DSCF2837","USST","In a Pizza Boc"],
["Seida 061023_xprize_hmed12p.h2","USST","Through a mirror"],

["Photo_101806_003","LiteWon","Getting assembled for qualification"],

["ClimberLights","Snowstar's and MClimber's lights sources","with Spaceward's Dave Carty and Ben Bakhshi"]

];

var bp2006 = [
["Power Beaming 2006","Pictures from the 2006 games, at the X-Prize Cup, Las Cruces, NM, 2006","bp2006"],

["MS 2006 EG (137)","Who's on first","Dr. Brad Edwards and Meekk Shelef arranging the line-up"],
["David Ken & Ben - Elevator Men","Ken and Ben","Your friendly neighborhood elevator service crew"],

["MS 2006 EG (131)","Kansas City Space Pirates","The Pirate Ship, still at bay"],
["MS 2006 EG (182)","Kansas City Space Pirates","Shifting gears"],
["MS 2006 EG (181)","Kansas City Space Pirates","Note the superbright Solar Cell bar"],
["be.3.seday2.sm","KCSP",""],


["MClimberGettingReady","MClimber and searchlights","ready to go"],
["MS 2006 EG (75)","MClimber","Getting going"],
["MS 2006 EG (78)","MClimber","About half way up"],
//["MS 2006 EG (79)","MClimber",""],
["MS 2006 EG (81)","Are we there yet?","MClimber getting close"],
["MClimber1","MClimber","Shining bright"],
["MS 2006 EG (76)","MClimber","going up, as the crowd watches"],
["MS 2006 EG (82)","MClimber","going up, as the crowd watches"],

["MS 2006 EG (91)","TurboCrawler","On the way to the track"],
["MS 2006 EG (114)","TurboCrawler","Being positioned for a climb"],
["MS 2006 EG (158)","TurboCrawler","Getting attached to the ribbon"],
["MS 2006 EG (117)","TurboCrawler","Getting attached to the ribbon 2"],	
["TurboCrawler at the top","TurboCrawler","At the top of the ribbon"],

["MS 2006 EG (106)","Runway Congestion","USST in the foreground, TurboCrawler in the background"],

["MS 2006 EG (102)","USST","Being prepared for a climb"],
["MS 2006 EG (206)","USST at bay","Last year's climber became this year's test stand"],
["MS 2006 EG (202)","USST","Burning Rubber"],
["be.7.seday2.sm","USST","At the top of the ribbon - 57 seconds"],
["USST at the top","USST","At the top again -<br>2 seconds shy of claiming the prize"],

["MS 2006 EG (146)","The Bat Climber","Matt Abrams, aided by Elisenda Bou from team Recens"],
["MS 2006 EG (191)","Team Fusion","Matt Abrams and the Elisenda from Team Recens"],
["MS 2006 EG (190)","The Bat Climber","Going up?  Climber One shimmers in the sun"],

["MS 2006 EG (162)","LiteWon","Taking off"],
["MS 2006 EG (212)","LiteWon","Showing its colors"],
["LiteWon at the top","LiteWon","At the top"],

["SnowstarLastAdjustment","Snowstar","Final Adjustments"],
["SnowstarIlluminated","Snowstar","Illuminated"],
["X PRIZE CUP 2006 Photos 047","Snowstar","at the starting line"],
["DSCN1240","Snowstar","About to get going"]

]

var ts2006 = [
["Tether competition 2006","pictures from the 2006 Tether Competition","ts2006"],

["X PRIZE CUP 2006 Photos 068","Tether","Team AstroAraneae - headed by Michael Remington"],
["Edwards be.1.seday2.sm","Tether","Fireball !"],
["DSCN1244","Tether and reference band","on tether pull machine"],
["be.2.seday2.sm","House Tether","Survives another year"],
["X PRIZE CUP 2006 Photos 069","Science!","Ben Shelef of Spaceward confirming tether length.<br>If the magnets fit - the team must quit!"],
["X PRIZE CUP 2006 Photos 057","The fine points","Pre competition briefing of tether team leads"],
["X PRIZE CUP 2006 Photos 073.cropped","Pump Action","Isaac Mazor of Spaceward and Ken Davidian of NASA CC"],
["X PRIZE CUP 2006 Photos 074.cropped","Tensions Rise","Isaac Mazor of Spaceward and Ken Davidian of NASA CC"],
["X PRIZE CUP 2006 Photos 066","Tether Fight","Ben (Spaceward) and Flint (Centaurus)<br> arguing the rules, while Bryan (fireball),<br> Michael (Astroaranea) and Patrick Littlejohn (UBC) look on."]
];

var crewPix = [
["The Crew","Pictures of the folks that worked their behind off to make this event happen","crewPix"],
["DSC_1132","Falline, Meekk, and Ben","At the tether competition site"],
["102005(9)","Meekk and Ania","Meekk in the Spaceward office. (the one on the phone)"],
["102005(25)","Vern and Marc","Vern McGeorge (right) and Marc Schwager, who practically ran the show at the Spaceward office"],
["DSCN0581","Pad Man","Dave Carty, Spaceward's A/V guy, managing base pad operations."],
["DSCN0447","That's a Roger, Roger.", "Roger Gilbertson of Mondotronics is working on the top-of-ribbon end-of-travel electric circuit, which was (regretably) never used this year :)"],
["DSCN0580","All hands on deck","Gad Shelef, owner of Gizmonics, lending a hand with one of the guy wires."],
["DSCN0582","","Erez of Gizmonics handling the other guy wire and obviously having a good time at it."],
["DSCN0462","Ania Furball","So named since her favorite place is on you.  get it?"],
["DSC_1107","My Pleasure","Ben taking a bow after the first successful powered climb."],
["FionaZhang","Fiona Zhang","Says Fiona: 'We will soon have an alternative of the rocket, believe me! I am Fiona Zhang from China. I am proud of being the team member of Elevator 2010! Email me at fionazhang_china@yahoo.com.cn.'"]
];

var bp2005 = [
["Power Beaming 2005","These are images from the 2005 climber competition, held on 10/21/05 - 10/23/05 at NASA's Ames Research Center.","bp2005"],

["bob01","The Race Track","Head-on view of the vertical race track. Team climbers must complete the track while moving at an average speed of at least 1 m/s (3 feet/sec). The climbers climb the 200 foot ribbon (barely visible) while being powered solely by a beam of light."],
["DSCF2135","Bird's eye view","The gantry walkway is folded, exposing the main mirror and through it, the 10K light (center). The two tracking lights are lit (sides) and the wide angle booster light is off (corner). The blue strip coming vertically up through center picture is the ribbon that the climbers scale."],
["DSCF2143","Just to Make Sure","Dave Carty attaching the belay line to Centaurus's climber. The real Space Elevator, btw, will not have a belay line."],
["102105(26)","First tests","SpaceMiners checking their PV array output"],
["102005(34)","Shoot-out","Ben aiming the search light at Vince, 200 feet away."],
["102005(46)","Bright!","Reverse view."],
["DSC_1071","Brighter!","Brian Pierce at the shadow of his climber"],
["DSC_1053","Night Moves","Assembling the main mirror in place"],
["bob05","","Ben connecting the bottom-side ribbon assembly."],
["102005","Ancient Fires","Actually, just a cool shot of someone using the cut-off saw at night"],
["102005(49)","Playing with fire","just..."],
["102005(50)","Playing with fire II","having..."],
["102005(51)","Playing with fire III","fun..."],
["102005(8)","Dave and Ania","Dave Carty andAnia Furball sharing a quiet moment in the office."],
["DSCN0495","G Man","Brant Sponberg, head of NASA's Centennial Challenges office, explaining to the rest of the world what it is that we're doing."],
["DSCN0496","Two poles walk into an elevator...","Ben trying to do the same thing. Obviously something is funny."],
["DSCN0497","One at a time, please","Meekk at the focus."],
["P1010161","Dinner","Night time reception at Gizmonics.  Note flowers on forklift.  Nice touch."],
["P1010166","Drop a tether from a Satellite","Brad discussing elevated conceptes with Vern McGeorge and Dennis Sorensen"],
["DSCN0501","A little bit to the left","Brant directing the camera towards his better side."],
["DSCN0533","But officer, the light was yellow!","Ben running a red light.  Talk about your slow-speed chase!"],
["DSCN0539","The band!","The Coma Lilies, direct from Sonoma.  By next year, we will teach them 'Thus Sprach Zarathustra'."],
["DSC_1281","Maybe next year..","Brant Sponberg from NASA and Meekk from Spaceward not giving away the prize money. Andrew Price (from 'Dangling Participle' fame) helping out."],
["P1010138-2","Virginia Tech","Next year's winners with Brad Edwards."]
];

var bpt2005 = [
["Climber Teams 2005", "Pictures of teams preparing and competing in the 2005 Beam Power competition.","bpt2005"],

["DSCF2089","Eye of the Beholder","Michael Flora of InfinET inspecting Space Miners' climber. Michael is from Bridgeport, LA, and his climber was lost to the winds of Katrina. He showed up anyway and helped the SpaceMiners with their climber."],
["DSCN0468","Machine Rest","Space miners climber waiting its turn on the gantry for static testing."],
["DSCN0444","Midnight Oil", "Michael Flora and Vince Lopresti working on the Space Miner's Photovoltaic array."],
["DSCN0472","Team Fusion","Space miners team group photo, with InfinET's Michael Flora."],
["DSCF2094","Smokin'","Brian Pierce of Space Miners in a moment of Zen."],
["DSC_1047","The Devil is in the Details","Michael Flora examining the Space Miner's climber."],

["DSCF2092","Testing 1,2,3","Steve Jones, team leader of the UBC Snow Star team testing his climber."],
["DSCF2107","Getting ready","Steve Jones and Snow Star getting ready for the first attempt at the 200 foor ribbon. UBC was the first team to acheive a beam-powered climb."],
["DSCN0589","I thought _you_ had it!","Steve from UBC in an emotional moment."],
//["DSCF2108","","Steve Jones and David Carty folding away the gantry work surface, exposing the main mirror."],

["bob09","Half Done","The USST climber coming together - note the symmetrical two-piece design. All climbers must be able the mount onto a standing ribbon without threading it through them."],
["bob10","Core Competence","The USST core climber mechanism."],
["DSCN0512","USST","USST climber, on the test ribbon, waiting for light beam measurements.  Note the pneumatically actuated bicycle break at the top."],
["DSCF2117","USST","The USST Team getting ready on the 200 foot ribbon. USST ended up with the longest climb in the competition."],
["DSCF2127","USST","The USST Team still getting ready on the 200 foot ribbon... Just a couple more adjustments..."],
["DSCF2128","USST","The USST Team still getting ready on the 200 foot ribbon, from above... one last quarter turn on that tension screw..."],
["DSCF2178","Full throttle","Lift-off !!!  The USST climber basking in the light of all light sources. <br>The USST climber had the largest light collecting area, but the supporting structure was too heavy and the climber could not acheive the required speed."],
["DSC_1265","Even a journey of a thousand miles...","the USST climber clearing the tree tops"],
["DSCF2183","Blue skies ahead","The USST climber showing a nice illumination pattern. (40 feet). <br> Next year, since the light source is not limited, expect these panels to become even brighter."],
["DSCF2185","Afterglow","The USST climber as seen from the perspective of the light source, viewed through the main mirror, which is reflecting the ribbon and crane."],
["DSC_1182","Chuck that","Brad Edward taking an axe to the USST team climber."],
["DSC_1183","That too","During the competition, Brad and the USST team were able to trim more than 50% of their starting weight, making us suspect that next year they'll be moving a whole lot faster."],
["bob08","No Hard Feelings","The USST Team and Brad Edwards."],

["bob03","Centaurus Climber","This climber used an innovative system that focused light through a Fresnel lens onto a small high efficiency and high intensity photovoltaic array. This generated a LOT of heat and thus the high tech heat pipe and heat exchanger on top."],
["bob04","Photovoltaic Collector","A close up view of a photovoltaic collector and heat sink. At the end of the day, this climber did not pull off a climb, since it could not keep the focal point of the light steady enough on the collector. Instead, it burned through mirror ... "],
["DSCN0529","Christmas Decor","Centaurus climber under power on the qualification track."],
["DSC_1109","Shine Bright","Media taking pictures as the Centaurus climber shines bright on the 200 foot ribbon"],
["DSCN0502","Getting warmer...","Flint Humblin from Centaurus Aerospace trying to locate the focal point of the lens using a piece of paper."],
["DSCF2139","Centaurus","The Centaurus climber ready to go."],
["DSCF2149","Centaurus","Pretty patterns created by Centaurus's lens."],
["DSCF2163","Centaurus","More pretty patterns..."],
["DSCF2165","Centaurus","Centaurus climber at approx 60 feet. Note that this was done using the load-averaging capacitor system, so does not constitute a valid competition climb. It did demonstrate and test their mechanical and beam-sensing systems, however, and the ease with which this climber flew up the ribbon at several meters per second was impressive. Better luck next year!"],
["DSCN0503","Centaurus","The Centaurus climber, as viewed from the light source's point of view.  We are not sure what the reflection on the top left corner is."],
["102005(27)","Tough guys","Flint and Mark from the Centaurus team"],
["102005(6)","Flint in the lab","We clocked Flint working more than 12 hours straight inside the trailner."],
["102005(7)","Heat Pipe","Centaurus's heat pipe being put together in their trailer."],

["102005(12)","Who, me?","Mike and Adam Fischer with Vern McGeorge from Spaceward. The Fischer's climber was the most innovative climber this year, using a clamp-based rather than a roller-based design"],
["DSCN0464","Looking for Ants","Michael Fischer of Fischer and sons, examining the focusing ability of the parabolic dish."],
["DSCN0491","Team Fischer and Son","Mike and Adam Fischer in a family photo."],

["DSCN0458","STAR1","Matt Abrams tuning the StarClimber Stirling Engine. Out of 3 thermal engine teams, StarClimber are the only ones to have made it to the starting line - Team InfinET headed by Michael Flora was taken out by Katrina, and Team Fischer and Son were stumped by a Helium leak."],
["DSCN0483","Team Star Climber","Matt Abrams and Alan Díaz from the Star Climber team."],
["bob06","Team Star Climber","The Starclimber Team mounting their climber for the competition climb. Note the parabolic reflector on the base collecting the heat to drive the engine."],
["bob07","Team Star Climber","This reflector was handed to Team Star Climber by Team Fischer and Son, after they realized their Helium leak could not be fixed on-location.  Thermodynamic teams of the world - unite!"],
["DSCN0506","Flying saucer?","Actually - Star Climber's first generation home-made parabolic dish.  Later on, they used the COTS dish provided by team Fischer and Son."],

["DSC_1049","Team Speco","Tim and Dick Schutt working on their climber"],
["DSC_1072","Speco","The Speco climber waiting its turn at the ribbon"],
["DSC_1092","Last adjustments",""],
["DSCN0559","Climber Speco","On the ribbon - the only team to have used a capstan-based traction mechanism this year."]
];

var ts2005 = [
["Tether Pull 2005","Pictures from the tether competition, held on 10/22/05 in Mountain View, CA.","ts2005"],

["DSCN0448","Insert Pin A in Slot B", "Tether pull machine, with assembly instructions."],
["DSCN0455","Who Needs Instructions?", "Ben and Bruce working on the tether pull machine."],
["102005(27)","Fluid Motion","David Applegate of Gizmonics, lending a hand with the tether-pull machine hydraulics"],
["DSC_1116","Tether Pull Machine","A nice perspective of the guts of the tether pull machine."],
["DSCF2100","Tether Call","Ken Davidian from NASA's Centennial Challenges office and Justin McGrath calling the tether competition."],
["DSCN0573","Tether Pull","Plenty of excitement on the tether pull - Brian Laubscher installing his tether sample on the machine."],
["P1010138","Close Scrutiny","Joachim Grenestedt and Brad Edwards inspecting the tether pull aparatus."],
["DSC_1136","Weight Limit","Joachim and Rob Hoyt from Tethers Unlimited at the tether weighing station."],
["DSC_1140","Action","Intense scrutiny as Rob Hoyt and Brian Laubscher prepare to face off."],
["DSC_1148","Read out","Ben reading values from the strain gauge showing what the tension was in the tether."],
["DSC_1153","Cat's Cradle","Dave Lang taking it easy, as usual."],
["DSC_1161","Irish Jig","Dave Lang taking it easy, as usual."],
["DSC_1174","Pumping'","Shai Nitzan from Gizmonics operating the tether pull machine. Ken Davidian nerrating."],
["DSC_1115","","Michael Laine from Liftport at the center of a lively discussion"],
["P1010140","Close Up","Tether sample in place."],
["P1010156","High Noon","Final tether pull."],
["P1010152","Close but No Cigar","Flint and Wade not losing their cool after their tether broke just shy of a win."]
];

var sets = [
["Space Elevator Technology Showcase","Pictures from the Space Elevator Technology Showcase at various locations.","sets"],

["P1010131","","The Space Elevator technology showcase - coming soon to a tech museum near you."],
["DSC_1117","Ken Davidian","Ken Davidian from NASA's Centennial Challenge office, manning NASA CC's display."],
["DSC_1121","Carbon Megatube","Hanging from the top - The world's largest Carbon Nanotube molecule, built by Dave Lang."],
["P1010134","Drive","Mockup of Space Elevator capstan-based drive mechanism, built by Brad Edwards."],
["DSCF2608","ISDC 2006","at ISDC 2006 in Los Angeles (http://isdc.nss.org/2006)"],
["DSCF2598","Centaurus","Centaurus's 2005 climber"],
["DSCF2613","Centaurus","Top View"],
["DSCF2604","No Title",""],
["DSCF2617","Spaceward and Friends","The Spaceward Crew with guests"],
["amateurs","Ameteurs","Amateurs.  Why do I have to work with amateurs!!!"],
["DSCF2606","No Title",""],
["DSCF2664","RoboGames","at Robogames (http://www.robogames.net)"],
["DSCF2666","No Title",""],
["DSCF2675","Give us that technology!","The Empire Strikes Back"],
["DSCF2678","No Argument","these guys really did have the best climber"]
];

var seca = [
["Concept Art","Various renditions of the Space Elevator, ranging from the mechanically detailed to the totally artzy","seca"],

["se01_print1","Climber Rising from Anchor Station,","Power by light beam"],
["se17_print1","Climber Rising from Anchor Station",""],
["se03_print1","Climber in Space",""],
["se03_print2","Climber in Space","(alternate angle)"],
["se04_print1","Climber crossing the Horizon",""],
["se16_print1","Climber just over the Atmosphere",""],
["se16_print2","Climber just over the Atmosphere",""],
["se19_print1","Space Station at GEO","Illustrating the size of structures that a Space Elevator can build"],

["Climber Rise","Climber Rise",""],
["Conceptual Anchor","Anchor",""],
["Lifter In Clouds","Lifter In Clouds",""],

["competitionClimber","Spaceward's Concept Art for the Power Beaming Competition",""],
["cartoon","A Nice Graphics","Illustrating the concept of the Space Elevator"],

["Marshal","A very detailed image produced by NASA","depicting a very very large Space Elevator."],
["climber","A sketch made by Dr. Brad Edwards","illustrating his reference design."]

]

var galleryImages = [lr2007, bp2007, ts2007,
                     sd2006, bp2006, ts2006,
				     bp2005, bpt2005, ts2005, 
					 sets, seca, crewPix];

var galleryIndex = new Object();
for (var i=0; i<galleryImages.length; i++)
  galleryIndex[galleryImages[i][0][2]] = i;

//var galleryPages = [0,2,3,4];

function printGalleryCell(title,description,coreName,sNo,pNo)
{
  var loc = "images/gallery/";
  var nl = loc + coreName + ".150h.jpg";
  
  document.write("<td align='center' valign='top'><a target='imageViewWin' href='galleryZoom?"+sNo+","+pNo+"'><img height=150 border=0 src='"+nl+"'></a><p>");
  document.write("<b>"+title+"</b><br>"+description+"<br><br></td>");
}


function printGalleryCellFromData(sourceData,n,sNo)
{
  if (n < sourceData.length)
    printGalleryCell(sourceData[n][1],sourceData[n][2],sourceData[n][0],sNo,n);
  else
    document.write("<td></td>");
}

function printGallerySection(sectionData,sNo)
{
  var sectionTitle = sectionData[0][0];
  var sdlp2 = sectionData.length + 1;   //-1+2
  var nRows = (sdlp2 - (sdlp2%3)) / 3;
  var n=1;
  document.write("<div class='blockHeading'>"+sectionTitle+"</div><div align='center'>"+sectionData[0][1]+"</div><br>");
  document.write("<table width='100%' cellspacing=0 cellpadding=10 style='background:transparent; margin-right:20px' border=0>");
  for (var i=0; i<nRows; i++)
  {
    document.write("<tr>");
    printGalleryCellFromData(sectionData,n++,sNo);
    printGalleryCellFromData(sectionData,n++,sNo);
    printGalleryCellFromData(sectionData,n++,sNo);
    document.write("</tr>");
  }
  document.write("</table><hr width='40%' align='center'><br>");
}

function printGallerySections(galleryData,sNo,n)
{
  if (n == null)
    n = 1;
  if ((sNo == null) || (sNo+n > galleryData.length) )
  {
  	sNo = 0;
  	n = galleryData.length;
  }
  for (var i=sNo; i<sNo+n; i++)
    printGallerySection(galleryData[i],i);
  
//  document.write("<p><hr align='center' width='40%'><p>");
  printNextGalleryLink(galleryData,sNo+n-1);
}


function printGalleryIndex(galleryData,currentN)
{
  document.write("<center><b><big>Gallery Index:</big></b><br>");
  for (var i=0; i<galleryData.length; i++)
  {
    if (i != 0)
      document.write(((i%3)==0)?"<br>":"<b>&nbsp;|&nbsp;</b>");
    if (i == currentN)
      document.write("<span style='background-color:#cccccc'><b>"+galleryData[i][0][0]+"</b></span>");
    else
      document.write("<a class='expb' href='gallery?"+galleryImages[i][0][2]+"'>"+galleryData[i][0][0]+"</a>");
  }
  document.write("<p><hr width='40%'><p></center>");
}

function printNextGalleryLink(galleryData,n)
{
  var nStr = "Next";
  n++;
  if (n == galleryData.length)
  {
    n=0;
    nStr = "Back to first";
  }
  document.write("<center><b>"+nStr+" gallery section: </b>");
  document.write("<a class='expb' href='gallery?"+galleryImages[n][0][2]+"'>"+galleryData[n][0][0]+"</a></center>");
  document.write("<br><br>");
}

