Jump to content
Search Community

Search the Community

Showing results for tags 'tweenmax'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

  1. Hello, I have TimelineMax with multiple instance of TweenMax on it. One of the instances has onComplete that calls itself. I need that to simulate random movements. When I pause TimelineMax everything gets paused except the TweenMax that has onComplete. I kind of get why it is happening but is there way to pause onComplete call? Thanks
  2. Hey folks, maybe it's that I am blind, or just an idiot, but how can I get the moment when the last element of the (staggerTo) array starts tweening? I tried getTweensOf and all kinds of workarounds, but I failed My example: TweenMax.staggerTo(stepArray, tweenSpeed, {alpha:1, scaleX:1.5, scaleY:1.5, dropShadowFilter:{blurX:15, blurY:15, distance:5, alpha:0.33}, ease:Cubic.easeInOut, onComplete:tweenScaleDown, onCompleteParams:["{self}"]}, stepStaggerAmount); Sorry if that's a dumb question, but I tried stuff for hours now and cant get it. TIA, Lasercode
  3. Hi all! First off thanks for everything...! So... I have created a "Player" class which extends MovieClip and contains an array of F4V files being loaded via LoaderMax.parse ... In my Main Document Class (Main) I want to transform properties of the entire Player class (alpha, scale, etc.) however the F4V does not see the transformations....It seems I have to reference the content directly within the Main class. For example, if i simply try to set player.visible=false, after i've already added video content to the stage, It does not stick, but if I reference player.video.content.visible=false, it works... What I'm really trying to do is fade the player object out before I navigate back to a main navigation screen. I can fade each video.content individually but I'd rather just write one tween that effects the whole class. Am I missing something simple or is this larger than I think? ...additionally, these transformations DO work with NetStream driving the f4vs. But looping w netStream is ugly , as we know. Thanks!
  4. Hi folks, I am not really new to this, but I get a hard time trying to do the following: I got an array of MCs named "stepArray". I want to animate through it after a dice function which gives me a number between 1 and 6 (if 5, the stepArray will have 5 elements and so on). Whatever, I need to know when the last element of the array has finished tweening, because that is the time the dice can be used again and is set free. If you need more input, please reply. function animatePlayerMove ():void { tweenScaleUp(); } function tweenScaleUp():void { TweenMax.allTo(stepArray, tweenSpeed, {alpha:1, scaleX:1.5, scaleY:1.5, dropShadowFilter:{blurX:15, blurY:15, distance:5, alpha:0.33}, ease:Cubic.easeInOut, onComplete:tweenScaleDown}, stepStaggerAmount); } function tweenScaleDown():void { tma = TweenMax.allTo(stepArray, 0.2, {alpha:1, scaleX:1, scaleY:1, dropShadowFilter:{blurX:5, blurY:5, distance:5, alpha:0.33}, ease:Cubic.easeInOut}, stepStaggerAmount); addEventListener(Event.ENTER_FRAME, checkStepAnimationprogress); } function checkStepAnimationprogress (e:Event):void { if(tma[tma.length-1].currentProgress == 1){ //This doesnt work properly even with totalProgress trace("STEP ANIMATION ENDS HERE"); removeEventListener(Event.ENTER_FRAME, checkStepAnimationprogress); activateDice(); } } Obviously there is some mistake in my logics and I hope someone here will help. TIA, Lasercode
  5. Hi Guys, I seem to have a problem with the tweenMax.updateTo method. Given this sample code: _tween = new TweenMax(myMc,2,{rotation:360,repeat:-1,onUpdate:onUpd, ease:Linear.easeNone}); function onUpd():void{ if(_stop){ _tween.updateTo({repeat:1,rotation:_angleToStop, onComplete:onF},true); } } I am expecting the _tween to update 1. its rotation value to the predetermined value in _angleToStop 2, repeat count to change from infinity (-1) to 1 3. for it to call the onComplete method once that 1 rotation is done, where it stops in the correct value; What actually happens is the spinning starts to slow down as i would expect as it is reaching the target value however it then start animating again... Its like the repeat is not working.. Could anyone help me? Seems weird. Thanks, Bynho
  6. Hey guys... This is my first post to this forum... I am working on a project and i want to have a tweening effect similar to the 'Custom Presets : fly-in pause fly-out' option in Flash IDE. Its just that i want to create it with action script and want to control it properly through code. For the rest of the tweening in my project i am using 'Greensock's TweenMax'. So if someone can help me creating the same effect in this engine it would be helpful. Thanks.
  7. Obviously addChild(mc1); works on a single clip, but how would I bring the current movie clip in the sequence to the front? Thanks. Here's my code. var mcArray:Array = new Array(mc1,mc2,mc3,mc4,mc5); var timeline:TimelineMax = new TimelineMax({repeat:1}); timeline.insertMultiple (TweenMax.allTo(mcArray, 2, {bezierThrough:[{z:0}, {z:-200}, {z:0}], orientToBezier:false, ease:Linear.easeNone}, 1));
  8. I was curious if there is a way to "overwrite" the globalTimeScale with the one assigned to a given TweenMax instance. For example: - I set the entire playback to slow-motion by setting globalTimeScale( 0.25 ); - Then, whenever I shoot enemies, I want to delay the SFX call with TweenMax.delayedCall in realtime timeScale, so I use: TweenMax.delayedCall( pTime, playSFX, [pSoundClass, pLoop]).timeScale(1); But this still animates according to the globalTimeScale (I'm assuming it does timeScale x globalTimeScale = 1 x 0.25 = 0.25). This DOES seem like the correct typical behavior (one timeline governing them all), but is there a way to overwrite this behavior? The only way I could get around it was by dividing 1 / TweenMax.globalTimeScale(), which gives the "inverted" time-scale value for the delay to catch-up to realtime durations. Is there any other approach to overwrite the timeScale of a given TweenMax instance? A boolean or a binary flag?
  9. Hii I'm loading in a swf animation with a couple of frame scripts embedded on the loaded swf timeline. I managed to load in the swf, place it into a TweenMax instance, and placed that TweenMax instance into a TimelineMax instance so I can control the playback. The only issue I'm having is that the swf animation frame scripts are not firing off. This is an example of how I'm setting up the above: // This occurs after the swf is loaded var intro = LoaderMax.getLoader("transition_intro").rawContent; var introTransition:TweenMax = new TweenMax(_intro, _intro.totalFrames, { useFrames: true, frame: _intro.totalFrames, ease: Linear.easeNone } ); var timeline:TimelineMax = new TimelineMax( { useFrames:true, paused:true } ); timeline.append(introTransition); timeline.play(); Is there a way to have the loaded swf run a frame script on the defined frame (like mc.gotoAndPlay(0) or am I setting up this wrong? Cheers
  10. Hey all, I understand that TweenMax simulates flash behaviour and always rotates to the nearest point, but I'm having some problems in some ocassions, I'm not exactly sure why... I have a movieclip that has an initial rotation of -161, I want it to rotate to 147. Ok, so with some basic calculations give me the following: A ClockWise ROTATION: - Would take 308 degrees. A CounterClockWise ROTATION: - Would take 51 degrees. However, when I rotate the movieclip it rotates ClockWise direction, which would take longer. What am I missing here? What I did: Placed a movieclip on canvas, set the rotation to -161 and then call this: TweenMax.to(arrow, 1, { rotation:147 }); Many thanks in advance.
  11. Hi, I was implementing a tween based on CSS3's background-size today. That would map to "backgroundSize" as defined in CSSPlugin.js. However, the tween doesn't work in the latest Firefox. While it works perfectly in the latest Chrome. I digged down until I found about this condition in _parsePosition function in CSSPlugin.js: _parsePosition = function(v, o) { if (v == null || v === "" || v === "auto") { v = "0 0"; } Debugging this, I found that 'v' was passed in as 'auto' in Chrome. But it was passed in as 'auto auto' instead in Firefox. Since 'v' was not changed to '0 0' this leads to parsing problem resulting in 'NaN' in o.ox. And thus the effect doesn't work. My TweenMax code looks like something along these lines: controller.addTween( chart.offset().top, TweenMax.fromTo($('.bub', chart), .25, {css:{opacity:0, 'letter-spacing':'30px', backgroundSize:'0% 0%'}, immediateRender:true, ease:Quad.easeInOut}, {css:{opacity:1, 'letter-spacing':'0px', backgroundSize:'100% 100%'}, ease:Quad.easeInOut} ), 0, -350 ); I patched CSSPlugin.js locally so that it now handles 'auto auto' case. The backgroundSize transition now works correctly on my machine. if (v == null || v === "" || v === "auto" || v === 'auto auto') { v = "0 0"; } Hope this helps. Not sure of any proper channel to report issue for TweenMax? Natthawut
  12. Quick question here, sorry if this is answered somewhere else (couldn't find an answer). Simplified scenario... Let's say I have a div "#container" with an image inside it. Then I attach a tween to the image which rotates it infinitely. Then... using jQuery, I replace the contents of #container with a new image. Will the Tween that was attached to the original image (which is now gone) continue to eat memory, or is it now eligible for garbage collection? Do I first need to "Kill" all of its tweens before removing it? My real situation is much more complicated but that is the general idea. Thanks!
  13. Hi there, for a mobile car game i use Starling and TweenMax for all animations. Since i would like to show a realistic driving behaviour the cars should also be able to brake and accelerate when obstacles occur or vanish. I thought about changing the timeScale property of the car's tween that needs to brake (from 1 to 0) or accelerate again (from 0 to 1) with another Tween. First tests show me that the animated cars with a changed timeScale property do not drive that fluent anymore as with a value of 1.0. What do you think, is this a good and performant approach to implement that behaviour or would there be better options ? Thanks for your opinions. Best regards valley
  14. Hey Jack, I'm trying to improve on the current method of applying animating values to Webkit's 3D transforms ( this is my current jQuery implementation http://chrisgannon.w...-and-greensock/ ). The new method I'm trying is as follows (and allows the tween to be used in TimelineMax etc). var myObject = {value:100}; TweenMax.to(myObject, 3, {value:400, onUpdate:applyValue, onUpdateParams:[myObject.value]}); function applyValue (val){ console.log(val); //always passes 100 }; I may be missing something here but I would expect the 'val' parameter to be updated onUpdate but it seems to only pass the initial value that was set. i.e. 100. The following obviously works but it's no longer a generic function available to any element. var myObject = {value:100}; TweenMax.to(myObject, 3, {value:400, onUpdate:applyValue, onUpdateParams:[myObject.value]}); function applyValue (val){ console.log(myObject.value); //animates from 100 to 400 }; Is there a way to access/pass the animating value? I should also point out that I am also placing the tweens in a TimelineMax so that may be the issue. Cheers, Chris
  15. Hello, I'm working on an animation that will become a screensaver. Below I have a for loop that tweens an array of sprites from alpha 0 to alpha 1. It executes exactly as I need it, but when I try to tween endframe (as written in the second TweenMax) the delay of 18 seconds and the repeatDelay of 2.5 only works on the first loop. After the first loop, endframe fades in and out every 2.5 seconds. Here is the code snippet: for (var i:int = 0; i < gridBoxes.length; i++) { TweenMax.to(gridBoxes[i], .5, {alpha:1, delay:Math.random() * 7, ease:Circ.easeIn, repeat:-1, yoyo:true, repeatDelay:10}); } TweenMax.to(endframe, .5, {alpha:1, delay: 18, ease:Circ.easeIn, repeat:-1, yoyo:true, repeatDelay:2.5}); How can I solve this so that endframe fades in and out every 18 seconds indefinitely? I also have to apply this ability to several other movieclips exported for as3 that will fade in and out every 5, 10 and 15 seconds. By the way, endframe is a movieclip exported for as3. It's a logo so that's why I exported for as3. Thank you so much in advance!
  16. I have a banner add that's about 34kb, so I've got 6kb to spare. Is it possible to add in blurFilter and only blurFilter? I tried commenting out the plugins from TweenMax.as, but it still bumps my file up to 46kb, before and after. PS. I'm on 11.691 (AS2)
  17. Not a problem, but I wondering why the following happens. I recreated a cockpit instrument environment and the tweens are updating the cockpit instruments towards the next array index value (currentSpeed, currentAlt, etc) every 0.5 second. Each instrument has its own array where to update from. The really strange thing is (which caused me sync problems before) that the speed and altitude array index is updated twice as fast as the others. However the instruments keep synced somehow.....? I'm tracing in the actionscript now only Speed, Alt and N11. How is that possible since all tweens are using 0.5 as duration? import com.greensock.*; import com.greensock.easing.*; import com.greensock.TweenMax; import com.greensock.TimelineMax; import com.greensock.plugins.*; TweenPlugin.activate([FramePlugin]); //activation is permanent in the SWF, so this line only needs to be run once. //X-Plane data var airSpeeds:Array = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5, 0.7, 1.1, 1.5, 2.1, 2.7, 3.5, 4.2, 5.1, 6.0, 6.9, 7.8, 8.8, 9.7, 10.7, 11.8, 13.8, 16.4, 20.3, 24.0, 27.1, 29.4, 34.0, 37.7, 41.3, 44.8, 48.1, 51.7, 55.7, 57.8, 61.8, 65.2, 68.8, 72.2, 75.6, 78.9, 82.2, 85.6, 88.9, 91.8, 95.3, 97.9, 100.2, 104.0, 106.9, 110.2, 113.1, 116.4, 119.1, 122.3, 125.0, 127.5, 129.7, 131.8, 133.5, 134.9, 136.1, 137.2, 138.2, 139.0, 139.7, 140.6, 141.4, 142.4, 143.3, 144.2, 145.1, 146.1, 147.0, 148.0, 148.9, 149.8, 150.6, 151.5, 152.4, 153.1, 153.8, 154.4, 155.0, 155.5, 156.0, 156.5, 157.0, 157.4, 157.8, 158.2, 158.5, 158.9, 159.5, 160.1, 160.8, 161.5, 162.2, 162.9, 163.5, 164.2, 164.8, 165.3, 165.8, 166.2, 166.7, 167.1, 167.6, 168.1, 168.5, 169.0, 169.5, 170.1, 170.6, 171.2, 171.9, 172.6, 173.4, 174.3, 175.4, 176.3, 177.0, 177.6, 177.8, 178.3, 178.6, 178.8, 178.8, 178.8, 178.7, 178.5, 178.2, 178.0, 177.7, 177.5, 177.3, 177.1, 176.9, 176.6, 176.2, 175.8, 175.3, 174.8, 174.2, 173.6, 173.0, 172.4, 171.7, 171.0, 169.9, 168.6, 167.2, 165.8, 164.4, 163.1, 161.9, 160.7, 159.7, 158.9, 158.5, 158.4, 158.4, 158.6, 158.9, 159.3, 159.8, 160.4, 161.0, 161.6, 162.2, 162.8, 163.3, 163.7, 164.0, 164.1, 164.0, 163.9, 163.5, 163.2, 162.8, 162.4, 162.0, 161.7, 161.4, 161.2, 161.0, 160.8, 160.7, 160.6, 160.5, 160.5, 160.5, 160.4, 160.4, 160.4, 160.4, 160.4, 160.4, 160.5, 160.5, 160.7, 160.9, 161.3, 162.0, 163.0, 164.3, 166.0, 167.9, 169.8, 172.3, 174.8, 177.6, 180.5, 183.9, 187.2, 190.7, 194.2, 198.0, 201.7, 205.1, 208.6, 212.0, 215.1, 218.0, 220.5, 222.9, 224.9, 226.5, 227.6, 228.5, 229.0, 229.1, 228.9, 228.4, 227.7, 226.7, 225.5, 224.2, 222.6, 220.7, 218.5, 216.0, 213.5, 211.1, 208.6, 206.2, 203.8, 201.7, 199.7, 197.8, 196.2, 194.8, 193.6, 192.5, 191.8, 191.2, 190.9, 190.8, 190.7, 190.9, 191.4, 192.1, 193.3, 194.9, 196.8, 199.1, 201.8, 204.4, 207.4, 210.3, 213.7, 217.0, 220.5, 223.8, 227.0, 229.9, 232.8, 235.4, 238.1, 240.3, 242.5, 244.2, 245.6, 246.5, 247.0, 247.1, 246.9, 246.4, 245.5, 244.5, 243.0, 241.3, 239.4, 237.2, 234.8, 232.3, 229.6, 226.7, 223.7, 220.7, 217.5, 214.2, 211.0, 207.8, 204.8, 201.7, 198.7, 195.9, 193.2, 190.6, 188.3, 185.9, 183.7, 181.5, 179.4, 177.5, 175.7, 174.1, 172.7, 171.5, 170.3, 169.3, 168.3, 167.3, 166.2, 165.1, 164.0, 162.8, 161.5, 160.1, 158.7, 157.0, 155.3, 153.5, 151.7, 149.8, 147.9, 146.0, 144.2, 142.5, 141.0, 139.7, 138.5, 137.5, 136.9, 136.4, 136.2, 136.3, 136.6, 137.2, 138.0, 139.1, 140.3, 141.9, 143.5, 145.3, 147.4, 149.4, 151.6, 153.8, 156.2, 158.7, 161.2, 163.6, 166.0, 168.2, 170.5, 172.7, 174.8, 176.8, 178.8, 180.6, 182.4, 184.0, 185.8, 187.3, 189.1, 190.7, 192.3, 193.8, 195.2, 196.6, 197.9, 199.0, 200.2, 201.3, 202.3, 203.3, 204.4, 205.4, 206.7, 208.0, 209.3, 210.6, 211.7, 212.6, 213.2, 213.5, 213.5, 213.2, 212.4, 211.3, 209.8, 208.0, 206.1, 204.2, 202.2, 200.1, 198.0, 195.8, 193.9, 191.7, 189.5, 187.3, 185.1, 182.9, 180.8, 178.7, 176.6, 174.5, 172.5, 170.5, 168.4, 166.4, 164.5, 162.5, 160.6, 158.7, 156.8, 154.9, 153.1, 151.3, 149.8, 148.2, 146.9, 145.6, 144.6, 143.6, 142.8, 142.2, 141.8, 141.6, 141.5, 141.6, 141.8, 142.2, 142.8, 143.7, 144.7, 146.1, 147.6, 149.4, 151.3, 153.3, 155.4, 157.5, 159.2, 160.9, 162.5, 164.1, 165.6, 167.1, 168.5, 169.9, 171.2, 172.6, 173.9, 175.2, 176.3, 177.4, 178.5, 179.5, 180.4, 181.2, 182.0, 182.8, 183.5, 184.1, 184.6, 184.9, 185.1, 185.1, 185.1, 184.9, 184.6, 184.2, 183.8, 183.4, 183.0, 182.7, 182.5, 182.2, 182.0, 181.8, 181.6, 181.4, 181.1, 180.9, 180.9, 180.9, 181.0, 181.2, 181.5, 181.9, 182.4, 183.0, 183.7, 184.5, 185.4, 186.4, 187.5, 188.6, 189.6, 190.6, 191.4, 192.3, 193.2, 194.1, 194.9, 195.8, 196.5, 197.4, 198.2, 199.0, 199.8, 200.6, 201.3, 202.1, 202.8, 203.5, 204.3, 205.1, 205.9, 206.7, 207.5, 208.3, 209.0, 209.7, 210.4, 211.1, 211.7, 212.2, 212.8, 213.2, 213.7, 214.0, 214.4, 214.7, 214.9, 215.1, 215.3, 215.4, 215.4, 215.5, 215.6, 215.6, 215.5, 215.5, 215.4, 215.2, 215.0, 214.8, 214.4, 214.2, 214.1, 214.1, 214.1, 214.5, 215.1, 215.7, 216.6, 217.7, 218.8, 219.5, 221.0, 222.5, 224.2, 225.8, 227.6, 229.5, 231.7, 233.6, 235.5, 237.1, 238.6, 239.8, 240.9, 241.7, 242.4, 242.9, 243.2, 243.3, 243.1, 242.8, 242.4, 241.9, 241.5, 241.3, 241.1, 240.9, 240.6, 240.2, 239.7, 239.1, 238.3, 237.5, 236.5, 235.4, 234.3, 233.3, 232.5, 231.8, 231.2, 230.7, 230.2, 229.7, 229.1, 228.6, 228.0, 227.5, 226.9, 226.4, 225.8, 225.2, 224.6, 224.0, 223.4, 222.9, 222.5, 222.1, 221.7, 221.4, 221.1, 220.8, 220.4, 220.0, 219.7, 219.3, 218.9, 218.6, 218.2, 217.9, 217.6, 217.2, 217.0, 216.7, 216.4, 216.2, 216.0, 215.7, 215.5, 215.3, 215.0, 214.8, 214.4, 214.0, 213.6, 212.8, 212.2, 211.5, 210.7, 209.8, 209.1, 208.4, 207.8, 207.1, 206.4, 205.6, 204.8, 204.0, 203.3, 202.5, 201.8, 200.8, 199.9, 198.9, 197.9, 196.7, 195.5, 194.1, 192.6, 191.1, 189.5, 187.9, 186.3, 184.8, 183.3, 181.8, 180.4, 178.9, 177.6, 176.3, 175.1, 174.0, 173.0, 172.0, 171.0, 169.9, 168.8, 167.9, 167.5, 167.9, 168.9, 170.0, 171.0, 171.9, 172.8, 173.7, 174.5, 175.4, 176.1, 176.9, 177.7, 178.4, 179.1, 179.7, 180.3, 180.9, 181.3, 181.6, 181.8, 181.9, 182.0, 182.1, 182.2, 182.3, 182.4, 182.4, 182.5, 182.6, 182.6, 182.7, 182.8, 182.9, 183.0, 183.2, 183.3, 183.5, 183.7, 183.9, 184.1, 184.3, 184.6, 184.8, 185.1, 185.3, 185.6, 185.8, 186.1, 186.3, 186.6, 186.9, 187.1, 187.4, 187.7, 187.9, 188.1, 188.4, 188.6, 188.8, 189.0, 189.2, 189.4, 189.7, 189.9, 190.1, 190.3, 190.5, 190.7, 190.9, 191.1, 191.3, 191.5, 191.6, 191.7, 191.7, 191.7, 191.7, 191.6, 191.5, 191.4, 191.2, 191.0, 190.8, 190.5, 190.2, 189.8, 189.4, 189.0, 188.5, 188.0, 187.4, 186.7, 186.0, 185.3, 184.6, 183.9, 183.2, 182.4, 181.7, 181.0, 180.4, 179.8, 179.2, 178.5, 177.9, 177.1, 176.1, 174.9, 173.6, 172.3, 171.1, 169.8, 168.6, 167.3, 165.8, 164.3, 162.7, 161.3, 159.9, 158.4, 157.0, 155.5, 154.2, 153.0, 151.7, 150.7, 149.8, 148.9, 148.0, 147.2, 146.4, 145.7, 145.0, 144.3, 143.5, 142.8, 141.8, 140.7, 139.6, 138.4, 137.2, 136.1, 134.9, 133.7, 132.6, 131.4, 130.1, 128.9, 127.7, 126.5, 125.3, 124.2, 123.0, 121.9, 120.8, 119.7, 118.7, 117.7, 116.8, 115.9, 115.0, 114.1, 113.1, 112.2, 111.3, 110.3, 109.3, 108.3, 107.5, 106.7, 105.9, 105.1, 104.5, 103.9, 103.3, 102.5, 101.8, 101.2, 100.3, 99.5, 98.6, 97.6, 96.6, 95.6, 94.7, 93.7, 92.8, 92.0, 91.2, 90.4, 89.7, 89.1, 88.3, 87.5, 86.9, 86.1, 85.4, 85.0, 84.1, 83.2, 82.3, 81.5, 80.5, 79.6, 78.6, 77.8, 77.0, 76.3, 75.5, 74.5, 73.7, 72.9, 72.2, 71.6, 70.9, 70.3, 69.6, 68.9, 68.4, 68.1, 67.9, 67.7, 67.7, 67.9, 68.2, 68.6, 68.9, 69.3, 69.8, 70.3, 70.6, 70.9, 71.0, 71.1, 71.2, 71.2, 71.2, 71.1, 70.9, 70.8, 70.5, 70.2, 70.1, 69.9, 69.6, 69.4, 69.2, 68.9, 68.7, 68.4, 68.3, 68.1, 68.3, 68.8, 70.2, 72.6, 75.1, 77.3, 79.8, 82.3, 84.7, 87.4, 89.8, 92.8, 95.4, 98.2, 100.8, 103.7, 106.6, 109.4, 112.2, 115.2, 118.0, 120.4, 123.1, 125.4, 127.7, 129.6, 131.3, 132.6, 133.6, 134.5, 135.2, 135.7, 136.1, 136.4, 136.6, 137.0, 137.6, 138.4, 139.5, 140.8, 142.5, 144.4, 146.7, 149.1, 151.7, 154.4, 157.5, 160.4, 163.6, 166.8, 170.1, 173.4, 176.9, 180.2, 183.9, 187.5, 191.2, 194.8, 198.1, 200.6, 202.7, 204.7, 206.2, 207.4, 208.2, 208.5, 208.5, 208.0, 207.1, 205.9, 204.3, 202.5, 200.2, 197.7, 195.1, 192.3, 189.7, 187.1, 184.5, 182.1, 179.7, 177.6, 175.7, 174.0, 172.4, 171.3, 170.4, 169.8, 169.5, 169.5, 169.7, 170.1, 170.8, 171.7, 172.8, 174.3, 175.9, 177.7, 179.7, 182.2, 184.5, 187.0, 189.5, 192.1, 194.4, 196.9, 199.3, 201.8, 204.1, 206.4, 208.8, 211.0, 212.9, 214.9, 216.7, 218.5, 220.0, 221.4, 222.7, 223.8, 224.6, 225.3, 225.8, 225.9, 225.5, 224.7, 223.5, 222.0, 220.2, 218.2, 216.0, 213.7, 211.2, 208.6, 205.8, 202.9, 200.0, 197.0, 194.2, 191.4, 188.6, 185.7, 183.0, 180.5, 178.0, 175.5, 173.3, 171.1, 169.1, 167.2, 165.3, 163.3, 161.3, 159.3, 157.3, 155.3, 153.4, 151.5, 149.6, 147.9, 146.2, 144.8, 143.0, 141.4, 139.7, 138.1, 136.5, 134.9, 133.3, 131.8, 130.2, 128.7, 127.2, 125.7, 124.2, 122.7, 121.3, 119.9, 118.6, 117.3, 116.0, 114.8, 113.7, 112.8, 112.2, 111.7, 111.6, 111.8, 112.4, 113.3, 114.5, 116.1, 118.0, 120.3, 122.7, 125.6, 128.3, 131.4, 134.4, 137.5, 140.4, 143.5, 146.2, 149.2, 151.8, 154.4, 156.8, 159.2, 161.5, 163.9, 166.0, 168.2, 170.4, 172.6, 174.5, 176.6, 178.5, 180.5, 182.3, 184.2, 185.7, 187.3, 188.7, 190.2, 191.5, 192.9, 194.2, 195.5, 196.7, 198.0, 199.2, 200.5, 201.7, 202.9, 204.2, 205.4, 206.6, 207.9, 209.2, 210.5, 211.7, 213.0, 214.1, 215.3, 216.4, 217.4, 218.5, 219.6, 220.5, 221.4, 222.3, 223.1, 223.9, 224.7, 225.5, 226.2, 226.9, 227.5, 227.9, 228.2, 228.5, 229.0, 229.5, 230.1, 231.1, 232.6, 234.8, 237.2, 240.1, 243.1, 245.8, 248.3, 250.4, 252.2, 253.1, 253.6, 253.8, 253.7, 253.5, 253.0, 252.4, 252.2, 252.6, 253.4, 255.0, 257.0, 259.9, 262.6, 265.5, 269.1, 273.0, 276.3, 281.1, 285.7, 290.6, 295.6, 300.9, 305.8, 310.4, 314.4, 318.2, 321.2, 323.4, 324.9, 325.3, 325.2, 324.5, 323.9, 323.5, 323.4, 323.7, 324.6, 326.2, 328.4, 331.8, 335.5, 340.5, 341.1, 347.1, 351.6, 353.3, 357.8, 360.9, 362.8, 364.0, 366.6, 368.3, 371.7, 373.6, 375.8]; var altitudes:Array = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 4, 10, 19, 31, 45, 60, 77, 98, 121, 146, 172, 200, 226, 252, 279, 306, 333, 362, 390, 418, 447, 477, 506, 535, 564, 594, 627, 658, 692, 727, 762, 797, 833, 867, 903, 941, 977, 1014, 1050, 1083, 1117, 1149, 1179, 1212, 1245, 1279, 1314, 1349, 1384, 1420, 1456, 1493, 1529, 1565, 1600, 1634, 1670, 1706, 1737, 1773, 1806, 1838, 1868, 1896, 1926, 1955, 1984, 2015, 2027, 2063, 2103, 2142, 2185, 2228, 2274, 2319, 2369, 2415, 2462, 2510, 2557, 2602, 2652, 2696, 2747, 2797, 2849, 2898, 2948, 3000, 3052, 3104, 3157, 3211, 3264, 3319, 3374, 3429, 3484, 3538, 3590, 3641, 3689, 3735, 3778, 3821, 3861, 3899, 3936, 3970, 4002, 4034, 4063, 4092, 4122, 4153, 4184, 4217, 4251, 4286, 4322, 4358, 4398, 4437, 4476, 4515, 4553, 4590, 4626, 4661, 4696, 4730, 4764, 4798, 4830, 4863, 4897, 4931, 4963, 4996, 5027, 5060, 5091, 5124, 5154, 5185, 5213, 5239, 5262, 5282, 5299, 5312, 5322, 5326, 5326, 5321, 5312, 5299, 5281, 5260, 5236, 5211, 5183, 5155, 5127, 5100, 5072, 5048, 5027, 5011, 5002, 5001, 5008, 5021, 5042, 5070, 5106, 5150, 5199, 5254, 5315, 5380, 5448, 5520, 5596, 5671, 5749, 5827, 5902, 5979, 6053, 6127, 6196, 6261, 6324, 6382, 6435, 6485, 6532, 6570, 6608, 6639, 6665, 6686, 6699, 6706, 6707, 6701, 6686, 6663, 6634, 6597, 6558, 6511, 6463, 6406, 6349, 6288, 6230, 6173, 6119, 6067, 6019, 5970, 5930, 5889, 5856, 5826, 5801, 5782, 5769, 5763, 5764, 5772, 5785, 5807, 5835, 5869, 5908, 5952, 6001, 6053, 6108, 6166, 6226, 6288, 6352, 6416, 6477, 6537, 6597, 6655, 6708, 6761, 6810, 6854, 6900, 6943, 6984, 7023, 7060, 7094, 7124, 7152, 7176, 7198, 7220, 7239, 7258, 7279, 7299, 7321, 7343, 7366, 7390, 7416, 7444, 7474, 7504, 7537, 7570, 7603, 7636, 7667, 7697, 7724, 7750, 7772, 7791, 7805, 7818, 7826, 7830, 7830, 7827, 7819, 7808, 7794, 7776, 7755, 7731, 7704, 7675, 7644, 7612, 7577, 7539, 7499, 7461, 7422, 7384, 7346, 7309, 7272, 7237, 7201, 7168, 7134, 7104, 7071, 7042, 7009, 6978, 6946, 6916, 6886, 6859, 6831, 6806, 6782, 6758, 6735, 6712, 6688, 6663, 6634, 6605, 6574, 6545, 6517, 6494, 6475, 6463, 6456, 6456, 6465, 6481, 6505, 6536, 6570, 6607, 6645, 6684, 6724, 6766, 6804, 6845, 6885, 6924, 6963, 7001, 7037, 7072, 7106, 7138, 7167, 7195, 7222, 7247, 7272, 7295, 7317, 7338, 7358, 7379, 7399, 7418, 7435, 7451, 7464, 7476, 7484, 7492, 7496, 7498, 7498, 7494, 7488, 7480, 7470, 7457, 7441, 7421, 7399, 7371, 7339, 7304, 7266, 7226, 7185, 7139, 7099, 7061, 7023, 6987, 6950, 6914, 6879, 6844, 6809, 6774, 6738, 6705, 6671, 6640, 6606, 6576, 6546, 6519, 6490, 6463, 6434, 6409, 6386, 6365, 6347, 6331, 6317, 6306, 6296, 6288, 6281, 6275, 6268, 6260, 6251, 6241, 6231, 6222, 6212, 6201, 6192, 6182, 6171, 6158, 6142, 6126, 6108, 6087, 6065, 6041, 6016, 5988, 5959, 5924, 5892, 5857, 5824, 5790, 5759, 5726, 5695, 5662, 5630, 5597, 5567, 5534, 5502, 5470, 5438, 5406, 5374, 5341, 5310, 5278, 5246, 5211, 5177, 5141, 5107, 5074, 5039, 5007, 4974, 4940, 4909, 4879, 4848, 4819, 4790, 4763, 4735, 4710, 4684, 4658, 4634, 4612, 4589, 4566, 4543, 4523, 4503, 4483, 4465, 4448, 4430, 4415, 4400, 4384, 4366, 4346, 4322, 4293, 4260, 4225, 4185, 4143, 4096, 4070, 4014, 3961, 3902, 3844, 3782, 3717, 3646, 3581, 3515, 3456, 3397, 3344, 3290, 3246, 3202, 3165, 3129, 3099, 3072, 3050, 3030, 3010, 2988, 2965, 2939, 2915, 2893, 2873, 2857, 2842, 2830, 2821, 2814, 2809, 2804, 2796, 2786, 2774, 2761, 2747, 2733, 2719, 2705, 2691, 2676, 2664, 2651, 2638, 2627, 2615, 2604, 2593, 2580, 2566, 2552, 2537, 2521, 2506, 2490, 2475, 2460, 2445, 2430, 2417, 2403, 2388, 2374, 2360, 2344, 2329, 2314, 2299, 2284, 2268, 2252, 2235, 2219, 2203, 2187, 2173, 2160, 2147, 2135, 2119, 2110, 2103, 2099, 2097, 2097, 2099, 2104, 2111, 2121, 2132, 2145, 2161, 2178, 2195, 2213, 2233, 2254, 2275, 2299, 2322, 2349, 2377, 2407, 2437, 2470, 2503, 2536, 2568, 2599, 2630, 2660, 2690, 2718, 2745, 2771, 2796, 2819, 2842, 2865, 2888, 2911, 2936, 2959, 2984, 3008, 3034, 3060, 3086, 3113, 3141, 3168, 3197, 3225, 3254, 3283, 3313, 3343, 3372, 3403, 3436, 3469, 3505, 3542, 3582, 3620, 3660, 3699, 3739, 3780, 3820, 3861, 3901, 3940, 3980, 4019, 4059, 4098, 4136, 4175, 4213, 4252, 4290, 4328, 4366, 4404, 4441, 4479, 4516, 4552, 4587, 4628, 4661, 4700, 4734, 4770, 4810, 4848, 4884, 4922, 4957, 4997, 5033, 5070, 5108, 5143, 5181, 5219, 5255, 5292, 5328, 5365, 5402, 5437, 5477, 5517, 5556, 5594, 5633, 5675, 5715, 5755, 5796, 5838, 5885, 5927, 5972, 6019, 6066, 6112, 6167, 6214, 6265, 6312, 6363, 6412, 6460, 6511, 6559, 6608, 6657, 6705, 6752, 6797, 6842, 6886, 6930, 6975, 7017, 7063, 7110, 7156, 7204, 7252, 7297, 7342, 7387, 7432, 7475, 7518, 7561, 7603, 7642, 7682, 7722, 7760, 7795, 7829, 7862, 7895, 7926, 7957, 7988, 8018, 8049, 8078, 8105, 8133, 8160, 8188, 8219, 8249, 8279, 8310, 8342, 8373, 8403, 8432, 8461, 8491, 8521, 8550, 8577, 8604, 8631, 8657, 8682, 8707, 8731, 8755, 8777, 8800, 8821, 8841, 8861, 8881, 8901, 8921, 8940, 8960, 8979, 8998, 9014, 9030, 9046, 9061, 9075, 9088, 9100, 9112, 9124, 9135, 9147, 9159, 9172, 9184, 9197, 9209, 9222, 9233, 9244, 9254, 9262, 9270, 9277, 9284, 9290, 9296, 9303, 9310, 9316, 9319, 9326, 9334, 9341, 9349, 9357, 9364, 9372, 9378, 9384, 9389, 9393, 9397, 9400, 9404, 9407, 9411, 9414, 9417, 9419, 9421, 9423, 9424, 9425, 9424, 9423, 9420, 9417, 9413, 9409, 9406, 9402, 9399, 9396, 9393, 9391, 9390, 9389, 9389, 9388, 9388, 9388, 9388, 9389, 9390, 9391, 9393, 9394, 9396, 9397, 9399, 9400, 9401, 9402, 9403, 9403, 9404, 9404, 9404, 9403, 9401, 9398, 9395, 9392, 9387, 9383, 9377, 9371, 9364, 9358, 9349, 9340, 9331, 9321, 9311, 9301, 9293, 9285, 9278, 9274, 9274, 9278, 9285, 9297, 9312, 9332, 9353, 9377, 9404, 9434, 9461, 9486, 9507, 9522, 9533, 9538, 9539, 9535, 9529, 9519, 9506, 9488, 9469, 9447, 9423, 9396, 9367, 9335, 9304, 9268, 9232, 9193, 9155, 9114, 9076, 9038, 9003, 8976, 8957, 8945, 8942, 8949, 8964, 8989, 9019, 9059, 9106, 9160, 9223, 9287, 9357, 9422, 9486, 9549, 9609, 9668, 9722, 9770, 9816, 9857, 9891, 9920, 9943, 9961, 9974, 9982, 9986, 9984, 9978, 9967, 9951, 9931, 9906, 9877, 9840, 9804, 9764, 9724, 9682, 9642, 9600, 9559, 9515, 9473, 9432, 9388, 9345, 9304, 9261, 9222, 9184, 9149, 9117, 9089, 9063, 9043, 9026, 9015, 9009, 9014, 9029, 9054, 9086, 9126, 9173, 9224, 9278, 9334, 9391, 9450, 9508, 9567, 9625, 9683, 9738, 9794, 9849, 9902, 9952, 10001, 10048, 10091, 10134, 10173, 10210, 10246, 10280, 10314, 10348, 10381, 10414, 10447, 10478, 10509, 10538, 10565, 10589, 10616, 10642, 10667, 10691, 10717, 10741, 10765, 10788, 10811, 10834, 10856, 10878, 10899, 10920, 10940, 10960, 10978, 10997, 11014, 11030, 11046, 11060, 11071, 11078, 11082, 11081, 11075, 11065, 11049, 11029, 11004, 10974, 10940, 10899, 10857, 10810, 10761, 10712, 10663, 10611, 10562, 10508, 10459, 10411, 10363, 10317, 10273, 10225, 10181, 10135, 10090, 10044, 10001, 9956, 9912, 9868, 9827, 9783, 9745, 9706, 9670, 9633, 9598, 9563, 9529, 9495, 9462, 9426, 9393, 9356, 9322, 9287, 9251, 9215, 9179, 9140, 9101, 9062, 9025, 8986, 8949, 8912, 8876, 8840, 8803, 8766, 8732, 8699, 8666, 8634, 8600, 8568, 8535, 8505, 8476, 8448, 8423, 8402, 8385, 8373, 8364, 8352, 8330, 8297, 8246, 8188, 8120, 8049, 7985, 7925, 7871, 7824, 7794, 7778, 7772, 7774, 7779, 7789, 7798, 7800, 7791, 7768, 7728, 7675, 7597, 7505, 7391, 7256, 7112, 6951, 6778, 6596, 6405, 6214, 6009, 5821, 5634, 5459, 5286, 5133, 5004, 4885, 4781, 4695, 4612, 4535, 4455, 4368, 4266, 4150, 4011, 3854, 3654, 3451, 3199, 2952, 2658, 2378, 2087, 1767, 1491, 1245, 1012, 806, 630, 457, 295, 124]; var roll:Array = [0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.2, 0.2, 0.2, 0.2, 0.3, 0.4, 0.3, 0.3, 0.3, 0.3, 0.4, 0.4, 0.3, 0.3, 0.4, 0.4, 0.4, 0.3, 0.4, 0.5, 0.4, 0.3, 0.3, 0.3, 0.7, 1.5, 2.0, 1.9, 1.2, 0.9, 0.9, 0.9, 0.9, 0.9, 1.2, 2.0, 2.1, 1.9, 1.7, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.6, 1.6, 1.6, 1.6, 1.6, 1.7, 1.6, 1.5, 1.3, 1.1, 1.0, 0.9, 0.9, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.9, 0.9, 0.9, 0.9, 1.0, -0.3, -5.2, -10.2, -13.5, -15.8, -18.2, -20.0, -21.2, -22.5, -23.8, -25.1, -26.4, -27.6, -29.0, -30.1, -28.8, -19.4, -8.8, -0.6, 4.1, 5.4, 5.7, 5.7, 5.8, 5.8, 5.5, 5.2, 4.6, 7.6, 16.1, 24.5, 25.8, 26.3, 26.8, 27.0, 25.7, 23.1, 20.6, 15.9, 11.1, 6.1, 1.7, 1.6, 3.1, 3.3, 3.3, 3.4, 3.2, 3.0, 2.8, 2.6, 2.4, 1.9, 1.3, 0.8, 0.9, 1.3, 1.7, 2.2, 2.8, 3.2, 3.2, 2.8, 2.0, 1.1, 0.4, 0.3, 0.3, 0.4, 0.5, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.3, 1.3, 1.3, 1.3, 1.3, 1.3, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.6, 1.6, 1.6, 1.6, 1.6, 1.7, 1.7, 1.7, 1.7, 1.7, 1.7, 1.8, 1.8, 2.1, 6.9, 13.5, 18.0, 20.3, 21.6, 21.5, 21.1, 20.7, 20.2, 19.7, 19.1, 18.5, 17.9, 17.3, 17.3, 17.5, 17.7, 18.0, 18.3, 18.6, 18.9, 19.3, 19.6, 19.9, 20.3, 20.7, 20.9, 21.0, 21.0, 20.9, 20.7, 20.3, 19.4, 18.4, 17.3, 16.2, 15.0, 13.8, 12.7, 11.5, 10.4, 9.3, 8.1, 7.1, 6.0, 5.3, 4.9, 4.6, 4.3, 3.6, 2.4, 1.2, 0.6, 1.2, 2.7, 2.5, 0.8, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.3, -0.3, -0.3, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.1, -0.1, -0.1, 0.0, 0.0, 0.1, 0.1, 0.2, 0.2, 0.7, 1.6, 2.8, 3.6, 3.7, 3.7, 3.3, 2.8, 2.3, 1.8, 1.3, 0.8, 0.3, 0.0, 0.1, 0.6, 1.1, 1.4, 1.7, 2.0, 2.2, 2.4, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.1, 3.2, 3.1, 2.9, 2.7, 2.5, 2.3, 2.1, 2.0, 2.1, 2.1, 2.2, 2.2, 2.2, 2.3, 2.3, 2.4, 2.4, 2.4, 2.5, 2.5, 2.5, 2.6, 2.6, 2.6, 2.6, 2.6, 2.6, 2.6, 2.6, 2.5, 2.4, 1.9, 0.4, -1.5, -3.4, -5.4, -7.3, -9.1, -10.3, -10.3, -10.2, -10.1, -10.1, -10.0, -10.0, -9.9, -9.9, -9.8, -9.8, -9.8, -9.7, -9.7, -9.7, -9.9, -10.0, -10.1, -10.1, -11.0, -11.7, -11.5, -11.3, -11.2, -11.0, -9.9, -5.1, -0.6, 3.8, 7.9, 11.6, 14.6, 17.1, 19.5, 21.7, 22.6, 23.0, 23.4, 23.7, 24.1, 24.4, 24.8, 25.2, 25.5, 25.9, 26.2, 26.5, 26.8, 27.1, 27.3, 27.5, 27.7, 27.9, 28.0, 28.2, 28.4, 28.6, 28.6, 28.0, 27.6, 27.6, 27.7, 27.8, 27.8, 27.9, 27.9, 27.0, 24.6, 22.1, 18.8, 15.1, 11.3, 7.4, 4.0, 2.3, 2.0, 1.9, 1.7, 1.6, 1.4, 1.3, 1.2, 1.1, 0.9, 0.8, 0.7, 0.5, 0.2, -0.1, -0.4, -0.6, -0.8, -0.8, -0.8, -0.7, -0.7, -0.7, -0.6, -0.6, -0.5, -0.5, -0.4, -0.4, -0.3, -0.3, -0.3, -0.2, -0.2, -0.2, -1.3, -6.2, -11.8, -17.2, -22.3, -27.7, -32.6, -33.8, -33.6, -33.4, -33.2, -32.9, -32.7, -32.5, -32.3, -32.1, -31.9, -31.7, -31.4, -31.1, -30.9, -30.6, -30.3, -30.0, -29.7, -29.4, -29.1, -28.7, -28.3, -28.0, -27.7, -27.2, -26.9, -26.6, -26.2, -26.0, -25.7, -25.5, -25.2, -25.0, -24.8, -24.6, -24.4, -24.1, -23.9, -23.7, -23.5, -23.4, -23.5, -23.8, -24.1, -24.7, -25.4, -26.1, -26.3, -25.9, -25.6, -25.2, -24.9, -24.6, -24.2, -23.9, -23.6, -23.3, -23.0, -22.7, -22.5, -22.2, -21.9, -21.6, -21.4, -21.3, -21.1, -20.8, -20.6, -20.4, -20.2, -19.9, -19.7, -19.5, -19.3, -19.2, -19.0, -18.8, -18.6, -18.5, -18.3, -18.0, -17.8, -17.6, -17.3, -17.1, -16.9, -16.7, -16.4, -16.2, -15.9, -15.6, -15.4, -15.0, -14.5, -14.0, -13.7, -13.4, -13.2, -12.9, -12.8, -12.6, -12.5, -12.3, -12.2, -12.1, -13.0, -14.3, -15.2, -15.7, -15.7, -15.0, -13.9, -12.3, -10.5, -7.7, -4.2, -1.3, 0.7, 0.8, 0.9, 0.9, 1.0, 1.0, 1.1, 1.1, 1.1, 1.0, 1.0, 0.9, 0.9, 0.8, 0.7, 0.5, 0.2, -0.1, -0.4, -0.6, -0.9, -0.9, -0.9, -0.9, -0.8, -0.8, -0.7, -0.7, -0.7, -0.7, -0.7, -0.7, -0.7, -0.6, -0.6, -0.5, -0.4, -0.3, -0.3, -0.2, -0.1, -0.1, 0.0, 0.1, 0.1, 0.1, 0.1, -0.1, -0.4, -0.6, -1.0, -1.6, -1.8, -1.8, -1.8, -1.7, -1.6, -1.5, -1.5, -1.4, -1.4, -1.3, -1.2, -0.5, -0.5, -0.5, -0.4, -0.4, -0.4, -0.3, -0.3, -0.3, -0.3, -0.2, -0.2, -0.2, -0.2, -0.2, -0.1, -0.1, -0.1, -0.1, 0.0, 0.0, 0.0, 0.0, 0.1, 0.1, 0.1, 0.2, 0.2, 0.2, 0.2, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.4, 0.4, 0.4, 3.8, 8.6, 12.9, 13.6, 13.9, 14.3, 14.6, 14.8, 14.9, 15.1, 15.3, 15.4, 15.5, 15.7, 15.8, 16.0, 16.2, 16.4, 16.5, 16.7, 16.9, 17.0, 17.2, 17.4, 17.6, 17.7, 17.9, 18.1, 18.3, 18.5, 18.6, 18.8, 19.0, 19.2, 19.3, 19.5, 19.6, 19.8, 19.9, 20.1, 20.3, 20.5, 20.2, 18.2, 14.9, 11.3, 7.6, 4.0, 0.9, 1.0, 1.2, 1.3, 1.3, 1.3, 1.4, 1.4, 1.4, 1.4, 1.5, 1.5, 1.5, 1.6, 1.6, 1.6, 1.7, 1.7, 1.7, 1.7, 1.4, 1.2, 0.9, 0.6, 0.4, 0.1, -0.1, -0.3, -0.4, 0.3, 0.7, 0.9, 1.1, 1.3, 1.5, 1.7, 1.9, 2.1, 2.3, 2.5, 2.7, 2.9, 3.2, 3.4, 3.7, 3.8, 2.4, 1.1, 0.9, 0.8, 0.8, 0.8, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 1.0, 1.0, 1.0, 0.9, 0.8, 0.8, 0.7, 0.7, 0.6, 0.6, 0.5, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.7, 0.7, 0.7, 0.8, 0.8, 0.8, 0.9, 0.9, 0.9, 1.0, 1.0, 1.0, 1.1, 1.0, 1.0, 1.0, 0.9, 0.9, 0.9, 0.8, 0.8, 0.8, 0.7, 0.7, 0.6, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.1, 0.0, 0.0, -0.1, -0.2, -0.2, -0.3, -0.4, -0.5, -0.5, -0.5, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.5, -0.5, -0.4, -0.4, -0.4, -0.4, -0.3, -0.3, -0.2, -0.2, -0.2, -0.2, -0.2, -0.1, -0.1, -0.1, 0.0, 0.0, 0.1, 0.1, 0.1, 0.2, 0.2, 0.2, 0.2, 0.2, 0.1, 0.0, -0.1, -0.2, -0.3, -0.4, -0.6, -1.0, -1.7, -2.5, -3.2, -4.0, -4.5, -4.0, -3.2, -2.5, -1.7, -0.7, 0.3, 1.4, 2.0, 2.2, 2.2, 2.4, 2.5, 2.5, 2.4, 2.3, 2.2, 2.1, 2.0, 2.0, 1.8, 1.7, 1.6, 1.5, 1.3, 1.2, 1.0, 0.8, 0.7, 0.5, 0.3, 0.0, -0.2, -0.4, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.6, -0.5, -0.5, -0.4, -0.3, -0.2, -0.2, -0.2, -0.1, -0.1, -0.1, 0.0, 0.0, 0.0, 0.1, 0.1, 0.1, 0.2, 0.2, 0.2, 0.3, 0.3, 0.3, 0.4, 0.4, 0.4, 0.5, 0.5, 0.4, 0.4, 0.3, 0.2, 0.1, 0.1, 0.0, 0.0, -0.1, -0.1, -0.1, -0.1, 0.0, 0.0, 0.1, 0.2, 0.2, 0.3, 0.3, 0.6, 0.9, 1.3, 1.9, 2.5, 2.9, 3.2, 3.2, 3.1, 3.1, 3.0, 3.0, 2.9, 2.9, 2.8, 2.8, 2.7, 2.6, 2.5, 1.7, 0.6, 0.6, 0.6, 0.7, 0.7, 0.7, 0.8, 0.8, 0.9, 0.9, 0.9, 1.0, 1.0, 1.1, 1.1, 1.1, 1.2, 1.2, 1.3, 1.3, 1.4, 1.4, 1.4, 1.5, 1.6, 1.6, 1.7, 1.8, 1.8, 1.9, 2.0, 2.0, 2.1, 2.2, 2.2, 2.3, 2.4, 2.4, 2.5, 2.6, 2.5, 2.5, 2.5, 2.4, 2.4, 2.5, 2.5, 2.6, 2.7, 2.7, 2.8, 2.9, 3.0, 3.0, 3.1, 3.2, 3.3, 3.2, 3.1, 2.8, 2.1, 1.9, 1.9, 2.0, 2.0, 2.1, 2.2, 2.2, 2.3, 2.3, 2.3, 2.4, 2.4, 2.5, 2.6, 2.6, 2.7, 2.7, 2.8, 2.8, 2.9, 2.9, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 2.9, 2.9, 2.8, 2.7, 2.5, 2.2, 1.9, 1.7, 1.5, 1.2, 1.0, 0.8, 0.6, 0.4, 0.3, 0.3, 0.2, 0.2, 0.1, 0.1, 0.0, 0.0, -0.1, -0.1, -0.2, -0.2, 0.4, 3.2, 6.2, 8.6, 11.2, 13.3, 15.0, 16.1, 17.0, 17.7, 18.2, 18.6, 19.0, 19.4, 19.7, 20.0, 20.3, 20.5, 20.7, 21.0, 21.1, 21.1, 21.1, 21.0, 20.8, 20.7, 20.6, 20.4, 20.3, 20.2, 20.0, 19.9, 19.8, 19.0, 16.4, 12.9, 9.5, 6.0, 2.7, -0.5, -1.7, -1.6, -1.6, -1.5, -1.5, -1.4, 11.9, 54.1, 98.2, 143.3, -174.2, -128.9, -87.2, -43.8, -12.7, -9.8, 0.7, 10.8, 12.9, 13.4, 13.4, 12.8, 11.8, 11.8, 19.2, 66.8, 111.8, 126.8, 138.2, 149.5, 159.6, 170.3, -179.9, -169.7, -158.3, -147.3, -131.1, -116.4, -100.1, -84.0, -68.2, -52.1, -38.6, -26.2, -15.0, -4.1, 6.0, 15.2, 25.2, 36.1, 47.3, 61.0, 73.4, 85.6, 97.6, 109.5, 121.0, 132.6, 144.1, 157.2, 169.6, -175.1, -148.3, -123.9, -98.3, -72.5, -46.2, -25.4, -7.8, 9.2, 25.9, 35.8, 49.9, 101.8, 156.4]; var pitch:Array = [-1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.1, -1.2, -1.2, -1.2, -1.3, -1.3, -1.3, -1.2, -1.2, -1.3, -1.4, -1.3, -1.4, -1.4, -1.3, -1.5, -1.2, -1.1, -1.3, -1.1, -1.0, -1.0, -1.1, -1.1, -1.2, -1.1, -1.0, -1.0, -1.1, -1.2, -1.0, -1.1, -1.3, -1.4, -1.1, -1.3, -1.3, -1.1, -1.4, -1.3, -1.1, -1.1, -0.9, -0.8, -0.2, 0.4, 3.4, 4.7, 4.7, 7.1, 8.5, 10.1, 10.3, 10.9, 12.3, 13.3, 14.1, 15.2, 15.8, 15.5, 14.2, 14.5, 14.6, 14.7, 14.6, 14.7, 14.8, 14.9, 15.0, 15.1, 15.0, 14.9, 14.8, 14.8, 15.7, 16.3, 16.7, 16.4, 16.4, 16.5, 16.5, 16.8, 16.9, 17.2, 17.4, 16.9, 15.9, 15.2, 14.8, 14.3, 14.4, 14.5, 14.6, 14.8, 14.8, 15.3, 15.6, 15.7, 15.7, 15.6, 15.5, 15.3, 15.2, 15.1, 14.9, 14.8, 14.6, 14.3, 14.0, 13.6, 12.5, 12.0, 11.5, 11.4, 12.1, 13.2, 13.9, 14.2, 15.1, 15.7, 16.3, 16.9, 17.4, 18.1, 18.5, 18.8, 18.2, 18.0, 17.8, 18.1, 18.3, 18.4, 18.7, 19.2, 19.7, 20.2, 20.2, 20.5, 20.6, 20.3, 20.7, 21.2, 21.5, 21.8, 22.1, 22.3, 22.5, 22.8, 21.7, 21.2, 20.6, 19.7, 18.9, 18.0, 17.1, 16.2, 15.3, 14.6, 14.0, 13.7, 13.1, 12.5, 12.8, 13.2, 13.6, 14.0, 14.4, 14.9, 15.3, 15.7, 16.2, 16.5, 16.5, 16.3, 15.7, 15.3, 15.0, 14.8, 14.8, 14.6, 14.5, 14.3, 14.2, 14.1, 14.0, 13.9, 13.9, 13.8, 13.7, 13.7, 13.7, 13.6, 13.5, 12.8, 11.9, 11.0, 9.8, 8.5, 6.8, 5.3, 3.8, 1.8, 0.2, -1.6, -3.2, -4.7, -6.1, -7.3, -8.1, -8.5, -8.5, -8.8, -8.9, -8.6, -8.5, -7.8, -6.2, -4.7, -2.6, -0.5, 1.6, 3.7, 5.5, 7.5, 9.5, 11.6, 13.4, 14.9, 16.4, 17.9, 19.0, 20.6, 21.2, 21.9, 22.5, 23.1, 23.3, 23.0, 22.8, 22.2, 21.3, 20.2, 19.2, 18.2, 16.9, 15.6, 14.1, 12.7, 11.4, 9.9, 7.8, 5.9, 3.8, 1.9, -0.3, -3.1, -5.6, -8.1, -10.5, -11.8, -12.9, -14.4, -15.8, -17.1, -18.1, -18.4, -17.7, -16.9, -16.1, -15.2, -14.2, -13.2, -12.1, -11.0, -9.8, -8.6, -7.3, -5.8, -4.2, -2.5, -0.8, 0.9, 2.7, 4.3, 6.1, 7.9, 9.5, 10.9, 12.2, 13.4, 14.5, 15.4, 16.3, 17.1, 17.5, 17.8, 18.0, 17.9, 17.8, 17.5, 16.8, 16.2, 15.3, 14.8, 14.6, 14.2, 13.8, 13.2, 12.5, 11.6, 10.5, 9.5, 8.5, 8.1, 7.8, 7.3, 7.6, 7.9, 8.1, 8.6, 9.0, 9.4, 9.9, 11.1, 12.0, 13.0, 13.7, 14.3, 14.7, 14.6, 14.5, 14.5, 14.1, 13.3, 11.9, 10.4, 9.1, 7.6, 6.1, 4.3, 2.6, 1.0, -0.7, -2.3, -4.1, -5.5, -6.8, -8.3, -9.4, -10.4, -11.3, -12.0, -12.9, -13.3, -13.9, -14.4, -14.4, -14.2, -13.8, -13.6, -13.3, -13.0, -12.6, -12.2, -11.7, -11.2, -10.8, -10.3, -10.3, -10.3, -10.3, -10.2, -10.0, -9.5, -9.0, -8.5, -8.0, -7.6, -7.6, -7.4, -7.4, -7.6, -7.9, -9.4, -9.6, -9.4, -9.1, -8.7, -7.2, -5.6, -3.7, -2.0, -0.2, 2.0, 4.6, 6.7, 9.0, 10.2, 11.3, 11.8, 12.0, 12.3, 12.6, 12.7, 12.8, 12.9, 12.9, 12.8, 12.6, 12.4, 12.1, 11.8, 11.4, 10.9, 10.4, 9.9, 9.7, 9.5, 9.3, 9.0, 8.8, 8.8, 8.9, 9.1, 8.6, 8.1, 7.4, 6.6, 5.7, 4.9, 4.0, 3.0, 2.1, 0.8, -0.6, -1.7, -2.6, -3.6, -4.5, -6.1, -7.7, -9.4, -10.9, -12.6, -14.1, -15.4, -16.5, -16.8, -16.9, -15.3, -14.0, -14.2, -13.9, -13.6, -13.4, -13.1, -12.7, -12.6, -13.1, -13.1, -12.2, -11.8, -11.5, -11.1, -10.6, -10.1, -9.9, -9.8, -9.7, -9.7, -8.6, -7.8, -6.9, -6.1, -5.3, -4.6, -3.8, -3.1, -2.5, -2.1, -1.9, -2.1, -2.7, -3.1, -3.0, -3.0, -3.1, -3.1, -3.1, -3.0, -3.0, -3.7, -4.4, -5.0, -5.7, -6.4, -7.0, -7.6, -8.2, -9.1, -9.8, -10.5, -11.0, -11.4, -11.8, -11.6, -10.9, -10.7, -10.5, -10.1, -10.3, -10.4, -10.4, -10.4, -10.4, -10.4, -10.3, -10.2, -10.2, -10.2, -10.1, -10.1, -10.1, -10.5, -10.7, -11.0, -10.8, -10.7, -10.6, -10.5, -10.4, -10.2, -10.0, -9.9, -9.6, -9.4, -9.2, -8.9, -8.6, -8.3, -8.1, -7.9, -7.5, -7.2, -6.9, -6.7, -7.0, -6.7, -6.4, -6.2, -6.0, -5.7, -5.5, -5.1, -4.8, -4.4, -5.2, -5.8, -6.7, -7.4, -9.1, -10.0, -11.2, -12.2, -13.1, -14.0, -15.0, -15.5, -16.4, -17.3, -18.1, -18.8, -19.5, -20.2, -19.6, -18.7, -17.6, -16.7, -15.6, -14.6, -13.2, -12.2, -11.0, -9.9, -8.7, -7.6, -6.4, -5.8, -5.9, -6.4, -6.9, -7.4, -7.0, -6.6, -5.8, -5.0, -4.5, -3.7, -2.9, -2.4, -1.7, -2.1, -2.6, -3.3, -4.0, -4.4, -4.5, -4.5, -4.5, -4.5, -4.4, -4.4, -4.2, -4.1, -4.0, -3.9, -3.8, -3.7, -3.7, -4.0, -4.3, -4.7, -4.9, -4.9, -5.1, -5.1, -5.0, -4.8, -4.7, -4.7, -4.6, -4.7, -4.7, -4.7, -4.8, -4.8, -4.9, -5.0, -5.0, -5.1, -5.2, -5.2, -5.3, -5.3, -5.2, -5.0, -4.7, -4.4, -4.2, -3.9, -3.3, -3.1, -2.0, -1.5, -0.8, 0.0, 0.7, 1.3, 2.3, 3.1, 3.8, 4.2, 4.7, 5.2, 5.7, 6.1, 6.3, 6.9, 7.3, 7.8, 8.4, 8.9, 9.3, 10.3, 11.0, 11.7, 11.8, 11.7, 11.7, 11.6, 11.5, 11.3, 11.1, 10.8, 10.5, 10.2, 9.8, 9.4, 9.1, 9.5, 9.6, 9.9, 10.1, 10.3, 10.4, 10.6, 10.7, 10.9, 11.0, 11.2, 11.3, 11.2, 11.2, 11.3, 11.3, 11.4, 11.4, 11.5, 11.6, 11.7, 12.1, 12.5, 13.6, 14.0, 14.6, 14.6, 14.7, 14.7, 14.7, 14.8, 14.8, 14.8, 14.7, 14.6, 14.5, 14.4, 14.3, 14.2, 14.2, 14.1, 14.0, 13.9, 13.8, 13.7, 13.6, 13.5, 13.4, 13.4, 13.3, 13.2, 13.1, 13.1, 13.0, 13.0, 12.9, 12.9, 12.9, 12.9, 12.9, 12.9, 12.9, 12.9, 12.8, 12.8, 12.7, 12.7, 12.6, 12.6, 12.6, 12.5, 12.5, 12.5, 12.5, 12.5, 12.5, 12.6, 12.8, 13.0, 13.1, 13.3, 13.5, 13.7, 13.9, 14.1, 14.3, 14.6, 14.8, 15.0, 15.2, 15.4, 15.6, 15.8, 16.0, 16.2, 16.4, 16.6, 16.8, 16.7, 16.6, 16.5, 16.2, 15.9, 15.8, 15.6, 15.4, 15.2, 15.2, 15.8, 16.0, 16.3, 16.5, 16.8, 16.8, 16.8, 16.8, 16.9, 16.8, 16.8, 16.7, 16.6, 16.4, 16.2, 15.9, 15.9, 15.9, 15.2, 14.8, 14.5, 14.3, 14.0, 13.7, 13.7, 13.9, 13.8, 13.7, 13.3, 12.5, 12.6, 13.6, 13.7, 14.1, 14.8, 15.2, 15.4, 15.4, 15.5, 15.5, 15.6, 15.5, 15.5, 15.3, 15.3, 15.2, 15.1, 15.2, 15.2, 15.1, 14.9, 14.7, 14.6, 14.4, 14.1, 13.8, 13.4, 13.6, 13.9, 14.4, 15.3, 14.8, 14.2, 14.1, 13.7, 13.5, 13.4, 13.1, 12.8, 12.4, 12.0, 11.6, 11.4, 11.9, 12.0, 12.0, 12.7, 13.5, 13.6, 13.7, 13.9, 13.8, 13.0, 12.5, 12.2, 11.8, 11.3, 11.6, 11.5, 11.1, 11.7, 12.7, 12.8, 12.8, 12.9, 13.2, 14.3, 14.8, 14.8, 14.8, 14.8, 14.7, 14.4, 14.0, 13.6, 13.1, 13.2, 14.0, 14.6, 14.9, 15.0, 14.8, 14.6, 14.4, 14.5, 14.6, 14.2, 13.2, 12.1, 11.3, 10.8, 10.1, 9.6, 10.1, 10.7, 10.9, 10.9, 11.1, 11.5, 11.9, 12.4, 12.4, 12.5, 12.6, 12.7, 13.0, 13.3, 13.7, 14.4, 14.8, 14.6, 14.4, 14.5, 14.5, 14.4, 14.3, 14.3, 14.5, 14.4, 14.3, 13.9, 13.6, 12.1, 9.6, 8.5, 8.2, 7.3, 5.9, 4.9, 4.0, 3.5, 2.8, 2.1, 1.5, 0.5, -0.5, -0.8, -1.0, -1.0, -0.8, -0.7, -0.3, 0.2, 1.9, 3.8, 5.4, 7.1, 8.9, 10.4, 11.3, 12.3, 13.5, 14.0, 14.4, 14.2, 11.1, 9.8, 7.4, 5.0, 2.6, 0.5, -0.7, -2.0, -3.4, -4.7, -5.8, -6.8, -7.8, -8.6, -9.4, -10.0, -10.6, -11.1, -11.5, -11.8, -12.1, -12.3, -12.2, -12.1, -11.9, -10.0, -8.1, -5.6, -3.3, -0.8, 1.8, 4.4, 6.9, 9.4, 11.7, 14.2, 16.5, 18.5, 19.6, 20.2, 20.6, 20.2, 20.1, 19.7, 18.9, 17.7, 16.3, 14.9, 13.1, 11.3, 9.4, 7.6, 5.7, 4.3, 2.6, 0.9, -0.8, -2.5, -4.2, -5.7, -7.4, -8.9, -10.4, -11.7, -12.6, -12.9, -13.1, -12.9, -12.3, -12.9, -12.9, -12.9, -12.9, -12.8, -12.7, -12.5, -12.3, -12.0, -11.7, -11.3, -10.3, -9.4, -8.4, -7.3, -6.1, -5.0, -3.6, -2.2, 0.7, 3.4, 6.0, 8.6, 10.6, 12.5, 13.5, 14.7, 15.1, 15.7, 16.2, 16.6, 17.0, 17.3, 17.4, 17.3, 17.2, 16.8, 16.6, 16.1, 15.7, 15.3, 14.8, 14.3, 13.7, 13.0, 12.4, 12.5, 12.6, 12.6, 12.8, 12.9, 12.8, 12.7, 12.5, 12.3, 12.0, 11.8, 10.4, 12.0, 11.7, 12.0, 12.2, 12.2, 12.2, 12.2, 12.1, 12.2, 12.3, 12.2, 11.9, 11.8, 12.1, 12.1, 12.0, 11.8, 11.5, 11.2, 10.8, 10.4, 8.4, 5.6, 3.8, 1.3, -1.5, -4.2, -6.7, -9.2, -11.6, -13.8, -16.0, -17.4, -18.7, -18.8, -19.1, -19.4, -19.6, -19.6, -19.8, -19.2, -18.2, -17.6, -17.0, -16.2, -15.9, -16.1, -15.9, -15.6, -15.6, -15.4, -15.1, -14.8, -14.5, -14.1, -13.7, -13.2, -12.7, -12.2, -11.7, -11.2, -11.2, -10.9, -10.7, -10.4, -10.7, -10.7, -10.8, -10.9, -11.0, -11.1, -11.2, -11.3, -11.4, -11.4, -11.4, -11.4, -11.4, -11.4, -11.3, -11.2, -11.1, -10.9, -10.7, -10.5, -10.3, -10.0, -9.9, -9.8, -9.7, -9.6, -9.4, -9.2, -9.0, -8.6, -7.8, -6.6, -5.4, -4.1, -2.8, -3.0, -4.3, -7.3, -10.8, -14.5, -17.1, -18.4, -17.8, -16.2, -15.1, -12.3, -8.5, -5.0, -2.3, -1.0, 0.2, 1.1, 1.7, 0.1, -0.9, -3.8, -7.7, -12.0, -16.2, -21.0, -25.0, -29.3, -33.4, -37.3, -38.1, -41.4, -43.2, -44.1, -44.9, -44.6, -43.5, -40.7, -37.3, -33.3, -29.2, -25.5, -22.5, -20.8, -19.9, -19.8, -20.5, -21.8, -24.0, -27.1, -30.7, -35.1, -39.8, -45.4, -50.7, -56.5, -59.0, -62.3, -63.1, -59.5, -56.8, -53.0, -49.2, -45.7, -41.7, -37.8, -30.1, -32.0, -36.6]; var Headings:Array = [266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.6, 266.7, 266.7, 266.8, 266.9, 266.9, 267.0, 267.1, 267.2, 267.3, 267.3, 267.3, 267.3, 267.3, 267.3, 267.3, 267.2, 267.0, 266.7, 266.6, 266.4, 266.3, 266.1, 266.1, 266.1, 266.2, 266.2, 266.2, 266.2, 266.2, 266.2, 266.2, 266.2, 266.3, 266.6, 266.9, 266.9, 266.9, 266.9, 266.9, 266.9, 266.9, 266.9, 266.9, 266.9, 266.9, 267.0, 267.2, 267.4, 267.5, 267.5, 267.6, 267.6, 267.7, 267.7, 267.8, 267.8, 268.0, 268.1, 268.2, 268.3, 268.4, 268.4, 268.5, 268.6, 268.7, 268.7, 268.8, 268.9, 268.9, 269.0, 269.1, 269.2, 269.3, 269.4, 269.4, 269.5, 269.5, 269.6, 269.6, 269.7, 269.7, 269.7, 269.7, 269.7, 269.8, 269.8, 269.8, 269.9, 269.9, 270.0, 270.0, 269.8, 269.3, 268.7, 267.8, 266.9, 265.8, 264.7, 263.5, 262.2, 260.9, 259.4, 258.1, 256.5, 255.0, 253.8, 252.7, 252.0, 251.6, 251.7, 252.1, 252.4, 252.5, 252.9, 253.3, 253.6, 254.0, 254.2, 254.5, 255.2, 256.5, 257.6, 258.9, 260.3, 261.9, 263.4, 264.9, 266.2, 267.4, 268.2, 268.7, 268.9, 268.9, 269.0, 269.2, 269.3, 269.5, 269.7, 269.9, 270.0, 270.2, 270.3, 270.4, 270.5, 270.5, 270.5, 270.6, 270.6, 270.6, 270.7, 270.8, 270.9, 271.1, 271.1, 271.2, 271.2, 271.2, 271.2, 271.2, 271.2, 271.2, 271.3, 271.3, 271.3, 271.3, 271.4, 271.4, 271.5, 271.5, 271.6, 271.6, 271.6, 271.7, 271.8, 271.8, 271.9, 271.9, 272.0, 272.0, 272.1, 272.1, 272.2, 272.3, 272.3, 272.4, 272.4, 272.5, 272.6, 272.6, 272.7, 272.7, 272.8, 272.8, 272.8, 272.8, 272.9, 272.9, 272.9, 272.9, 273.0, 273.0, 273.0, 273.0, 273.1, 273.1, 273.2, 273.6, 274.2, 275.1, 276.0, 277.2, 278.7, 280.1, 281.7, 283.3, 284.9, 286.4, 287.7, 289.0, 290.3, 291.7, 292.9, 294.1, 295.4, 296.6, 297.7, 299.1, 300.1, 301.2, 302.2, 303.3, 304.2, 304.9, 305.7, 306.4, 306.9, 307.4, 307.9, 308.5, 308.8, 309.2, 309.5, 309.8, 310.1, 310.4, 310.5, 310.6, 310.7, 310.8, 310.9, 310.9, 310.9, 310.9, 310.9, 311.0, 311.1, 311.1, 311.1, 311.1, 311.1, 311.2, 311.3, 311.3, 311.3, 311.3, 311.3, 311.2, 311.2, 311.2, 311.2, 311.1, 311.1, 311.1, 311.1, 311.0, 311.0, 311.0, 311.0, 310.9, 310.9, 310.9, 310.9, 310.9, 310.8, 310.8, 310.8, 310.8, 310.8, 310.8, 310.8, 310.8, 310.8, 310.8, 310.8, 310.8, 310.8, 310.8, 310.9, 311.0, 311.1, 311.3, 311.4, 311.5, 311.5, 311.6, 311.6, 311.6, 311.6, 311.6, 311.6, 311.6, 311.7, 311.8, 311.9, 312.0, 312.1, 312.2, 312.4, 312.6, 312.8, 313.0, 313.2, 313.3, 313.5, 313.7, 313.8, 314.0, 314.1, 314.2, 314.3, 314.3, 314.4, 314.5, 314.5, 314.6, 314.6, 314.7, 314.7, 314.8, 314.9, 314.9, 315.0, 315.1, 315.2, 315.3, 315.3, 315.4, 315.5, 315.6, 315.7, 315.9, 316.0, 316.1, 316.3, 316.3, 316.4, 316.4, 316.2, 316.0, 315.6, 315.2, 314.6, 314.1, 313.5, 313.1, 312.6, 312.1, 311.6, 311.1, 310.5, 310.0, 309.5, 309.0, 308.5, 308.1, 307.6, 307.2, 306.9, 306.7, 306.3, 305.8, 305.3, 304.7, 303.9, 303.2, 302.3, 301.5, 301.0, 300.8, 300.9, 301.4, 302.3, 303.1, 304.1, 305.1, 306.0, 307.1, 308.2, 309.4, 310.5, 311.6, 312.8, 313.9, 315.0, 316.2, 317.4, 318.5, 319.6, 320.8, 321.9, 323.0, 324.4, 325.8, 327.2, 328.6, 330.2, 331.8, 333.5, 335.3, 336.7, 338.1, 339.3, 340.6, 341.9, 343.2, 344.3, 345.6, 346.9, 347.9, 348.7, 349.7, 350.4, 351.0, 351.4, 351.6, 351.7, 351.8, 351.8, 351.9, 351.9, 352.0, 352.0, 352.1, 352.1, 352.2, 352.3, 352.3, 352.3, 352.4, 352.4, 352.4, 352.3, 352.3, 352.3, 352.2, 352.2, 352.1, 352.1, 352.1, 352.0, 352.0, 352.0, 352.0, 352.0, 351.9, 351.9, 351.9, 351.9, 351.9, 351.9, 351.8, 351.6, 351.1, 350.2, 349.1, 347.8, 346.4, 344.9, 343.4, 341.5, 339.8, 338.0, 336.4, 334.6, 332.7, 331.0, 329.6, 328.5, 327.2, 325.9, 324.7, 323.4, 322.2, 320.9, 319.9, 318.9, 317.8, 316.7, 315.3, 314.1, 312.7, 311.0, 309.5, 308.1, 306.6, 305.5, 304.1, 302.9, 301.7, 300.5, 299.3, 298.1, 296.9, 295.8, 294.6, 293.5, 292.3, 291.2, 290.3, 289.3, 288.3, 287.2, 285.9, 284.8, 283.6, 282.3, 281.0, 279.8, 278.6, 277.4, 276.2, 275.1, 273.9, 272.8, 271.7, 270.5, 269.5, 268.4, 267.2, 266.1, 265.1, 264.3, 263.2, 262.2, 261.2, 260.2, 259.3, 258.3, 257.4, 256.3, 255.4, 254.8, 254.2, 253.7, 253.2, 252.9, 252.5, 252.0, 251.6, 251.1, 250.7, 250.3, 250.0, 249.6, 249.1, 248.7, 248.3, 247.9, 247.4, 246.6, 245.8, 244.9, 244.1, 243.3, 242.6, 241.8, 241.0, 240.3, 239.6, 238.8, 238.1, 237.3, 236.7, 236.2, 235.8, 235.4, 235.0, 234.2, 233.5, 232.8, 232.2, 231.8, 231.4, 231.2, 231.1, 231.2, 231.2, 231.2, 231.2, 231.2, 231.3, 231.3, 231.3, 231.4, 231.4, 231.5, 231.5, 231.5, 231.5, 231.6, 231.6, 231.6, 231.6, 231.5, 231.5, 231.5, 231.4, 231.4, 231.4, 231.3, 231.3, 231.2, 231.2, 231.2, 231.1, 231.1, 231.1, 231.0, 231.0, 231.0, 231.0, 231.0, 230.9, 230.9, 230.9, 230.9, 230.9, 230.9, 230.9, 230.9, 230.9, 230.9, 230.9, 230.9, 230.8, 230.8, 230.6, 230.5, 230.4, 230.3, 230.2, 230.1, 230.0, 229.9, 229.8, 229.7, 229.6, 229.6, 229.5, 229.5, 229.5, 229.4, 229.4, 229.4, 229.3, 229.3, 229.3, 229.2, 229.2, 229.2, 229.2, 229.1, 229.1, 229.1, 229.1, 229.1, 229.1, 229.0, 229.1, 229.0, 229.0, 229.0, 229.0, 229.0, 229.0, 229.0, 229.0, 229.0, 229.0, 228.9, 229.0, 229.0, 229.0, 229.0, 229.0, 228.9, 228.9, 228.9, 228.9, 228.9, 228.9, 228.9, 228.9, 228.9, 228.9, 228.9, 229.0, 229.0, 229.0, 229.0, 229.0, 229.0, 229.0, 229.0, 229.0, 229.0, 229.3, 229.7, 230.4, 231.0, 231.7, 232.3, 233.0, 233.7, 234.4, 235.1, 235.8, 236.6, 237.3, 238.0, 238.8, 239.5, 240.3, 241.1, 241.8, 242.6, 243.4, 244.2, 245.0, 245.8, 246.6, 247.5, 248.4, 249.3, 250.1, 251.0, 251.9, 252.8, 253.7, 254.6, 255.5, 256.3, 257.3, 258.2, 259.1, 260.1, 261.0, 262.0, 262.9, 263.7, 264.4, 264.9, 265.2, 265.3, 265.3, 265.4, 265.4, 265.5, 265.5, 265.6, 265.6, 265.7, 265.7, 265.8, 265.8, 265.9, 266.0, 266.0, 266.1, 266.2, 266.2, 266.3, 266.4, 266.4, 266.5, 266.5, 266.5, 266.5, 266.5, 266.5, 266.5, 266.5, 266.5, 266.5, 266.5, 266.5, 266.6, 266.6, 266.7, 266.7, 266.8, 266.9, 267.0, 267.1, 267.3, 267.4, 267.5, 267.7, 267.9, 268.0, 268.1, 268.1, 268.1, 268.1, 268.1, 268.2, 268.2, 268.2, 268.3, 268.3, 268.3, 268.3, 268.4, 268.4, 268.5, 268.5, 268.5, 268.6, 268.6, 268.6, 268.6, 268.6, 268.6, 268.6, 268.7, 268.7, 268.7, 268.7, 268.7, 268.8, 268.8, 268.8, 268.8, 268.9, 268.9, 268.9, 269.0, 269.0, 269.0, 269.0, 269.1, 269.2, 269.2, 269.3, 269.3, 269.4, 269.4, 269.4, 269.5, 269.5, 269.5, 269.6, 269.6, 269.6, 269.6, 269.7, 269.7, 269.7, 269.7, 269.6, 269.6, 269.6, 269.6, 269.6, 269.6, 269.5, 269.5, 269.4, 269.3, 269.3, 269.2, 269.1, 269.0, 269.0, 268.9, 268.8, 268.7, 268.6, 268.5, 268.5, 268.4, 268.3, 268.2, 268.2, 268.1, 268.0, 267.9, 267.9, 267.8, 267.8, 267.7, 267.6, 267.5, 267.5, 267.4, 267.4, 267.4, 267.3, 267.3, 267.3, 267.2, 267.2, 267.2, 267.1, 267.1, 267.1, 267.1, 267.1, 267.1, 267.1, 267.0, 267.0, 266.9, 266.8, 266.6, 266.5, 266.3, 266.0, 265.6, 264.9, 264.2, 263.4, 262.8, 262.5, 262.5, 262.7, 262.9, 263.1, 263.2, 263.5, 263.9, 264.2, 264.5, 264.6, 264.7, 264.8, 265.0, 265.2, 265.4, 265.5, 265.6, 265.7, 265.8, 265.8, 265.9, 266.0, 266.0, 266.0, 266.0, 266.0, 266.0, 266.0, 266.0, 265.9, 265.8, 265.7, 265.7, 265.6, 265.5, 265.4, 265.4, 265.3, 265.2, 265.2, 265.1, 265.0, 265.0, 265.0, 264.9, 264.9, 264.9, 264.8, 264.8, 264.8, 264.8, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.6, 264.6, 264.6, 264.6, 264.6, 264.6, 264.6, 264.6, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.8, 264.8, 264.8, 264.8, 264.8, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.7, 264.6, 264.6, 264.7, 264.6, 264.7, 264.7, 264.7, 264.8, 264.8, 264.9, 264.9, 264.9, 265.0, 265.0, 265.0, 265.1, 265.1, 265.2, 265.3, 265.3, 265.4, 265.4, 265.4, 265.4, 265.4, 265.5, 265.5, 265.5, 265.5, 265.6, 265.6, 265.6, 265.7, 265.7, 265.8, 265.8, 265.9, 266.0, 266.0, 266.1, 266.2, 266.3, 266.4, 266.5, 266.7, 266.8, 266.9, 267.0, 267.1, 267.1, 267.2, 267.3, 267.4, 267.5, 267.6, 267.7, 267.8, 267.9, 268.0, 268.0, 268.1, 268.2, 268.3, 268.4, 268.5, 268.5, 268.6, 268.7, 268.8, 269.0, 269.1, 269.2, 269.4, 269.5, 269.7, 269.8, 269.9, 270.1, 270.2, 270.3, 270.4, 270.5, 270.6, 270.7, 270.8, 270.9, 271.0, 271.1, 271.3, 271.4, 271.5, 271.6, 271.8, 272.0, 272.1, 272.3, 272.4, 272.5, 272.7, 272.9, 273.0, 273.1, 273.2, 273.3, 273.3, 273.4, 273.4, 273.5, 273.5, 273.6, 273.6, 273.7, 273.8, 273.9, 273.9, 274.0, 274.1, 274.2, 274.2, 274.2, 274.2, 274.2, 274.2, 274.2, 274.2, 274.2, 274.2, 274.2, 274.2, 274.2, 274.1, 274.1, 274.1, 274.2, 274.4, 274.5, 275.0, 275.5, 276.1, 276.9, 277.8, 278.5, 279.4, 280.2, 281.1, 281.9, 282.7, 283.6, 284.3, 285.2, 286.0, 286.9, 287.7, 288.5, 289.4, 290.2, 291.1, 292.0, 292.9, 293.8, 294.6, 295.5, 296.3, 297.2, 298.1, 299.0, 299.8, 300.5, 301.1, 301.6, 302.0, 302.3, 302.4, 302.4, 302.3, 302.2, 302.1, 302.0, 301.9, 302.0, 303.2, 305.2, 306.8, 307.4, 306.7, 305.0, 302.7, 301.0, 300.2, 299.8, 300.3, 301.6, 302.8, 303.9, 304.7, 305.4, 305.9, 306.5, 306.5, 308.2, 310.5, 312.7, 314.5, 315.8, 316.6, 316.9, 316.5, 315.5, 314.0, 308.0, 305.4, 301.4, 296.9, 292.0, 286.8, 281.9, 278.6, 276.5, 275.5, 275.6, 276.8, 279.9, 284.1, 288.2, 292.5, 296.8, 301.3, 305.6, 309.9, 313.7, 317.2, 320.0, 322.2, 322.9, 321.9, 308.9, 302.9, 294.0, 286.5, 281.1, 279.1, 280.0, 282.9, 284.5, 288.9, 290.6, 295.2, 296.1]; var N11:Array = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 11, 12, 11, 11, 13, 14, 16, 18, 20, 21, 23, 24, 26, 27, 29, 30, 31, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 35, 39, 41, 44, 48, 51, 55, 59, 61, 62, 64, 66, 68, 68, 69, 69, 69, 69, 69, 69, 76, 85, 95, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 99, 98, 97, 97, 96, 96, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 97, 98, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 95, 93, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 90, 87, 86, 86, 86, 86, 86, 86, 86, 85, 85, 84, 84, 85, 84, 85, 85, 85, 85, 85, 85, 85, 85, 85, 82, 78, 74, 72, 70, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 68, 68, 68, 68, 69, 69, 69, 68, 68, 68, 68, 68, 68, 68, 69, 69, 69, 69, 69, 69, 68, 69, 68, 69, 68, 68, 69, 69, 68, 68, 68, 68, 69, 68, 69, 68, 69, 68, 69, 68, 68, 68, 68, 68, 69, 68, 68, 68, 68, 68, 68, 68, 68, 69, 68, 68, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 68, 68, 68, 68, 68, 68, 69, 69, 68, 69, 69, 68, 68, 68, 68, 65, 65, 64, 63, 62, 61, 59, 56, 52, 48, 46, 44, 41, 36, 34, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 34, 41, 51, 61, 63, 64, 65, 65, 68, 71, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 77, 87, 96, 100, 100, 100, 100, 100, 100, 100, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 99, 98, 98, 98, 98, 98, 97, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 92, 91, 90, 90, 90, 90, 90, 87, 85, 84, 84, 84, 84, 84, 82, 81, 81, 81, 82, 84, 85, 86, 86, 86, 86, 85, 85, 85, 85, 85, 83, 83, 82, 82, 82, 82, 82, 82, 81, 81, 80, 79, 79, 79, 79, 79, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 76, 75, 75, 74, 74, 74, 74, 74, 74, 73, 71, 71, 71, 71, 71, 70, 68, 67, 66, 65, 64, 64, 64, 63, 63, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 61, 61, 60, 59, 59, 58, 58, 58, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 60, 61, 63, 68, 69, 69, 69, 70, 71, 70, 68, 67, 67, 67, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 68, 74, 83, 92, 99, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 91, 83, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 80, 79, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 75, 72, 69, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 66, 64, 62, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 62, 70, 79, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 44, 35, 34, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 34, 34, 34, 34, 34, 34, 34, 34, 34, 390, 390, 390]; var N12:Array = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 11, 12, 11, 11, 13, 14, 16, 18, 20, 21, 23, 24, 26, 27, 29, 30, 31, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 35, 39, 41, 44, 48, 51, 55, 59, 61, 62, 64, 66, 68, 68, 69, 69, 69, 69, 69, 69, 76, 85, 95, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 99, 98, 97, 97, 96, 96, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 97, 98, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 95, 93, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, 90, 87, 86, 86, 86, 86, 86, 86, 86, 85, 85, 84, 84, 85, 84, 85, 85, 85, 85, 85, 85, 85, 85, 85, 82, 78, 74, 72, 70, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 68, 68, 68, 68, 69, 69, 69, 68, 68, 68, 68, 68, 68, 68, 69, 69, 69, 69, 69, 69, 68, 69, 68, 69, 68, 68, 69, 69, 68, 68, 68, 68, 69, 68, 69, 68, 69, 68, 69, 68, 68, 68, 68, 68, 69, 68, 68, 68, 68, 68, 68, 68, 68, 69, 68, 68, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 68, 68, 68, 68, 68, 68, 69, 69, 68, 69, 69, 68, 68, 68, 68, 65, 65, 64, 63, 62, 61, 59, 56, 52, 48, 46, 44, 41, 36, 34, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 34, 41, 51, 61, 63, 64, 65, 65, 68, 71, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 77, 87, 96, 100, 100, 100, 100, 100, 100, 100, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 99, 98, 98, 98, 98, 98, 98, 97, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 92, 91, 90, 90, 90, 90, 90, 87, 85, 84, 84, 84, 84, 84, 82, 81, 81, 81, 82, 84, 85, 86, 86, 86, 86, 85, 85, 85, 85, 85, 83, 83, 82, 82, 82, 82, 82, 82, 81, 81, 80, 79, 79, 79, 79, 79, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 76, 75, 75, 74, 74, 74, 74, 74, 74, 73, 71, 71, 71, 71, 71, 70, 68, 67, 66, 65, 64, 64, 64, 63, 63, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 61, 61, 60, 59, 59, 58, 58, 58, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 60, 61, 63, 68, 69, 69, 69, 70, 71, 70, 68, 67, 67, 67, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 68, 74, 83, 92, 99, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 91, 83, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 80, 79, 78, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 77, 75, 72, 69, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 66, 64, 62, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 62, 70, 79, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 44, 35, 34, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 34, 34, 34, 34, 34, 34, 34, 34, 34, 390, 390, 390, 391, 391]; var EGT1:Array = [100, 93, 87, 83, 80, 77, 76, 74, 73, 72, 71, 70, 316, 573, 689, 784, 860, 900, 917, 921, 922, 921, 919, 916, 913, 910, 908, 906, 905, 905, 905, 905, 904, 904, 903, 903, 903, 902, 902, 902, 902, 904, 914, 922, 931, 945, 962, 980, 1004, 1025, 1044, 1063, 1084, 1101, 1117, 1130, 1141, 1149, 1155, 1160, 1164, 1180, 1217, 1265, 1323, 1366, 1395, 1414, 1441, 1458, 1471, 1482, 1489, 1496, 1502, 1504, 1508, 1510, 1512, 1514, 1515, 1516, 1517, 1517, 1518, 1518, 1518, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1518, 1518, 1518, 1518, 1518, 1518, 1518, 1518, 1518, 1518, 1518, 1517, 1517, 1517, 1517, 1517, 1517, 1517, 1517, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1515, 1515, 1515, 1515, 1515, 1515, 1515, 1515, 1515, 1514, 1514, 1514, 1514, 1514, 1514, 1514, 1514, 1513, 1513, 1513, 1513, 1513, 1513, 1513, 1513, 1513, 1512, 1512, 1512, 1512, 1512, 1512, 1512, 1512, 1511, 1511, 1511, 1511, 1511, 1511, 1510, 1510, 1510, 1510, 1510, 1510, 1509, 1509, 1509, 1509, 1509, 1498, 1487, 1478, 1472, 1467, 1463, 1460, 1458, 1456, 1455, 1465, 1474, 1481, 1487, 1491, 1494, 1497, 1499, 1500, 1501, 1502, 1503, 1503, 1503, 1502, 1497, 1492, 1487, 1481, 1475, 1470, 1464, 1459, 1456, 1453, 1451, 1449, 1449, 1449, 1450, 1450, 1450, 1450, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1454, 1460, 1468, 1475, 1481, 1485, 1489, 1491, 1493, 1495, 1496, 1497, 1498, 1499, 1499, 1500, 1500, 1500, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1491, 1476, 1463, 1451, 1442, 1435, 1429, 1425, 1422, 1419, 1417, 1415, 1413, 1412, 1411, 1410, 1410, 1409, 1404, 1392, 1381, 1372, 1366, 1361, 1356, 1351, 1348, 1344, 1340, 1336, 1333, 1331, 1329, 1328, 1327, 1326, 1325, 1325, 1325, 1324, 1324, 1324, 1321, 1305, 1285, 1263, 1242, 1223, 1209, 1198, 1190, 1182, 1177, 1172, 1168, 1165, 1163, 1161, 1159, 1158, 1157, 1156, 1156, 1155, 1155, 1154, 1154, 1154, 1153, 1153, 1153, 1153, 1152, 1152, 1152, 1152, 1152, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1151, 1151, 1151, 1151, 1151, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1151, 1151, 1151, 1151, 1143, 1136, 1130, 1123, 1115, 1106, 1096, 1081, 1061, 1036, 1014, 995, 975, 948, 930, 917, 908, 901, 896, 891, 888, 886, 884, 882, 881, 880, 879, 878, 878, 878, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 878, 878, 878, 878, 878, 878, 878, 878, 878, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 884, 884, 884, 884, 884, 884, 884, 884, 884, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 887, 887, 887, 887, 887, 887, 887, 887, 888, 888, 888, 888, 888, 889, 889, 889, 889, 889, 889, 890, 890, 890, 890, 890, 890, 890, 890, 890, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 894, 894, 894, 894, 894, 909, 935, 971, 1006, 1031, 1054, 1072, 1089, 1112, 1134, 1149, 1162, 1172, 1179, 1184, 1189, 1192, 1195, 1196, 1197, 1197, 1198, 1200, 1200, 1201, 1202, 1202, 1202, 1202, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1202, 1202, 1212, 1242, 1289, 1337, 1376, 1405, 1428, 1446, 1460, 1470, 1477, 1482, 1486, 1489, 1492, 1494, 1495, 1496, 1497, 1498, 1498, 1498, 1499, 1499, 1499, 1499, 1499, 1499, 1499, 1499, 1499, 1498, 1498, 1498, 1498, 1498, 1498, 1498, 1499, 1500, 1501, 1502, 1502, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1502, 1502, 1502, 1502, 1502, 1502, 1502, 1502, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1500, 1500, 1500, 1500, 1500, 1500, 1500, 1500, 1499, 1499, 1499, 1499, 1499, 1499, 1499, 1498, 1498, 1498, 1497, 1492, 1489, 1486, 1484, 1482, 1478, 1473, 1469, 1465, 1463, 1460, 1459, 1458, 1457, 1456, 1455, 1444, 1433, 1421, 1412, 1405, 1400, 1395, 1386, 1371, 1359, 1350, 1341, 1334, 1329, 1321, 1312, 1305, 1300, 1296, 1301, 1307, 1312, 1316, 1319, 1322, 1323, 1324, 1325, 1326, 1326, 1323, 1316, 1311, 1308, 1305, 1303, 1299, 1296, 1293, 1290, 1286, 1279, 1274, 1271, 1267, 1264, 1260, 1256, 1253, 1250, 1248, 1247, 1246, 1245, 1244, 1243, 1243, 1243, 1239, 1231, 1226, 1221, 1218, 1216, 1214, 1212, 1211, 1208, 1199, 1192, 1187, 1182, 1179, 1174, 1167, 1157, 1148, 1139, 1131, 1123, 1117, 1111, 1105, 1100, 1097, 1094, 1092, 1090, 1089, 1088, 1087, 1086, 1086, 1085, 1084, 1082, 1078, 1074, 1068, 1063, 1059, 1055, 1050, 1048, 1045, 1044, 1042, 1041, 1040, 1040, 1039, 1039, 1038, 1038, 1038, 1044, 1051, 1058, 1078, 1095, 1107, 1117, 1126, 1135, 1142, 1140, 1136, 1133, 1131, 1130, 1127, 1124, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1126, 1142, 1177, 1226, 1285, 1333, 1367, 1394, 1414, 1430, 1442, 1452, 1460, 1466, 1471, 1474, 1477, 1479, 1481, 1482, 1483, 1484, 1485, 1485, 1486, 1486, 1486, 1486, 1487, 1487, 1487, 1487, 1487, 1487, 1487, 1487, 1487, 1487, 1487, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1487, 1487, 1487, 1487, 1487, 1469, 1431, 1399, 1373, 1354, 1339, 1326, 1317, 1309, 1304, 1300, 1297, 1294, 1292, 1290, 1289, 1288, 1287, 1286, 1286, 1285, 1285, 1284, 1284, 1284, 1284, 1283, 1283, 1283, 1283, 1283, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1283, 1283, 1283, 1283, 1283, 1283, 1283, 1281, 1274, 1266, 1258, 1252, 1247, 1243, 1240, 1238, 1236, 1234, 1233, 1233, 1232, 1231, 1231, 1231, 1230, 1230, 1230, 1230, 1230, 1227, 1215, 1199, 1182, 1169, 1159, 1151, 1145, 1141, 1137, 1134, 1131, 1130, 1128, 1127, 1126, 1125, 1123, 1116, 1107, 1096, 1089, 1084, 1080, 1076, 1074, 1073, 1071, 1070, 1070, 1069, 1069, 1068, 1068, 1068, 1067, 1067, 1067, 1067, 1067, 1067, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1070, 1070, 1070, 1070, 1070, 1070, 1071, 1071, 1071, 1071, 1071, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1075, 1075, 1075, 1075, 1076, 1094, 1130, 1164, 1190, 1211, 1225, 1237, 1246, 1253, 1259, 1263, 1267, 1269, 1272, 1273, 1275, 1276, 1277, 1277, 1278, 1278, 1278, 1279, 1279, 1279, 1279, 1279, 1202, 1120, 1063, 1022, 990, 965, 946, 931, 920, 911, 904, 899, 895, 892, 890, 888, 887, 887, 886, 886, 885, 885, 885, 885, 885, 886, 886, 886, 887, 887, 888, 888, 889, 890, 891, 891, 892, 893, 894, 895, 390, 390, 390]; var EGT2:Array = [83, 80, 77, 76, 74, 73, 72, 71, 70, 316, 573, 689, 784, 860, 900, 917, 921, 922, 921, 919, 916, 913, 910, 908, 906, 905, 905, 905, 905, 904, 904, 903, 903, 903, 902, 902, 902, 902, 904, 914, 922, 931, 945, 962, 980, 1004, 1025, 1044, 1063, 1084, 1101, 1117, 1130, 1141, 1149, 1155, 1160, 1164, 1180, 1217, 1265, 1323, 1366, 1395, 1414, 1441, 1458, 1471, 1482, 1489, 1496, 1502, 1504, 1508, 1510, 1512, 1514, 1515, 1516, 1517, 1517, 1518, 1518, 1518, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1519, 1518, 1518, 1518, 1518, 1518, 1518, 1518, 1518, 1518, 1518, 1518, 1517, 1517, 1517, 1517, 1517, 1517, 1517, 1517, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1516, 1515, 1515, 1515, 1515, 1515, 1515, 1515, 1515, 1515, 1514, 1514, 1514, 1514, 1514, 1514, 1514, 1514, 1513, 1513, 1513, 1513, 1513, 1513, 1513, 1513, 1513, 1512, 1512, 1512, 1512, 1512, 1512, 1512, 1512, 1511, 1511, 1511, 1511, 1511, 1511, 1510, 1510, 1510, 1510, 1510, 1510, 1509, 1509, 1509, 1509, 1509, 1498, 1487, 1478, 1472, 1467, 1463, 1460, 1458, 1456, 1455, 1465, 1474, 1481, 1487, 1491, 1494, 1497, 1499, 1500, 1501, 1502, 1503, 1503, 1503, 1502, 1497, 1492, 1487, 1481, 1475, 1470, 1464, 1459, 1456, 1453, 1451, 1449, 1449, 1449, 1450, 1450, 1450, 1450, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1454, 1460, 1468, 1475, 1481, 1485, 1489, 1491, 1493, 1495, 1496, 1497, 1498, 1499, 1499, 1500, 1500, 1500, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1491, 1476, 1463, 1451, 1442, 1435, 1429, 1425, 1422, 1419, 1417, 1415, 1413, 1412, 1411, 1410, 1410, 1409, 1404, 1392, 1381, 1372, 1366, 1361, 1356, 1351, 1348, 1344, 1340, 1336, 1333, 1331, 1329, 1328, 1327, 1326, 1325, 1325, 1325, 1324, 1324, 1324, 1321, 1305, 1285, 1263, 1242, 1223, 1209, 1198, 1190, 1182, 1177, 1172, 1168, 1165, 1163, 1161, 1159, 1158, 1157, 1156, 1156, 1155, 1155, 1154, 1154, 1154, 1153, 1153, 1153, 1153, 1152, 1152, 1152, 1152, 1152, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1151, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1148, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1149, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1150, 1151, 1151, 1151, 1151, 1151, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1152, 1151, 1151, 1151, 1151, 1143, 1136, 1130, 1123, 1115, 1106, 1096, 1081, 1061, 1036, 1014, 995, 975, 948, 930, 917, 908, 901, 896, 891, 888, 886, 884, 882, 881, 880, 879, 878, 878, 878, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 877, 878, 878, 878, 878, 878, 878, 878, 878, 878, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 879, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 880, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 881, 882, 882, 882, 882, 882, 882, 882, 882, 882, 882, 883, 883, 883, 883, 883, 883, 883, 883, 883, 883, 884, 884, 884, 884, 884, 884, 884, 884, 884, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 885, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 886, 887, 887, 887, 887, 887, 887, 887, 887, 888, 888, 888, 888, 888, 889, 889, 889, 889, 889, 889, 890, 890, 890, 890, 890, 890, 890, 890, 890, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 891, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 892, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, 894, 894, 894, 894, 894, 909, 935, 971, 1006, 1031, 1054, 1072, 1089, 1112, 1134, 1149, 1162, 1172, 1179, 1184, 1189, 1192, 1195, 1196, 1197, 1197, 1198, 1200, 1200, 1201, 1202, 1202, 1202, 1202, 1203, 1203, 1203, 1203, 1203, 1203, 1203, 1202, 1202, 1212, 1242, 1289, 1337, 1376, 1405, 1428, 1446, 1460, 1470, 1477, 1482, 1486, 1489, 1492, 1494, 1495, 1496, 1497, 1498, 1498, 1498, 1499, 1499, 1499, 1499, 1499, 1499, 1499, 1499, 1499, 1498, 1498, 1498, 1498, 1498, 1498, 1498, 1499, 1500, 1501, 1502, 1502, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1503, 1502, 1502, 1502, 1502, 1502, 1502, 1502, 1502, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1501, 1500, 1500, 1500, 1500, 1500, 1500, 1500, 1500, 1499, 1499, 1499, 1499, 1499, 1499, 1499, 1498, 1498, 1498, 1497, 1492, 1489, 1486, 1484, 1482, 1478, 1473, 1469, 1465, 1463, 1460, 1459, 1458, 1457, 1456, 1455, 1444, 1433, 1421, 1412, 1405, 1400, 1395, 1386, 1371, 1359, 1350, 1341, 1334, 1329, 1321, 1312, 1305, 1300, 1296, 1301, 1307, 1312, 1316, 1319, 1322, 1323, 1324, 1325, 1326, 1326, 1323, 1316, 1311, 1308, 1305, 1303, 1299, 1296, 1293, 1290, 1286, 1279, 1274, 1271, 1267, 1264, 1260, 1256, 1253, 1250, 1248, 1247, 1246, 1245, 1244, 1243, 1243, 1243, 1239, 1231, 1226, 1221, 1218, 1216, 1214, 1212, 1211, 1208, 1199, 1192, 1187, 1182, 1179, 1174, 1167, 1157, 1148, 1139, 1131, 1123, 1117, 1111, 1105, 1100, 1097, 1094, 1092, 1090, 1089, 1088, 1087, 1086, 1086, 1085, 1084, 1082, 1078, 1074, 1068, 1063, 1059, 1055, 1050, 1048, 1045, 1044, 1042, 1041, 1040, 1040, 1039, 1039, 1038, 1038, 1038, 1044, 1051, 1058, 1078, 1095, 1107, 1117, 1126, 1135, 1142, 1140, 1136, 1133, 1131, 1130, 1127, 1124, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1123, 1126, 1142, 1177, 1226, 1285, 1333, 1367, 1394, 1414, 1430, 1442, 1452, 1460, 1466, 1471, 1474, 1477, 1479, 1481, 1482, 1483, 1484, 1485, 1485, 1486, 1486, 1486, 1486, 1487, 1487, 1487, 1487, 1487, 1487, 1487, 1487, 1487, 1487, 1487, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1486, 1487, 1487, 1487, 1487, 1487, 1469, 1431, 1399, 1373, 1354, 1339, 1326, 1317, 1309, 1304, 1300, 1297, 1294, 1292, 1290, 1289, 1288, 1287, 1286, 1286, 1285, 1285, 1284, 1284, 1284, 1284, 1283, 1283, 1283, 1283, 1283, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1282, 1283, 1283, 1283, 1283, 1283, 1283, 1283, 1281, 1274, 1266, 1258, 1252, 1247, 1243, 1240, 1238, 1236, 1234, 1233, 1233, 1232, 1231, 1231, 1231, 1230, 1230, 1230, 1230, 1230, 1227, 1215, 1199, 1182, 1169, 1159, 1151, 1145, 1141, 1137, 1134, 1131, 1130, 1128, 1127, 1126, 1125, 1123, 1116, 1107, 1096, 1089, 1084, 1080, 1076, 1074, 1073, 1071, 1070, 1070, 1069, 1069, 1068, 1068, 1068, 1067, 1067, 1067, 1067, 1067, 1067, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1066, 1067, 1067, 1067, 1067, 1067, 1067, 1067, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1069, 1070, 1070, 1070, 1070, 1070, 1070, 1071, 1071, 1071, 1071, 1071, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1073, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1074, 1075, 1075, 1075, 1075, 1076, 1094, 1130, 1164, 1190, 1211, 1225, 1237, 1246, 1253, 1259, 1263, 1267, 1269, 1272, 1273, 1275, 1276, 1277, 1277, 1278, 1278, 1278, 1279, 1279, 1279, 1279, 1279, 1202, 1120, 1063, 1022, 990, 965, 946, 931, 920, 911, 904, 899, 895, 892, 890, 888, 887, 887, 886, 886, 885, 885, 885, 885, 885, 886, 886, 886, 887, 887, 888, 888, 889, 890, 891, 891, 892, 893, 894, 895, 390, 390, 390, 389, 389, 389]; var FUEL1:Array = [424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.6, 424.6, 424.6, 424.6, 424.6, 424.6, 424.6, 424.6, 424.6, 424.6, 424.5, 424.5, 424.4, 424.4, 424.4, 424.4, 424.3, 424.3, 424.3, 424.3, 424.3, 424.3, 424.1, 424.1, 424.1, 424.1, 423.8, 423.8, 423.8, 423.8, 423.8, 423.5, 423.5, 423.5, 423.5, 423.2, 423.2, 423.2, 423.2, 423.0, 423.0, 423.0, 423.0, 422.7, 422.7, 422.7, 422.7, 422.4, 422.4, 422.4, 422.4, 422.4, 422.2, 422.2, 422.2, 422.2, 421.9, 421.9, 421.9, 421.9, 421.7, 421.7, 421.7, 421.7, 421.4, 421.4, 421.4, 421.4, 421.1, 421.1, 421.1, 421.1, 420.9, 420.9, 420.9, 420.9, 420.6, 420.6, 420.6, 420.6, 420.4, 420.4, 420.4, 420.4, 420.1, 420.1, 420.1, 420.1, 419.9, 419.9, 419.9, 419.9, 419.6, 419.6, 419.6, 419.6, 419.4, 419.4, 419.4, 419.4, 419.1, 419.1, 419.1, 419.1, 418.9, 418.9, 418.9, 418.9, 418.7, 418.7, 418.7, 418.7, 418.4, 418.4, 418.4, 418.4, 418.2, 418.2, 418.2, 418.2, 417.9, 417.9, 417.9, 417.9, 417.9, 417.7, 417.7, 417.7, 417.7, 417.5, 417.5, 417.5, 417.5, 417.2, 417.2, 417.2, 417.2, 417.0, 417.0, 417.0, 417.0, 416.8, 416.8, 416.8, 416.8, 416.5, 416.5, 416.5, 416.5, 416.3, 416.3, 416.3, 416.3, 416.1, 416.1, 416.1, 416.1, 415.9, 415.9, 415.9, 415.9, 415.7, 415.7, 415.7, 415.7, 415.5, 415.5, 415.2, 415.2, 415.2, 415.2, 415.2, 415.2, 415.0, 415.0, 415.0, 415.0, 414.8, 414.8, 414.8, 414.8, 414.7, 414.7, 414.5, 414.5, 414.5, 414.5, 414.5, 414.5, 414.3, 414.3, 414.1, 414.1, 414.1, 414.1, 414.1, 414.1, 413.9, 413.9, 413.9, 413.9, 413.7, 413.7, 413.5, 413.5, 413.5, 413.5, 413.5, 413.5, 413.3, 413.3, 413.3, 413.3, 413.1, 413.1, 412.9, 412.9, 412.9, 412.9, 412.9, 412.9, 412.6, 412.6, 412.4, 412.4, 412.4, 412.4, 412.4, 412.4, 412.2, 412.2, 412.2, 412.2, 412.0, 412.0, 411.8, 411.8, 411.8, 411.8, 411.8, 411.8, 411.6, 411.6, 411.6, 411.6, 411.5, 411.5, 411.3, 411.3, 411.3, 411.3, 411.2, 411.2, 411.2, 411.2, 411.0, 411.0, 411.0, 411.0, 410.9, 410.9, 410.9, 410.9, 410.8, 410.8, 410.8, 410.8, 410.6, 410.6, 410.6, 410.6, 410.5, 410.5, 410.5, 410.5, 410.4, 410.4, 410.4, 410.4, 410.4, 410.4, 410.4, 410.3, 410.3, 410.3, 410.3, 410.2, 410.2, 410.2, 410.2, 410.2, 410.2, 410.2, 410.1, 410.1, 410.0, 410.0, 410.0, 410.0, 410.0, 410.0, 410.0, 410.0, 409.9, 409.9, 409.9, 409.9, 409.9, 409.9, 409.9, 409.8, 409.8, 409.8, 409.8, 409.8, 409.8, 409.8, 409.8, 409.7, 409.7, 409.6, 409.6, 409.6, 409.6, 409.6, 409.6, 409.6, 409.6, 409.5, 409.5, 409.5, 409.5, 409.5, 409.5, 409.4, 409.4, 409.4, 409.4, 409.4, 409.4, 409.4, 409.4, 409.3, 409.3, 409.2, 409.2, 409.2, 409.2, 409.2, 409.2, 409.2, 409.2, 409.1, 409.1, 409.1, 409.1, 409.1, 409.1, 409.0, 409.0, 409.0, 409.0, 409.0, 409.0, 409.0, 409.0, 408.9, 408.9, 408.8, 408.8, 408.8, 408.8, 408.8, 408.8, 408.8, 408.8, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.6, 408.6, 408.6, 408.6, 408.6, 408.6, 408.6, 408.6, 408.5, 408.5, 408.4, 408.4, 408.4, 408.4, 408.4, 408.4, 408.4, 408.4, 408.3, 408.3, 408.3, 408.3, 408.3, 408.3, 408.2, 408.2, 408.2, 408.2, 408.2, 408.2, 408.2, 408.2, 408.1, 408.1, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.7, 407.7, 407.7, 407.7, 407.7, 407.7, 407.7, 407.7, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.3, 407.3, 407.3, 407.3, 407.3, 407.3, 407.3, 407.3, 407.3, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.4, 406.4, 406.4, 406.4, 406.4, 406.4, 406.4, 406.4, 406.4, 406.4, 406.4, 406.4, 406.4, 406.3, 406.3, 406.3, 406.3, 406.3, 406.3, 406.2, 406.2, 406.1, 406.1, 406.1, 406.1, 406.0, 406.0, 406.0, 406.0, 406.0, 406.0, 405.9, 405.9, 405.8, 405.8, 405.8, 405.8, 405.8, 405.8, 405.8, 405.8, 405.8, 405.8, 405.7, 405.7, 405.6, 405.6, 405.6, 405.6, 405.3, 405.3, 405.3, 405.3, 405.1, 405.1, 405.1, 405.1, 404.9, 404.9, 404.9, 404.9, 404.7, 404.7, 404.7, 404.7, 404.4, 404.4, 404.4, 404.4, 404.2, 404.2, 404.2, 404.2, 404.0, 404.0, 404.0, 404.0, 403.8, 403.8, 403.8, 403.8, 403.6, 403.6, 403.6, 403.6, 403.6, 403.3, 403.3, 403.3, 403.3, 403.1, 403.1, 403.1, 403.1, 402.9, 402.9, 402.9, 402.9, 402.7, 402.7, 402.7, 402.7, 402.5, 402.5, 402.5, 402.5, 402.3, 402.3, 402.3, 402.3, 402.0, 402.0, 402.0, 402.0, 401.8, 401.8, 401.8, 401.8, 401.6, 401.6, 401.6, 401.6, 401.4, 401.4, 401.4, 401.4, 401.2, 401.2, 401.2, 401.2, 401.0, 401.0, 401.0, 401.0, 400.8, 400.8, 400.8, 400.8, 400.6, 400.6, 400.6, 400.6, 400.4, 400.4, 400.4, 400.4, 400.2, 400.2, 400.2, 400.2, 400.0, 400.0, 400.0, 400.0, 399.9, 399.9, 399.9, 399.9, 399.7, 399.7, 399.7, 399.7, 399.6, 399.6, 399.6, 399.6, 399.5, 399.5, 399.5, 399.5, 399.4, 399.4, 399.4, 399.4, 399.3, 399.3, 399.3, 399.3, 399.1, 399.1, 399.1, 399.1, 399.0, 399.0, 399.0, 399.0, 399.0, 399.0, 398.9, 398.9, 398.8, 398.8, 398.8, 398.8, 398.7, 398.7, 398.7, 398.7, 398.6, 398.6, 398.6, 398.6, 398.6, 398.6, 398.5, 398.5, 398.4, 398.4, 398.4, 398.4, 398.3, 398.3, 398.3, 398.3, 398.3, 398.3, 398.3, 398.3, 398.2, 398.2, 398.2, 398.2, 398.1, 398.1, 398.0, 398.0, 398.0, 398.0, 398.0, 398.0, 398.0, 398.0, 397.9, 397.9, 397.9, 397.9, 397.9, 397.9, 397.9, 397.9, 397.9, 397.9, 397.9, 397.8, 397.8, 397.8, 397.8, 397.8, 397.8, 397.8, 397.8, 397.7, 397.7, 397.7, 397.7, 397.7, 397.7, 397.7, 397.7, 397.7, 397.7, 397.6, 397.6, 397.6, 397.6, 397.5, 397.5, 397.5, 397.5, 397.5, 397.5, 397.5, 397.5, 397.5, 397.5, 397.4, 397.4, 397.4, 397.4, 397.4, 397.4, 397.3, 397.3, 397.3, 397.3, 397.3, 397.3, 397.3, 397.3, 397.2, 397.2, 397.1, 397.1, 397.1, 397.1, 397.1, 397.1, 397.1, 397.1, 397.0, 397.0, 397.0, 397.0, 396.8, 396.8, 396.8, 396.8, 396.8, 396.6, 396.6, 396.6, 396.6, 396.4, 396.4, 396.4, 396.4, 396.2, 396.2, 396.2, 396.2, 396.0, 396.0, 396.0, 396.0, 395.8, 395.8, 395.8, 395.8, 395.6, 395.6, 395.6, 395.6, 395.4, 395.4, 395.4, 395.4, 395.2, 395.2, 395.2, 395.2, 395.0, 395.0, 395.0, 395.0, 394.8, 394.8, 394.8, 394.8, 394.7, 394.7, 394.7, 394.7, 394.5, 394.5, 394.5, 394.5, 394.3, 394.3, 394.3, 394.3, 394.3, 394.3, 394.2, 394.2, 394.2, 394.2, 394.1, 394.1, 394.0, 394.0, 394.0, 394.0, 394.0, 394.0, 393.9, 393.9, 393.9, 393.9, 393.8, 393.8, 393.8, 393.8, 393.7, 393.7, 393.6, 393.6, 393.6, 393.6, 393.6, 393.6, 393.5, 393.5, 393.5, 393.5, 393.4, 393.4, 393.3, 393.3, 393.3, 393.3, 393.3, 393.2, 393.2, 393.2, 393.2, 393.2, 393.2, 393.1, 393.1, 393.1, 393.1, 393.0, 393.0, 392.9, 392.9, 392.9, 392.9, 392.9, 392.9, 392.8, 392.8, 392.8, 392.8, 392.8, 392.8, 392.7, 392.7, 392.7, 392.7, 392.7, 392.7, 392.6, 392.6, 392.5, 392.5, 392.5, 392.5, 392.5, 392.5, 392.5, 392.5, 392.4, 392.4, 392.4, 392.4, 392.4, 392.4, 392.4, 392.4, 392.4, 392.4, 392.3, 392.3, 392.3, 392.3, 392.3, 392.3, 392.3, 392.3, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.1, 392.1, 392.1, 392.1, 392.0, 392.0, 392.0, 392.0, 392.0, 392.0, 392.0, 392.0, 392.0, 392.0, 391.9, 391.9, 391.9, 391.9, 391.9, 391.9, 391.9, 391.9, 391.9, 391.9, 391.8, 391.8, 391.8, 391.8, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.6, 391.6, 391.6, 391.6, 391.6, 391.6, 391.6, 391.6, 391.6, 391.6, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.4, 391.4, 391.4, 391.4, 391.3, 391.3, 391.3, 391.3, 391.3, 391.3, 391.3, 391.3, 391.2, 391.2, 391.2, 391.2, 391.2, 391.2, 391.2, 391.2, 391.2, 391.2, 391.1, 391.1, 391.1, 391.1, 391.1, 391.1, 391.1, 391.1, 391.1, 391.1, 391.0, 391.0, 390.9, 390.9, 390.9, 390.9, 390.9, 390.9, 390.9, 390.8, 390.8, 390.8, 390.8, 390.7, 390.7, 390.6, 390.6, 390.6, 390.6, 390.5, 390.5, 390.5, 390.5, 390.5, 390.5, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.2, 390.2, 390.2, 390.2, 390.2, 390.2, 390.1, 390.1, 390.1, 390.1, 390.1, 390.1, 390.1, 390.1, 390.1, 390.1, 390.1]; var FUEL2:Array = [425.0, 425.0, 425.0, 425.0, 425.0, 425.0, 425.0, 425.0, 425.0, 425.0, 425.0, 425.0, 425.0, 424.9, 424.9, 424.9, 424.9, 424.9, 424.9, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.8, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.7, 424.6, 424.6, 424.5, 424.5, 424.5, 424.5, 424.5, 424.5, 424.5, 424.5, 424.5, 424.5, 424.4, 424.4, 424.2, 424.2, 424.2, 424.2, 423.9, 423.9, 423.9, 423.9, 423.7, 423.7, 423.7, 423.7, 423.7, 423.4, 423.4, 423.4, 423.4, 423.1, 423.1, 423.1, 423.1, 422.8, 422.8, 422.8, 422.8, 422.6, 422.6, 422.6, 422.6, 422.6, 422.3, 422.3, 422.3, 422.3, 422.0, 422.0, 422.0, 422.0, 421.8, 421.8, 421.8, 421.8, 421.5, 421.5, 421.5, 421.5, 421.3, 421.3, 421.3, 421.3, 421.0, 421.0, 421.0, 421.0, 420.8, 420.8, 420.8, 420.8, 420.5, 420.5, 420.5, 420.5, 420.3, 420.3, 420.3, 420.3, 420.0, 420.0, 420.0, 420.0, 419.8, 419.8, 419.8, 419.8, 419.5, 419.5, 419.5, 419.5, 419.3, 419.3, 419.3, 419.3, 419.0, 419.0, 419.0, 419.0, 418.8, 418.8, 418.8, 418.8, 418.5, 418.5, 418.5, 418.5, 418.3, 418.3, 418.3, 418.3, 418.1, 418.1, 418.1, 418.1, 418.1, 417.8, 417.8, 417.8, 417.8, 417.6, 417.6, 417.6, 417.6, 417.4, 417.4, 417.4, 417.4, 417.1, 417.1, 417.1, 417.1, 416.9, 416.9, 416.9, 416.9, 416.7, 416.7, 416.7, 416.7, 416.4, 416.4, 416.4, 416.4, 416.2, 416.2, 416.2, 416.2, 416.0, 416.0, 416.0, 416.0, 415.8, 415.8, 415.8, 415.8, 415.6, 415.6, 415.6, 415.6, 415.6, 415.6, 415.4, 415.4, 415.1, 415.1, 415.1, 415.1, 414.9, 414.9, 414.9, 414.9, 414.7, 414.7, 414.7, 414.7, 414.7, 414.7, 414.5, 414.5, 414.4, 414.4, 414.4, 414.4, 414.4, 414.4, 414.2, 414.2, 414.0, 414.0, 414.0, 414.0, 413.8, 413.8, 413.8, 413.8, 413.8, 413.8, 413.6, 413.6, 413.4, 413.4, 413.4, 413.4, 413.1, 413.1, 413.1, 413.1, 413.1, 413.1, 412.9, 412.9, 412.7, 412.7, 412.7, 412.7, 412.7, 412.7, 412.5, 412.5, 412.3, 412.3, 412.3, 412.3, 412.1, 412.1, 412.1, 412.1, 412.1, 412.1, 411.9, 411.9, 411.7, 411.7, 411.7, 411.7, 411.5, 411.5, 411.5, 411.5, 411.5, 411.5, 411.4, 411.4, 411.4, 411.4, 411.2, 411.2, 411.2, 411.2, 411.1, 411.1, 411.1, 411.1, 411.0, 411.0, 411.0, 411.0, 410.8, 410.8, 410.8, 410.8, 410.7, 410.7, 410.7, 410.7, 410.6, 410.6, 410.6, 410.6, 410.5, 410.5, 410.4, 410.4, 410.4, 410.4, 410.4, 410.3, 410.3, 410.3, 410.3, 410.3, 410.3, 410.2, 410.2, 410.2, 410.2, 410.2, 410.2, 410.2, 410.1, 410.1, 410.0, 410.0, 410.0, 410.0, 410.0, 410.0, 410.0, 410.0, 409.9, 409.9, 409.9, 409.9, 409.9, 409.9, 409.9, 409.8, 409.8, 409.8, 409.8, 409.8, 409.8, 409.8, 409.8, 409.7, 409.7, 409.6, 409.6, 409.6, 409.6, 409.6, 409.6, 409.6, 409.6, 409.5, 409.5, 409.5, 409.5, 409.5, 409.5, 409.4, 409.4, 409.4, 409.4, 409.4, 409.4, 409.4, 409.4, 409.3, 409.3, 409.2, 409.2, 409.2, 409.2, 409.2, 409.2, 409.1, 409.1, 409.1, 409.1, 409.1, 409.1, 409.1, 409.1, 409.0, 409.0, 408.9, 408.9, 408.9, 408.9, 408.9, 408.9, 408.9, 408.9, 408.8, 408.8, 408.8, 408.8, 408.8, 408.8, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.7, 408.6, 408.6, 408.5, 408.5, 408.5, 408.5, 408.5, 408.5, 408.5, 408.5, 408.4, 408.4, 408.4, 408.4, 408.4, 408.4, 408.3, 408.3, 408.3, 408.3, 408.3, 408.3, 408.3, 408.3, 408.2, 408.2, 408.1, 408.1, 408.1, 408.1, 408.1, 408.1, 408.1, 408.1, 408.1, 408.1, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 408.0, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.9, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.8, 407.7, 407.7, 407.7, 407.7, 407.7, 407.7, 407.7, 407.7, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.6, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.5, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.4, 407.3, 407.3, 407.3, 407.3, 407.3, 407.3, 407.3, 407.3, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.2, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.1, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 407.0, 406.9, 406.9, 406.9, 406.9, 406.9, 406.9, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.8, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.7, 406.6, 406.6, 406.6, 406.6, 406.6, 406.6, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.5, 406.4, 406.4, 406.4, 406.4, 406.4, 406.4, 406.3, 406.3, 406.2, 406.2, 406.2, 406.2, 406.2, 406.2, 406.2, 406.2, 406.2, 406.2, 406.1, 406.1, 406.0, 406.0, 406.0, 406.0, 406.0, 406.0, 405.9, 405.9, 405.9, 405.9, 405.8, 405.8, 405.7, 405.7, 405.7, 405.7, 405.7, 405.7, 405.5, 405.5, 405.5, 405.5, 405.3, 405.3, 405.3, 405.3, 405.1, 405.1, 405.1, 405.1, 404.9, 404.9, 404.9, 404.9, 404.6, 404.6, 404.6, 404.6, 404.4, 404.4, 404.4, 404.4, 404.2, 404.2, 404.2, 404.2, 404.0, 404.0, 404.0, 404.0, 403.8, 403.8, 403.8, 403.8, 403.8, 403.5, 403.5, 403.5, 403.5, 403.3, 403.3, 403.3, 403.3, 403.1, 403.1, 403.1, 403.1, 402.9, 402.9, 402.9, 402.9, 402.7, 402.7, 402.7, 402.7, 402.4, 402.4, 402.4, 402.4, 402.2, 402.2, 402.2, 402.2, 402.0, 402.0, 402.0, 402.0, 401.8, 401.8, 401.8, 401.8, 401.6, 401.6, 401.6, 401.6, 401.4, 401.4, 401.4, 401.4, 401.2, 401.2, 401.2, 401.2, 401.0, 401.0, 401.0, 401.0, 400.8, 400.8, 400.8, 400.8, 400.6, 400.6, 400.6, 400.6, 400.4, 400.4, 400.4, 400.4, 400.2, 400.2, 400.2, 400.2, 400.0, 400.0, 400.0, 400.0, 399.9, 399.9, 399.9, 399.9, 399.7, 399.7, 399.7, 399.7, 399.6, 399.6, 399.6, 399.6, 399.5, 399.5, 399.5, 399.5, 399.4, 399.4, 399.4, 399.4, 399.3, 399.3, 399.3, 399.3, 399.2, 399.2, 399.2, 399.2, 399.1, 399.1, 398.9, 398.9, 398.9, 398.9, 398.9, 398.9, 398.8, 398.8, 398.8, 398.8, 398.7, 398.7, 398.7, 398.7, 398.6, 398.6, 398.6, 398.6, 398.6, 398.6, 398.6, 398.6, 398.5, 398.5, 398.5, 398.5, 398.4, 398.4, 398.3, 398.3, 398.3, 398.3, 398.3, 398.3, 398.2, 398.2, 398.2, 398.2, 398.2, 398.2, 398.1, 398.1, 398.1, 398.1, 398.1, 398.1, 398.1, 398.1, 398.0, 398.0, 398.0, 398.0, 397.9, 397.9, 397.9, 397.9, 397.9, 397.9, 397.9, 397.9, 397.9, 397.8, 397.8, 397.8, 397.8, 397.8, 397.8, 397.8, 397.8, 397.8, 397.8, 397.7, 397.7, 397.7, 397.7, 397.7, 397.7, 397.7, 397.7, 397.7, 397.7, 397.6, 397.6, 397.6, 397.6, 397.5, 397.5, 397.5, 397.5, 397.5, 397.5, 397.4, 397.4, 397.4, 397.4, 397.4, 397.4, 397.4, 397.4, 397.3, 397.3, 397.3, 397.3, 397.3, 397.3, 397.3, 397.3, 397.2, 397.2, 397.1, 397.1, 397.1, 397.1, 397.1, 397.1, 397.0, 397.0, 397.0, 397.0, 396.8, 396.8, 396.8, 396.8, 396.8, 396.6, 396.6, 396.6, 396.6, 396.4, 396.4, 396.4, 396.4, 396.2, 396.2, 396.2, 396.2, 396.0, 396.0, 396.0, 396.0, 395.8, 395.8, 395.8, 395.8, 395.6, 395.6, 395.6, 395.6, 395.4, 395.4, 395.4, 395.4, 395.2, 395.2, 395.2, 395.2, 395.0, 395.0, 395.0, 395.0, 394.9, 394.9, 394.9, 394.9, 394.7, 394.7, 394.7, 394.7, 394.5, 394.5, 394.5, 394.5, 394.4, 394.4, 394.3, 394.3, 394.3, 394.3, 394.2, 394.2, 394.2, 394.2, 394.2, 394.2, 394.1, 394.1, 394.0, 394.0, 394.0, 394.0, 393.9, 393.9, 393.9, 393.9, 393.8, 393.8, 393.8, 393.8, 393.8, 393.8, 393.7, 393.7, 393.6, 393.6, 393.6, 393.6, 393.5, 393.5, 393.5, 393.5, 393.5, 393.5, 393.4, 393.4, 393.4, 393.4, 393.4, 393.3, 393.3, 393.2, 393.2, 393.2, 393.2, 393.1, 393.1, 393.1, 393.1, 393.1, 393.1, 393.0, 393.0, 392.9, 392.9, 392.9, 392.9, 392.8, 392.8, 392.8, 392.8, 392.8, 392.8, 392.8, 392.8, 392.7, 392.7, 392.7, 392.7, 392.7, 392.7, 392.6, 392.6, 392.6, 392.6, 392.6, 392.6, 392.6, 392.6, 392.5, 392.5, 392.4, 392.4, 392.4, 392.4, 392.4, 392.4, 392.4, 392.4, 392.4, 392.4, 392.3, 392.3, 392.3, 392.3, 392.3, 392.3, 392.3, 392.3, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.2, 392.1, 392.1, 392.1, 392.1, 392.0, 392.0, 392.0, 392.0, 392.0, 392.0, 392.0, 392.0, 392.0, 392.0, 391.9, 391.9, 391.9, 391.9, 391.9, 391.9, 391.9, 391.9, 391.9, 391.9, 391.8, 391.8, 391.8, 391.8, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.7, 391.6, 391.6, 391.6, 391.6, 391.6, 391.6, 391.6, 391.6, 391.6, 391.6, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.5, 391.4, 391.4, 391.4, 391.4, 391.4, 391.4, 391.4, 391.4, 391.4, 391.4, 391.3, 391.3, 391.3, 391.3, 391.2, 391.2, 391.2, 391.2, 391.2, 391.2, 391.2, 391.2, 391.1, 391.1, 391.1, 391.1, 391.1, 391.1, 391.1, 391.1, 391.0, 391.0, 391.0, 390.9, 390.9, 390.9, 390.9, 390.8, 390.8, 390.8, 390.8, 390.8, 390.8, 390.7, 390.7, 390.7, 390.7, 390.6, 390.6, 390.5, 390.5, 390.5, 390.5, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.4, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.3, 390.2, 390.2, 390.2, 390.2, 390.2, 390.2, 390.1, 390.1, 390.0]; //Tweenings //speed var SpeedIndicator:Array = [AS.AS_MOVE, AS.AS_MOVE.AS_MOVE_SUBTAPE] var maxSpeed:int = airSpeeds.length - 1; var currentSpeed:int = 0; var SpeedTimeLine:TimelineMax = new TimelineMax(); function doNextSpeed(){ SpeedTimeLine.appendMultiple(TweenMax.allTo(SpeedIndicator, 0.5, {frame:(10*(airSpeeds[currentSpeed])+1), ease:Linear.easeNone, onComplete:doNextSpeed})); currentTxt.text=String("SPD " + currentSpeed); current2Txt.text=String("ALT " + currentAlt); current3Txt.text=String("N11 " + currentN11); //increment the value used to get data from airSpeeds array if (currentSpeed < maxSpeed){ currentSpeed++; }else{ trace("speed array finished"); currentSpeed = 0; } } doNextSpeed(); //altitude var altindicator:Array = [AT.AT_MOVE, AT.AT_MOVE.AT_MOVE_SUBTAPE] var maxAlt:int = altitudes.length - 1; var currentAlt:int = 0; var AltTimeLine:TimelineMax = new TimelineMax(); function doNextAlt(){ AltTimeLine.appendMultiple(TweenMax.allTo(altindicator, 0.5, {frame:(altitudes[currentAlt]), ease:Linear.easeNone, onComplete:doNextAlt})); //increment the value used to get data from airSpeeds array if (currentAlt < maxAlt){ currentAlt++; }else{ trace("Alt array finished"); currentAlt = 0; } } doNextAlt(); //roll var rollindicator:Array = [AH.AH_PITCH] var maxRoll:int = roll.length - 1; var currentroll:int = 0; var RollTimeLine:TimelineMax = new TimelineMax(); function doNextRoll(){ RollTimeLine.appendMultiple(TweenMax.allTo(rollindicator, 0.5, {rotation:(-1*roll[currentroll]), ease:Linear.easeNone, onComplete:doNextRoll})); //increment the value used to get data from pitch array if (currentroll < maxRoll){ currentroll++; }else{ trace("Roll array finished"); currentroll = 0; } } doNextRoll(); //pitch var PitchIndicator:Array = [AH.AH_PITCH] var maxPitch:int = pitch.length - 1; var currentpitch:int = 0; var PitchTimeLine:TimelineMax = new TimelineMax(); function doNextPitch(){ PitchTimeLine.appendMultiple(TweenMax.allTo(PitchIndicator, 0.5, {y:((7*(pitch[currentpitch]))), ease:Linear.easeNone, onComplete:doNextPitch})); //increment the value used to get data from pitch array if (currentpitch < maxPitch){ currentpitch++; }else{ trace("Pitch array finished"); currentpitch = 0; } } doNextPitch(); var HeadingIndicator:Array = [NAV.NAV_RADAR]; var maxHeading:int = Headings.length - 1; var currentHeading:int = 0; var HeadingTimeLine:TimelineMax = new TimelineMax(); function doNextHeading(){ HeadingTimeLine.appendMultiple(TweenMax.allTo(HeadingIndicator, 0.5, {shortRotation:{rotation:(-1*(Headings[currentHeading]))}, ease:Linear.easeNone, onComplete:doNextHeading})); NAV.HeadingTxt.text = (String(Math.round(Headings[currentHeading]))); //increment the value used to get data from airSpeeds array if (currentHeading < maxHeading){ currentHeading++; }else{ trace("Heading array finished"); currentHeading = 0; } } doNextHeading(); var N11indicator:Array = [EIC.EIC_N1_1] var maxN11:int = N11.length - 1; var currentN11:int = 0; var N11TimeLine:TimelineMax = new TimelineMax(); function doNextN11(){ N11TimeLine.appendMultiple(TweenMax.allTo(N11indicator, 0.5, {frame:(2*(N11[currentN11])), ease:Linear.easeNone, onComplete:doNextN11})); EIC.EIC_N1_1.N11Txt.text = String(N11[currentN11]); //increment the value used to get data from airSpeeds array if (currentN11 < maxN11){ currentN11++; }else{ trace("N11 array finished"); currentN11 = 0; } } doNextN11(); //N1 2 var N12indicator:Array = [EIC.EIC_N1_2] var maxN12:int = N12.length - 1; var currentN12:int = 0; var N12TimeLine:TimelineMax = new TimelineMax(); function doNextN12(){ N12TimeLine.appendMultiple(TweenMax.allTo(N12indicator, 0.5, {frame:(2*(N12[currentN12])), ease:Linear.easeNone, onComplete:doNextN12})); EIC.EIC_N1_2.N12Txt.text = String(N12[currentN12]); //increment the value used to get data from airSpeeds array if (currentN12 < maxN12){ currentN12++; }else{ trace("N12 array finished"); currentN12 = 0; } } doNextN12(); //EGT1 var EGT1indicator:Array = [EIC.EIC_EGT1] var maxEGT1:int = EGT1.length - 1; var currentEGT1:int = 0; var EGT1TimeLine:TimelineMax = new TimelineMax(); function doNextEGT1(){ EGT1TimeLine.appendMultiple(TweenMax.allTo(EGT1indicator, 0.5, {frame:(0.13*(EGT1[currentEGT1])), ease:Linear.easeNone, onComplete:doNextEGT1})); EIC.EIC_EGT1.EGT1Txt.text = String(EGT1[currentEGT1]);; //increment the value used to get data from airSpeeds array if (currentEGT1 < maxEGT1){ currentEGT1++; }else{ trace("EGT1 array finished"); currentEGT1 = 0; } } doNextEGT1(); //EGT2 var EGT2indicator:Array = [EIC.EIC_EGT2] var maxEGT2:int = EGT2.length - 1; var currentEGT2:int = 0; var EGT2TimeLine:TimelineMax = new TimelineMax(); function doNextEGT2(){ EGT2TimeLine.appendMultiple(TweenMax.allTo(EGT2indicator, 0.5, {frame:(0.13*(EGT2[currentEGT2])), ease:Linear.easeNone, onComplete:doNextEGT2})); EIC.EIC_EGT2.EGT2Txt.text = String(EGT2[currentEGT2]); //increment the value used to get data from airSpeeds array if (currentEGT2 < maxEGT2){ currentEGT2++; }else{ trace("EGT2 array finished"); currentEGT2 = 0; } } doNextEGT2(); //FUEL1 var FUEL1indicator:Array = [EIC.EIC_FUEL1] var maxFUEL1:int = FUEL1.length - 1; var currentFUEL1:int = 0; var FUEL1TimeLine:TimelineMax = new TimelineMax(); function doNextFUEL1(){ FUEL1TimeLine.appendMultiple(TweenMax.allTo(FUEL1indicator, 0.5, {frame:(0.33*(FUEL1[currentFUEL1])), ease:Linear.easeNone, onComplete:doNextFUEL1})); EIC.EIC_FUEL1.FUEL1Txt.text = String(FUEL1[currentFUEL1]); //increment the value used to get data from airSpeeds array if (currentFUEL1 < maxFUEL1){ currentFUEL1++; }else{ trace("FUEL1 array finished"); currentFUEL1 = 0; } } doNextFUEL1(); //FUEL2 var FUEL2indicator:Array = [EIC.EIC_FUEL2] var maxFUEL2:int = FUEL2.length - 1; var currentFUEL2:int = 0; var FUEL2TimeLine:TimelineMax = new TimelineMax(); function doNextFUEL2(){ FUEL2TimeLine.appendMultiple(TweenMax.allTo(FUEL2indicator, 0.5, {frame:(0.33*(FUEL2[currentFUEL2])), ease:Linear.easeNone, onComplete:doNextFUEL2})); EIC.EIC_FUEL2.FUEL2Txt.text = String(FUEL2[currentFUEL2]); Tasktimers(); trace(currentN11); //setcurrent(currentSpeed); //increment the value used to get data from airSpeeds array if (currentFUEL2 < maxFUEL2){ currentFUEL2++; }else{ trace("FUEL2 array finished"); currentFUEL2 = 0; } } doNextFUEL2(); var timetraffic1:TimelineMax = new TimelineMax(); //traffic function tweenTraffic1():void { timetraffic1.insert(TweenMax.to(NAV.NAV_RADAR.traffic1, 250, {delay:10, bezierThrough:[{x:-100, y:-200}, {x:400, y:-500}], ease:Linear.easeNone})); timetraffic1.insert(TweenMax.to(NAV.NAV_RADAR.traffic2, 200, {delay:25, bezierThrough:[{x:-300, y:-200}, {x:200, y:-600}], ease:Linear.easeNone})); } tweenTraffic1(); function tweenTraffic2():void { timetraffic1.insert(TweenMax.to(NAV.NAV_RADAR.traffic3, 140, {delay:30, bezierThrough:[{x:-100, y:250}, {x:-500, y:-300}], ease:Linear.easeNone})); //just miss timetraffic1.insert(TweenMax.to(NAV.NAV_RADAR.traffic4, 180, {delay:30, bezierThrough:[{x:-85, y:-85}, {x:200, y:-500}], ease:Linear.easeNone})); //enters zone and flys away } tweenTraffic2(); function tweenTraffic3():void { timetraffic1.insert(TweenMax.to(NAV.NAV_RADAR.traffic5, 160, {delay:0, bezierThrough:[{x:-100, y:200}, {x:700, y:400}], ease:Linear.easeNone})); //just miss timetraffic1.insert(TweenMax.to(NAV.NAV_RADAR.traffic6, 120, {delay:0, bezierThrough:[{x:-200, y:300}, {x:-400, y:400}], ease:Linear.easeNone})); } //tweenTraffic3(); function tweenTraffic4():void { timetraffic1.insert(TweenMax.to(NAV.NAV_RADAR.traffic7, 190, {delay:25, bezierThrough:[{x:0, y:-200}, {x:-500, y:0}], ease:Linear.easeNone})); // all above no danger timetraffic1.insert(TweenMax.to(NAV.NAV_RADAR.traffic8, 140, {delay:25, bezierThrough:[{x:9, y:300}, {x:-500, y:100}], ease:Linear.easeNone})); timetraffic1.insert(TweenMax.to(NAV.NAV_RADAR.traffic9, 120, {delay:30, bezierThrough:[{x:-200, y:300},{x:-300, y:-400}], ease:Linear.easeNone})); } //tweenTraffic4();
  18. Hi folks! Iam making a platform game, where the Hero can get extra time for picking up some jewel! For time tracking i'm using TweenMax. Is there any way, to pause tween, and skip back(reverse) let's say with 5 seconds? Any help appreciated! tnx daniel
  19. Hi all, I'm in my first JS GSAP project and I've just discovered what seems to be a long standing issue with Javascript: fading in elements after the page has loaded, causing a "flicker" before they're able to start in their opacity:0; state. I have my elements starting at opacity:0; in my CSS and in my JS, I'm using TweenMax.from to {css:{autoAlpha:0}. What's the best practice here to prevent that flicker? Any good workarounds specifically using GSAP correctly for a simple fade in? Thanks as always!
  20. I am using TweenMax to fade some interface arrows on an AIR / iOS project, using the following (slightly simplified) code: TweenMax.to( overlay.arrowE, 0, { alpha:overlayFactorX + minOverlayAlpha, colorMatrixFilter: { saturation:overlayFactorX }} ); The tween essentially responds to a user drag action, and highlights one arrow graphic (colour and alpha up) to show the direction of travel, whilst other arrows recede (colour desaturates to greyscale, and alpha decreases). A bigger drag creates a stronger highlight. Everything works fine when viewed in preview on PC, and the code does runs when compiled and running on an iPad, BUT the saturation doesn't appear to work. The arrows (there are four) change alpha, but their colour saturation remains unchanged. Any ideas why this might be the case? Thanks! TweenTest.zip
  21. I completed a series of tests and examples and I created a very simple game that uses TweenMax as its animation core. I believe some things should be more smooth (99% has something to do with my code). Let me know what do you think. (Animation or coding wize). feel free to use the code as you like. http://netgfx.com/trunk/birdbreak/
  22. This is a pretty cool example of how to combine AE to make buttons in flash http://www.gotoandlearn.com/play.php?id=67# They used some other tweener then greensock, but the transition would be pretty easy to do in tweenlite/max. The guy embeds the button into flash which is easy. But what if you had 5 buttons and suddenly your size is up to 3-5mb or so of the fla file. What is the best way to call these flv's without embeding them into the timeline ? Via videoloader? I've seen the tutorial on nettuts but seems pretty complicated. Any examples on how do to this as simple as possible and keep the loading as fast as possible.
  23. G'day Jack, Just a quickie Q about TweenMax and the plugin system. Do you know if it's possible to make an addon to TweenMax which would allow an object to have it rotation tweened to look at or rotate to another object? I know Math scares off a lot of people when it comes to getting a game up and running that's why I really want to make this tutorial set super simple. If you could point me in the right direction to making a plugin that would be great. So instead of: var dy:Number = gunTurret.y - stage.mouseY; var dx:Number = gunTurret.x - stage.mouseX; var angle:Number = Math.atan2(dy, dx) * 180 / Math.PI; mcTurret.rotation = angle; I could just use. //ie: TweenMax.to(gunTurret, 0.5, {lookAt:new Point(mouseX, mouseY)}); //. Cheers -Z
  24. un4given

    IE

    I am getting the error "invalid argument" from TweenMax.min.js line 16 in IE9 simulating IE8. Im trying to test my TweenLite code in IE8 &> but cant get past this error. Any help would be appreciated. -----update----- changed from TweenMax to TweenLite + CSSPlugin but now the error is popping up in the CSSPlugin script, line 14, character 12005. D
  25. Hey every one, i'm newbie with Starling and greensock I try to use Greensock with Starling but i find down there's some problem When i try to make a glow filter with MovieClip of starling. i got this error <B>ReferenceError: Error #1069: Property filters not found on starling.display.MovieClip and there is no default value.</B> Here is the code TweenPlugin.activate([FilterPlugin]); TweenMax.to(heroArt, 1, {glowFilter:{color:0x99cc33, alpha:1, blurX:30, blurY:30, strength:3}}); with heroArt is the MovieClip from starling.display.MovieClip But if i use heroArt is flash.display.MovieClip, everything's okay. So, how can we deal with that problem ? I got stuck with Image too
×
×
  • Create New...