filenames[0] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_jan.gif" filenames[1] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_feb.gif" for ( i = 0; i < nimages; i++ ) { photographs[i] = new Image(sizex,sizey) photographs[i].src = filenames[i] } function NextPhoto() { // displays next image in sequence if ( photographs[nextimg].complete) // otherwise we wait... document.cloudimg.src = photographs[nextimg].src document.cloudimg.src = photographs[nextimg].src nextimg = nextimg + reverse if ( nextimg >= nimages ) nextimg = 0 if ( nextimg < 0 ) nextimg = nimages - 1 timerID = setTimeout("NextPhoto()",timedelay) // timeout in millisecs timerRunning = true } function StopSlideShow() { if ( timerRunning ) { clearTimeout(timerID) timerID = null timerRunning = false } } function ContinueSlideShow() { if ( !timerRunning ) { NextPhoto() } } function NextSlide() { if ( !timerRunning ) { NextPhoto() } if ( timerRunning ) { clearTimeout(timerID) timerID = null timerRunning = false } } function PreviousSlide() { nextimg = nextimg - reverse if ( nextimg >= nimages ) nextimg = 0 if ( nextimg < 0 ) nextimg = nimages - 1 nextimg = nextimg - reverse if ( nextimg >= nimages ) nextimg = 0 if ( nextimg < 0 ) nextimg = nimages - 1 if ( !timerRunning ) { NextPhoto() } if ( timerRunning ) { clearTimeout(timerID) timerID = null timerRunning = false } } function FasterSlides() { if ( timedelay > 100 ) // no lower than 0.1 sec intervals timedelay = timedelay - 100 // go down in steps of 0.1 sec } function SlowerSlides() { timedelay = timedelay + 100 // go up in steps of 0.1 sec if ( timedelay > 10000 ) timedelay = 10000 // set a max. of 10 secs } function ReverseSlides() { reverse = -1 * reverse nextimg = nextimg + reverse if ( nextimg >= nimages ) nextimg = 0 if ( nextimg < 0 ) nextimg = nimages - 1 nextimg = nextimg + reverse if ( nextimg >= nimages ) nextimg = 0 if ( nextimg < 0 ) nextimg = nimages - 1 } function StartSlideShow() { // nextimg = 0 document.write("") document.write("
") document.write("") document.write("
") document.write("
") document.write("
") document.write("") document.write("") document.write("") document.write("") document.write("") document.write("") document.write("") document.write("
") document.write("
Click here to download version of animated gif version that can be added to powerpoint") document.write("
") NextPhoto() if ( stop_animation ) StopSlideShow() } // --> filenames[2] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_mar.gif" filenames[3] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_apr.gif" filenames[4] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_may.gif" filenames[5] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_jun.gif" filenames[6] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_jul.gif" filenames[7] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_aug.gif" filenames[8] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_sep.gif" filenames[9] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_oct.gif" filenames[10] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_nov.gif" filenames[11] = "/ummodel/data/teVVl/standard_new_plots/teVVl-teVTl1_precip_dec.gif" for ( i = 0; i < nimages; i++ ) { photographs[i] = new Image(sizex,sizey) photographs[i].src = filenames[i] } function NextPhoto() { // displays next image in sequence if ( photographs[nextimg].complete) // otherwise we wait... document.cloudimg.src = photographs[nextimg].src document.cloudimg.src = photographs[nextimg].src nextimg = nextimg + reverse if ( nextimg >= nimages ) nextimg = 0 if ( nextimg < 0 ) nextimg = nimages - 1 timerID = setTimeout("NextPhoto()",timedelay) // timeout in millisecs timerRunning = true } function StopSlideShow() { if ( timerRunning ) { clearTimeout(timerID) timerID = null timerRunning = false } } function ContinueSlideShow() { if ( !timerRunning ) { NextPhoto() } } function NextSlide() { if ( !timerRunning ) { NextPhoto() } if ( timerRunning ) { clearTimeout(timerID) timerID = null timerRunning = false } } function PreviousSlide() { nextimg = nextimg - reverse if ( nextimg >= nimages ) nextimg = 0 if ( nextimg < 0 ) nextimg = nimages - 1 nextimg = nextimg - reverse if ( nextimg >= nimages ) nextimg = 0 if ( nextimg < 0 ) nextimg = nimages - 1 if ( !timerRunning ) { NextPhoto() } if ( timerRunning ) { clearTimeout(timerID) timerID = null timerRunning = false } } function FasterSlides() { if ( timedelay > 100 ) // no lower than 0.1 sec intervals timedelay = timedelay - 100 // go down in steps of 0.1 sec } function SlowerSlides() { timedelay = timedelay + 100 // go up in steps of 0.1 sec if ( timedelay > 10000 ) timedelay = 10000 // set a max. of 10 secs } function ReverseSlides() { reverse = -1 * reverse nextimg = nextimg + reverse if ( nextimg >= nimages ) nextimg = 0 if ( nextimg < 0 ) nextimg = nimages - 1 nextimg = nextimg + reverse if ( nextimg >= nimages ) nextimg = 0 if ( nextimg < 0 ) nextimg = nimages - 1 } function StartSlideShow() { // nextimg = 0 document.write("") document.write("
") document.write("") document.write("
") document.write("
") document.write("
") document.write("") document.write("") document.write("") document.write("") document.write("") document.write("") document.write("") document.write("
") document.write("
Click here to download version of animated gif version that can be added to powerpoint") document.write("
") NextPhoto() if ( stop_animation ) StopSlideShow() } // -->