<!-- ####################### start copying the HEAD code(DMA) here ####################### -->



<!--//

//new Option("text","value")

//this code changes menus

 

 

 

function nullOptionsDMA(aMenu){

var tot=aMenu.options.length

for (i=0;i<tot;i++)

{

aMenu.options[i]=null

}

aMenu.options.length=0;

}

 

function MySubjectDMA0(aMenu){

nullOptionsDMA(aMenu)

 

with (aMenu){

 

//Rewrites the text and values

options[0]=new Option("Select Astro views","none");

options[1]=new Option("Earth from the Sun - Distant","ndt_distant.htm");

options[2]=new Option("Earth from Sun - Close Up","ndt_sv.htm");

options[3]=new Option("Earth from Sun - Heavy Quake Alerts (>=6)","ndt_sv_speak_emsc.htm");

options[4]=new Option("Earth from Sun - All Quake Alerts","ndt_sv_speak_usgs.htm");

options[5]=new Option("Earth from Mars","ndt_earthmars.htm");

options[6]=new Option("Moon with background stars","ndt_moon.htm");

options[7]=new Option("View from the ISS Spacestation","ndt_iss.htm");

options[8]=new Option("Random Earth View","ndt_rnd.htm");

options[9]=new Option("Movie: Distant Earth from the Sun 48h","ndt_distantearthmovie.htm");

options[10]=new Option("Earth seen from the Moon","ndt_emoon.htm");

options[11]=new Option("MOVIE: Earth from the Moon","ndt_earthfrommoonmovie.htm");

options[0].selected=true

 


}

}

function MySubjectDMA1(aMenu){

nullOptionsDMA(aMenu)

 

with (aMenu){

 

//Rewrites the text and values

options[0]=new Option("Select World views","none");

options[1]=new Option("Overview with markers","ndt_ea.htm");

options[2]=new Option("World without Fires","ndt_ea_nof.htm");

options[3]=new Option("Movie: World Weather with quake markers ","ndt_wholeearthmovie.htm");

options[4]=new Option("Earth with All Quake Alerts","ndt_ea_speak_usgs.htm");

options[5]=new Option("Earth with Heavy Quake Alerts (>=6)","ndt_ea_speak_emsc.htm");

options[6]=new Option("Global Incidents","ndt_incident.htm");

options[7]=new Option("Natural Earth","ndt_nea.htm");

options[8]=new Option("Global Temperatures","ndt_temp.htm");

options[9]=new Option("MOVIE: Global Temperature highs and lows in 48 hours","ndt_globaltemperaturesmovie.htm");

options[10]=new Option("World Fire Map","ndt_globalfire.htm");

options[0].selected=true

 

 

}

}

function MySubjectDMA2(aMenu){

nullOptionsDMA(aMenu)

 

with (aMenu){

 

//Rewrites the text and values

options[0]=new Option("Select a page","none");

options[1]=new Option("Overview Celsius","ndt_na.htm");

options[2]=new Option("Overview Fahrenheit","ndt_na_f.htm");

options[3]=new Option("Weather Forecast","ndt_na_fore.htm");

options[4]=new Option("All Earthquake Alerts","ndt_na_speak.htm");
options[5]=new Option("Heavy Earthquake Alerts (>6)","ndt_na_speak_heavy.htm");

options[6]=new Option("3D Celsius","ndt_nac.htm");

options[7]=new Option("3D Fahrenheit","ndt_nac_f.htm");

options[8]=new Option("3D Weather Forecast","ndt_nac_fore.htm");

options[9]=new Option("3D All Earthquake Alerts","ndt_nac_speak.htm");
options[10]=new Option("3D Heavy Earthquake Alerts (>6)","ndt_nac_speak_heavy.htm");

options[11]=new Option("48h Movie American Crescent ","ndt_nacrescentmovie.htm");

options[0].selected=true

 

 

}

}

function MySubjectDMA3(aMenu){

nullOptionsDMA(aMenu)

 

with
(aMenu){ 

 

//Rewrites the text and values

options[0]=new Option("Select a page","none");

options[1]=new Option("Overview","ndt_sam.htm");

options[2]=new Option("Weather Forecast","ndt_sam_fore.htm");

options[3]=new Option("All Earthquake Alerts","ndt_sam_speak_usgs.htm");

options[4]=new Option("3D Overview Celsius","ndt_sac.htm");

options[5]=new Option("3D Weather Forecast","ndt_sac_fore.htm");

options[6]=new Option("3D All Earthquake Alerts","ndt_sac_speak_usgs.htm");

options[7]=new Option("48h MOVIE: South American Crescent","ndt_sammovie.htm");

options[0].selected=true

 

 

}

}

//####################################################################

function MySubjectDMA4(aMenu){

nullOptionsDMA(aMenu)

 

with
(aMenu){ 

 

//Rewrites the text and values

options[0]=new Option("Select a page","none");

options[1]=new Option("Overview","ndt_eu.htm");

options[2]=new Option("Weather Forecast","ndt_eu_fore.htm");

options[3]=new Option("Heavy Earthquake Alerts (>=6)","ndt_eu_speak_emsc.htm");

options[4]=new Option("3D Overview","ndt_euc.htm");

options[5]=new Option("Real Meteosat Image: fresh at 07:00,13:10,19:00 GMT","ndt_eu_real.htm");

options[6]=new Option("3D Weather Forecast","ndt_euc_fore.htm");

options[7]=new Option("3D Heavy Earthquake Alerts (>=6)","ndt_euc_speak_emsc.htm");

options[8]=new Option("48h Movie European Crescent ","ndt_eucrescentmovie.htm");

options[9]=new Option("Middle East","ndt_me.htm");

options[10]=new Option("Middle East 3D","ndt_mecrescent.htm");

options[0].selected=true

 

 

}

}



//####################################################################



function MySubjectDMA5(aMenu){

nullOptionsDMA(aMenu)

 

with
(aMenu){ 

 

//Rewrites the text and values

options[0]=new Option("Select a page","none");

options[1]=new Option("Overview","ndt_africa.htm");

options[2]=new Option("Weather Forecast","ndt_africa_fore.htm");

options[3]=new Option("African Heavy Quake Alerts (>=6)","ndt_africa_speak_emsc.htm");

options[4]=new Option("Eastern Africa and Middle East Overview","ndt_me.htm");

options[5]=new Option("Africa and Middle East Heavy Quake Alerts (>=6)","ndt_me_speak_emsc.htm");

options[6]=new Option("Middle East 3D","ndt_mecrescent.htm");

options[7]=new Option("Middle East 3D Heavy Quake Alerts (>=6)","ndt_mecrescent_speak_emsc.htm");


options[8]=new Option("48h MOVIE: Africa animation","ndt_africamovie.htm");

options[0].selected=true

 

 

}

}

//####################################################################



function MySubjectDMA6(aMenu){

nullOptionsDMA(aMenu)

 

with
(aMenu){ 

 

//Rewrites the text and values

options[0]=new Option("Select a page","none");

options[1]=new Option("Overview","ndt_asia.htm");

options[2]=new Option("Weather Forecast","ndt_asia_forecast.htm");

options[3]=new Option("Asian Heavy Quake Alerts (>=6)","ndt_asia_speak_emsc.htm");

options[4]=new Option("Asian All Quake Alerts","ndt_asia_speak_usgs.htm");

options[5]=new Option("3D Overview","ndt_asia3d.htm");

options[6]=new Option("3D Weather Forecast","ndt_asia3d_forecast.htm");

options[7]=new Option("3D Asian Heavy Quake Alerts (>=6)","ndt_asia3d_speak_emsc.htm");

options[8]=new Option("3D Asian All Quake Alerts","ndt_asia3d_speak_usgs.htm");

options[9]=new Option("Middle East","ndt_me.htm");

options[10]=new Option("48h MOVIE: Asian Crescent","ndt_asiamovie.htm");


options[0].selected=true

 

 

}

}

//####################################################################



function MySubjectDMA7(aMenu){

nullOptionsDMA(aMenu)

 

with
(aMenu){ 

 

//Rewrites the text and values

options[0]=new Option("Select a page","none");

options[1]=new Option("Overview","ndt_oz.htm");

options[2]=new Option("Downunder","ndt_downunder.htm");

options[3]=new Option("Weather Forecast","ndt_oz_forecast.htm");

options[4]=new Option("3D Natural","ndt_au.htm");

options[5]=new Option("48h MOVIE: Australia","ndt_australiamovie.htm");

options[0].selected=true

 

 

}

}



//####################################################################



function MySubjectDMA8(aMenu){

nullOptionsDMA(aMenu)

 

with
(aMenu){ 

 

//Rewrites the text and values

options[0]=new Option("Select a page","none");

options[1]=new Option("North Pole with Ice Cover","ndt_arctic.htm");

options[2]=new Option("South Pole with Icebergs","ndt_ant.htm");

options[3]=new Option("South Pole Detailed View","ndt_ant_three.htm");

options[4]=new Option("MOVIE: North Pole Ice Cover (7 frames per week)","ndt_arcticmovie.htm");

options[5]=new Option("MOVIE: South Pole (2 frames per week)","ndt_antarcticmovie.htm");


options[0].selected=true

 

 

}

}


//####################################################################



function MySubjectDMA9(aMenu){

nullOptionsDMA(aMenu)

 

with
(aMenu){ 

 

//Rewrites the text and values


options[0]=new Option("Select a page","none");

options[1]=new Option("48h Movie European Crescent ","ndt_eucrescentmovie.htm");
options[2]=new Option("48h Movie American Crescent ","ndt_nacrescentmovie.htm");
options[3]=new Option("48h Movie Distant Earth ","ndt_distantearthmovie.htm");
options[4]=new Option("Movie Global Temperatures ","ndt_globaltemperaturesmovie.htm");
options[5]=new Option("World Weather Movie ","ndt_wholeearthmovie.htm");


options[0].selected=true

 

 

}

}
//####################################################################



function MySubjectDMA10(aMenu){

nullOptionsDMA(aMenu)

 

with
(aMenu){ 

 

//Rewrites the text and values

options[0]=new Option("Select a page","none");

options[0]=new Option("Should the wallpaper get stuck right click and reload","none");

options[0].selected=true

 

 

}

}


/* ####################### goDM() ####################### */

 

function goDMA(aMenu){

if (aMenu.options.value!="none")

{

location=aMenu.options[aMenu.selectedIndex].value

} 

 

}

 

/* ####################### setUp ####################### */

 

function setUpDMA(){

with (document.formDoubleMenuDMA) {

if (menuSubjectsDMA.selectedIndex==0){

menuSubjectsDMA.options[0].selected=true

menuFilesDMA.options[0].selected=true

}

 

if (menuSubjectsDMA.selectedIndex==1)

MySubjectDMA0(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==2)

MySubjectDMA1(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==3)

MySubjectDMA2(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==4)

MySubjectDMA3(menuFilesDMA)


if (menuSubjectsDMA.selectedIndex==5)

MySubjectDMA4(menuFilesDMA)


if (menuSubjectsDMA.selectedIndex==6)

MySubjectDMA5(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==7)

MySubjectDMA6(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==8)

MySubjectDMA7(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==9)

MySubjectDMA8(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==10)

MySubjectDMA9(menuFilesDMA)

if (menuSubjectsDMA.selectedIndex==11)

MySubjectDMA10(menuFilesDMA)
 

}

}

 

/* ####################### changeFiles ####################### */

 

function changeFilesDMA(){

aMenu=document.formDoubleMenuDMA.menuSubjectsDMA

aMenu2=document.formDoubleMenuDMA.menuFilesDMA

with (aMenu){

 

switch (selectedIndex) {

case 0:

aMenu2.options.length=0;

aMenu2.options[0]=

new Option("Pages appear here","none")

aMenu2.options[0].selected=true;

history.go(0)

break 

case 1: 

MySubjectDMA0(aMenu2) 

aMenu2.options[0].text="Select a view"

break 

case 2: 

MySubjectDMA1(aMenu2) 

aMenu2.options[0].text="Select a view"

break 

case 3: 

MySubjectDMA2(aMenu2) 

aMenu2.options[0].text="Select a view"

break 

case 4: 

MySubjectDMA3(aMenu2) 

aMenu2.options[0].text="Select a view"

break 


case 5: 

MySubjectDMA4(aMenu2) 

aMenu2.options[0].text="Select a view"

break 

case 6: 

MySubjectDMA5(aMenu2) 

aMenu2.options[0].text="Select a view"

break 


case 7: 

MySubjectDMA6(aMenu2) 

aMenu2.options[0].text="Select a view"

break 
 

case 8: 

MySubjectDMA7(aMenu2) 

aMenu2.options[0].text="Select a view"

break  
 

case 9: 

MySubjectDMA8(aMenu2) 

aMenu2.options[0].text="Select a view"

break  


case 10: 

MySubjectDMA9(aMenu2) 

aMenu2.options[0].text="Select a view"

break  


case 11: 

MySubjectDMA10(aMenu2) 


aMenu2.options[0].text="Should the wallpaper get stuck: right-click&reload"
break  

}

}

 

}

//-->



<!-- ####################### end copying code (DMA) from the HEAD ####################### -->
