/*
Highligher Scroller script- By JavaScript Kit
For this and over 400+ free scripts, visit http://www.javascriptkit.com/
This notice must stay intact
*/

var tickercontents=new Array()
tickercontents[0]='Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/noaa_snow_fr_ita.htm" target="_new">NOAA - Southern Hemisphere Snow Cover Age & Depth (2009 & 2010)</a> </a>'
tickercontents[1]='Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/rain_cloud.htm" target="_new"> Precipitation Estimate  &amp; Cloud Cover</a> - 6 hours animation</a>'
tickercontents[2]='New - Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/northern_italy_dett.htm" target="_new"> Northern Italy Meteosat9 HRIT</a> - All Political Boundaries from <a href="http://rimmer.ngdc.noaa.gov/" target="_new"> NGDC</a>'
/*
tickercontents[0]='Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/wrfems.htm" target="_new">WRF Environmental Modelling System (v2.1)</a> </a>'
tickercontents[1]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/ch_jap_weather.htm" target="_new"> China, Japan &amp; Korea weather</a> - 24 hours MTSAT IR animations</a>'
tickercontents[2]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/maroc_weather.htm" target="_new"> Maroc weather</a> - 24 hours Meteosat9 IR animations</a>'
tickercontents[3]='Retrieve  this page easier!! - <a  href="http://toolbar.google.com/buttons/add?url=http://www.scsebnic.net/SITO_PAN/pan_button.xml"target="_new">Download and install the PA\&N Google toolbar button</a>'
tickercontents[0]='Due to server maintenance, the images available till next 31st August will be:'
tickercontents[1]='<a href="http://www.scsebnic.net/SITO_PAN/wrfems.htm" target="_new">WRF Environmental Modelling System (v2.1)</a></a>'
tickercontents[2]='<a href="http://www.scsebnic.net/SITO_PAN/rain_cloud.htm" target="_new">Precipitation Estimate  &amp; Cloud Cover</a> - 6 hours animation</a>'
tickercontents[3]='<a href="http://www.scsebnic.net/SITO_PAN/europe_last_24.htm" target="_new">Italy - Meteosat9 </a> Last 24 hours</a>'
tickercontents[4]='<a href="http://www.scsebnic.net/SITO_PAN/goes_e_last_12.htm" target="_new">Caribbean - GOES EST </a> Last 12 hours</a>'
tickercontents[5]='<a href="http://www.scsebnic.net/SITO_PAN/world_last_18.htm" target="_new">The Whole - Meteosat9 </a> Last 18 hours</a>'
tickercontents[6]='<a href="http://www.scsebnic.net/SITO_PAN/metop_a.htm" target="_new">MetOP-A AVHRR </a> - Yesterday 24 hours</a>'
tickercontents[2]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/brasilian_weather.htm" target="_new"> Brasil weather</a> - 24 hours GOES East IR animations</a>'
tickercontents[1]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/northern_europe_weather.htm" target="_new"> Northern Europe animations</a> - 24 hours Meteosat9 animations'
tickercontents[2]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/australia_weather.htm" target="_new"> Australia weather animations</a> - 24 hours MTSAT1 IR animation</a>'
tickercontents[0]='Due to server maintenance some images could not be updated till next 1st December'
tickercontents[1]='Download and view <a href="http://www.scsebnic.net/SITO_PAN/event_imagery/italy_gps_ir_cc.divx" target="_new"> Northern Italy Storm on 29/06/2008 - Meteosat8 RSS Animation</a>'
tickercontents[0]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/usa_weather.htm" target="_new"> Usa Weather Animations</a> - 24h GOES-East Animations</a>'
tickercontents[1]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/arabian.htm" target="_new"> Arabian Sea &amp; Aden Gulf Monsoon</a> - 24h Meteosat7 Animations</a>'
tickercontents[2]='Download and view <a href="http://www.scsebnic.net/SITO_PAN/divx/Aden_Storm_L.divx" target="_new"> LSMR (4.2MB)</a>     or    <a href="http://www.scsebnic.net/SITO_PAN/divx/Aden_Storm_L1.divx" target="_new"> AWIR (4.2MB)</a>    - Gulf of Aden Storm 03/06/2008</a>'
tickercontents[3]='Download and view <a href="http://www.scsebnic.net/SITO_PAN/divx/Aden_Storm_S.divx" target="_new"> LSMR (2.2MB)</a>     or    <a href="http://www.scsebnic.net/SITO_PAN/divx/Aden_Storm_S1.divx" target="_new"> AWIR (2.2MB)</a>    - Gulf of Aden Storm 03/06/2008</a>'
/*tickercontents[1]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/dwdsat_uvi.htm" target="_new"> UV Index Central Europe</a> - Data source <a href="http://www.dwd.de/en/wir/Geschaeftsfelder/Medizin/uvi/" target="_new">Deutscher Wetterdienst</a>'
/*tickercontents[0]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/goes_11_ir.htm" target="_new"> GOES-W Channel IR</a> at 03.00 - 06.00 - 09.00 - 12.00</a>'
/*tickercontents[1]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/goes_11_vis.htm" target="_new"> GOES-W Channel Vis</a> at 15.00 - 18.00 - 21.00 - 24.00</a>'
/*tickercontents[2]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/goes_12_ir.htm" target="_new"> GOES-E Channel IR</a> at 00.00 - 03.00 - 06.00 - 09.00</a>'
/*tickercontents[3]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/goes_12_vis.htm" target="_new"> GOES-E Channel Vis</a> at 12.00 - 15.00 - 18.00 - 21.00</a>'
/*tickercontents[4]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/mtsat1_vis.htm" target="_new"> MTSAT1 Channel Vis</a> at 00.00 - 03.00 - 06.00 - 09.00</a>'
/*tickercontents[5]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/mtsat1_ir.htm" target="_new"> MTSAT1 Channel IR</a> at 12.00 - 15.00 - 18.00 - 21.00</a>'
/*tickercontents[6]='NEW!!! Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/meteosat7.htm" target="_new"> METEOSAT-7 Channel</a> vis 06.00 - vis 12.00 - ir 18.00 - ir 24.00</a>'
/*tickercontents[7]='EUMETSAT: <a href="http://www.eumetsat.int/Home/Main/Media/News/030229?l=en" target="_new">Dissemination of NOAA Level 1b Products</a> started on 18 September 2007</a>'
/*tickercontents[7]='Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/osi_saf_sea_ice_2007.htm" target="_new"> O\&SI SAF -> SEA\&ICE</a> - Is Arctic/\Antarctic ice melting ... or not\?'
/*tickercontents[1]='Hop on over to <a href="http://www.scsebnic.net/SITO_PAN/metop_a.htm" target="_new">MetOP -\> MetOP-A AVHRR</a> - The world in front of you!'
tickercontents[2]='This scroller\'s brought to you by <a href="http://www.scsebnic.net/SITO_PAN/osi_saf_sea_ice_2007.htm">JavaScript Kit</a>'
*/

var tickdelay=3000 //delay btw messages
var highlightspeed=3 //10 pixels at a time.

////Do not edit pass this line////////////////

var currentmessage=0
var clipwidth=0

function changetickercontent(){
crosstick.style.clip="rect(0px 0px auto 0px)"
crosstick.innerHTML=tickercontents[currentmessage]
highlightmsg()
}

function highlightmsg(){
var msgwidth=crosstick.offsetWidth
if (clipwidth<msgwidth){
clipwidth+=highlightspeed
crosstick.style.clip="rect(0px "+clipwidth+"px auto 0px)"
beginclip=setTimeout("highlightmsg()",20)
}
else{
clipwidth=0
clearTimeout(beginclip)
if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout("changetickercontent()",tickdelay)
}
}

function start_ticking(){
crosstick=document.getElementById? document.getElementById("highlighter") : document.all.highlighter
crosstickParent=crosstick.parentNode? crosstick.parentNode : crosstick.parentElement
if (parseInt(crosstick.offsetHeight)>0)
crosstickParent.style.height=crosstick.offsetHeight+'px'
else
setTimeout("crosstickParent.style.height=crosstick.offsetHeight+'px'",100) //delay for Mozilla's sake
changetickercontent()
}

if (document.all || document.getElementById)
window.onload=start_ticking