<!-- 

// drop down menu function
function goToPage2()
{
PageIndex2=document.form2.select2.selectedIndex
if  (document.form2.select2.options[PageIndex2].value != "none")
{
location = document.form2.select2.options[PageIndex2].value}
}

//define urls
var home_url = "'" + reladd + "home.html'" ;
var help_url = "'" + reladd + "help.html'" ;
var learn_url = "'" + reladd + "learn.html'" ;

var rcbig_url = "'" + reladd + "rollercoaster/rollercoaster_big.html'" ;
var cubebig_url = "'" + reladd + "tour/cube/throughcube_big.html'" ;
var trambig_url = "'" + reladd + "tour/tram/tram_big.html'" ;
var desertbig_url = "'" + reladd + "tour/desert/desert_big.html'" ;
var earthbig_url = "'" + reladd + "solar_system/earth_big.html'" ;
var marsbig_url = "'" + reladd + "solar_system/mars_big.html'" ;
var jupiterbig_url = "'" + reladd + "solar_system/jupiter_big.html'" ;
var saturnbig_url = "'" + reladd + "solar_system/saturn_big.html'" ;

var desert_url = "'" + reladd + "learning/desert/desert_none.html'" ;
var light_clock_url = "'" + reladd + "learning/light_clock/light_clock_stat.html'" ;
var two_light_clocks_url = "'" + reladd + "learning/two_light_clocks/light_clock2_stat.html'" ;
var sr_url = "'" + reladd + "learning/what_is_sr.html'" ;
var einstein_url = "'" + reladd + "learning/einstein/einstein.html'" ;
var site_map_url = "'" + reladd + "info/site_map.html'" ;
var glossary_url = "'" + reladd + "learning/glossary.html'" ;
var bibliography_url = "'" + reladd + "learning/bibliography.html'" ;
var web_sites_url = "'" + reladd + "learning/web_sites.html'" ;
var contact_url = "'" + reladd + "info/contact.html'" ;
var mindmap_url = "'" + reladd + "info/mindmap.html'" ; var einstein_image = "'" + reladd + "sharedimages/einstein3.jpg'" ;
var spacer = "'" + reladd + "sharedimages/spacer.gif'" ;


// write table. Outer table provides left border spacing
document.write("<table border=0 cellpadding=0 cellspacing=0 height=150 width=150 > <tr>") ;
document.write("<td width=8><img alt=''  src=" +spacer+ " width=8 height=1   border=0></td>") ;

document.write("<td> <table border=0 width=150 cellpadding=0 cellspacing=2>") ;

document.write("<tr><td align='center' height=40>");

document.write("<h2>" +header_title+ "</h2>");
document.write("</td></tr>");

// Drop down menu
document.write("<tr><td height=40>");

document.write("<form name='form2' id='form2' action='' >");

document.write("<select name='select2' size='1' onchange='goToPage2()' onclick='goToPage2()' >");

document.write("<option value='none'>Navigate");
document.write("<option value='none'>---------");

// Main Tour
document.write("<option value=" +rcbig_url+ " target='_top'>MAIN TOUR");
document.write("<option value=" +rcbig_url+ " target='_top'>&nbsp;&nbsp;Rollercoaster");
document.write("<option value=" +cubebig_url+ " target='_top'>&nbsp;&nbsp;Cube");
document.write("<option value=" +trambig_url+ " target='_top'>&nbsp;&nbsp;Tram");
document.write("<option value=" +desertbig_url+ " target='_top'>&nbsp;&nbsp;Desert Road");
document.write("<option value=" +earthbig_url+ " target='_top'>&nbsp;&nbsp;Earth");
document.write("<option value=" +marsbig_url+ " target='_top'>&nbsp;&nbsp;Mars");
document.write("<option value=" +jupiterbig_url+ " target='_top'>&nbsp;&nbsp;Jupiter");
document.write("<option value=" +saturnbig_url+ " target='_top'>&nbsp;&nbsp;Saturn");
document.write("<option value='none'>---------");

// Learning Centre Tour highlights
document.write("<option value=" +mindmap_url+ " target='_top'>LEARNING TOUR");
document.write("<option value=" +sr_url+ " target='_top'>&nbsp;&nbsp;Relativity");
document.write("<option value=" +desert_url+ " target='_top'>&nbsp;&nbsp;Desert road");
document.write("<option value=" +light_clock_url+ " target='_top'>&nbsp;&nbsp;Time");
document.write("<option value=" +two_light_clocks_url+ " target='_top'>&nbsp;&nbsp;Length");
document.write("<option value=" +einstein_url+ " target='_top'>&nbsp;&nbsp;About Einstein") ;
document.write("<option value='none'>---------");

// Reference
document.write("<option value=" +site_map_url+ " target='_top'>REFERENCE");
document.write("<option value=" +site_map_url+  " target='_top'>&nbsp;&nbsp;Site map");
document.write("<option value=" +glossary_url+ " target='_top'>&nbsp;&nbsp;Glossary") ;
document.write("<option value=" +bibliography_url+  " target='_top'>&nbsp;&nbsp;Bibliography");
document.write("<option value=" +web_sites_url+  " target='_top'>&nbsp;&nbsp;Web sites");
document.write("<option value=" +contact_url+  " target='_top'>&nbsp;&nbsp;Contact us");

document.write("</select> </form>");

document.write("</td></tr>");

// Main navigation
document.write("<tr><td height=20 onMouseOver=this.className='menuover' onMouseOut=this.className='menuout' nowrap>"); // Home
document.write("<a href=" +home_url+ " target='_top' title='Links to important pages'>Home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td></tr>");

document.write("<tr><td class='rule'><img alt=''  src=" +spacer+ " width=100 height=1   border=0></td></tr>"); // Help
document.write("<tr><td height=20 onMouseOver=this.className='menuover' onMouseOut=this.className='menuout' nowrap>");

document.write("<a href=" +help_url+ " target='_top' title='Technical and Navigation help'>Help&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td></tr>");

document.write("<tr><td class='rule'><img alt=''  src=" +spacer+ " width=100 height=1   border=0></td></tr>"); // Learning Centre
document.write("<tr><td height=20 onMouseOver=this.className='menuover' onMouseOut=this.className='menuout' nowrap>");

document.write("<a href=" +learn_url+ " target='_top' title='In depth information'>Learning Centre&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> </td></tr>");
 

document.write("<tr> <td>") ;

document.write("<br>"); // Einstein image
// random integer between 0 to 9
var quote_num = Math.round(10*Math.random());

if( quote_num == 0 )
{var einstein_quote = " title='Science will stagnate if it is made to serve practical goals.'" ;}
else if ( quote_num == 1 )
{var einstein_quote = " title='I must seek in the stars what was denied to me on Earth.'" ;}
else if ( quote_num == 2 )
{var einstein_quote = " title='I like neither new clothes nor new kinds of food.'" ;}
else if ( quote_num == 3 )
{var einstein_quote = " title='I am a deeply religious nonbeliever.'" ;}
else if ( quote_num == 4 )
{var einstein_quote = " title='Why is it that nobody understands me, yet everybody likes me?'" ;}
else if ( quote_num == 5 )
{var einstein_quote = " title='I never worry about the future. It comes soon enough.'" ;}
else if ( quote_num == 6 )
{var einstein_quote = " title='I have no special talents. I am only passionately curious.'" ;}
else if ( quote_num == 7 )
{var einstein_quote = " title='I very rarely think in words at all.'" ;}
else if ( quote_num == 8 )
{var einstein_quote = " title='God gave me the stubborness of a mule and a fairly keen scent.'" ;}
else
{var einstein_quote = " title='All science is nothing more than the refinement of everyday thinking.'" ;}

document.write("<center><a href=" +einstein_url+ " target='_top'> <img alt=''  src=" +einstein_image+ einstein_quote+ " border=0 width=125></a></center>");

document.write("<img alt=''  src=" +spacer+ " width=120 height=20  >");

document.write("</td> </tr>");



// Small movie, if applicable
if( movie_type == "small" )
{
document.write("<tr><td height=20 onMouseOver=this.className='menuover' onMouseOut=this.className='menuout' nowrap>");

document.write("<a href=" +movie_url+ " target='_top' title='Full size movie, no explanantions'>Big Movie&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> </td></tr>");

document.write("<tr><td class='rule'><img alt=''  src=" +spacer+ " width=100 height=1   border=0></td></tr>");
}

// Big movie, if applicable
if( movie_type == "big" )
{
document.write("<tr><td height=20 onMouseOver=this.className='menuover' onMouseOut=this.className='menuout' nowrap>");

document.write("<a href=" +movie_url+ " target='_top' title='Small movie with detailed explanations'>Movie explained&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> </td></tr>");

document.write("<tr><td class='rule'><img alt=''  src=" +spacer+ " width=100 height=1   border=0></td></tr>");
}

// Continue tour, if applicable
if( tour_next != "" )
{
document.write("<tr><td height=20 onMouseOver=this.className='menuover' onMouseOut=this.className='menuout' nowrap>");

document.write("<b><a href=" +tour_next+ " target='_top' title='A guided tour through the site'>"+tour_pos+"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></b> </td></tr>");
}


document.write("</table> </td>");

document.write("</tr></table>");

-->