var isLoaded = false; var spinners = new Array(); var n = 0; var footSoldier = new Object(); footSoldier.offset = new Array(0,0,-17,8); footSoldier.name = "footSoldier"; footSoldier.max = 2; footSoldier.x = 100; footSoldier.y = 200; footSoldier.sub = function(){ log.style.top = "350px"; log.style.left = "400px"; log.innerHTML= "Treacherous Ignorance Machine"; } spinners[n++] = footSoldier; var infantry = new Object(); infantry.offset = new Array(2,20,0,0); infantry.name = "infantry"; infantry.max = 2; infantry.x = 450; infantry.y = 50; infantry.sub = function(){ log.style.top = "250px"; log.style.left = "350px"; log.innerHTML= "Media military clusterfuck"; } spinners[n++] = infantry; var alien = new Object(); alien.offset = new Array(0,0,-10,11,18,4,7,16,5,16,14,14,21,0,7,17,9,18,19,15,18,9,10,16); alien.name = "alien"; alien.max = 12; alien.x = 450; alien.y = 280; alien.sub = function(){ log.style.top = "30px"; log.style.left = "300px"; log.innerHTML= "Macho cowboy marketing"; } spinners[n++] = alien; var biker = new Object(); biker.offset = new Array(0,0,-19,-23,0,-23,-15,-29,-38,0,0,0,-38,3,-29,-27,-18,-27); biker.name = "biker"; biker.max = 9; biker.x = 120; biker.y = 120; biker.sub = function(){ log.style.top = "520px"; log.style.left = "100px"; log.innerHTML= "'BRING IT ON!'"; } spinners[n++] = biker; var birdseye = new Object(); birdseye.offset = new Array(0,0,0,0,0,0); birdseye.name = "birdseye"; birdseye.max = 3; birdseye.x = 80; birdseye.y = 80; birdseye.sub = function(){ log.style.top = "80px"; log.style.left = "300px"; log.innerHTML= "Mission 'ACCOMPLISHED'?"; } spinners[n++] = birdseye; var blackBeret = new Object(); blackBeret.offset = new Array(0,0,-12,-19,-16,-19,-5,2,-22,-8,-17,-18,-25,-11,-9,-31,-8,-17,-34,-13); blackBeret.name = "blackBeret"; blackBeret.max = 10; blackBeret.x = 580; blackBeret.y = 250; blackBeret.sub = function(){ log.style.top = "450px"; log.style.left = "0px"; log.innerHTML= "'Iron Hammer'"; } spinners[n++] = blackBeret; var blueCollar = new Object(); blueCollar.offset = new Array(0,0,1,0,-20,-1,-60,0,-32,1,-2,0,-37,0,-79,0,-67,0,-25,0,12,-2,13,-9,19,15,-26,1,-83,0); blueCollar.name = "blueCollar"; blueCollar.max = 15; blueCollar.x = 500; blueCollar.y = 100; blueCollar.sub = function(){ log.style.top = "50px"; log.style.left = "0px"; log.innerHTML= "'Shock and Awe'"; } spinners[n++] = blueCollar; var combat = new Object(); combat.offset = new Array(0,0,-2,-10,-14,10,15,0,-29,0,-10,0,-30,-70,63,0,-14,9,26,-23,43,0,22,0,41,-3,-12,-2,69,-19); combat.name = "combat"; combat.max = 15; combat.x = 120; combat.y = 220; combat.sub = ""; combat.sub = function(){ log.style.top = "300px"; log.style.left = "400px"; log.innerHTML= "Quagmire accomplished."; } spinners[n++] = combat; var construction = new Object(); construction.offset = new Array(0,0,-112,0,-35,-13,-73,1,-67,3); construction.name = "construction"; construction.max = 5; construction.x = 200; construction.y = 100; construction.sub = function(){ log.style.top = "350px"; log.style.left = "35px"; log.innerHTML= "Please IGNORE troubling signs"; } spinners[n++] = construction; var corporal = new Object(); corporal.offset = new Array(0,0,-16,-3,-4,-26,-42,-26,-8,-30,-13,-28,-40,-22,-17,0,-13,0,-14,-17); corporal.name = "corporal"; corporal.max = 10; corporal.x = 500; corporal.y = 280; corporal.sub = function(){ log.style.top = "160px"; log.style.left = "350px"; log.innerHTML= "the plutocratic trickle..."; } spinners[n++] = corporal; var crumb = new Object(); crumb.offset = new Array(0,0,-6,1,-19,0,-29,0,-5,1,-3,-1,-36,0,-34,0,-28,0,-34,0,-44,0,-25,0,-40,-1,-37,-2,-1,0); crumb.name = "crumb"; crumb.max = 15; crumb.x = 500; crumb.y = 100; crumb.sub = function(){ log.style.top = "330px"; log.style.left = "350px"; log.innerHTML= "the PENTAGONASAURUS"; } spinners[n++] = crumb; var glovely = new Object(); glovely.offset = new Array(0,0,-1,-2,-1,-6,-1,-3,-1,-5,-1,-11,-1,-10,-2,-11,-4,-22,-3,-20,-2,-15,-2,-14,1,25,-1,-11,0,14,0,0,0,0,1,14); glovely.name = "glovely"; glovely.max = 18; glovely.x = 140; glovely.y = 280; glovely.sub = function(){ log.style.top = "70px"; log.style.left = "30px"; log.innerHTML= "Welcome to the Oil WARS"; } spinners[n++] = glovely; var fist = new Object(); fist.offset = new Array(0,0,-15,-37,-18,39,-23,39,-19,33,-20,34,-21,34); fist.name = "fist"; fist.max = 7; fist.x = 50; fist.y = 100; fist.sub = function(){ log.style.top = "300px"; log.style.left = "20px"; log.innerHTML= "Believe the righteous HYPE"; } spinners[n++] = fist; var football = new Object(); football.offset = new Array(0,0,10,0,-4,-17,-3,21,-3,-1,1,-14,2,0,8,-2,0,1,-19,-1,0,0); football.name = "football"; football.max = 11; football.x = 550; football.y = 290; football.sub = function(){ log.style.top = "145px"; log.style.left = "360px"; log.innerHTML= "GOD is rooting for us!"; } spinners[n++] = football; var generic = new Object(); generic.offset = new Array(0,0,-5,0,13,0,42,0); generic.name = "generic"; generic.max = 4; generic.x = 420; generic.y = 100; generic.sub = function(){ log.style.top = "450px"; log.style.left = "320px"; log.innerHTML= "Progress! FREEDOM FRIES"; } spinners[n++] = generic; var greyHelmet = new Object(); greyHelmet.offset = new Array(0,0,-22,10,-20,16,-22,17,-18,15,-19,16,0,15,-5,16,-7,9,3,12,-21,13,-10,11); greyHelmet.name = "greyHelmet"; greyHelmet.max = 12; greyHelmet.x = 150; greyHelmet.y = 320; greyHelmet.sub = function(){ log.style.top = "350px"; log.style.left = "300px"; log.innerHTML= "Weapons threat phantasms"; } spinners[n++] = greyHelmet; var greypants = new Object(); greypants.offset = new Array(0,0,20,-6,30,0,19,0,24,-10); greypants.name = "greypants"; greypants.max = 5; greypants.x = 100; greypants.y = 300; greypants.sub = function(){ log.style.top = "70px"; log.style.left = "10px"; log.innerHTML= "Bogus milestones & spiraling costs"; } spinners[n++] = greypants; var grunt = new Object(); grunt.offset = new Array(0,0,-26,-14,-3,-3,-75,-25,-16,-74,-59,-2,-29,0,-15,-20,-14,0,-99,-38,-28,-17,-86,-7,-66,0,-23,-6,-47,-6,-50,-50,-13,-5,-15,-74,-35,-20,-61,-7,-37,-74,-35,-73,-25,-8,-23,-7,-12,-8,-96,-44,-13,-43,-135,-4,-111,-1,-41,-30,-187,-8,-173,-32); grunt.name = "grunt"; grunt.max = 32; grunt.x = 420; grunt.y = 120; grunt.sub = function(){ log.style.top = "400px"; log.style.left = "400px"; log.innerHTML= "LIES escalating"; } spinners[n++] = grunt; var hand_signals = new Object(); hand_signals.offset = new Array(0,0,31,0,31,0); hand_signals.name = "hand_signals"; hand_signals.max = 3; hand_signals.x = 110; hand_signals.y = 145; hand_signals.sub = function(){ log.style.top = "50px"; log.style.left = "300px"; log.innerHTML= "BLACK OPS & 'intel' tricks"; } spinners[n++] = hand_signals; var hands = new Object(); hands.offset = new Array(0,0,0,9,2,0,-13,-28,11,-67,-32,-20); hands.name = "hands"; hands.max = 6; hands.x = 420; hands.y = 300; hands.sub = function(){ log.style.top = "25px"; log.style.left = "0px"; log.innerHTML= "VERY SPECIAL PLANS"; } spinners[n++] = hands; var harley = new Object(); harley.offset = new Array(0,0,15,-1,-1,17,6,20,-15,17,-19,17,3,-9,11,18,15,14,15,-3,6,16,-14,16,9,3,6,17,-12,17); harley.name = "harley"; harley.max = 15; harley.x = 140; harley.y = 280; harley.sub = function(){ log.style.top = "10px"; log.style.left = "300px"; log.innerHTML= "Mirages in the sands"; } spinners[n++] = harley; var karate = new Object(); karate.offset = new Array(0,0,0,0,0,0,0,0,0,0,0,0,3,8,5,0,6,0,36,3,25,2,6,-21); karate.name = "karate"; karate.max = 12; karate.x = 450; karate.y = 90; karate.sub = function(){ log.style.top = "50px"; log.style.left = "10px"; log.innerHTML= "Yellow cake fictions"; } spinners[n++] = karate; var lantern = new Object(); lantern.offset = new Array(0,0,-29,13,-3,6,-44,0,-3,-8,-48,-22); lantern.name = "lantern"; lantern.max = 6; lantern.x = 150; lantern.y = 80; lantern.sub = function(){ log.style.top = "200px"; log.style.left = "300px"; log.innerHTML= "So much oil to steal"; } spinners[n++] = lantern; var masterSpy = new Object(); masterSpy.offset = new Array(0,0,2,0,22,1,44,0,43,1,41,1,43,0,5,0,43,0,51,1,40,0,46,1); masterSpy.name = "masterSpy"; masterSpy.max = 12; masterSpy.x = 500; masterSpy.y = 325; masterSpy.sub = function(){ log.style.top = "250px"; log.style.left = "300px"; log.innerHTML= "Bomb blasts. Bombast"; } spinners[n++] = masterSpy; var zebraB = new Object(); zebraB.offset = new Array(0,0,26,-37,2,0,5,1,19,17); zebraB.name = "zebraB"; zebraB.max = 5; zebraB.x = 450; zebraB.y = 100; zebraB.sub = function(){ log.style.top = "300px"; log.style.left = "300px"; log.innerHTML= "Abu Ghraib bad apple spiel"; } spinners[n++] = zebraB; var part = new Object(); part.offset = new Array(0,0,-5,10,-16,11,-16,11,-7,11,-22,11,-16,11,-17,1,-19,10,9,11); part.name = "part"; part.max = 10; part.x = 150; part.y = 300; part.sub = function(){ log.style.top = "440px"; log.style.left = "0px"; log.innerHTML= "Surge cycle, progress:"; } spinners[n++] = part; var peace = new Object(); peace.offset = new Array(0,0,2,0,-10,-2,4,-2,-11,-2,4,0,5,0,4,0,-2,0,7,11); peace.name = "peace"; peace.max = 10; peace.x = 530; peace.y = 100; peace.sub = function(){ log.style.top = "510px"; log.style.left = "0px"; log.innerHTML= "fragile in reverse"; } spinners[n++] = peace; var pithHelmet = new Object(); pithHelmet.offset = new Array(0,0,10,3,19,27,-34,-5,8,0,14,2,18,29,-24,42); pithHelmet.name = "pithHelmet"; pithHelmet.max = 8; pithHelmet.x = 100; pithHelmet.y = 220; pithHelmet.sub = function(){ log.style.top = "250px"; log.style.left = "300px"; log.innerHTML= "Surge cycle super mess"; } spinners[n++] = pithHelmet; var porter = new Object(); porter.offset = new Array(0,0,12,4,8,3,34,3,58,3,11,3,49,3,39,3,62,3); porter.name = "porter"; porter.max = 9; porter.x = 400; porter.y = 100; porter.sub = function(){ log.style.top = "450px"; log.style.left = "10px"; log.innerHTML= "AXIS of Perverse"; } spinners[n++] = porter; var referee = new Object(); referee.offset = new Array(0,0,6,0,-19,0,15,1,23,0,-8,-5,7,-5,0,-5,-24,-2,-4,-18); referee.name = "referee"; referee.max = 10; referee.x = 100; referee.y = 300; referee.sub = function(){ log.style.top = "540px"; log.style.left = "100px"; log.innerHTML= "Counting beans (not bodies)"; } spinners[n++] = referee; var refsignals = new Object(); refsignals.offset = new Array(0,0,-41,52,-34,6,-17,7,0,53,-12,53,1,8,-6,53,-15,53,-14,54,11,54,-41,9,-6,17,-67,17,-68,-43,-72,16,-23,-21,-63,-29,-36,88); refsignals.name = "refsignals"; refsignals.max = 18; refsignals.x = 100; refsignals.y = 200; refsignals.sub = function(){ log.style.top = "300px"; log.style.left = "300px"; log.innerHTML= "Build another base"; } spinners[n++] = refsignals; var signs = new Object(); signs.offset = new Array(0,0,0,-23,4,-14,0,-28,0,-6,1,-27,-33,5,-33,5,-2,-13,-31,-4,-1,-26,3,-26,3,5,4,-13,3,0,-57,19,-36,24,0,-23,0,0,0,-1,0,-28,0,-27,0,-26,-15,-16,-14,-7,-30,-46); signs.name = "signs"; signs.max = 26; signs.x = 520; signs.y = 200; signs.sub = function(){ log.style.top = "50px"; log.style.left = "300px"; log.innerHTML= "Leave a child behind"; } spinners[n++] = signs; var silhouette = new Object(); silhouette.offset = new Array(0,0,-15,0,-15,0,43,-7,-36,-4,46,0,-43,0,45,-10,-20,0,55,-8); silhouette.name = "silhouette"; silhouette.max = 10; silhouette.x = 470; silhouette.y = 300; silhouette.sub = function(){ log.style.top = "100px"; log.style.left = "450px"; log.innerHTML= "Start brave wars in SPACE"; } spinners[n++] = silhouette; var soldiers = new Object(); soldiers.offset = new Array(0,0,18,12,-33,-3,-21,13,-16,12,-73,13,-66,15,-89,13,-90,13); soldiers.name = "soldiers"; soldiers.max = 9; soldiers.x = 150; soldiers.y = 100; soldiers.sub = function(){ log.style.top = "200px"; log.style.left = "300px"; log.innerHTML= "Great corporate 'liberators'!"; } spinners[n++] = soldiers; var snowmobile = new Object(); snowmobile.offset = new Array(0,0,35,-7,5,4,0,4,28,-7,-1,-2,25,-8,21,0); snowmobile.name = "snowmobile"; snowmobile.max = 8; snowmobile.x = 450; snowmobile.y = 100; snowmobile.sub = function(){ log.style.top = "50px"; log.style.left = "20px"; log.innerHTML= "Talking heads keep bleating"; } spinners[n++] = snowmobile; var snowsignal = new Object(); snowsignal.offset = new Array(0,0,-37,21,-35,17,-18,17,-13,-16,-7,5,12,25); snowsignal.name = "snowsignal"; snowsignal.max = 7; snowsignal.x = 100; snowsignal.y = 300; snowsignal.sub = function(){ log.style.top = "250px"; log.style.left = "300px"; log.innerHTML= "Warfare makes 'em wealthy"; } spinners[n++] = snowsignal; var tv = new Object(); tv.offset = new Array(0,0,-2,0,2,3,0,0,0,-2,2,1,0,2,5,3,4,1,0,5,0,-4); tv.name = "tv"; tv.max = 11; tv.x = 150; tv.y = 300; tv.sub = function(){ log.style.top = "50px"; log.style.left = "90px"; log.innerHTML= "Refugees? Memory hole"; } spinners[n++] = tv; var use = new Object(); use.offset = new Array(0,0,8,0); use.name = "use"; use.max = 2; use.x = 500; use.y = 100; use.sub = function(){ log.style.top = "230px"; log.style.left = "300px"; log.innerHTML= "Keep the torture stealthy."; } spinners[n++] = use; var ump = new Object(); ump.offset = new Array(0,0,-23,9,17,8,13,3,-10,-18,-10,-15,-38,0,-1,-15,-30,-2,-3,-6,-35,-24,1,0,-28,-2); ump.name = "ump"; ump.max = 13; ump.x = 150; ump.y = 350; ump.sub = function(){ log.style.top = "340px"; log.style.left = "300px"; log.innerHTML= "Profits down? Promote a war!"; } spinners[n++] = ump; var worker = new Object(); worker.offset = new Array(0,0,-3,2,50,2,10,2,29,2,28,2,32,-4,10,2); worker.name = "worker"; worker.max = 8; worker.x = 500; worker.y = 120; worker.sub = function(){ log.style.top = "420px"; log.style.left = "400px"; log.innerHTML= "Blow-back villains, desert storms"; } spinners[n++] = worker; var yoga = new Object(); yoga.offset = new Array(0,0,54,-25,18,-53,70,-84,67,-69,67,-75,0,-103,0,-31,54,-26,55,-34,15,-43,13,29,65,12,32,-85,33,34); // 9,-116,36,-134, 69,-129, 60,-123); yoga.name = "yoga"; yoga.max = 15; yoga.x = 100; yoga.y = 350; yoga.sub = function(){ log.style.top = "550px"; log.style.left = "400px"; log.innerHTML= "Stop LOSS actors. Ratings soar!"; } spinners[n++] = yoga; var zebra = new Object(); zebra.offset = new Array(0,0,6,35,-33,56,-18,57,-5,54,-14,54,-16,60,17,53,-71,55,-54,65,-44,54,-38,55,-19,62,-27,25,-21,39,-11,52,-18,55,-7,54,0,55,-24,19,-95,55,-26,52,-71,60,-1,64,-19,63); zebra.name = "zebra"; zebra.max = 25; zebra.x = 480; zebra.y = 150; zebra.sub = function(){ log.style.top = "100px"; log.style.left = "300px"; log.innerHTML= "Big media adores a WAR!"; } spinners[n++] = zebra; var micros = new Object(); micros.offset = new Array(0,0,8,-12,2,-5,14,-15,7,-8,-9,-10,1,-13,-11,-8,-14,-8,-14,-8,8,-9,10,-10,13,-10,9,-10,10,-2,11,0,2,-2); micros.name = "micros"; micros.max = 17; micros.x = 520; micros.y = 130; micros.sub = function(){ log.style.top = "350px"; log.style.left = "350px"; log.innerHTML= "Embedded TOOLS join the fight"; } spinners[n++] = micros; var zen = new Object(); zen.offset = new Array(0,0,5,3,-90,3,17,-29,-6,-13,-12,-88,-103,8,-2,5,-56,0); zen.name = "zen"; zen.max = 9; zen.x = 100; zen.y = 250; zen.sub = function(){ log.style.top = "250px"; log.style.left = "350px"; log.innerHTML= "Classified (censored) reports"; } spinners[n++] = zen; var xingGuard = new Object(); xingGuard.offset = new Array(0,0,4,8,11,5,51,0,-24,13); xingGuard.name = "xingGuard"; xingGuard.max = 5; xingGuard.x = 400; xingGuard.y = 100; xingGuard.sub = function(){ log.style.top = "350px"; log.style.left = "300px"; log.innerHTML= "Obscene cynicism. Surge of fright"; } spinners[n++] = xingGuard; var flaggirl = new Object(); flaggirl.offset = new Array(0,0,-39,-1,-25,0,-30,0,-42,0,0,0,-41,-9,-7,-11,0,-7,0,-10,0,-1,-41,0,-45,-8,-13,-24,0,-12,-41,-10,0,0,-41,-22,-39,-1,-44,-7,-40,-10,-17,-24,-41,-11,-31,-22,-32,0,-40,-23); flaggirl.name = "flaggirl"; flaggirl.max = 26; flaggirl.x = 100; flaggirl.y = 350; flaggirl.sub = function(){ log.style.top = "30px"; log.style.left = "70px"; log.innerHTML= "Pledge allegiance to neo-con fools"; } spinners[n++] = flaggirl; var imgs = new Array(); var frame; var alpha = 0; imgs["alien"] = new Array(); imgs["alien"][1] = new Image(); imgs["alien"][1].onload = loaded; imgs["alien"][1].src="/act/07/surgeCycle/img/alien/alien01.png"; imgs["alien"][2] = new Image(); imgs["alien"][2].onload = loaded; imgs["alien"][2].src="/act/07/surgeCycle/img/alien/alien02.png"; imgs["alien"][3] = new Image(); imgs["alien"][3].onload = loaded; imgs["alien"][3].src="/act/07/surgeCycle/img/alien/alien03.png"; imgs["alien"][4] = new Image(); imgs["alien"][4].onload = loaded; imgs["alien"][4].src="/act/07/surgeCycle/img/alien/alien04.png"; imgs["alien"][5] = new Image(); imgs["alien"][5].onload = loaded; imgs["alien"][5].src="/act/07/surgeCycle/img/alien/alien05.png"; imgs["alien"][6] = new Image(); imgs["alien"][6].onload = loaded; imgs["alien"][6].src="/act/07/surgeCycle/img/alien/alien06.png"; imgs["alien"][7] = new Image(); imgs["alien"][7].onload = loaded; imgs["alien"][7].src="/act/07/surgeCycle/img/alien/alien07.png"; imgs["alien"][8] = new Image(); imgs["alien"][8].onload = loaded; imgs["alien"][8].src="/act/07/surgeCycle/img/alien/alien08.png"; imgs["alien"][9] = new Image(); imgs["alien"][9].onload = loaded; imgs["alien"][9].src="/act/07/surgeCycle/img/alien/alien09.png"; imgs["alien"][10] = new Image(); imgs["alien"][10].onload = loaded; imgs["alien"][10].src="/act/07/surgeCycle/img/alien/alien10.png"; imgs["alien"][11] = new Image(); imgs["alien"][11].onload = loaded; imgs["alien"][11].src="/act/07/surgeCycle/img/alien/alien11.png"; imgs["alien"][12] = new Image(); imgs["alien"][12].onload = loaded; imgs["alien"][12].src="/act/07/surgeCycle/img/alien/alien12.png"; imgs["footSoldier"] = new Array(); imgs["footSoldier"][1] = new Image(); imgs["footSoldier"][1].onload = loaded; imgs["footSoldier"][1].src="/act/07/surgeCycle/img/footSoldier/footSoldier01.png"; imgs["footSoldier"][2] = new Image(); imgs["footSoldier"][2].onload = loaded; imgs["footSoldier"][2].src="/act/07/surgeCycle/img/footSoldier/footSoldier02.png"; imgs["hand_signals"] = new Array(); imgs["hand_signals"][1] = new Image(); imgs["hand_signals"][1].onload = loaded; imgs["hand_signals"][1].src="/act/07/surgeCycle/img/hand_signals/hand_signals01.png"; imgs["hand_signals"][2] = new Image(); imgs["hand_signals"][2].onload = loaded; imgs["hand_signals"][2].src="/act/07/surgeCycle/img/hand_signals/hand_signals02.png"; imgs["hand_signals"][3] = new Image(); imgs["hand_signals"][3].onload = loaded; imgs["hand_signals"][3].src="/act/07/surgeCycle/img/hand_signals/hand_signals03.png"; imgs["corporal"] = new Array(); imgs["corporal"][1] = new Image(); imgs["corporal"][1].onload = loaded; imgs["corporal"][1].src="/act/07/surgeCycle/img/corporal/corporal01.png"; imgs["corporal"][2] = new Image(); imgs["corporal"][2].onload = loaded; imgs["corporal"][2].src="/act/07/surgeCycle/img/corporal/corporal02.png"; imgs["corporal"][3] = new Image(); imgs["corporal"][3].onload = loaded; imgs["corporal"][3].src="/act/07/surgeCycle/img/corporal/corporal03.png"; imgs["corporal"][4] = new Image(); imgs["corporal"][4].onload = loaded; imgs["corporal"][4].src="/act/07/surgeCycle/img/corporal/corporal04.png"; imgs["corporal"][5] = new Image(); imgs["corporal"][5].onload = loaded; imgs["corporal"][5].src="/act/07/surgeCycle/img/corporal/corporal05.png"; imgs["corporal"][6] = new Image(); imgs["corporal"][6].onload = loaded; imgs["corporal"][6].src="/act/07/surgeCycle/img/corporal/corporal06.png"; imgs["corporal"][7] = new Image(); imgs["corporal"][7].onload = loaded; imgs["corporal"][7].src="/act/07/surgeCycle/img/corporal/corporal07.png"; imgs["corporal"][8] = new Image(); imgs["corporal"][8].onload = loaded; imgs["corporal"][8].src="/act/07/surgeCycle/img/corporal/corporal08.png"; imgs["corporal"][9] = new Image(); imgs["corporal"][9].onload = loaded; imgs["corporal"][9].src="/act/07/surgeCycle/img/corporal/corporal09.png"; imgs["corporal"][10] = new Image(); imgs["corporal"][10].onload = loaded; imgs["corporal"][10].src="/act/07/surgeCycle/img/corporal/corporal10.png"; imgs["football"] = new Array(); imgs["football"][1] = new Image(); imgs["football"][1].onload = loaded; imgs["football"][1].src="/act/07/surgeCycle/img/football/football01.png"; imgs["football"][2] = new Image(); imgs["football"][2].onload = loaded; imgs["football"][2].src="/act/07/surgeCycle/img/football/football02.png"; imgs["football"][3] = new Image(); imgs["football"][3].onload = loaded; imgs["football"][3].src="/act/07/surgeCycle/img/football/football03.png"; imgs["football"][4] = new Image(); imgs["football"][4].onload = loaded; imgs["football"][4].src="/act/07/surgeCycle/img/football/football04.png"; imgs["football"][5] = new Image(); imgs["football"][5].onload = loaded; imgs["football"][5].src="/act/07/surgeCycle/img/football/football05.png"; imgs["football"][6] = new Image(); imgs["football"][6].onload = loaded; imgs["football"][6].src="/act/07/surgeCycle/img/football/football06.png"; imgs["football"][7] = new Image(); imgs["football"][7].onload = loaded; imgs["football"][7].src="/act/07/surgeCycle/img/football/football07.png"; imgs["football"][8] = new Image(); imgs["football"][8].onload = loaded; imgs["football"][8].src="/act/07/surgeCycle/img/football/football08.png"; imgs["football"][9] = new Image(); imgs["football"][9].onload = loaded; imgs["football"][9].src="/act/07/surgeCycle/img/football/football09.png"; imgs["football"][10] = new Image(); imgs["football"][10].onload = loaded; imgs["football"][10].src="/act/07/surgeCycle/img/football/football10.png"; imgs["football"][11] = new Image(); imgs["football"][11].onload = loaded; imgs["football"][11].src="/act/07/surgeCycle/img/football/football11.png"; imgs["part"] = new Array(); imgs["part"][1] = new Image(); imgs["part"][1].onload = loaded; imgs["part"][1].src="/act/07/surgeCycle/img/part/part01.png"; imgs["part"][2] = new Image(); imgs["part"][2].onload = loaded; imgs["part"][2].src="/act/07/surgeCycle/img/part/part02.png"; imgs["part"][3] = new Image(); imgs["part"][3].onload = loaded; imgs["part"][3].src="/act/07/surgeCycle/img/part/part03.png"; imgs["part"][4] = new Image(); imgs["part"][4].onload = loaded; imgs["part"][4].src="/act/07/surgeCycle/img/part/part04.png"; imgs["part"][5] = new Image(); imgs["part"][5].onload = loaded; imgs["part"][5].src="/act/07/surgeCycle/img/part/part05.png"; imgs["part"][6] = new Image(); imgs["part"][6].onload = loaded; imgs["part"][6].src="/act/07/surgeCycle/img/part/part06.png"; imgs["part"][7] = new Image(); imgs["part"][7].onload = loaded; imgs["part"][7].src="/act/07/surgeCycle/img/part/part07.png"; imgs["part"][8] = new Image(); imgs["part"][8].onload = loaded; imgs["part"][8].src="/act/07/surgeCycle/img/part/part08.png"; imgs["part"][9] = new Image(); imgs["part"][9].onload = loaded; imgs["part"][9].src="/act/07/surgeCycle/img/part/part09.png"; imgs["part"][10] = new Image(); imgs["part"][10].onload = loaded; imgs["part"][10].src="/act/07/surgeCycle/img/part/part10.png"; imgs["snowmobile"] = new Array(); imgs["snowmobile"][1] = new Image(); imgs["snowmobile"][1].onload = loaded; imgs["snowmobile"][1].src="/act/07/surgeCycle/img/snowmobile/snowmobile01.png"; imgs["snowmobile"][2] = new Image(); imgs["snowmobile"][2].onload = loaded; imgs["snowmobile"][2].src="/act/07/surgeCycle/img/snowmobile/snowmobile02.png"; imgs["snowmobile"][3] = new Image(); imgs["snowmobile"][3].onload = loaded; imgs["snowmobile"][3].src="/act/07/surgeCycle/img/snowmobile/snowmobile03.png"; imgs["snowmobile"][4] = new Image(); imgs["snowmobile"][4].onload = loaded; imgs["snowmobile"][4].src="/act/07/surgeCycle/img/snowmobile/snowmobile04.png"; imgs["snowmobile"][5] = new Image(); imgs["snowmobile"][5].onload = loaded; imgs["snowmobile"][5].src="/act/07/surgeCycle/img/snowmobile/snowmobile05.png"; imgs["snowmobile"][6] = new Image(); imgs["snowmobile"][6].onload = loaded; imgs["snowmobile"][6].src="/act/07/surgeCycle/img/snowmobile/snowmobile06.png"; imgs["snowmobile"][7] = new Image(); imgs["snowmobile"][7].onload = loaded; imgs["snowmobile"][7].src="/act/07/surgeCycle/img/snowmobile/snowmobile07.png"; imgs["snowmobile"][8] = new Image(); imgs["snowmobile"][8].onload = loaded; imgs["snowmobile"][8].src="/act/07/surgeCycle/img/snowmobile/snowmobile08.png"; imgs["porter"] = new Array(); imgs["porter"][1] = new Image(); imgs["porter"][1].onload = loaded; imgs["porter"][1].src="/act/07/surgeCycle/img/porter/porter01.png"; imgs["porter"][2] = new Image(); imgs["porter"][2].onload = loaded; imgs["porter"][2].src="/act/07/surgeCycle/img/porter/porter02.png"; imgs["porter"][3] = new Image(); imgs["porter"][3].onload = loaded; imgs["porter"][3].src="/act/07/surgeCycle/img/porter/porter03.png"; imgs["porter"][4] = new Image(); imgs["porter"][4].onload = loaded; imgs["porter"][4].src="/act/07/surgeCycle/img/porter/porter04.png"; imgs["porter"][5] = new Image(); imgs["porter"][5].onload = loaded; imgs["porter"][5].src="/act/07/surgeCycle/img/porter/porter05.png"; imgs["porter"][6] = new Image(); imgs["porter"][6].onload = loaded; imgs["porter"][6].src="/act/07/surgeCycle/img/porter/porter06.png"; imgs["porter"][7] = new Image(); imgs["porter"][7].onload = loaded; imgs["porter"][7].src="/act/07/surgeCycle/img/porter/porter07.png"; imgs["porter"][8] = new Image(); imgs["porter"][8].onload = loaded; imgs["porter"][8].src="/act/07/surgeCycle/img/porter/porter08.png"; imgs["porter"][9] = new Image(); imgs["porter"][9].onload = loaded; imgs["porter"][9].src="/act/07/surgeCycle/img/porter/porter09.png"; imgs["fist"] = new Array(); imgs["fist"][1] = new Image(); imgs["fist"][1].onload = loaded; imgs["fist"][1].src="/act/07/surgeCycle/img/fist/fist01.png"; imgs["fist"][2] = new Image(); imgs["fist"][2].onload = loaded; imgs["fist"][2].src="/act/07/surgeCycle/img/fist/fist02.png"; imgs["fist"][3] = new Image(); imgs["fist"][3].onload = loaded; imgs["fist"][3].src="/act/07/surgeCycle/img/fist/fist03.png"; imgs["fist"][4] = new Image(); imgs["fist"][4].onload = loaded; imgs["fist"][4].src="/act/07/surgeCycle/img/fist/fist04.png"; imgs["fist"][5] = new Image(); imgs["fist"][5].onload = loaded; imgs["fist"][5].src="/act/07/surgeCycle/img/fist/fist05.png"; imgs["fist"][6] = new Image(); imgs["fist"][6].onload = loaded; imgs["fist"][6].src="/act/07/surgeCycle/img/fist/fist06.png"; imgs["fist"][7] = new Image(); imgs["fist"][7].onload = loaded; imgs["fist"][7].src="/act/07/surgeCycle/img/fist/fist07.png"; imgs["pithHelmet"] = new Array(); imgs["pithHelmet"][1] = new Image(); imgs["pithHelmet"][1].onload = loaded; imgs["pithHelmet"][1].src="/act/07/surgeCycle/img/pithHelmet/pithHelmet01.png"; imgs["pithHelmet"][2] = new Image(); imgs["pithHelmet"][2].onload = loaded; imgs["pithHelmet"][2].src="/act/07/surgeCycle/img/pithHelmet/pithHelmet02.png"; imgs["pithHelmet"][3] = new Image(); imgs["pithHelmet"][3].onload = loaded; imgs["pithHelmet"][3].src="/act/07/surgeCycle/img/pithHelmet/pithHelmet03.png"; imgs["pithHelmet"][4] = new Image(); imgs["pithHelmet"][4].onload = loaded; imgs["pithHelmet"][4].src="/act/07/surgeCycle/img/pithHelmet/pithHelmet04.png"; imgs["pithHelmet"][5] = new Image(); imgs["pithHelmet"][5].onload = loaded; imgs["pithHelmet"][5].src="/act/07/surgeCycle/img/pithHelmet/pithHelmet05.png"; imgs["pithHelmet"][6] = new Image(); imgs["pithHelmet"][6].onload = loaded; imgs["pithHelmet"][6].src="/act/07/surgeCycle/img/pithHelmet/pithHelmet06.png"; imgs["pithHelmet"][7] = new Image(); imgs["pithHelmet"][7].onload = loaded; imgs["pithHelmet"][7].src="/act/07/surgeCycle/img/pithHelmet/pithHelmet07.png"; imgs["pithHelmet"][8] = new Image(); imgs["pithHelmet"][8].onload = loaded; imgs["pithHelmet"][8].src="/act/07/surgeCycle/img/pithHelmet/pithHelmet08.png"; imgs["zen"] = new Array(); imgs["zen"][1] = new Image(); imgs["zen"][1].onload = loaded; imgs["zen"][1].src="/act/07/surgeCycle/img/zen/zen01.png"; imgs["zen"][2] = new Image(); imgs["zen"][2].onload = loaded; imgs["zen"][2].src="/act/07/surgeCycle/img/zen/zen02.png"; imgs["zen"][3] = new Image(); imgs["zen"][3].onload = loaded; imgs["zen"][3].src="/act/07/surgeCycle/img/zen/zen03.png"; imgs["zen"][4] = new Image(); imgs["zen"][4].onload = loaded; imgs["zen"][4].src="/act/07/surgeCycle/img/zen/zen04.png"; imgs["zen"][5] = new Image(); imgs["zen"][5].onload = loaded; imgs["zen"][5].src="/act/07/surgeCycle/img/zen/zen05.png"; imgs["zen"][6] = new Image(); imgs["zen"][6].onload = loaded; imgs["zen"][6].src="/act/07/surgeCycle/img/zen/zen06.png"; imgs["zen"][7] = new Image(); imgs["zen"][7].onload = loaded; imgs["zen"][7].src="/act/07/surgeCycle/img/zen/zen07.png"; imgs["zen"][8] = new Image(); imgs["zen"][8].onload = loaded; imgs["zen"][8].src="/act/07/surgeCycle/img/zen/zen08.png"; imgs["zen"][9] = new Image(); imgs["zen"][9].onload = loaded; imgs["zen"][9].src="/act/07/surgeCycle/img/zen/zen09.png"; imgs["infantry"] = new Array(); imgs["infantry"][1] = new Image(); imgs["infantry"][1].onload = loaded; imgs["infantry"][1].src="/act/07/surgeCycle/img/infantry/infantry01.png"; imgs["infantry"][2] = new Image(); imgs["infantry"][2].onload = loaded; imgs["infantry"][2].src="/act/07/surgeCycle/img/infantry/infantry02.png"; imgs["signs"] = new Array(); imgs["signs"][1] = new Image(); imgs["signs"][1].onload = loaded; imgs["signs"][1].src="/act/07/surgeCycle/img/signs/signs01.png"; imgs["signs"][2] = new Image(); imgs["signs"][2].onload = loaded; imgs["signs"][2].src="/act/07/surgeCycle/img/signs/signs02.png"; imgs["signs"][3] = new Image(); imgs["signs"][3].onload = loaded; imgs["signs"][3].src="/act/07/surgeCycle/img/signs/signs03.png"; imgs["signs"][4] = new Image(); imgs["signs"][4].onload = loaded; imgs["signs"][4].src="/act/07/surgeCycle/img/signs/signs04.png"; imgs["signs"][5] = new Image(); imgs["signs"][5].onload = loaded; imgs["signs"][5].src="/act/07/surgeCycle/img/signs/signs05.png"; imgs["signs"][6] = new Image(); imgs["signs"][6].onload = loaded; imgs["signs"][6].src="/act/07/surgeCycle/img/signs/signs06.png"; imgs["signs"][7] = new Image(); imgs["signs"][7].onload = loaded; imgs["signs"][7].src="/act/07/surgeCycle/img/signs/signs07.png"; imgs["signs"][8] = new Image(); imgs["signs"][8].onload = loaded; imgs["signs"][8].src="/act/07/surgeCycle/img/signs/signs08.png"; imgs["signs"][9] = new Image(); imgs["signs"][9].onload = loaded; imgs["signs"][9].src="/act/07/surgeCycle/img/signs/signs09.png"; imgs["signs"][10] = new Image(); imgs["signs"][10].onload = loaded; imgs["signs"][10].src="/act/07/surgeCycle/img/signs/signs10.png"; imgs["signs"][11] = new Image(); imgs["signs"][11].onload = loaded; imgs["signs"][11].src="/act/07/surgeCycle/img/signs/signs11.png"; imgs["signs"][12] = new Image(); imgs["signs"][12].onload = loaded; imgs["signs"][12].src="/act/07/surgeCycle/img/signs/signs12.png"; imgs["signs"][13] = new Image(); imgs["signs"][13].onload = loaded; imgs["signs"][13].src="/act/07/surgeCycle/img/signs/signs13.png"; imgs["signs"][14] = new Image(); imgs["signs"][14].onload = loaded; imgs["signs"][14].src="/act/07/surgeCycle/img/signs/signs14.png"; imgs["signs"][15] = new Image(); imgs["signs"][15].onload = loaded; imgs["signs"][15].src="/act/07/surgeCycle/img/signs/signs15.png"; imgs["signs"][16] = new Image(); imgs["signs"][16].onload = loaded; imgs["signs"][16].src="/act/07/surgeCycle/img/signs/signs16.png"; imgs["signs"][17] = new Image(); imgs["signs"][17].onload = loaded; imgs["signs"][17].src="/act/07/surgeCycle/img/signs/signs17.png"; imgs["signs"][18] = new Image(); imgs["signs"][18].onload = loaded; imgs["signs"][18].src="/act/07/surgeCycle/img/signs/signs18.png"; imgs["signs"][19] = new Image(); imgs["signs"][19].onload = loaded; imgs["signs"][19].src="/act/07/surgeCycle/img/signs/signs19.png"; imgs["signs"][20] = new Image(); imgs["signs"][20].onload = loaded; imgs["signs"][20].src="/act/07/surgeCycle/img/signs/signs20.png"; imgs["signs"][21] = new Image(); imgs["signs"][21].onload = loaded; imgs["signs"][21].src="/act/07/surgeCycle/img/signs/signs21.png"; imgs["signs"][22] = new Image(); imgs["signs"][22].onload = loaded; imgs["signs"][22].src="/act/07/surgeCycle/img/signs/signs22.png"; imgs["signs"][23] = new Image(); imgs["signs"][23].onload = loaded; imgs["signs"][23].src="/act/07/surgeCycle/img/signs/signs23.png"; imgs["signs"][24] = new Image(); imgs["signs"][24].onload = loaded; imgs["signs"][24].src="/act/07/surgeCycle/img/signs/signs24.png"; imgs["signs"][25] = new Image(); imgs["signs"][25].onload = loaded; imgs["signs"][25].src="/act/07/surgeCycle/img/signs/signs25.png"; imgs["signs"][26] = new Image(); imgs["signs"][26].onload = loaded; imgs["signs"][26].src="/act/07/surgeCycle/img/signs/signs26.png"; imgs["worker"] = new Array(); imgs["worker"][1] = new Image(); imgs["worker"][1].onload = loaded; imgs["worker"][1].src="/act/07/surgeCycle/img/worker/worker01.png"; imgs["worker"][2] = new Image(); imgs["worker"][2].onload = loaded; imgs["worker"][2].src="/act/07/surgeCycle/img/worker/worker02.png"; imgs["worker"][3] = new Image(); imgs["worker"][3].onload = loaded; imgs["worker"][3].src="/act/07/surgeCycle/img/worker/worker03.png"; imgs["worker"][4] = new Image(); imgs["worker"][4].onload = loaded; imgs["worker"][4].src="/act/07/surgeCycle/img/worker/worker04.png"; imgs["worker"][5] = new Image(); imgs["worker"][5].onload = loaded; imgs["worker"][5].src="/act/07/surgeCycle/img/worker/worker05.png"; imgs["worker"][6] = new Image(); imgs["worker"][6].onload = loaded; imgs["worker"][6].src="/act/07/surgeCycle/img/worker/worker06.png"; imgs["worker"][7] = new Image(); imgs["worker"][7].onload = loaded; imgs["worker"][7].src="/act/07/surgeCycle/img/worker/worker07.png"; imgs["worker"][8] = new Image(); imgs["worker"][8].onload = loaded; imgs["worker"][8].src="/act/07/surgeCycle/img/worker/worker08.png"; imgs["greyHelmet"] = new Array(); imgs["greyHelmet"][1] = new Image(); imgs["greyHelmet"][1].onload = loaded; imgs["greyHelmet"][1].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet01.png"; imgs["greyHelmet"][2] = new Image(); imgs["greyHelmet"][2].onload = loaded; imgs["greyHelmet"][2].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet02.png"; imgs["greyHelmet"][3] = new Image(); imgs["greyHelmet"][3].onload = loaded; imgs["greyHelmet"][3].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet03.png"; imgs["greyHelmet"][4] = new Image(); imgs["greyHelmet"][4].onload = loaded; imgs["greyHelmet"][4].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet04.png"; imgs["greyHelmet"][5] = new Image(); imgs["greyHelmet"][5].onload = loaded; imgs["greyHelmet"][5].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet05.png"; imgs["greyHelmet"][6] = new Image(); imgs["greyHelmet"][6].onload = loaded; imgs["greyHelmet"][6].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet06.png"; imgs["greyHelmet"][7] = new Image(); imgs["greyHelmet"][7].onload = loaded; imgs["greyHelmet"][7].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet07.png"; imgs["greyHelmet"][8] = new Image(); imgs["greyHelmet"][8].onload = loaded; imgs["greyHelmet"][8].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet08.png"; imgs["greyHelmet"][9] = new Image(); imgs["greyHelmet"][9].onload = loaded; imgs["greyHelmet"][9].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet09.png"; imgs["greyHelmet"][10] = new Image(); imgs["greyHelmet"][10].onload = loaded; imgs["greyHelmet"][10].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet10.png"; imgs["greyHelmet"][11] = new Image(); imgs["greyHelmet"][11].onload = loaded; imgs["greyHelmet"][11].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet11.png"; imgs["greyHelmet"][12] = new Image(); imgs["greyHelmet"][12].onload = loaded; imgs["greyHelmet"][12].src="/act/07/surgeCycle/img/greyHelmet/greyHelmet12.png"; imgs["xingGuard"] = new Array(); imgs["xingGuard"][1] = new Image(); imgs["xingGuard"][1].onload = loaded; imgs["xingGuard"][1].src="/act/07/surgeCycle/img/xingGuard/xingGuard01.png"; imgs["xingGuard"][2] = new Image(); imgs["xingGuard"][2].onload = loaded; imgs["xingGuard"][2].src="/act/07/surgeCycle/img/xingGuard/xingGuard02.png"; imgs["xingGuard"][3] = new Image(); imgs["xingGuard"][3].onload = loaded; imgs["xingGuard"][3].src="/act/07/surgeCycle/img/xingGuard/xingGuard03.png"; imgs["xingGuard"][4] = new Image(); imgs["xingGuard"][4].onload = loaded; imgs["xingGuard"][4].src="/act/07/surgeCycle/img/xingGuard/xingGuard04.png"; imgs["xingGuard"][5] = new Image(); imgs["xingGuard"][5].onload = loaded; imgs["xingGuard"][5].src="/act/07/surgeCycle/img/xingGuard/xingGuard05.png"; imgs["yoga"] = new Array(); imgs["yoga"][1] = new Image(); imgs["yoga"][1].onload = loaded; imgs["yoga"][1].src="/act/07/surgeCycle/img/yoga/yoga01.png"; imgs["yoga"][2] = new Image(); imgs["yoga"][2].onload = loaded; imgs["yoga"][2].src="/act/07/surgeCycle/img/yoga/yoga02.png"; imgs["yoga"][3] = new Image(); imgs["yoga"][3].onload = loaded; imgs["yoga"][3].src="/act/07/surgeCycle/img/yoga/yoga03.png"; imgs["yoga"][4] = new Image(); imgs["yoga"][4].onload = loaded; imgs["yoga"][4].src="/act/07/surgeCycle/img/yoga/yoga04.png"; imgs["yoga"][5] = new Image(); imgs["yoga"][5].onload = loaded; imgs["yoga"][5].src="/act/07/surgeCycle/img/yoga/yoga05.png"; imgs["yoga"][6] = new Image(); imgs["yoga"][6].onload = loaded; imgs["yoga"][6].src="/act/07/surgeCycle/img/yoga/yoga06.png"; imgs["yoga"][7] = new Image(); imgs["yoga"][7].onload = loaded; imgs["yoga"][7].src="/act/07/surgeCycle/img/yoga/yoga07.png"; imgs["yoga"][8] = new Image(); imgs["yoga"][8].onload = loaded; imgs["yoga"][8].src="/act/07/surgeCycle/img/yoga/yoga08.png"; imgs["yoga"][9] = new Image(); imgs["yoga"][9].onload = loaded; imgs["yoga"][9].src="/act/07/surgeCycle/img/yoga/yoga09.png"; imgs["yoga"][10] = new Image(); imgs["yoga"][10].onload = loaded; imgs["yoga"][10].src="/act/07/surgeCycle/img/yoga/yoga10.png"; imgs["yoga"][11] = new Image(); imgs["yoga"][11].onload = loaded; imgs["yoga"][11].src="/act/07/surgeCycle/img/yoga/yoga11.png"; imgs["yoga"][12] = new Image(); imgs["yoga"][12].onload = loaded; imgs["yoga"][12].src="/act/07/surgeCycle/img/yoga/yoga12.png"; imgs["yoga"][13] = new Image(); imgs["yoga"][13].onload = loaded; imgs["yoga"][13].src="/act/07/surgeCycle/img/yoga/yoga13.png"; imgs["yoga"][14] = new Image(); imgs["yoga"][14].onload = loaded; imgs["yoga"][14].src="/act/07/surgeCycle/img/yoga/yoga14.png"; imgs["yoga"][15] = new Image(); imgs["yoga"][15].onload = loaded; imgs["yoga"][15].src="/act/07/surgeCycle/img/yoga/yoga15.png"; imgs["micros"] = new Array(); imgs["micros"][1] = new Image(); imgs["micros"][1].onload = loaded; imgs["micros"][1].src="/act/07/surgeCycle/img/micros/micros01.png"; imgs["micros"][2] = new Image(); imgs["micros"][2].onload = loaded; imgs["micros"][2].src="/act/07/surgeCycle/img/micros/micros02.png"; imgs["micros"][3] = new Image(); imgs["micros"][3].onload = loaded; imgs["micros"][3].src="/act/07/surgeCycle/img/micros/micros03.png"; imgs["micros"][4] = new Image(); imgs["micros"][4].onload = loaded; imgs["micros"][4].src="/act/07/surgeCycle/img/micros/micros04.png"; imgs["micros"][5] = new Image(); imgs["micros"][5].onload = loaded; imgs["micros"][5].src="/act/07/surgeCycle/img/micros/micros05.png"; imgs["micros"][6] = new Image(); imgs["micros"][6].onload = loaded; imgs["micros"][6].src="/act/07/surgeCycle/img/micros/micros06.png"; imgs["micros"][7] = new Image(); imgs["micros"][7].onload = loaded; imgs["micros"][7].src="/act/07/surgeCycle/img/micros/micros07.png"; imgs["micros"][8] = new Image(); imgs["micros"][8].onload = loaded; imgs["micros"][8].src="/act/07/surgeCycle/img/micros/micros08.png"; imgs["micros"][9] = new Image(); imgs["micros"][9].onload = loaded; imgs["micros"][9].src="/act/07/surgeCycle/img/micros/micros09.png"; imgs["micros"][10] = new Image(); imgs["micros"][10].onload = loaded; imgs["micros"][10].src="/act/07/surgeCycle/img/micros/micros10.png"; imgs["micros"][11] = new Image(); imgs["micros"][11].onload = loaded; imgs["micros"][11].src="/act/07/surgeCycle/img/micros/micros11.png"; imgs["micros"][12] = new Image(); imgs["micros"][12].onload = loaded; imgs["micros"][12].src="/act/07/surgeCycle/img/micros/micros12.png"; imgs["micros"][13] = new Image(); imgs["micros"][13].onload = loaded; imgs["micros"][13].src="/act/07/surgeCycle/img/micros/micros13.png"; imgs["micros"][14] = new Image(); imgs["micros"][14].onload = loaded; imgs["micros"][14].src="/act/07/surgeCycle/img/micros/micros14.png"; imgs["micros"][15] = new Image(); imgs["micros"][15].onload = loaded; imgs["micros"][15].src="/act/07/surgeCycle/img/micros/micros15.png"; imgs["micros"][16] = new Image(); imgs["micros"][16].onload = loaded; imgs["micros"][16].src="/act/07/surgeCycle/img/micros/micros16.png"; imgs["micros"][17] = new Image(); imgs["micros"][17].onload = loaded; imgs["micros"][17].src="/act/07/surgeCycle/img/micros/micros17.png"; imgs["crumb"] = new Array(); imgs["crumb"][1] = new Image(); imgs["crumb"][1].onload = loaded; imgs["crumb"][1].src="/act/07/surgeCycle/img/crumb/crumb01.png"; imgs["crumb"][2] = new Image(); imgs["crumb"][2].onload = loaded; imgs["crumb"][2].src="/act/07/surgeCycle/img/crumb/crumb02.png"; imgs["crumb"][3] = new Image(); imgs["crumb"][3].onload = loaded; imgs["crumb"][3].src="/act/07/surgeCycle/img/crumb/crumb03.png"; imgs["crumb"][4] = new Image(); imgs["crumb"][4].onload = loaded; imgs["crumb"][4].src="/act/07/surgeCycle/img/crumb/crumb04.png"; imgs["crumb"][5] = new Image(); imgs["crumb"][5].onload = loaded; imgs["crumb"][5].src="/act/07/surgeCycle/img/crumb/crumb05.png"; imgs["crumb"][6] = new Image(); imgs["crumb"][6].onload = loaded; imgs["crumb"][6].src="/act/07/surgeCycle/img/crumb/crumb06.png"; imgs["crumb"][7] = new Image(); imgs["crumb"][7].onload = loaded; imgs["crumb"][7].src="/act/07/surgeCycle/img/crumb/crumb07.png"; imgs["crumb"][8] = new Image(); imgs["crumb"][8].onload = loaded; imgs["crumb"][8].src="/act/07/surgeCycle/img/crumb/crumb08.png"; imgs["crumb"][9] = new Image(); imgs["crumb"][9].onload = loaded; imgs["crumb"][9].src="/act/07/surgeCycle/img/crumb/crumb09.png"; imgs["crumb"][10] = new Image(); imgs["crumb"][10].onload = loaded; imgs["crumb"][10].src="/act/07/surgeCycle/img/crumb/crumb10.png"; imgs["crumb"][11] = new Image(); imgs["crumb"][11].onload = loaded; imgs["crumb"][11].src="/act/07/surgeCycle/img/crumb/crumb11.png"; imgs["crumb"][12] = new Image(); imgs["crumb"][12].onload = loaded; imgs["crumb"][12].src="/act/07/surgeCycle/img/crumb/crumb12.png"; imgs["crumb"][13] = new Image(); imgs["crumb"][13].onload = loaded; imgs["crumb"][13].src="/act/07/surgeCycle/img/crumb/crumb13.png"; imgs["crumb"][14] = new Image(); imgs["crumb"][14].onload = loaded; imgs["crumb"][14].src="/act/07/surgeCycle/img/crumb/crumb14.png"; imgs["crumb"][15] = new Image(); imgs["crumb"][15].onload = loaded; imgs["crumb"][15].src="/act/07/surgeCycle/img/crumb/crumb15.png"; imgs["blackBeret"] = new Array(); imgs["blackBeret"][1] = new Image(); imgs["blackBeret"][1].onload = loaded; imgs["blackBeret"][1].src="/act/07/surgeCycle/img/blackBeret/blackBeret01.png"; imgs["blackBeret"][2] = new Image(); imgs["blackBeret"][2].onload = loaded; imgs["blackBeret"][2].src="/act/07/surgeCycle/img/blackBeret/blackBeret02.png"; imgs["blackBeret"][3] = new Image(); imgs["blackBeret"][3].onload = loaded; imgs["blackBeret"][3].src="/act/07/surgeCycle/img/blackBeret/blackBeret03.png"; imgs["blackBeret"][4] = new Image(); imgs["blackBeret"][4].onload = loaded; imgs["blackBeret"][4].src="/act/07/surgeCycle/img/blackBeret/blackBeret04.png"; imgs["blackBeret"][5] = new Image(); imgs["blackBeret"][5].onload = loaded; imgs["blackBeret"][5].src="/act/07/surgeCycle/img/blackBeret/blackBeret05.png"; imgs["blackBeret"][6] = new Image(); imgs["blackBeret"][6].onload = loaded; imgs["blackBeret"][6].src="/act/07/surgeCycle/img/blackBeret/blackBeret06.png"; imgs["blackBeret"][7] = new Image(); imgs["blackBeret"][7].onload = loaded; imgs["blackBeret"][7].src="/act/07/surgeCycle/img/blackBeret/blackBeret07.png"; imgs["blackBeret"][8] = new Image(); imgs["blackBeret"][8].onload = loaded; imgs["blackBeret"][8].src="/act/07/surgeCycle/img/blackBeret/blackBeret08.png"; imgs["blackBeret"][9] = new Image(); imgs["blackBeret"][9].onload = loaded; imgs["blackBeret"][9].src="/act/07/surgeCycle/img/blackBeret/blackBeret09.png"; imgs["blackBeret"][10] = new Image(); imgs["blackBeret"][10].onload = loaded; imgs["blackBeret"][10].src="/act/07/surgeCycle/img/blackBeret/blackBeret10.png"; imgs["flaggirl"] = new Array(); imgs["flaggirl"][1] = new Image(); imgs["flaggirl"][1].onload = loaded; imgs["flaggirl"][1].src="/act/07/surgeCycle/img/flaggirl/flaggirl01.png"; imgs["flaggirl"][2] = new Image(); imgs["flaggirl"][2].onload = loaded; imgs["flaggirl"][2].src="/act/07/surgeCycle/img/flaggirl/flaggirl02.png"; imgs["flaggirl"][3] = new Image(); imgs["flaggirl"][3].onload = loaded; imgs["flaggirl"][3].src="/act/07/surgeCycle/img/flaggirl/flaggirl03.png"; imgs["flaggirl"][4] = new Image(); imgs["flaggirl"][4].onload = loaded; imgs["flaggirl"][4].src="/act/07/surgeCycle/img/flaggirl/flaggirl04.png"; imgs["flaggirl"][5] = new Image(); imgs["flaggirl"][5].onload = loaded; imgs["flaggirl"][5].src="/act/07/surgeCycle/img/flaggirl/flaggirl05.png"; imgs["flaggirl"][6] = new Image(); imgs["flaggirl"][6].onload = loaded; imgs["flaggirl"][6].src="/act/07/surgeCycle/img/flaggirl/flaggirl06.png"; imgs["flaggirl"][7] = new Image(); imgs["flaggirl"][7].onload = loaded; imgs["flaggirl"][7].src="/act/07/surgeCycle/img/flaggirl/flaggirl07.png"; imgs["flaggirl"][8] = new Image(); imgs["flaggirl"][8].onload = loaded; imgs["flaggirl"][8].src="/act/07/surgeCycle/img/flaggirl/flaggirl08.png"; imgs["flaggirl"][9] = new Image(); imgs["flaggirl"][9].onload = loaded; imgs["flaggirl"][9].src="/act/07/surgeCycle/img/flaggirl/flaggirl09.png"; imgs["flaggirl"][10] = new Image(); imgs["flaggirl"][10].onload = loaded; imgs["flaggirl"][10].src="/act/07/surgeCycle/img/flaggirl/flaggirl10.png"; imgs["flaggirl"][11] = new Image(); imgs["flaggirl"][11].onload = loaded; imgs["flaggirl"][11].src="/act/07/surgeCycle/img/flaggirl/flaggirl11.png"; imgs["flaggirl"][12] = new Image(); imgs["flaggirl"][12].onload = loaded; imgs["flaggirl"][12].src="/act/07/surgeCycle/img/flaggirl/flaggirl12.png"; imgs["flaggirl"][13] = new Image(); imgs["flaggirl"][13].onload = loaded; imgs["flaggirl"][13].src="/act/07/surgeCycle/img/flaggirl/flaggirl13.png"; imgs["flaggirl"][14] = new Image(); imgs["flaggirl"][14].onload = loaded; imgs["flaggirl"][14].src="/act/07/surgeCycle/img/flaggirl/flaggirl14.png"; imgs["flaggirl"][15] = new Image(); imgs["flaggirl"][15].onload = loaded; imgs["flaggirl"][15].src="/act/07/surgeCycle/img/flaggirl/flaggirl15.png"; imgs["flaggirl"][16] = new Image(); imgs["flaggirl"][16].onload = loaded; imgs["flaggirl"][16].src="/act/07/surgeCycle/img/flaggirl/flaggirl16.png"; imgs["flaggirl"][17] = new Image(); imgs["flaggirl"][17].onload = loaded; imgs["flaggirl"][17].src="/act/07/surgeCycle/img/flaggirl/flaggirl17.png"; imgs["flaggirl"][18] = new Image(); imgs["flaggirl"][18].onload = loaded; imgs["flaggirl"][18].src="/act/07/surgeCycle/img/flaggirl/flaggirl18.png"; imgs["flaggirl"][19] = new Image(); imgs["flaggirl"][19].onload = loaded; imgs["flaggirl"][19].src="/act/07/surgeCycle/img/flaggirl/flaggirl19.png"; imgs["flaggirl"][20] = new Image(); imgs["flaggirl"][20].onload = loaded; imgs["flaggirl"][20].src="/act/07/surgeCycle/img/flaggirl/flaggirl20.png"; imgs["flaggirl"][21] = new Image(); imgs["flaggirl"][21].onload = loaded; imgs["flaggirl"][21].src="/act/07/surgeCycle/img/flaggirl/flaggirl21.png"; imgs["flaggirl"][22] = new Image(); imgs["flaggirl"][22].onload = loaded; imgs["flaggirl"][22].src="/act/07/surgeCycle/img/flaggirl/flaggirl22.png"; imgs["flaggirl"][23] = new Image(); imgs["flaggirl"][23].onload = loaded; imgs["flaggirl"][23].src="/act/07/surgeCycle/img/flaggirl/flaggirl23.png"; imgs["flaggirl"][24] = new Image(); imgs["flaggirl"][24].onload = loaded; imgs["flaggirl"][24].src="/act/07/surgeCycle/img/flaggirl/flaggirl24.png"; imgs["flaggirl"][25] = new Image(); imgs["flaggirl"][25].onload = loaded; imgs["flaggirl"][25].src="/act/07/surgeCycle/img/flaggirl/flaggirl25.png"; imgs["flaggirl"][26] = new Image(); imgs["flaggirl"][26].onload = loaded; imgs["flaggirl"][26].src="/act/07/surgeCycle/img/flaggirl/flaggirl26.png"; imgs["blueCollar"] = new Array(); imgs["blueCollar"][1] = new Image(); imgs["blueCollar"][1].onload = loaded; imgs["blueCollar"][1].src="/act/07/surgeCycle/img/blueCollar/blueCollar01.png"; imgs["blueCollar"][2] = new Image(); imgs["blueCollar"][2].onload = loaded; imgs["blueCollar"][2].src="/act/07/surgeCycle/img/blueCollar/blueCollar02.png"; imgs["blueCollar"][3] = new Image(); imgs["blueCollar"][3].onload = loaded; imgs["blueCollar"][3].src="/act/07/surgeCycle/img/blueCollar/blueCollar03.png"; imgs["blueCollar"][4] = new Image(); imgs["blueCollar"][4].onload = loaded; imgs["blueCollar"][4].src="/act/07/surgeCycle/img/blueCollar/blueCollar04.png"; imgs["blueCollar"][5] = new Image(); imgs["blueCollar"][5].onload = loaded; imgs["blueCollar"][5].src="/act/07/surgeCycle/img/blueCollar/blueCollar05.png"; imgs["blueCollar"][6] = new Image(); imgs["blueCollar"][6].onload = loaded; imgs["blueCollar"][6].src="/act/07/surgeCycle/img/blueCollar/blueCollar06.png"; imgs["blueCollar"][7] = new Image(); imgs["blueCollar"][7].onload = loaded; imgs["blueCollar"][7].src="/act/07/surgeCycle/img/blueCollar/blueCollar07.png"; imgs["blueCollar"][8] = new Image(); imgs["blueCollar"][8].onload = loaded; imgs["blueCollar"][8].src="/act/07/surgeCycle/img/blueCollar/blueCollar08.png"; imgs["blueCollar"][9] = new Image(); imgs["blueCollar"][9].onload = loaded; imgs["blueCollar"][9].src="/act/07/surgeCycle/img/blueCollar/blueCollar09.png"; imgs["blueCollar"][10] = new Image(); imgs["blueCollar"][10].onload = loaded; imgs["blueCollar"][10].src="/act/07/surgeCycle/img/blueCollar/blueCollar10.png"; imgs["blueCollar"][11] = new Image(); imgs["blueCollar"][11].onload = loaded; imgs["blueCollar"][11].src="/act/07/surgeCycle/img/blueCollar/blueCollar11.png"; imgs["blueCollar"][12] = new Image(); imgs["blueCollar"][12].onload = loaded; imgs["blueCollar"][12].src="/act/07/surgeCycle/img/blueCollar/blueCollar12.png"; imgs["blueCollar"][13] = new Image(); imgs["blueCollar"][13].onload = loaded; imgs["blueCollar"][13].src="/act/07/surgeCycle/img/blueCollar/blueCollar13.png"; imgs["blueCollar"][14] = new Image(); imgs["blueCollar"][14].onload = loaded; imgs["blueCollar"][14].src="/act/07/surgeCycle/img/blueCollar/blueCollar14.png"; imgs["blueCollar"][15] = new Image(); imgs["blueCollar"][15].onload = loaded; imgs["blueCollar"][15].src="/act/07/surgeCycle/img/blueCollar/blueCollar15.png"; imgs["glovely"] = new Array(); imgs["glovely"][1] = new Image(); imgs["glovely"][1].onload = loaded; imgs["glovely"][1].src="/act/07/surgeCycle/img/glovely/glovely01.png"; imgs["glovely"][2] = new Image(); imgs["glovely"][2].onload = loaded; imgs["glovely"][2].src="/act/07/surgeCycle/img/glovely/glovely02.png"; imgs["glovely"][3] = new Image(); imgs["glovely"][3].onload = loaded; imgs["glovely"][3].src="/act/07/surgeCycle/img/glovely/glovely03.png"; imgs["glovely"][4] = new Image(); imgs["glovely"][4].onload = loaded; imgs["glovely"][4].src="/act/07/surgeCycle/img/glovely/glovely04.png"; imgs["glovely"][5] = new Image(); imgs["glovely"][5].onload = loaded; imgs["glovely"][5].src="/act/07/surgeCycle/img/glovely/glovely05.png"; imgs["glovely"][6] = new Image(); imgs["glovely"][6].onload = loaded; imgs["glovely"][6].src="/act/07/surgeCycle/img/glovely/glovely06.png"; imgs["glovely"][7] = new Image(); imgs["glovely"][7].onload = loaded; imgs["glovely"][7].src="/act/07/surgeCycle/img/glovely/glovely07.png"; imgs["glovely"][8] = new Image(); imgs["glovely"][8].onload = loaded; imgs["glovely"][8].src="/act/07/surgeCycle/img/glovely/glovely08.png"; imgs["glovely"][9] = new Image(); imgs["glovely"][9].onload = loaded; imgs["glovely"][9].src="/act/07/surgeCycle/img/glovely/glovely09.png"; imgs["glovely"][10] = new Image(); imgs["glovely"][10].onload = loaded; imgs["glovely"][10].src="/act/07/surgeCycle/img/glovely/glovely10.png"; imgs["glovely"][11] = new Image(); imgs["glovely"][11].onload = loaded; imgs["glovely"][11].src="/act/07/surgeCycle/img/glovely/glovely11.png"; imgs["glovely"][12] = new Image(); imgs["glovely"][12].onload = loaded; imgs["glovely"][12].src="/act/07/surgeCycle/img/glovely/glovely12.png"; imgs["glovely"][13] = new Image(); imgs["glovely"][13].onload = loaded; imgs["glovely"][13].src="/act/07/surgeCycle/img/glovely/glovely13.png"; imgs["glovely"][14] = new Image(); imgs["glovely"][14].onload = loaded; imgs["glovely"][14].src="/act/07/surgeCycle/img/glovely/glovely14.png"; imgs["glovely"][15] = new Image(); imgs["glovely"][15].onload = loaded; imgs["glovely"][15].src="/act/07/surgeCycle/img/glovely/glovely15.png"; imgs["glovely"][16] = new Image(); imgs["glovely"][16].onload = loaded; imgs["glovely"][16].src="/act/07/surgeCycle/img/glovely/glovely16.png"; imgs["glovely"][17] = new Image(); imgs["glovely"][17].onload = loaded; imgs["glovely"][17].src="/act/07/surgeCycle/img/glovely/glovely17.png"; imgs["glovely"][18] = new Image(); imgs["glovely"][18].onload = loaded; imgs["glovely"][18].src="/act/07/surgeCycle/img/glovely/glovely18.png"; imgs["silhouette"] = new Array(); imgs["silhouette"][1] = new Image(); imgs["silhouette"][1].onload = loaded; imgs["silhouette"][1].src="/act/07/surgeCycle/img/silhouette/silhouette01.png"; imgs["silhouette"][2] = new Image(); imgs["silhouette"][2].onload = loaded; imgs["silhouette"][2].src="/act/07/surgeCycle/img/silhouette/silhouette02.png"; imgs["silhouette"][3] = new Image(); imgs["silhouette"][3].onload = loaded; imgs["silhouette"][3].src="/act/07/surgeCycle/img/silhouette/silhouette03.png"; imgs["silhouette"][4] = new Image(); imgs["silhouette"][4].onload = loaded; imgs["silhouette"][4].src="/act/07/surgeCycle/img/silhouette/silhouette04.png"; imgs["silhouette"][5] = new Image(); imgs["silhouette"][5].onload = loaded; imgs["silhouette"][5].src="/act/07/surgeCycle/img/silhouette/silhouette05.png"; imgs["silhouette"][6] = new Image(); imgs["silhouette"][6].onload = loaded; imgs["silhouette"][6].src="/act/07/surgeCycle/img/silhouette/silhouette06.png"; imgs["silhouette"][7] = new Image(); imgs["silhouette"][7].onload = loaded; imgs["silhouette"][7].src="/act/07/surgeCycle/img/silhouette/silhouette07.png"; imgs["silhouette"][8] = new Image(); imgs["silhouette"][8].onload = loaded; imgs["silhouette"][8].src="/act/07/surgeCycle/img/silhouette/silhouette08.png"; imgs["silhouette"][9] = new Image(); imgs["silhouette"][9].onload = loaded; imgs["silhouette"][9].src="/act/07/surgeCycle/img/silhouette/silhouette09.png"; imgs["silhouette"][10] = new Image(); imgs["silhouette"][10].onload = loaded; imgs["silhouette"][10].src="/act/07/surgeCycle/img/silhouette/silhouette10.png"; imgs["lantern"] = new Array(); imgs["lantern"][1] = new Image(); imgs["lantern"][1].onload = loaded; imgs["lantern"][1].src="/act/07/surgeCycle/img/lantern/lantern01.png"; imgs["lantern"][2] = new Image(); imgs["lantern"][2].onload = loaded; imgs["lantern"][2].src="/act/07/surgeCycle/img/lantern/lantern02.png"; imgs["lantern"][3] = new Image(); imgs["lantern"][3].onload = loaded; imgs["lantern"][3].src="/act/07/surgeCycle/img/lantern/lantern03.png"; imgs["lantern"][4] = new Image(); imgs["lantern"][4].onload = loaded; imgs["lantern"][4].src="/act/07/surgeCycle/img/lantern/lantern04.png"; imgs["lantern"][5] = new Image(); imgs["lantern"][5].onload = loaded; imgs["lantern"][5].src="/act/07/surgeCycle/img/lantern/lantern05.png"; imgs["lantern"][6] = new Image(); imgs["lantern"][6].onload = loaded; imgs["lantern"][6].src="/act/07/surgeCycle/img/lantern/lantern06.png"; imgs["harley"] = new Array(); imgs["harley"][1] = new Image(); imgs["harley"][1].onload = loaded; imgs["harley"][1].src="/act/07/surgeCycle/img/harley/harley01.png"; imgs["harley"][2] = new Image(); imgs["harley"][2].onload = loaded; imgs["harley"][2].src="/act/07/surgeCycle/img/harley/harley02.png"; imgs["harley"][3] = new Image(); imgs["harley"][3].onload = loaded; imgs["harley"][3].src="/act/07/surgeCycle/img/harley/harley03.png"; imgs["harley"][4] = new Image(); imgs["harley"][4].onload = loaded; imgs["harley"][4].src="/act/07/surgeCycle/img/harley/harley04.png"; imgs["harley"][5] = new Image(); imgs["harley"][5].onload = loaded; imgs["harley"][5].src="/act/07/surgeCycle/img/harley/harley05.png"; imgs["harley"][6] = new Image(); imgs["harley"][6].onload = loaded; imgs["harley"][6].src="/act/07/surgeCycle/img/harley/harley06.png"; imgs["harley"][7] = new Image(); imgs["harley"][7].onload = loaded; imgs["harley"][7].src="/act/07/surgeCycle/img/harley/harley07.png"; imgs["harley"][8] = new Image(); imgs["harley"][8].onload = loaded; imgs["harley"][8].src="/act/07/surgeCycle/img/harley/harley08.png"; imgs["harley"][9] = new Image(); imgs["harley"][9].onload = loaded; imgs["harley"][9].src="/act/07/surgeCycle/img/harley/harley09.png"; imgs["harley"][10] = new Image(); imgs["harley"][10].onload = loaded; imgs["harley"][10].src="/act/07/surgeCycle/img/harley/harley10.png"; imgs["harley"][11] = new Image(); imgs["harley"][11].onload = loaded; imgs["harley"][11].src="/act/07/surgeCycle/img/harley/harley11.png"; imgs["harley"][12] = new Image(); imgs["harley"][12].onload = loaded; imgs["harley"][12].src="/act/07/surgeCycle/img/harley/harley12.png"; imgs["harley"][13] = new Image(); imgs["harley"][13].onload = loaded; imgs["harley"][13].src="/act/07/surgeCycle/img/harley/harley13.png"; imgs["harley"][14] = new Image(); imgs["harley"][14].onload = loaded; imgs["harley"][14].src="/act/07/surgeCycle/img/harley/harley14.png"; imgs["harley"][15] = new Image(); imgs["harley"][15].onload = loaded; imgs["harley"][15].src="/act/07/surgeCycle/img/harley/harley15.png"; imgs["zebra"] = new Array(); imgs["zebra"][1] = new Image(); imgs["zebra"][1].onload = loaded; imgs["zebra"][1].src="/act/07/surgeCycle/img/zebra/zebra01.png"; imgs["zebra"][2] = new Image(); imgs["zebra"][2].onload = loaded; imgs["zebra"][2].src="/act/07/surgeCycle/img/zebra/zebra02.png"; imgs["zebra"][3] = new Image(); imgs["zebra"][3].onload = loaded; imgs["zebra"][3].src="/act/07/surgeCycle/img/zebra/zebra03.png"; imgs["zebra"][4] = new Image(); imgs["zebra"][4].onload = loaded; imgs["zebra"][4].src="/act/07/surgeCycle/img/zebra/zebra04.png"; imgs["zebra"][5] = new Image(); imgs["zebra"][5].onload = loaded; imgs["zebra"][5].src="/act/07/surgeCycle/img/zebra/zebra05.png"; imgs["zebra"][6] = new Image(); imgs["zebra"][6].onload = loaded; imgs["zebra"][6].src="/act/07/surgeCycle/img/zebra/zebra06.png"; imgs["zebra"][7] = new Image(); imgs["zebra"][7].onload = loaded; imgs["zebra"][7].src="/act/07/surgeCycle/img/zebra/zebra07.png"; imgs["zebra"][8] = new Image(); imgs["zebra"][8].onload = loaded; imgs["zebra"][8].src="/act/07/surgeCycle/img/zebra/zebra08.png"; imgs["zebra"][9] = new Image(); imgs["zebra"][9].onload = loaded; imgs["zebra"][9].src="/act/07/surgeCycle/img/zebra/zebra09.png"; imgs["zebra"][10] = new Image(); imgs["zebra"][10].onload = loaded; imgs["zebra"][10].src="/act/07/surgeCycle/img/zebra/zebra10.png"; imgs["zebra"][11] = new Image(); imgs["zebra"][11].onload = loaded; imgs["zebra"][11].src="/act/07/surgeCycle/img/zebra/zebra11.png"; imgs["zebra"][12] = new Image(); imgs["zebra"][12].onload = loaded; imgs["zebra"][12].src="/act/07/surgeCycle/img/zebra/zebra12.png"; imgs["zebra"][13] = new Image(); imgs["zebra"][13].onload = loaded; imgs["zebra"][13].src="/act/07/surgeCycle/img/zebra/zebra13.png"; imgs["zebra"][14] = new Image(); imgs["zebra"][14].onload = loaded; imgs["zebra"][14].src="/act/07/surgeCycle/img/zebra/zebra14.png"; imgs["zebra"][15] = new Image(); imgs["zebra"][15].onload = loaded; imgs["zebra"][15].src="/act/07/surgeCycle/img/zebra/zebra15.png"; imgs["zebra"][16] = new Image(); imgs["zebra"][16].onload = loaded; imgs["zebra"][16].src="/act/07/surgeCycle/img/zebra/zebra16.png"; imgs["zebra"][17] = new Image(); imgs["zebra"][17].onload = loaded; imgs["zebra"][17].src="/act/07/surgeCycle/img/zebra/zebra17.png"; imgs["zebra"][18] = new Image(); imgs["zebra"][18].onload = loaded; imgs["zebra"][18].src="/act/07/surgeCycle/img/zebra/zebra18.png"; imgs["zebra"][19] = new Image(); imgs["zebra"][19].onload = loaded; imgs["zebra"][19].src="/act/07/surgeCycle/img/zebra/zebra19.png"; imgs["zebra"][20] = new Image(); imgs["zebra"][20].onload = loaded; imgs["zebra"][20].src="/act/07/surgeCycle/img/zebra/zebra20.png"; imgs["zebra"][21] = new Image(); imgs["zebra"][21].onload = loaded; imgs["zebra"][21].src="/act/07/surgeCycle/img/zebra/zebra21.png"; imgs["zebra"][22] = new Image(); imgs["zebra"][22].onload = loaded; imgs["zebra"][22].src="/act/07/surgeCycle/img/zebra/zebra22.png"; imgs["zebra"][23] = new Image(); imgs["zebra"][23].onload = loaded; imgs["zebra"][23].src="/act/07/surgeCycle/img/zebra/zebra23.png"; imgs["zebra"][24] = new Image(); imgs["zebra"][24].onload = loaded; imgs["zebra"][24].src="/act/07/surgeCycle/img/zebra/zebra24.png"; imgs["zebra"][25] = new Image(); imgs["zebra"][25].onload = loaded; imgs["zebra"][25].src="/act/07/surgeCycle/img/zebra/zebra25.png"; imgs["dog"] = new Array(); imgs["dog"][1] = new Image(); imgs["dog"][1].onload = loaded; imgs["dog"][1].src="/act/07/surgeCycle/img/dog/dog01.png"; imgs["dog"][2] = new Image(); imgs["dog"][2].onload = loaded; imgs["dog"][2].src="/act/07/surgeCycle/img/dog/dog02.png"; imgs["dog"][3] = new Image(); imgs["dog"][3].onload = loaded; imgs["dog"][3].src="/act/07/surgeCycle/img/dog/dog03.png"; imgs["dog"][4] = new Image(); imgs["dog"][4].onload = loaded; imgs["dog"][4].src="/act/07/surgeCycle/img/dog/dog04.png"; imgs["dog"][5] = new Image(); imgs["dog"][5].onload = loaded; imgs["dog"][5].src="/act/07/surgeCycle/img/dog/dog05.png"; imgs["zebraB"] = new Array(); imgs["zebraB"][1] = new Image(); imgs["zebraB"][1].onload = loaded; imgs["zebraB"][1].src="/act/07/surgeCycle/img/zebraB/zebraB01.png"; imgs["zebraB"][2] = new Image(); imgs["zebraB"][2].onload = loaded; imgs["zebraB"][2].src="/act/07/surgeCycle/img/zebraB/zebraB02.png"; imgs["zebraB"][3] = new Image(); imgs["zebraB"][3].onload = loaded; imgs["zebraB"][3].src="/act/07/surgeCycle/img/zebraB/zebraB03.png"; imgs["zebraB"][4] = new Image(); imgs["zebraB"][4].onload = loaded; imgs["zebraB"][4].src="/act/07/surgeCycle/img/zebraB/zebraB04.png"; imgs["zebraB"][5] = new Image(); imgs["zebraB"][5].onload = loaded; imgs["zebraB"][5].src="/act/07/surgeCycle/img/zebraB/zebraB05.png"; imgs["greypants"] = new Array(); imgs["greypants"][1] = new Image(); imgs["greypants"][1].onload = loaded; imgs["greypants"][1].src="/act/07/surgeCycle/img/greypants/greypants01.png"; imgs["greypants"][2] = new Image(); imgs["greypants"][2].onload = loaded; imgs["greypants"][2].src="/act/07/surgeCycle/img/greypants/greypants02.png"; imgs["greypants"][3] = new Image(); imgs["greypants"][3].onload = loaded; imgs["greypants"][3].src="/act/07/surgeCycle/img/greypants/greypants03.png"; imgs["greypants"][4] = new Image(); imgs["greypants"][4].onload = loaded; imgs["greypants"][4].src="/act/07/surgeCycle/img/greypants/greypants04.png"; imgs["greypants"][5] = new Image(); imgs["greypants"][5].onload = loaded; imgs["greypants"][5].src="/act/07/surgeCycle/img/greypants/greypants05.png"; imgs["referee"] = new Array(); imgs["referee"][1] = new Image(); imgs["referee"][1].onload = loaded; imgs["referee"][1].src="/act/07/surgeCycle/img/referee/referee01.png"; imgs["referee"][2] = new Image(); imgs["referee"][2].onload = loaded; imgs["referee"][2].src="/act/07/surgeCycle/img/referee/referee02.png"; imgs["referee"][3] = new Image(); imgs["referee"][3].onload = loaded; imgs["referee"][3].src="/act/07/surgeCycle/img/referee/referee03.png"; imgs["referee"][4] = new Image(); imgs["referee"][4].onload = loaded; imgs["referee"][4].src="/act/07/surgeCycle/img/referee/referee04.png"; imgs["referee"][5] = new Image(); imgs["referee"][5].onload = loaded; imgs["referee"][5].src="/act/07/surgeCycle/img/referee/referee05.png"; imgs["referee"][6] = new Image(); imgs["referee"][6].onload = loaded; imgs["referee"][6].src="/act/07/surgeCycle/img/referee/referee06.png"; imgs["referee"][7] = new Image(); imgs["referee"][7].onload = loaded; imgs["referee"][7].src="/act/07/surgeCycle/img/referee/referee07.png"; imgs["referee"][8] = new Image(); imgs["referee"][8].onload = loaded; imgs["referee"][8].src="/act/07/surgeCycle/img/referee/referee08.png"; imgs["referee"][9] = new Image(); imgs["referee"][9].onload = loaded; imgs["referee"][9].src="/act/07/surgeCycle/img/referee/referee09.png"; imgs["referee"][10] = new Image(); imgs["referee"][10].onload = loaded; imgs["referee"][10].src="/act/07/surgeCycle/img/referee/referee10.png"; imgs["combat"] = new Array(); imgs["combat"][1] = new Image(); imgs["combat"][1].onload = loaded; imgs["combat"][1].src="/act/07/surgeCycle/img/combat/combat01.png"; imgs["combat"][2] = new Image(); imgs["combat"][2].onload = loaded; imgs["combat"][2].src="/act/07/surgeCycle/img/combat/combat02.png"; imgs["combat"][3] = new Image(); imgs["combat"][3].onload = loaded; imgs["combat"][3].src="/act/07/surgeCycle/img/combat/combat03.png"; imgs["combat"][4] = new Image(); imgs["combat"][4].onload = loaded; imgs["combat"][4].src="/act/07/surgeCycle/img/combat/combat04.png"; imgs["combat"][5] = new Image(); imgs["combat"][5].onload = loaded; imgs["combat"][5].src="/act/07/surgeCycle/img/combat/combat05.png"; imgs["combat"][6] = new Image(); imgs["combat"][6].onload = loaded; imgs["combat"][6].src="/act/07/surgeCycle/img/combat/combat06.png"; imgs["combat"][7] = new Image(); imgs["combat"][7].onload = loaded; imgs["combat"][7].src="/act/07/surgeCycle/img/combat/combat07.png"; imgs["combat"][8] = new Image(); imgs["combat"][8].onload = loaded; imgs["combat"][8].src="/act/07/surgeCycle/img/combat/combat08.png"; imgs["combat"][9] = new Image(); imgs["combat"][9].onload = loaded; imgs["combat"][9].src="/act/07/surgeCycle/img/combat/combat09.png"; imgs["combat"][10] = new Image(); imgs["combat"][10].onload = loaded; imgs["combat"][10].src="/act/07/surgeCycle/img/combat/combat10.png"; imgs["combat"][11] = new Image(); imgs["combat"][11].onload = loaded; imgs["combat"][11].src="/act/07/surgeCycle/img/combat/combat11.png"; imgs["combat"][12] = new Image(); imgs["combat"][12].onload = loaded; imgs["combat"][12].src="/act/07/surgeCycle/img/combat/combat12.png"; imgs["combat"][13] = new Image(); imgs["combat"][13].onload = loaded; imgs["combat"][13].src="/act/07/surgeCycle/img/combat/combat13.png"; imgs["combat"][14] = new Image(); imgs["combat"][14].onload = loaded; imgs["combat"][14].src="/act/07/surgeCycle/img/combat/combat14.png"; imgs["combat"][15] = new Image(); imgs["combat"][15].onload = loaded; imgs["combat"][15].src="/act/07/surgeCycle/img/combat/combat15.png"; imgs["generic"] = new Array(); imgs["generic"][1] = new Image(); imgs["generic"][1].onload = loaded; imgs["generic"][1].src="/act/07/surgeCycle/img/generic/generic01.png"; imgs["generic"][2] = new Image(); imgs["generic"][2].onload = loaded; imgs["generic"][2].src="/act/07/surgeCycle/img/generic/generic02.png"; imgs["generic"][3] = new Image(); imgs["generic"][3].onload = loaded; imgs["generic"][3].src="/act/07/surgeCycle/img/generic/generic03.png"; imgs["generic"][4] = new Image(); imgs["generic"][4].onload = loaded; imgs["generic"][4].src="/act/07/surgeCycle/img/generic/generic04.png"; imgs["grunt"] = new Array(); imgs["grunt"][1] = new Image(); imgs["grunt"][1].onload = loaded; imgs["grunt"][1].src="/act/07/surgeCycle/img/grunt/grunt01.png"; imgs["grunt"][2] = new Image(); imgs["grunt"][2].onload = loaded; imgs["grunt"][2].src="/act/07/surgeCycle/img/grunt/grunt02.png"; imgs["grunt"][3] = new Image(); imgs["grunt"][3].onload = loaded; imgs["grunt"][3].src="/act/07/surgeCycle/img/grunt/grunt03.png"; imgs["grunt"][4] = new Image(); imgs["grunt"][4].onload = loaded; imgs["grunt"][4].src="/act/07/surgeCycle/img/grunt/grunt04.png"; imgs["grunt"][5] = new Image(); imgs["grunt"][5].onload = loaded; imgs["grunt"][5].src="/act/07/surgeCycle/img/grunt/grunt05.png"; imgs["grunt"][6] = new Image(); imgs["grunt"][6].onload = loaded; imgs["grunt"][6].src="/act/07/surgeCycle/img/grunt/grunt06.png"; imgs["grunt"][7] = new Image(); imgs["grunt"][7].onload = loaded; imgs["grunt"][7].src="/act/07/surgeCycle/img/grunt/grunt07.png"; imgs["grunt"][8] = new Image(); imgs["grunt"][8].onload = loaded; imgs["grunt"][8].src="/act/07/surgeCycle/img/grunt/grunt08.png"; imgs["grunt"][9] = new Image(); imgs["grunt"][9].onload = loaded; imgs["grunt"][9].src="/act/07/surgeCycle/img/grunt/grunt09.png"; imgs["grunt"][10] = new Image(); imgs["grunt"][10].onload = loaded; imgs["grunt"][10].src="/act/07/surgeCycle/img/grunt/grunt10.png"; imgs["grunt"][11] = new Image(); imgs["grunt"][11].onload = loaded; imgs["grunt"][11].src="/act/07/surgeCycle/img/grunt/grunt11.png"; imgs["grunt"][12] = new Image(); imgs["grunt"][12].onload = loaded; imgs["grunt"][12].src="/act/07/surgeCycle/img/grunt/grunt12.png"; imgs["grunt"][13] = new Image(); imgs["grunt"][13].onload = loaded; imgs["grunt"][13].src="/act/07/surgeCycle/img/grunt/grunt13.png"; imgs["grunt"][14] = new Image(); imgs["grunt"][14].onload = loaded; imgs["grunt"][14].src="/act/07/surgeCycle/img/grunt/grunt14.png"; imgs["grunt"][15] = new Image(); imgs["grunt"][15].onload = loaded; imgs["grunt"][15].src="/act/07/surgeCycle/img/grunt/grunt15.png"; imgs["grunt"][16] = new Image(); imgs["grunt"][16].onload = loaded; imgs["grunt"][16].src="/act/07/surgeCycle/img/grunt/grunt16.png"; imgs["grunt"][17] = new Image(); imgs["grunt"][17].onload = loaded; imgs["grunt"][17].src="/act/07/surgeCycle/img/grunt/grunt17.png"; imgs["grunt"][18] = new Image(); imgs["grunt"][18].onload = loaded; imgs["grunt"][18].src="/act/07/surgeCycle/img/grunt/grunt18.png"; imgs["grunt"][19] = new Image(); imgs["grunt"][19].onload = loaded; imgs["grunt"][19].src="/act/07/surgeCycle/img/grunt/grunt19.png"; imgs["grunt"][20] = new Image(); imgs["grunt"][20].onload = loaded; imgs["grunt"][20].src="/act/07/surgeCycle/img/grunt/grunt20.png"; imgs["grunt"][21] = new Image(); imgs["grunt"][21].onload = loaded; imgs["grunt"][21].src="/act/07/surgeCycle/img/grunt/grunt21.png"; imgs["grunt"][22] = new Image(); imgs["grunt"][22].onload = loaded; imgs["grunt"][22].src="/act/07/surgeCycle/img/grunt/grunt22.png"; imgs["grunt"][23] = new Image(); imgs["grunt"][23].onload = loaded; imgs["grunt"][23].src="/act/07/surgeCycle/img/grunt/grunt23.png"; imgs["grunt"][24] = new Image(); imgs["grunt"][24].onload = loaded; imgs["grunt"][24].src="/act/07/surgeCycle/img/grunt/grunt24.png"; imgs["grunt"][25] = new Image(); imgs["grunt"][25].onload = loaded; imgs["grunt"][25].src="/act/07/surgeCycle/img/grunt/grunt25.png"; imgs["grunt"][26] = new Image(); imgs["grunt"][26].onload = loaded; imgs["grunt"][26].src="/act/07/surgeCycle/img/grunt/grunt26.png"; imgs["grunt"][27] = new Image(); imgs["grunt"][27].onload = loaded; imgs["grunt"][27].src="/act/07/surgeCycle/img/grunt/grunt27.png"; imgs["grunt"][28] = new Image(); imgs["grunt"][28].onload = loaded; imgs["grunt"][28].src="/act/07/surgeCycle/img/grunt/grunt28.png"; imgs["grunt"][29] = new Image(); imgs["grunt"][29].onload = loaded; imgs["grunt"][29].src="/act/07/surgeCycle/img/grunt/grunt29.png"; imgs["grunt"][30] = new Image(); imgs["grunt"][30].onload = loaded; imgs["grunt"][30].src="/act/07/surgeCycle/img/grunt/grunt30.png"; imgs["grunt"][31] = new Image(); imgs["grunt"][31].onload = loaded; imgs["grunt"][31].src="/act/07/surgeCycle/img/grunt/grunt31.png"; imgs["grunt"][32] = new Image(); imgs["grunt"][32].onload = loaded; imgs["grunt"][32].src="/act/07/surgeCycle/img/grunt/grunt32.png"; imgs["peace"] = new Array(); imgs["peace"][1] = new Image(); imgs["peace"][1].onload = loaded; imgs["peace"][1].src="/act/07/surgeCycle/img/peace/peace01.png"; imgs["peace"][2] = new Image(); imgs["peace"][2].onload = loaded; imgs["peace"][2].src="/act/07/surgeCycle/img/peace/peace02.png"; imgs["peace"][3] = new Image(); imgs["peace"][3].onload = loaded; imgs["peace"][3].src="/act/07/surgeCycle/img/peace/peace03.png"; imgs["peace"][4] = new Image(); imgs["peace"][4].onload = loaded; imgs["peace"][4].src="/act/07/surgeCycle/img/peace/peace04.png"; imgs["peace"][5] = new Image(); imgs["peace"][5].onload = loaded; imgs["peace"][5].src="/act/07/surgeCycle/img/peace/peace05.png"; imgs["peace"][6] = new Image(); imgs["peace"][6].onload = loaded; imgs["peace"][6].src="/act/07/surgeCycle/img/peace/peace06.png"; imgs["peace"][7] = new Image(); imgs["peace"][7].onload = loaded; imgs["peace"][7].src="/act/07/surgeCycle/img/peace/peace07.png"; imgs["peace"][8] = new Image(); imgs["peace"][8].onload = loaded; imgs["peace"][8].src="/act/07/surgeCycle/img/peace/peace08.png"; imgs["peace"][9] = new Image(); imgs["peace"][9].onload = loaded; imgs["peace"][9].src="/act/07/surgeCycle/img/peace/peace09.png"; imgs["peace"][10] = new Image(); imgs["peace"][10].onload = loaded; imgs["peace"][10].src="/act/07/surgeCycle/img/peace/peace10.png"; imgs["hands"] = new Array(); imgs["hands"][1] = new Image(); imgs["hands"][1].onload = loaded; imgs["hands"][1].src="/act/07/surgeCycle/img/hands/hands01.png"; imgs["hands"][2] = new Image(); imgs["hands"][2].onload = loaded; imgs["hands"][2].src="/act/07/surgeCycle/img/hands/hands02.png"; imgs["hands"][3] = new Image(); imgs["hands"][3].onload = loaded; imgs["hands"][3].src="/act/07/surgeCycle/img/hands/hands03.png"; imgs["hands"][4] = new Image(); imgs["hands"][4].onload = loaded; imgs["hands"][4].src="/act/07/surgeCycle/img/hands/hands04.png"; imgs["hands"][5] = new Image(); imgs["hands"][5].onload = loaded; imgs["hands"][5].src="/act/07/surgeCycle/img/hands/hands05.png"; imgs["hands"][6] = new Image(); imgs["hands"][6].onload = loaded; imgs["hands"][6].src="/act/07/surgeCycle/img/hands/hands06.png"; imgs["use"] = new Array(); imgs["use"][1] = new Image(); imgs["use"][1].onload = loaded; imgs["use"][1].src="/act/07/surgeCycle/img/use/use01.png"; imgs["use"][2] = new Image(); imgs["use"][2].onload = loaded; imgs["use"][2].src="/act/07/surgeCycle/img/use/use02.png"; imgs["construction"] = new Array(); imgs["construction"][1] = new Image(); imgs["construction"][1].onload = loaded; imgs["construction"][1].src="/act/07/surgeCycle/img/construction/construction01.png"; imgs["construction"][2] = new Image(); imgs["construction"][2].onload = loaded; imgs["construction"][2].src="/act/07/surgeCycle/img/construction/construction02.png"; imgs["construction"][3] = new Image(); imgs["construction"][3].onload = loaded; imgs["construction"][3].src="/act/07/surgeCycle/img/construction/construction03.png"; imgs["construction"][4] = new Image(); imgs["construction"][4].onload = loaded; imgs["construction"][4].src="/act/07/surgeCycle/img/construction/construction04.png"; imgs["construction"][5] = new Image(); imgs["construction"][5].onload = loaded; imgs["construction"][5].src="/act/07/surgeCycle/img/construction/construction05.png"; imgs["biker"] = new Array(); imgs["biker"][1] = new Image(); imgs["biker"][1].onload = loaded; imgs["biker"][1].src="/act/07/surgeCycle/img/biker/biker01.png"; imgs["biker"][2] = new Image(); imgs["biker"][2].onload = loaded; imgs["biker"][2].src="/act/07/surgeCycle/img/biker/biker02.png"; imgs["biker"][3] = new Image(); imgs["biker"][3].onload = loaded; imgs["biker"][3].src="/act/07/surgeCycle/img/biker/biker03.png"; imgs["biker"][4] = new Image(); imgs["biker"][4].onload = loaded; imgs["biker"][4].src="/act/07/surgeCycle/img/biker/biker04.png"; imgs["biker"][5] = new Image(); imgs["biker"][5].onload = loaded; imgs["biker"][5].src="/act/07/surgeCycle/img/biker/biker05.png"; imgs["biker"][6] = new Image(); imgs["biker"][6].onload = loaded; imgs["biker"][6].src="/act/07/surgeCycle/img/biker/biker06.png"; imgs["biker"][7] = new Image(); imgs["biker"][7].onload = loaded; imgs["biker"][7].src="/act/07/surgeCycle/img/biker/biker07.png"; imgs["biker"][8] = new Image(); imgs["biker"][8].onload = loaded; imgs["biker"][8].src="/act/07/surgeCycle/img/biker/biker08.png"; imgs["biker"][9] = new Image(); imgs["biker"][9].onload = loaded; imgs["biker"][9].src="/act/07/surgeCycle/img/biker/biker09.png"; imgs["karate"] = new Array(); imgs["karate"][1] = new Image(); imgs["karate"][1].onload = loaded; imgs["karate"][1].src="/act/07/surgeCycle/img/karate/karate01.png"; imgs["karate"][2] = new Image(); imgs["karate"][2].onload = loaded; imgs["karate"][2].src="/act/07/surgeCycle/img/karate/karate02.png"; imgs["karate"][3] = new Image(); imgs["karate"][3].onload = loaded; imgs["karate"][3].src="/act/07/surgeCycle/img/karate/karate03.png"; imgs["karate"][4] = new Image(); imgs["karate"][4].onload = loaded; imgs["karate"][4].src="/act/07/surgeCycle/img/karate/karate04.png"; imgs["karate"][5] = new Image(); imgs["karate"][5].onload = loaded; imgs["karate"][5].src="/act/07/surgeCycle/img/karate/karate05.png"; imgs["karate"][6] = new Image(); imgs["karate"][6].onload = loaded; imgs["karate"][6].src="/act/07/surgeCycle/img/karate/karate06.png"; imgs["karate"][7] = new Image(); imgs["karate"][7].onload = loaded; imgs["karate"][7].src="/act/07/surgeCycle/img/karate/karate07.png"; imgs["karate"][8] = new Image(); imgs["karate"][8].onload = loaded; imgs["karate"][8].src="/act/07/surgeCycle/img/karate/karate08.png"; imgs["karate"][9] = new Image(); imgs["karate"][9].onload = loaded; imgs["karate"][9].src="/act/07/surgeCycle/img/karate/karate09.png"; imgs["karate"][10] = new Image(); imgs["karate"][10].onload = loaded; imgs["karate"][10].src="/act/07/surgeCycle/img/karate/karate10.png"; imgs["karate"][11] = new Image(); imgs["karate"][11].onload = loaded; imgs["karate"][11].src="/act/07/surgeCycle/img/karate/karate11.png"; imgs["karate"][12] = new Image(); imgs["karate"][12].onload = loaded; imgs["karate"][12].src="/act/07/surgeCycle/img/karate/karate12.png"; imgs["birdseye"] = new Array(); imgs["birdseye"][1] = new Image(); imgs["birdseye"][1].onload = loaded; imgs["birdseye"][1].src="/act/07/surgeCycle/img/birdseye/birdseye01.png"; imgs["birdseye"][2] = new Image(); imgs["birdseye"][2].onload = loaded; imgs["birdseye"][2].src="/act/07/surgeCycle/img/birdseye/birdseye02.png"; imgs["birdseye"][3] = new Image(); imgs["birdseye"][3].onload = loaded; imgs["birdseye"][3].src="/act/07/surgeCycle/img/birdseye/birdseye03.png"; imgs["snowsignal"] = new Array(); imgs["snowsignal"][1] = new Image(); imgs["snowsignal"][1].onload = loaded; imgs["snowsignal"][1].src="/act/07/surgeCycle/img/snowsignal/snowsignal01.png"; imgs["snowsignal"][2] = new Image(); imgs["snowsignal"][2].onload = loaded; imgs["snowsignal"][2].src="/act/07/surgeCycle/img/snowsignal/snowsignal02.png"; imgs["snowsignal"][3] = new Image(); imgs["snowsignal"][3].onload = loaded; imgs["snowsignal"][3].src="/act/07/surgeCycle/img/snowsignal/snowsignal03.png"; imgs["snowsignal"][4] = new Image(); imgs["snowsignal"][4].onload = loaded; imgs["snowsignal"][4].src="/act/07/surgeCycle/img/snowsignal/snowsignal04.png"; imgs["snowsignal"][5] = new Image(); imgs["snowsignal"][5].onload = loaded; imgs["snowsignal"][5].src="/act/07/surgeCycle/img/snowsignal/snowsignal05.png"; imgs["snowsignal"][6] = new Image(); imgs["snowsignal"][6].onload = loaded; imgs["snowsignal"][6].src="/act/07/surgeCycle/img/snowsignal/snowsignal06.png"; imgs["snowsignal"][7] = new Image(); imgs["snowsignal"][7].onload = loaded; imgs["snowsignal"][7].src="/act/07/surgeCycle/img/snowsignal/snowsignal07.png"; imgs["ump"] = new Array(); imgs["ump"][1] = new Image(); imgs["ump"][1].onload = loaded; imgs["ump"][1].src="/act/07/surgeCycle/img/ump/ump01.png"; imgs["ump"][2] = new Image(); imgs["ump"][2].onload = loaded; imgs["ump"][2].src="/act/07/surgeCycle/img/ump/ump02.png"; imgs["ump"][3] = new Image(); imgs["ump"][3].onload = loaded; imgs["ump"][3].src="/act/07/surgeCycle/img/ump/ump03.png"; imgs["ump"][4] = new Image(); imgs["ump"][4].onload = loaded; imgs["ump"][4].src="/act/07/surgeCycle/img/ump/ump04.png"; imgs["ump"][5] = new Image(); imgs["ump"][5].onload = loaded; imgs["ump"][5].src="/act/07/surgeCycle/img/ump/ump05.png"; imgs["ump"][6] = new Image(); imgs["ump"][6].onload = loaded; imgs["ump"][6].src="/act/07/surgeCycle/img/ump/ump06.png"; imgs["ump"][7] = new Image(); imgs["ump"][7].onload = loaded; imgs["ump"][7].src="/act/07/surgeCycle/img/ump/ump07.png"; imgs["ump"][8] = new Image(); imgs["ump"][8].onload = loaded; imgs["ump"][8].src="/act/07/surgeCycle/img/ump/ump08.png"; imgs["ump"][9] = new Image(); imgs["ump"][9].onload = loaded; imgs["ump"][9].src="/act/07/surgeCycle/img/ump/ump09.png"; imgs["ump"][10] = new Image(); imgs["ump"][10].onload = loaded; imgs["ump"][10].src="/act/07/surgeCycle/img/ump/ump10.png"; imgs["ump"][11] = new Image(); imgs["ump"][11].onload = loaded; imgs["ump"][11].src="/act/07/surgeCycle/img/ump/ump11.png"; imgs["ump"][12] = new Image(); imgs["ump"][12].onload = loaded; imgs["ump"][12].src="/act/07/surgeCycle/img/ump/ump12.png"; imgs["ump"][13] = new Image(); imgs["ump"][13].onload = loaded; imgs["ump"][13].src="/act/07/surgeCycle/img/ump/ump13.png"; imgs["tv"] = new Array(); imgs["tv"][1] = new Image(); imgs["tv"][1].onload = loaded; imgs["tv"][1].src="/act/07/surgeCycle/img/tv/tv01.png"; imgs["tv"][2] = new Image(); imgs["tv"][2].onload = loaded; imgs["tv"][2].src="/act/07/surgeCycle/img/tv/tv02.png"; imgs["tv"][3] = new Image(); imgs["tv"][3].onload = loaded; imgs["tv"][3].src="/act/07/surgeCycle/img/tv/tv03.png"; imgs["tv"][4] = new Image(); imgs["tv"][4].onload = loaded; imgs["tv"][4].src="/act/07/surgeCycle/img/tv/tv04.png"; imgs["tv"][5] = new Image(); imgs["tv"][5].onload = loaded; imgs["tv"][5].src="/act/07/surgeCycle/img/tv/tv05.png"; imgs["tv"][6] = new Image(); imgs["tv"][6].onload = loaded; imgs["tv"][6].src="/act/07/surgeCycle/img/tv/tv06.png"; imgs["tv"][7] = new Image(); imgs["tv"][7].onload = loaded; imgs["tv"][7].src="/act/07/surgeCycle/img/tv/tv07.png"; imgs["tv"][8] = new Image(); imgs["tv"][8].onload = loaded; imgs["tv"][8].src="/act/07/surgeCycle/img/tv/tv08.png"; imgs["tv"][9] = new Image(); imgs["tv"][9].onload = loaded; imgs["tv"][9].src="/act/07/surgeCycle/img/tv/tv09.png"; imgs["tv"][10] = new Image(); imgs["tv"][10].onload = loaded; imgs["tv"][10].src="/act/07/surgeCycle/img/tv/tv10.png"; imgs["tv"][11] = new Image(); imgs["tv"][11].onload = loaded; imgs["tv"][11].src="/act/07/surgeCycle/img/tv/tv11.png"; imgs["refsignals"] = new Array(); imgs["refsignals"][1] = new Image(); imgs["refsignals"][1].onload = loaded; imgs["refsignals"][1].src="/act/07/surgeCycle/img/refsignals/refsignals01.png"; imgs["refsignals"][2] = new Image(); imgs["refsignals"][2].onload = loaded; imgs["refsignals"][2].src="/act/07/surgeCycle/img/refsignals/refsignals02.png"; imgs["refsignals"][3] = new Image(); imgs["refsignals"][3].onload = loaded; imgs["refsignals"][3].src="/act/07/surgeCycle/img/refsignals/refsignals03.png"; imgs["refsignals"][4] = new Image(); imgs["refsignals"][4].onload = loaded; imgs["refsignals"][4].src="/act/07/surgeCycle/img/refsignals/refsignals04.png"; imgs["refsignals"][5] = new Image(); imgs["refsignals"][5].onload = loaded; imgs["refsignals"][5].src="/act/07/surgeCycle/img/refsignals/refsignals05.png"; imgs["refsignals"][6] = new Image(); imgs["refsignals"][6].onload = loaded; imgs["refsignals"][6].src="/act/07/surgeCycle/img/refsignals/refsignals06.png"; imgs["refsignals"][7] = new Image(); imgs["refsignals"][7].onload = loaded; imgs["refsignals"][7].src="/act/07/surgeCycle/img/refsignals/refsignals07.png"; imgs["refsignals"][8] = new Image(); imgs["refsignals"][8].onload = loaded; imgs["refsignals"][8].src="/act/07/surgeCycle/img/refsignals/refsignals08.png"; imgs["refsignals"][9] = new Image(); imgs["refsignals"][9].onload = loaded; imgs["refsignals"][9].src="/act/07/surgeCycle/img/refsignals/refsignals09.png"; imgs["refsignals"][10] = new Image(); imgs["refsignals"][10].onload = loaded; imgs["refsignals"][10].src="/act/07/surgeCycle/img/refsignals/refsignals10.png"; imgs["refsignals"][11] = new Image(); imgs["refsignals"][11].onload = loaded; imgs["refsignals"][11].src="/act/07/surgeCycle/img/refsignals/refsignals11.png"; imgs["refsignals"][12] = new Image(); imgs["refsignals"][12].onload = loaded; imgs["refsignals"][12].src="/act/07/surgeCycle/img/refsignals/refsignals12.png"; imgs["refsignals"][13] = new Image(); imgs["refsignals"][13].onload = loaded; imgs["refsignals"][13].src="/act/07/surgeCycle/img/refsignals/refsignals13.png"; imgs["refsignals"][14] = new Image(); imgs["refsignals"][14].onload = loaded; imgs["refsignals"][14].src="/act/07/surgeCycle/img/refsignals/refsignals14.png"; imgs["refsignals"][15] = new Image(); imgs["refsignals"][15].onload = loaded; imgs["refsignals"][15].src="/act/07/surgeCycle/img/refsignals/refsignals15.png"; imgs["refsignals"][16] = new Image(); imgs["refsignals"][16].onload = loaded; imgs["refsignals"][16].src="/act/07/surgeCycle/img/refsignals/refsignals16.png"; imgs["refsignals"][17] = new Image(); imgs["refsignals"][17].onload = loaded; imgs["refsignals"][17].src="/act/07/surgeCycle/img/refsignals/refsignals17.png"; imgs["refsignals"][18] = new Image(); imgs["refsignals"][18].onload = loaded; imgs["refsignals"][18].src="/act/07/surgeCycle/img/refsignals/refsignals18.png"; imgs["masterSpy"] = new Array(); imgs["masterSpy"][1] = new Image(); imgs["masterSpy"][1].onload = loaded; imgs["masterSpy"][1].src="/act/07/surgeCycle/img/masterSpy/masterSpy01.png"; imgs["masterSpy"][2] = new Image(); imgs["masterSpy"][2].onload = loaded; imgs["masterSpy"][2].src="/act/07/surgeCycle/img/masterSpy/masterSpy02.png"; imgs["masterSpy"][3] = new Image(); imgs["masterSpy"][3].onload = loaded; imgs["masterSpy"][3].src="/act/07/surgeCycle/img/masterSpy/masterSpy03.png"; imgs["masterSpy"][4] = new Image(); imgs["masterSpy"][4].onload = loaded; imgs["masterSpy"][4].src="/act/07/surgeCycle/img/masterSpy/masterSpy04.png"; imgs["masterSpy"][5] = new Image(); imgs["masterSpy"][5].onload = loaded; imgs["masterSpy"][5].src="/act/07/surgeCycle/img/masterSpy/masterSpy05.png"; imgs["masterSpy"][6] = new Image(); imgs["masterSpy"][6].onload = loaded; imgs["masterSpy"][6].src="/act/07/surgeCycle/img/masterSpy/masterSpy06.png"; imgs["masterSpy"][7] = new Image(); imgs["masterSpy"][7].onload = loaded; imgs["masterSpy"][7].src="/act/07/surgeCycle/img/masterSpy/masterSpy07.png"; imgs["masterSpy"][8] = new Image(); imgs["masterSpy"][8].onload = loaded; imgs["masterSpy"][8].src="/act/07/surgeCycle/img/masterSpy/masterSpy08.png"; imgs["masterSpy"][9] = new Image(); imgs["masterSpy"][9].onload = loaded; imgs["masterSpy"][9].src="/act/07/surgeCycle/img/masterSpy/masterSpy09.png"; imgs["masterSpy"][10] = new Image(); imgs["masterSpy"][10].onload = loaded; imgs["masterSpy"][10].src="/act/07/surgeCycle/img/masterSpy/masterSpy10.png"; imgs["masterSpy"][11] = new Image(); imgs["masterSpy"][11].onload = loaded; imgs["masterSpy"][11].src="/act/07/surgeCycle/img/masterSpy/masterSpy11.png"; imgs["masterSpy"][12] = new Image(); imgs["masterSpy"][12].onload = loaded; imgs["masterSpy"][12].src="/act/07/surgeCycle/img/masterSpy/masterSpy12.png"; imgs["soldiers"] = new Array(); imgs["soldiers"][1] = new Image(); imgs["soldiers"][1].onload = loaded; imgs["soldiers"][1].src="/act/07/surgeCycle/img/soldiers/soldiers01.png"; imgs["soldiers"][2] = new Image(); imgs["soldiers"][2].onload = loaded; imgs["soldiers"][2].src="/act/07/surgeCycle/img/soldiers/soldiers02.png"; imgs["soldiers"][3] = new Image(); imgs["soldiers"][3].onload = loaded; imgs["soldiers"][3].src="/act/07/surgeCycle/img/soldiers/soldiers03.png"; imgs["soldiers"][4] = new Image(); imgs["soldiers"][4].onload = loaded; imgs["soldiers"][4].src="/act/07/surgeCycle/img/soldiers/soldiers04.png"; imgs["soldiers"][5] = new Image(); imgs["soldiers"][5].onload = loaded; imgs["soldiers"][5].src="/act/07/surgeCycle/img/soldiers/soldiers05.png"; imgs["soldiers"][6] = new Image(); imgs["soldiers"][6].onload = loaded; imgs["soldiers"][6].src="/act/07/surgeCycle/img/soldiers/soldiers06.png"; imgs["soldiers"][7] = new Image(); imgs["soldiers"][7].onload = loaded; imgs["soldiers"][7].src="/act/07/surgeCycle/img/soldiers/soldiers07.png"; imgs["soldiers"][8] = new Image(); imgs["soldiers"][8].onload = loaded; imgs["soldiers"][8].src="/act/07/surgeCycle/img/soldiers/soldiers08.png"; imgs["soldiers"][9] = new Image(); imgs["soldiers"][9].onload = loaded; imgs["soldiers"][9].src="/act/07/surgeCycle/img/soldiers/soldiers09.png"; var fraction = 0.19723865877712; var loadPct = 0; function loaded(){ var pct = 1+parseInt(loadPct); if(pct>99){ pct = 100; SetCookie("loaded",true); } var s = document.getElementById("status"); try{ s.innerHTML = pct+"% loaded"; }catch(e){} var b = document.getElementById("bar"); try{ b.style.width = pct+"px"; }catch(e){} loadPct += fraction; //if(pct<100 && !isLoaded) setTimeout("loaded()",0); } function addImages(){ var Div; frame = document.getElementById("frame"); Div = document.createElement('div'); Div.setAttribute("id", "alien"); Div.setAttribute("style","left:0px;top:0px;width:65px;height:86px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "footSoldier"); Div.setAttribute("style","left:0px;top:0px;width:253px;height:257px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "hand_signals"); Div.setAttribute("style","left:0px;top:0px;width:102px;height:68px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "corporal"); Div.setAttribute("style","left:0px;top:0px;width:163px;height:182px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "football"); Div.setAttribute("style","left:0px;top:0px;width:41px;height:116px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "part"); Div.setAttribute("style","left:0px;top:0px;width:47px;height:79px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "snowmobile"); Div.setAttribute("style","left:0px;top:0px;width:99px;height:102px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "porter"); Div.setAttribute("style","left:0px;top:0px;width:173px;height:233px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "fist"); Div.setAttribute("style","left:0px;top:0px;width:113px;height:136px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "pithHelmet"); Div.setAttribute("style","left:0px;top:0px;width:74px;height:209px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "zen"); Div.setAttribute("style","left:0px;top:0px;width:237px;height:231px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "infantry"); Div.setAttribute("style","left:0px;top:0px;width:140px;height:147px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "signs"); Div.setAttribute("style","left:0px;top:0px;width:34px;height:46px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "worker"); Div.setAttribute("style","left:0px;top:0px;width:93px;height:132px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "greyHelmet"); Div.setAttribute("style","left:0px;top:0px;width:75px;height:91px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "xingGuard"); Div.setAttribute("style","left:0px;top:0px;width:158px;height:128px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "yoga"); Div.setAttribute("style","left:0px;top:0px;width:189px;height:95px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "micros"); Div.setAttribute("style","left:0px;top:0px;width:58px;height:35px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "crumb"); Div.setAttribute("style","left:0px;top:0px;width:64px;height:87px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "blackBeret"); Div.setAttribute("style","left:0px;top:0px;width:66px;height:109px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "flaggirl"); Div.setAttribute("style","left:0px;top:0px;width:22px;height:73px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "blueCollar"); Div.setAttribute("style","left:0px;top:0px;width:95px;height:106px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "glovely"); Div.setAttribute("style","left:0px;top:0px;width:49px;height:61px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "silhouette"); Div.setAttribute("style","left:0px;top:0px;width:190px;height:118px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "lantern"); Div.setAttribute("style","left:0px;top:0px;width:72px;height:198px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "harley"); Div.setAttribute("style","left:0px;top:0px;width:142px;height:143px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "zebra"); Div.setAttribute("style","left:0px;top:0px;width:97px;height:150px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "dog"); Div.setAttribute("style","left:0px;top:0px;width:18px;height:13px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "zebraB"); Div.setAttribute("style","left:0px;top:0px;width:128px;height:148px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "greypants"); Div.setAttribute("style","left:0px;top:0px;width:75px;height:138px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "referee"); Div.setAttribute("style","left:0px;top:0px;width:71px;height:72px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "combat"); Div.setAttribute("style","left:0px;top:0px;width:197px;height:188px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "generic"); Div.setAttribute("style","left:0px;top:0px;width:133px;height:133px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "grunt"); Div.setAttribute("style","left:0px;top:0px;width:118px;height:148px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "peace"); Div.setAttribute("style","left:0px;top:0px;width:40px;height:76px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "hands"); Div.setAttribute("style","left:0px;top:0px;width:154px;height:78px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "use"); Div.setAttribute("style","left:0px;top:0px;width:52px;height:55px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "construction"); Div.setAttribute("style","left:0px;top:0px;width:150px;height:134px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "biker"); Div.setAttribute("style","left:0px;top:0px;width:81px;height:77px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "karate"); Div.setAttribute("style","left:0px;top:0px;width:138px;height:189px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "birdseye"); Div.setAttribute("style","left:0px;top:0px;width:200px;height:260px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "snowsignal"); Div.setAttribute("style","left:0px;top:0px;width:77px;height:100px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "ump"); Div.setAttribute("style","left:0px;top:0px;width:82px;height:106px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "tv"); Div.setAttribute("style","left:0px;top:0px;width:189px;height:159px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "refsignals"); Div.setAttribute("style","left:0px;top:0px;width:79px;height:233px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "masterSpy"); Div.setAttribute("style","left:0px;top:0px;width:138px;height:103px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);Div = document.createElement('div'); Div.setAttribute("id", "soldiers"); Div.setAttribute("style","left:0px;top:0px;width:96px;height:181px;border:0px;position:absolute;visibility:hidden"); Div.style.visibility="hidden"; Div.style.position="absolute"; Div.innerHTML="\"\""; frame.appendChild(Div);} function flip(name,cur,max){ var next = (cur0 && curY>600) ){ curImg=curImg0?"799px":"-349px"; }else if(curImg==3){ staticPic.style.left = "655px"; } staticDir = -1*staticDir; }else staticPic.style.top = (curY+staticDir)+"px"; } else{ var curX = parseInt(staticPic.style.left); if( (staticDir<0 && curX<-350) || (staticDir>0 && curX>800) ){ curImg=curImg