/* 3ds Max 20th Anniversary */
function elm(elmId) {
    return document.getElementById(elmId);
}
function go2URL(url) {
    window.location.href = url;
}
function overItemHistory(state, elm) {
    if ( state == 1 ) {
        elm.className += " itemovr";
    }
    if ( state == 0 ) {
        elm.className = " item";
    }
}

/*  ======================= GALLERY BEGIN  */
var gIndex = 0;
var gImages = new Array();

gImages[gIndex++] = new Array("1996-WestwoodStudios&EA-RedAlert.jpg", "WestwoodStudios & EA - RedAlert (1996)");
gImages[gIndex++] = new Array("1998_ComputerCafe_Armageddon.jpg", "Computer Cafe - Armageddon (1998)");
gImages[gIndex++] = new Array("1998_KlikAnimation_ClauneSibert.jpg", "Klik Animation - Claune Sibert (1998)");
gImages[gIndex++] = new Array("1999_BigHatAnimation.jpg", "Big Hat Animation (1999).jpg");
gImages[gIndex++] = new Array("1999_Blur_SouthPark.jpg", "Blur - SouthPark (1999).jpg");
gImages[gIndex++] = new Array("1999_Blur_StarTrek.jpg", "Blur - StarTrek (1999).jpg");
gImages[gIndex++] = new Array("1999_CuriousPictures_AvenueAmy.jpg", "CuriousPictures_AvenueAmy (1999).jpg");
gImages[gIndex++] = new Array("1999_EASports_NHL2000.jpg", "EASports_NHL2000 (1999).jpg");
gImages[gIndex++] = new Array("1999_ImpressionsGames_Pharoah.jpg", "ImpressionsGames_Pharoah (1999).jpg");
gImages[gIndex++] = new Array("1999_KissCatalogue.jpg", "KissCatalogue (1999).jpg");
gImages[gIndex++] = new Array("1999_KlikAnimation_JuniorTV.jpg", "KlikAnimation_JuniorTV (1999).jpg");
gImages[gIndex++] = new Array("1999_KlikAnimation_LeJourNul.jpg", "KlikAnimation_LeJourNul (1999).jpg");
gImages[gIndex++] = new Array("1999-Blur-ForTheCause.jpg", "Blur-ForTheCause (1999).jpg");
gImages[gIndex++] = new Array("1999-Blur-SouthPark.jpg", "Blur-SouthPark (1999).jpg");
gImages[gIndex++] = new Array("1999-Blur-SouthPark2.jpg", "Blur-SouthPark2 (1999).jpg");
gImages[gIndex++] = new Array("1999-CuriousPictures-ChipsAhoy.jpg", "CuriousPictures-ChipsAhoy (1999).jpg");
gImages[gIndex++] = new Array("1999-CuriousPictures-ChipsAhoyMini.jpg", "CuriousPictures-ChipsAhoyMini (1999).jpg");
gImages[gIndex++] = new Array("1999-EASports-NHL2K.jpg", "EASports-NHL2K (1999).jpg");
gImages[gIndex++] = new Array("1999-ImpressionGames-Pharoah.jpg", "ImpressionGames-Pharoah (1999).jpg");
gImages[gIndex++] = new Array("1999-ImpressionGames-Pharoah2.jpg", "ImpressionGames-Pharoah2 (1999).jpg");
gImages[gIndex++] = new Array("1999-KliKAnimation-Edmond.jpg", "KliKAnimation-Edmond (1999).jpg");
gImages[gIndex++] = new Array("2000_3DO_ArmyMenAirAttack2.jpg", "3DO_ArmyMenAirAttack2 (2000).jpg");
gImages[gIndex++] = new Array("2000_3DO_WorldDestructionLeague.jpg", "3DO_WorldDestructionLeague (2000).jpg");
gImages[gIndex++] = new Array("2000_AmbianceEntertainment_NewMilleniumTelevision.jpg", "AmbianceEntertainment_NewMilleniumTelevision (2000).jpg");
gImages[gIndex++] = new Array("2000_AmbianceEntertainment_SonyGrandWega.jpg", "AmbianceEntertainment_SonyGrandWega (2000).jpg");
gImages[gIndex++] = new Array("2000_BallisticPixelLab_Casino.jpg", "Ballistic Pixel Lab - Casino (2000).jpg");
gImages[gIndex++] = new Array("2000_BallisticPixelLab_HotelRoom.jpg", "Ballistic Pixel Lab - HotelRoom (2000).jpg");
gImages[gIndex++] = new Array("2000_BallisticPixelLab_Pool.jpg", "Ballistic Pixel Lab - Pool (2000).jpg");
gImages[gIndex++] = new Array("2000_BallisticPixelLab_VacationNet.jpg", "Ballistic Pixel Lab - VacationNet (2000).jpg");
gImages[gIndex++] = new Array("2000_BallisticPixelLab_Warehouse.jpg", "Ballistic Pixel Lab - Warehouse (2000).jpg");
gImages[gIndex++] = new Array("2000_Blur_OurSoulstoKeep.jpg", "Blur - OurSoulstoKeep (2000).jpg");
gImages[gIndex++] = new Array("2000_CRYOInteractive_TimeMachine.jpg", "CRYOInteractive_TimeMachine (2000).jpg");
gImages[gIndex++] = new Array("2000_DCPCommunications_TheSecretofXmas.jpg", "DCPCommunications_TheSecretofXmas (2000).jpg");
gImages[gIndex++] = new Array("2000_DigitalFirepower_Dungeon&Dragons.jpg", "DigitalFirepower_Dungeon&Dragons (2000).jpg");
gImages[gIndex++] = new Array("2000_EASports_KnockoutKings.jpg", "EASports_KnockoutKings (2000).jpg");
gImages[gIndex++] = new Array("2000_EdiosInteractive_102Dalmatians.jpg", "EdiosInteractive_102Dalmatians (2000).jpg");
gImages[gIndex++] = new Array("2000_EdiosInteractive_TombRaider.jpg", "EdiosInteractive_TombRaider (2000).jpg");
gImages[gIndex++] = new Array("2000_EntertainmentArts_UltimaOnline2.jpg", "EntertainmentArts_UltimaOnline2 (2000).jpg");
gImages[gIndex++] = new Array("2000_IndigoMoon_SaturdayNightRacing.jpg", "IndigoMoon_SaturdayNightRacing (2000).jpg");
gImages[gIndex++] = new Array("2000_JohnP.Chirsmar_MSNBC.jpg", "JohnP.Chirsmar_MSNBC (2000).jpg");
gImages[gIndex++] = new Array("2000_KlikAnimation_Joker.jpg", "KlikAnimation_Joker (2000).jpg");
gImages[gIndex++] = new Array("2000_KlikAnimation_Shmoop.jpg", "KlikAnimation_Shmoop (2000).jpg");
gImages[gIndex++] = new Array("2000_KlikAnimation_Tristan.jpg", "KlikAnimation_Tristan (2000).jpg");
gImages[gIndex++] = new Array("2000_LiquidLightStudios_ThemePark.jpg", "LiquidLightStudios_ThemePark (2000).jpg");
gImages[gIndex++] = new Array("2000_LiquidLightStudios_VirtualSets.jpg", "LiquidLightStudios_VirtualSets (2000).jpg");
gImages[gIndex++] = new Array("2000_MicroidsCanada_EmpireoftheAnts.jpg", "MicroidsCanada_EmpireoftheAnts (2000).jpg");
gImages[gIndex++] = new Array("2000_MicroidsCanada_ChariotRacer.jpg", "MicroidsCanada_ChariotRacer (2000).jpg");
gImages[gIndex++] = new Array("2000_MicrosoftGames_Mechwarrior4Vengeance.jpg", "MicrosoftGames_Mechwarrior4Vengeance (2000).jpg");
gImages[gIndex++] = new Array("2000_NetDevil_Jumpgate.jpg", "NetDevil_Jumpgate (2000).jpg");
gImages[gIndex++] = new Array("2000-3DOStudios-ArmyManAirAttackII.jpg", "3DOStudios-ArmyManAirAttackII (2000).jpg");
gImages[gIndex++] = new Array("2000-3DOStudios-WorldDestructionLeagueThunderTankz.jpg", "3DOStudios-WorldDestructionLeagueThunderTankz (2000).jpg");
gImages[gIndex++] = new Array("2000-AmbianceEntertainment-Henry.jpg", "AmbianceEntertainment-Henry (2000).jpg");
gImages[gIndex++] = new Array("2000-AmbianceEntertainment-Henry2.jpg", "AmbianceEntertainment-Henry2 (2000).jpg");
gImages[gIndex++] = new Array("2000-Bioware-BaldursGateII.jpg", "Bioware-BaldursGateII (2000).jpg");
gImages[gIndex++] = new Array("2000-Bioware-BaldursGateII2.jpg", "Bioware-BaldursGateII2 (2000).jpg");
gImages[gIndex++] = new Array("2000-Blur-OurSoulstoKeep.jpg", "Blur-OurSoulstoKeep (2000).jpg");
gImages[gIndex++] = new Array("2000-Blur-OurSoulstoKeep2.jpg", "Blur-OurSoulstoKeep2 (2000).jpg");
gImages[gIndex++] = new Array("2000-Blur-Sci-FiChannel.jpg", "Blur-Sci-FiChannel (2000).jpg");
gImages[gIndex++] = new Array("2000-ComputerCafe-BattlefieldEarth.jpg", "ComputerCafe-BattlefieldEarth (2000).jpg");
gImages[gIndex++] = new Array("2000-ComputerCafe-BattlefieldEarth2.jpg", "ComputerCafe-BattlefieldEarth2 (2000).jpg");
gImages[gIndex++] = new Array("2000-ComputerCafe-BattlefieldEarth3.jpg", "ComputerCafe-BattlefieldEarth3 (2000).jpg");
gImages[gIndex++] = new Array("2000-CurvStudios-DominosAudition.jpg", "CurvStudios-DominosAudition (2000).jpg");
gImages[gIndex++] = new Array("2000-DCPEntertainment-TheSecretofChristmas.jpg", "DCPEntertainment-TheSecretofChristmas (2000).jpg");
gImages[gIndex++] = new Array("2000-DCPEntertainment-TheSecretofChristmas2.jpg", "DCPEntertainment-TheSecretofChristmas2 (2000).jpg");
gImages[gIndex++] = new Array("2000-DigitalDimension-NFLThisMorning.jpg", "DigitalDimension-NFLThisMorning (2000).jpg");
gImages[gIndex++] = new Array("2000-EidosInteractive-Disneys102Dalmations.jpg", "EidosInteractive-Disneys102Dalmations (2000).jpg");
gImages[gIndex++] = new Array("2000-KliKAnimation-Klootz.jpg", "KliKAnimation-Klootz (2000).jpg");
gImages[gIndex++] = new Array("2000-LiquidLightStudios-TimeShareResort.jpg", "LiquidLightStudios-TimeShareResort (2000).jpg");
gImages[gIndex++] = new Array("2000-MicroidsCanada-EmpireoftheAnts.jpg", "MicroidsCanada-EmpireoftheAnts (2000).jpg");
gImages[gIndex++] = new Array("2000-MicroidsCanada-EmpireoftheAnts2.jpg", "MicroidsCanada-EmpireoftheAnts2 (2000).jpg");
gImages[gIndex++] = new Array("2000-MicroidsCanada-KartingSimulation.jpg", "MicroidsCanada-KartingSimulation (2000).jpg");
gImages[gIndex++] = new Array("2000-NewMediaTricks-Robots.jpg", "NewMediaTricks-Robots (2000).jpg");
gImages[gIndex++] = new Array("2000-NewMediaTricks-Robots2.jpg", "NewMediaTricks-Robots2 (2000).jpg");
gImages[gIndex++] = new Array("2000-OddworldInhabitants-OddworldMunchsOddysee.jpg", "OddworldInhabitants-OddworldMunchsOddysee (2000).jpg");
gImages[gIndex++] = new Array("2000-OddworldInhabitants-OddworldMunchsOddysee2.jpg", "OddworldInhabitants-OddworldMunchsOddysee2 (2000).jpg");
gImages[gIndex++] = new Array("2000-OpticalImages-Cubeez.jpg", "OpticalImages-Cubeez (2000).jpg");
gImages[gIndex++] = new Array("2000-OpticalImages-Cubeez2.jpg", "OpticalImages-Cubeez2 (2000).jpg");
gImages[gIndex++] = new Array("2000-PrestoStudios-Myst3.jpg", "PrestoStudios-Myst3 (2000).jpg");
gImages[gIndex++] = new Array("2000-PrestoStudios-Myst32.jpg", "PrestoStudios-Myst32 (2000).jpg");
gImages[gIndex++] = new Array("2000-RadicalEntertainment&MidwayAmerica-JackieChanStuntMaster.jpg", "RadicalEntertainment&MidwayAmerica-JackieChanStuntMaster (2000).jpg");
gImages[gIndex++] = new Array("2000-RadicalEntertainment&MidwayAmerica-JackieChanStuntMaster2.jpg", "RadicalEntertainment&MidwayAmerica-JackieChanStuntMaster2 (2000).jpg");
gImages[gIndex++] = new Array("2000-REZN8-CBS.jpg", "REZN8-CBS (2000).jpg");
gImages[gIndex++] = new Array("2000-SideCityStudios.jpg", "SideCityStudios (2000).jpg");
gImages[gIndex++] = new Array("2000-SideCityStudios2.jpg", "SideCityStudios2 (2000).jpg");
gImages[gIndex++] = new Array("2000-SierraEntertainment-CounterStrike.jpg", "SierraEntertainment-CounterStrike (2000).jpg");
gImages[gIndex++] = new Array("2000-SierraEntertainment-SWAT3_EliteEdition.jpg", "SierraEntertainment-SWAT3_EliteEdition (2000).jpg");
gImages[gIndex++] = new Array("2000-SierraEntertainment-SWAT3_EliteEdition2.jpg", "SierraEntertainment-SWAT3_EliteEdition2 (2000).jpg");
gImages[gIndex++] = new Array("2000-Steam-Weider.jpg", "Steam-Weider (2000).jpg");
gImages[gIndex++] = new Array("2001-3DBob-CosbyPromo.jpg", "3DBob-CosbyPromo (2001).jpg");
gImages[gIndex++] = new Array("2001-ArchitectLundHagem-TelenorExpoNorway.jpg", "ArchitectLundHagem-TelenorExpoNorway (2001).jpg");
gImages[gIndex++] = new Array("2001-BlizzardEntertainment-DiabloII_LordofDestruction.jpg", "BlizzardEntertainment-DiabloII_LordofDestruction (2001).jpg");
gImages[gIndex++] = new Array("2001-BlizzardEntertainment-DiabloII_LordofDestruction2.jpg", "BlizzardEntertainment-DiabloII_LordofDestruction2 (2001).jpg");
gImages[gIndex++] = new Array("2001-DigitalDimension-Driven.jpg", "DigitalDimension-Driven (2001).jpg");
gImages[gIndex++] = new Array("2001-ExmachinaCoreDesignLtd-TombRaiderGameTrailer.jpg", "ExmachinaCoreDesignLtd-TombRaiderGameTrailer (2001).jpg");
gImages[gIndex++] = new Array("2001-Kalisto4-WheelThunder.jpg", "Kalisto4-WheelThunder (2001).jpg");
gImages[gIndex++] = new Array("2001-Konami-MetalGearSolid2.jpg", "Konami-MetalGearSolid2 (2001).jpg");
gImages[gIndex++] = new Array("2001-Konami-MetalGearSolid22.jpg", "Konami-MetalGearSolid22 (2001).jpg");
gImages[gIndex++] = new Array("2001-KrislinElliott-AlexanderBeim.jpg", "KrislinElliott-AlexanderBeim (2001).jpg");
gImages[gIndex++] = new Array("2001-LucasArts-StarWarsStarfighter.jpg", "LucasArts-StarWarsStarfighter (2001).jpg");
gImages[gIndex++] = new Array("2001-MarcoSpitoni-TheHunt.jpg", "MarcoSpitoni-TheHunt (2001).jpg");
gImages[gIndex++] = new Array("2001-Microids-RoadToIndia.jpg", "Microids-RoadToIndia (2001).jpg");
gImages[gIndex++] = new Array("2001-NewWorldComputing-LegendsofMight&Magic.jpg", "NewWorldComputing-LegendsofMight&Magic (2001).jpg");
gImages[gIndex++] = new Array("2001-NewWorldComputing-LegendsofMight&Magic2.jpg", "NewWorldComputing-LegendsofMight&Magic2 (2001).jpg");
gImages[gIndex++] = new Array("2001-PeppersGhostProductions-SizeMatters.jpg", "PeppersGhostProductions-SizeMatters (2001).jpg");
gImages[gIndex++] = new Array("2001-PrestoStudios&UbisoftEntertainment-MystIIIExile.jpg", "PrestoStudios&UbisoftEntertainment-MystIIIExile (2001).jpg");
gImages[gIndex++] = new Array("2001-PrestoStudios&UbisoftEntertainment-MystIIIExile2.jpg", "PrestoStudios&UbisoftEntertainment-MystIIIExile2 (2001).jpg");
gImages[gIndex++] = new Array("2001-RemedyEntertainment&3DRealms-MaxPayne.jpg", "RemedyEntertainment&3DRealms-MaxPayne (2001).jpg");
gImages[gIndex++] = new Array("2001-RemedyEntertainment&3DRealms-MaxPayne2.jpg", "RemedyEntertainment&3DRealms-MaxPayne2 (2001).jpg");
gImages[gIndex++] = new Array("2002-AnimaRes-FickendeFish-Movie.jpg", "AnimaRes-FickendeFish-Movie (2002).jpg");
gImages[gIndex++] = new Array("2002-AstropolitanPictures-TalonNightshade.jpg", "AstropolitanPictures-TalonNightshade (2002).jpg");
gImages[gIndex++] = new Array("2002-Blur-ShaniaTwainMusicVideo.jpg", "Blur-ShaniaTwainMusicVideo (2002).jpg");
gImages[gIndex++] = new Array("2002-Blur-Spiderman.jpg", "Blur-Spiderman (2002).jpg");
gImages[gIndex++] = new Array("2002-GasPoweredGames-DungeonSiege.jpg", "GasPoweredGames-DungeonSiege (2002).jpg");
gImages[gIndex++] = new Array("2002-JohanneSchlorb-Detention.jpg", "JohanneSchlorb-Detention (2002).jpg");
gImages[gIndex++] = new Array("2002-Microids-MasterTennis2002.jpg", "Microids-MasterTennis2002 (2002).jpg");
gImages[gIndex++] = new Array("2002-MidwayGames-MortalKombatDeadlyAlliance.jpg", "MidwayGames-MortalKombatDeadlyAlliance (2002).jpg");
gImages[gIndex++] = new Array("2002-UbisoftEntertainment-TomClancysSplinterCell.jpg", "UbisoftEntertainment-TomClancysSplinterCell (2002).jpg");
gImages[gIndex++] = new Array("2002-UbisoftEntertainment-TomClancysSplinterCell2.jpg", "UbisoftEntertainment-TomClancysSplinterCell2 (2002).jpg");
gImages[gIndex++] = new Array("2002-UniversalInteractive-LordoftheRings_TheFellowshipoftheRing.jpg", "UniversalInteractive-LordoftheRings_TheFellowshipoftheRing (2002).jpg");
gImages[gIndex++] = new Array("2002-WestwoodStudios&EA-Renegade.jpg", "WestwoodStudios&EA-Renegade (2002).jpg");
gImages[gIndex++] = new Array("2003-AdvancedMediaDesign-ArchitectureVisualization.jpg", "AdvancedMediaDesign-ArchitectureVisualization (2003).jpg");
gImages[gIndex++] = new Array("2003-AdvancedMediaDesign-ArchitectureVisualization2.jpg", "AdvancedMediaDesign-ArchitectureVisualization2 (2003).jpg");
gImages[gIndex++] = new Array("2003-BigStudios-CBSSports.jpg", "BigStudios-CBSSports (2003).jpg");
gImages[gIndex++] = new Array("2003-Blur-TheMask.jpg", "Blur-TheMask (2003).jpg");
gImages[gIndex++] = new Array("2003-BlurStudios-BulletproofMonk.jpg", "BlurStudios-BulletproofMonk (2003).jpg");
gImages[gIndex++] = new Array("2003-Bombardier-Aerospace.jpg", "Bombardier-Aerospace (2003).jpg");
gImages[gIndex++] = new Array("2003-Bombardier-Aerospace2.jpg", "Bombardier-Aerospace2 (2003).jpg");
gImages[gIndex++] = new Array("2003-Bombardier-Aerospace3.jpg", "Bombardier-Aerospace3 (2003).jpg");
gImages[gIndex++] = new Array("2003-CinemaConcepts-FoxTheater.jpg", "CinemaConcepts-FoxTheater (2003).jpg");
gImages[gIndex++] = new Array("2003-DebuePictures-Sahari.jpg", "DebuePictures-Sahari (2003).jpg");
gImages[gIndex++] = new Array("2003-ChamanProductions-Kaena_TheProphecy.jpg", "ChamanProductions-Kaena_TheProphecy (2003).jpg");
gImages[gIndex++] = new Array("2003-ChamanProductions-Kaena_TheProphecy2.jpg", "ChamanProductions-Kaena_TheProphecy2 (2003).jpg");
gImages[gIndex++] = new Array("2003-LiamKemp-ThisWonderfulLife.jpg", "LiamKemp-ThisWonderfulLife (2003).jpg");
gImages[gIndex++] = new Array("2003-SwissInteractive-AchitecturalVisualization.jpg", "SwissInteractive-AchitecturalVisualization (2003).jpg");
gImages[gIndex++] = new Array("2003-SwissInteractive-AchitecturalVisualization2.jpg", "SwissInteractive-AchitecturalVisualization2 (2003).jpg");
gImages[gIndex++] = new Array("2004-CiberFilms-BMWMiniCooper.jpg", "CiberFilms-BMWMiniCooper (2004).jpg");
gImages[gIndex++] = new Array("2004-CuriousProjects-TrenttheTurtle.jpg", "CuriousProjects-TrenttheTurtle (2004).jpg");
gImages[gIndex++] = new Array("2004-DigitalPictures-RoomtoGrow.jpg", "DigitalPictures-RoomtoGrow (2004).jpg");
gImages[gIndex++] = new Array("2005-DigitalPictures-WillYoungVideoClip.jpg", "DigitalPictures-WillYoungVideoClip (2005).jpg");
gImages[gIndex++] = new Array("2005-FiraxisGames-SidMeiersPirates.jpg", "FiraxisGames-SidMeiersPirates (2005).jpg");
gImages[gIndex++] = new Array("2007-Act3Animation.jpg", "Act3Animation (2007).jpg");
gImages[gIndex++] = new Array("2007-FlagshipStudios-Hellgate.jpg", "FlagshipStudios-Hellgate (2007).jpg");
gImages[gIndex++] = new Array("2007-Harmonix-GuitarHero.jpg", "Harmonix-GuitarHero (2007).jpg");
gImages[gIndex++] = new Array("2007-Harmonix-GuitarHero2.jpg", "Harmonix-GuitarHero2 (2007).jpg");
gImages[gIndex++] = new Array("2007-Ubisoft-AssasinsCreed.jpg", "Ubisoft-AssasinsCreed (2007).jpg");
gImages[gIndex++] = new Array("2007-Ubisoft&RedStormEntertainment.jpg", "Ubisoft&RedStormEntertainment (2007).jpg");
gImages[gIndex++] = new Array("2010-Remedy-AlanWake.jpg", "Remedy-AlanWake (2010).jpg");
gImages[gIndex++] = new Array("AlexisSmadja-Wisdom.jpg", "AlexisSmadja-Wisdom.jpg");
gImages[gIndex++] = new Array("AutodeskMedia&Entertainment_JoeGunn-Spidey.jpg", "AutodeskMedia&Entertainment_JoeGunn-Spidey.jpg");
gImages[gIndex++] = new Array("Blur-GopherBroke.jpg", "Blur-GopherBroke.jpg");
gImages[gIndex++] = new Array("BlurStudiosInc-HellgateLondon.jpg", "BlurStudiosInc-HellgateLondon.jpg");
gImages[gIndex++] = new Array("CenveoArmstrong-White_MarkDeRidder-2005FordMustangGT.jpg", "CenveoArmstrong-White_MarkDeRidder-2005FordMustangGT.jpg");
gImages[gIndex++] = new Array("CQFCQF_ChenQingfeng-Elapsing.jpg", "CQFCQF_ChenQingfeng-Elapsing.jpg");
gImages[gIndex++] = new Array("Day1Studios_JoshNizzi_TimTwica-MechAssault2.jpg", "Day1Studios_JoshNizzi_TimTwica-MechAssault2.jpg");
gImages[gIndex++] = new Array("Day1Studios_JoshNizzi-MechAssault22.jpg", "Day1Studios_JoshNizzi-MechAssault22.jpg");
gImages[gIndex++] = new Array("DeltaTracing_DionissiosTsangaropoulos-ConferenceCenter.jpg", "DeltaTracing_DionissiosTsangaropoulos-ConferenceCenter.jpg");
gImages[gIndex++] = new Array("DeltaTracing_DionissiosTsangaropoulos-YachtInterior.jpg", "DeltaTracing_DionissiosTsangaropoulos-YachtInterior.jpg");
gImages[gIndex++] = new Array("EKarquitectosLTDA_ThomasKlischies-SteelBioclimacticTechnologicalCenter.jpg", "EKarquitectosLTDA_ThomasKlischies-SteelBioclimacticTechnologicalCenter.jpg");
gImages[gIndex++] = new Array("InfiniteCG_LucianoNeves-NotreDameandTheBlueSky.jpg", "InfiniteCG_LucianoNeves-NotreDameandTheBlueSky.jpg");
gImages[gIndex++] = new Array("InfiniteCG_LucianoNeves-TowerBrindgeatnight.jpg", "InfiniteCG_LucianoNeves-TowerBrindgeatnight.jpg");
gImages[gIndex++] = new Array("JuanSiquier_Thepheonixbuilding.jpg", "JuanSiquier_Thepheonixbuilding.jpg");
gImages[gIndex++] = new Array("NeoscapeInc_LonGrohs-ProposedRestaurant.jpg", "NeoscapeInc_LonGrohs-ProposedRestaurant.jpg");
gImages[gIndex++] = new Array("SixtreesVizCommsPteLtd_MaxLim-GroovyChristmas.jpg", "SixtreesVizCommsPteLtd_MaxLim-GroovyChristmas.jpg");
gImages[gIndex++] = new Array("VirginLandsAnimatedPicturesGmbH-Car.jpg", "VirginLandsAnimatedPicturesGmbH-Car.jpg");
gImages[gIndex++] = new Array("VirginLandsAnimatedPicturesGmbH-Desperados.jpg", "VirginLandsAnimatedPicturesGmbH-Desperados.jpg");


function pasteImages() {
	var tmpl = elm("tmpl").innerHTML;
	var output = "";
	
	for ( i=0;i<gImages.length;i++ ) {
		img = gImages[i];
		x = tmpl;
		x = x.replace(/#img#/g, img[0]);
		x = x.replace(/#title#/g, "Image courtesy of " + img[1].replace(".jpg", ""));
		output += x;
	}
	//alert(output);
	elm("cont_images").innerHTML = output;
}
/*  ======================= GALLERY END  */

/*  ======================= QUIZ BEGIN  */

function submitQuiz() {
    if ( Q.submit() == true ) {
        Q.showResult();
    }
}
function Quiz() {

    this.Q = new Array();
    this.Number = 10;
    this.Correct = 0;
    
    this.showResult = qShowResult;
    this.submit = qSubmit;
    this.loadQuestions = qLoadQuestions;
    this.init = qQuizInit;
    this.getNumber = qGetNumber;
    this.fillForm = qFillForm;
    
    //if ( this.Init != null ) this.Init();

}
function qShowResult() {
    
    elm("submit").className = "dNone";
    elm("result").className = "";
    elm("numofcorrect").innerHTML = this.Correct;
    elm("numofall").innerHTML = this.Number;

    for ( i=0;i<this.Q.length;i++ ) {
        q = this.Q[i];
        if ( q.Chosen != true ) continue;
        
        // show answer blurb
        elm("a" + ( i + 1 )).className = "a";
        
        // show colored correct and incorrect answers
        elm("q" + ( i + 1 ) + "-" + q.CorrectAnswer).className = "correct";
        if (q.UserAnswer != q.CorrectAnswer) elm("q" + ( i + 1 ) + "-" + q.UserAnswer).className = "incorrect";
        
    }
    
    if ( this.Correct == 0 ) elm("level0").className = "";
    if ( this.Correct >= 1 && this.Correct <= 4) elm("level1").className = "";
    if ( this.Correct >= 5 && this.Correct <= 6) elm("level2").className = "";
    if ( this.Correct >= 7 && this.Correct <= 9) elm("level3").className = "";
    if ( this.Correct >= 10 && this.Correct <= 10) elm("level4").className = "";
    
    
    
}
function qSubmit() {
    var eForm = document.getElementById("frmQuiz");
    for ( i=0;i<this.Q.length;i++ ) {
        q = this.Q[i];
        if ( q.Chosen != true ) continue;
        
        answer = 0;
        options = eForm.elements["q" + ( i + 1 )];
        for ( j=0;j<options.length;j++ ) {
            opt = options[j];
            if ( opt.checked ) {
                q.UserAnswer = opt.value;
                answer = opt.value;
            }
        }
        if ( answer == 0 ) {
            alert("Yout have to select one option in each question to complete the quiz.");
            return false;
        }
        if ( answer == q.CorrectAnswer ) this.Correct++;
    }
    
    return true;
    
}
function qFillForm() {
    var cont = "";
    var templ = document.getElementById("template").innerHTML;
    var item = "";
    var pos = 1;

    for (i=0;i<this.Q.length;i++) {
        if ( this.Q[i].Chosen == true ) {
            q = this.Q[i];
            item = templ;
            item = item.replace("#q#", q.Question);
            item = item.replace("#a#", q.Blurb);
            item = item.replace("#num2#", pos);
            item = item.replace(/#num#/g, (i+1));
            for (j=0;j<q.Options.length;j++) item = item.replace("#opt" + j + "#", q.Options[j]);
            cont += item;
            pos++;
        }
    }
    
    document.getElementById("list").innerHTML = cont;
}
function qQuizInit() {
    this.loadQuestions();
    
    for (i=0;i<this.Number;i++) {
        num = this.getNumber();
        this.Q[num].Chosen = true;
    }
    
}
function qGetNumber() {
    num = Math.floor( Math.random() * ( this.Q.length ) );
    if ( this.Q[num].Chosen == true ) return this.getNumber();
    return num;
}
function qLoadQuestions() {
    var q;
    var i = 0;
    
    q = new QuizQ();
    q.Question = "What Japanese 2D film was visually augmented with detailed and realistic 3D versions of the machines that were central to the plot?";
    q.Options = new Array("Ju-on", "Spirited Away", "Steamboy", "The Seven Samurai");
    q.CorrectAnswer = 3;
    q.Blurb = "Steamboy a science fiction/action adventure film set in Victorian England that tells the story of the Steam family. The film’s artists deftly combined hand-drawn animation with 3D computer-generated animation created in Autodesk 3ds Max.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "Autodesk 3ds Max was used to simulate the European Space Agency’s mission to what planet in 2003?";
    q.Options = new Array("Mars", "Jupiter", "Pluto", "Saturn");
    q.CorrectAnswer = 1;
    q.Blurb = "Mars. The simulation was created by London-based creative house Denman Productions to secure funding and announce the project milestone.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What car is featured in the Saatchi & Saatchi Cell Splitting commercial that Red Rover created with 3ds Max? In the commercial, photorealistic computer-generated vehicles multiply and divide.";
    q.Options = new Array("Mazda 3", "Toyota Matrix", "Lexus RX330", "Porsche Cayenne");
    q.CorrectAnswer = 2;
    q.Blurb = "The 60-second spot advertised Toyota’s four-door Matrix wagon.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What leading snowboarding manufacturer has featured deck designs created in 3ds Max?";
    q.Options = new Array("Burton", "Ride", "Saloman", "Rossignol");
    q.CorrectAnswer = 1;
    q.Blurb = "Burton Snowboards. Independent digital artist Frank Vitale turned to 3ds Max software when he created the 3D illustrations that were emblazoned on the models in the Punch and Chopper snowboard lines.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "In what film did Tom Cruise use a computer-generated sword?";
    q.Options = new Array("Minority Report", "Top Gun", "Risky Business", "The Last Samurai");
    q.CorrectAnswer = 4;
    q.Blurb = "The Last Samurai. Digital Dimension created the sword in Autodesk 3ds Max.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What European City was digitally modeled in its entirety using Autodesk 3ds Max?";
    q.Options = new Array("Rome", "Paris", "London", "Barcelona");
    q.CorrectAnswer = 3;
    q.Blurb = "London. GMJ Design completed the design visualization of Britain’s capital.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What high-end private jet manufacturer relies on Autodesk 3ds Max to create accurate, photorealistic images of its aircraft interior and exterior designs before the planes are built?";
    q.Options = new Array("Fly Air", "Bombardier", "Waterplane UK", "Luxury Flights");
    q.CorrectAnswer = 2;
    q.Blurb = "Montreal-based Bombardier Aerospace.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What 75th Anniversary television opening sequence was created in Autodesk 3ds Max?";
    q.Options = new Array("The Simpsons", "The Emmys", "The Academy Awards", "Law & Order");
    q.CorrectAnswer = 3;
    q.Blurb = "The opening sequence of the 75th Academy Awards ® was created by REZN8 in Hollywood. It incorporated clips from the 74 previous best-picture winners.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What film depicted an abrupt global climate-change, including a series of catastrophic CG weather disasters?";
    q.Options = new Array("An Inconvenient Truth", "The Day After Tomorrow", "Battlefield Earth", "28 Days Later");
    q.CorrectAnswer = 2;
    q.Blurb = "The Day After Tomorrow. Autodesk 3ds Max helped animators create terrifying tornadoes, massive snowstorms and hail the size of grapefruit to emphasize the devastating changes taking place during the film.";
    this.Q[i++] = q;
    
//    q = new QuizQ();
//    q.Question = "What famous Californian infrastructure landmark was blown up by alien invaders in Armageddon?";
//    q.Options = new Array("Disney Land", "The Hollywood Sign", "The Golden Gate Bridge", "LAX");
//    q.CorrectAnswer = 3;
//    q.Blurb = "The Golden Gate Bridge. It was digitally destroyed by the Computer Café, using Autodesk 3ds Max.";
//    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What country music singer entered the realm of CG action hero in the video for her 2002 hit I’m Gonna Get You Good?";
    q.Options = new Array("Shania Twain", "Taylor Swift", "Carrie Underwood", "Reba McIntyre");
    q.CorrectAnswer = 1;
    q.Blurb = "Shania Twain. The digital segments of the video were created at Blur Studio in Autodesk 3ds Max.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "In what superhero film did Halle Berry use a CG whip after injuring a camera man on-set with a real one?";
    q.Options = new Array("X-Men", "Gothika", "Die Another Day", "Catwoman");
    q.CorrectAnswer = 4;
    q.Blurb = "Catwoman, Halle’s CG whip was made in Autodesk 3ds Max.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "In what Ubisoft game do players take on the role of Sam Fisher, a highly-trained secret operative of the National Security Agency?";
    q.Options = new Array("Assasin’s Creed", "Ghost Recon", "Prince of Persia", "Tom Clancy’s Splinter Cell");
    q.CorrectAnswer = 4;
    q.Blurb = "Tom Clancy’s Splinter Cell. The game was created in Autodesk 3ds Max and won Overall Best Game of the European Computer Tradeshow (ECTS) in 2002. Splinter Cell also received Xbox magazine’s Best Game of the Year Award for 2002 and received awards for Best Action/Adventure Game and Xbox Graphics at E3.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "In 2000, what became the best-selling PC game of all time?";
    q.Options = new Array("The Sims", "Snood", "Star Craft", "Where in the World is Carmen Sandiego?");
    q.CorrectAnswer = 1;
    q.Blurb = "EA’s The Sims. It was developed in Autodesk 3ds Max and Autodesk Maya.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What game released in 1995 featured film-quality cinematics created in Autodesk 3ds Max (then called 3D Studio) and is considered to be one of the reasons for the Real-Time Strategy (RTS) genre’s rise in popularity?";
    q.Options = new Array("Dragon Quest", "Absolute Zero", "Warcraft", "Donkey Kong Land");
    q.CorrectAnswer = 3;
    q.Blurb = "Blizzard Entertainment’s Warcraft.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What game featuring a popular genre-crossing icon was created in version one of the Autodesk 3ds Max (then called 3D Studio Max) in 1996?";
    q.Options = new Array("Prince of Persia", "Tomb Raider", "Max Payne", "Pokemon");
    q.CorrectAnswer = 2;
    q.Blurb = "Tomb Raider, starring Lara Croft and made by Eidos Entertainment.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What TV drama featured the Dancing Baby in its heroine’s first season hallucinations?";
    q.Options = new Array("Gilmore Girls", "Ally McBeal", "90210", "Sex and the City");
    q.CorrectAnswer = 2;
    q.Blurb = "FOX’s Ally McBeal. The infamous infant was born in Autodesk 3ds Max and made a return in the final episode which also featured 3ds Max- created CG versions of former New York Mayor Rudolph Giuliani, New York Senator Hillary Clinton, and her husband, former President Bill Clinton. The digital trio invaded Ally’s imagination and her home as they popped up alongside the Dancing Baby while she and her daughter were preparing to move to New York City.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What award-winning World War II game franchise puts players on the front lines as American, British and Russian soldiers armed with authentic country-specific weapons?";
    q.Options = new Array("God of War", "Call of Duty", "Total War", "Risk");
    q.CorrectAnswer = 2;
    q.Blurb = "Call of Duty. Publisher Activision began offering the Autodesk 3ds Max – created game on the PC. The third title in the successful series is now released across all gaming platforms.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What popular television series’ chilling opening sequence features a photorealistic plane crash the sets the scene for the show?";
    q.Options = new Array("Gilligan’s Island", "Mayday", "Lost", "Killtown");
    q.CorrectAnswer = 3;
    q.Blurb = "ABC’s Lost. The opening sequence won Digital Dimension an Emmy® award and was developed in 3ds Max.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What Chinese action film features a blind dancer’s sleeves gracefully interacting with a sword, and a drum sequence with animated beans bouncing off instruments?";
    q.Options = new Array("Crouching Tiger Hidden Dragon", "The House of Flying Daggers", "The Red Cliff 2", "Lust, Caution");
    q.CorrectAnswer = 2;
    q.Blurb = "The House of Flying Daggers. Animal Logic used Autodesk 3ds Max to create the incredible dance scene in which Mei the heroine dances with beautiful, physics-defying movements.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "In what 2009 film was Autodesk 3ds Max was used to create terrifying scenes depicting the end of the world?";
    q.Options = new Array("Transformers", "Angels & Demonds", "2012", "The Twilight Saga: New Moon");
    q.CorrectAnswer = 3;
    q.Blurb = "2012. Uncharted Territory used 3ds Max to create photorealistic imagery and water scenes that were over 98% CG.";
    this.Q[i++] = q;
    
    q = new QuizQ();
    q.Question = "What movie starts with journalist Chris Hedge’s bone chilling quote The rush of battle is often a potent and lethal addiction, for war is a drug.?";
    q.Options = new Array("Saving Private Ryan", "Full Metal Jacket", "Inglorious Bastards", "The Hurt Locker");
    q.CorrectAnswer = 4;
    q.Blurb = "The Hurt Locker. This Academy Award® Best-Picture winner used 3ds Max for realistically haunting visual effects.";
    this.Q[i++] = q;
    
}
function QuizQ() {
    this.Question = "";
    this.Options = new Array();
    this.CorrectAnswer = "";
    this.Blurb = "";
    
    this.Chosen = false;
    this.UserAnswer = "";
    this.CorrectAnswer = false;
}

/*  ======================= QUIZ END  */


