/*----------------------------------------------------------------------------* * ***** head.js -- Make page head, including menus * * Purpose: * -------- * * Generate the pagehead which is needed by all Intranet pages of Carleen * Extracted from the examples by Hans de Vries, KNMI/WM. * *============================================================================*/var pathlistvar toclist = new Array(0)var langlist = new Array(0)function head(){// Start with loading some images for the menu bars, formerly as "onLoad" in the <body> tag/*MM_preloadImages('http://www.phys.uu.nl/~reijmer/files/logoimau.jpg',                 'http://www.phys.uu.nl/~reijmer/files/carleen.jpg',                 'http://www.phys.uu.nl/~reijmer/files/kleur.jpg',                 'http://www.phys.uu.nl/~reijmer/files/aws6_rand.jpg')*/// Decloaking, borrowed from the KNMI Intranet siteif (self != top) top.location = self.locationdocument.writeln(" <a name=\"top\"></a> ")document.writeln(" <div class=\"wrapperbox\"> ")// The Magics Internet headerdocument.writeln(" <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" ")document.writeln("        bgcolor=\"#FFFFFF\">")document.writeln("  <tr> ")document.writeln("   <td colspan=\"2\"> ")document.writeln("    <table class=\"titletab\" cellspacing=\"0\"  ")document.writeln("           cellpadding=\"5\"> ")document.writeln("     <tr> ")document.writeln("      <td> ")document.writeln("       <h1>IASC Network on Arctic Glaciology</h1> ")document.writeln("       <h2>Dynamics and mass balance of Arctic glaciers and ")document.writeln("           ice sheets in relation to sea level and climate ")document.writeln("           change</h2> ")document.writeln("      </td> ")document.writeln("      <td> ")document.writeln("       <div class=\"pictureboxr160\"> ")document.writeln("       <img src=\"pictures/researchstat.jpg\" width=\"150\" ")document.writeln("           height=\"80\" border=\"0\" alt=\"\"></div>")document.writeln("      </td> ")document.writeln("     </tr> ")document.writeln("    </table> ") /*End titletab*/document.writeln("   </td> ")document.writeln("  </tr> ")document.writeln("  <tr> ")document.writeln("   <td valign=\"top\" bgcolor=\"#99CCCC\" align=\"center\">")document.writeln("    <table class=\"menutab\" cellspacing=\"5\"  ")document.writeln("           cellpadding=\"0\"> ")document.writeln("     <tr><td><a href=\"home.html\" class=\"menulink\">")document.writeln("                HOME</a></td></tr> ")document.writeln("     <tr><td><a href=\"activities.html\" class=\"menulink\">")document.writeln("                Activities</a></td></tr> ")document.writeln("     <tr><td><a href=\"massbalance.html\" ")document.writeln("              class=\"menulink\">Mass balance</a></td></tr> ")document.writeln("     <tr><td><h1><a href=\"representatives.html\" ")document.writeln("                class=\"menulink\">National ")document.writeln("                representatives</a></h1></td></tr> ")document.writeln("     <tr><td><a href=\"publications.html\" ")document.writeln("              class=\"menulink\">Publications</a></td></tr> ")document.writeln("     <tr><td><a href=\"glaciodyn.html\" ")document.writeln("              class=\"menulink\">GLACIODYN")document.writeln("              </a></td></tr> ")document.writeln("    </table> ")document.writeln("    <div align=\"center\">  ")document.writeln("     <br><a href=\"http://www.iasc.no\" target=\"_blank\"> ")document.writeln("     <img src=\"files/iasc.gif\" width=\"80px\" ")document.writeln("          height=\"41px\" border=\"0\" alt=\"\" ")document.writeln("          class=\"picturebox\"></a> ")document.writeln("    </div> ")document.writeln("   </td> ")document.writeln("   <td valign=\"top\" width=\"100%\">")document.writeln("    <table class=\"contenttab\" cellspacing=\"0\" ")document.writeln("         cellpadding=\"10\"> ")document.writeln("     <tr><td>")}function footer(){document.writeln("    <a href=\"#top\"> ")document.writeln("    <div align=\"right\" class=\"H8\">Back to top ")document.writeln("     <img src=\"files/arrow.gif\" width=\"25\" ")document.writeln("        height=\"27\" border=\"0\"> ")document.writeln("    </div></a>")document.writeln("   </td></tr> ")document.writeln("  </table> ") /*End contenttab*/document.writeln(" </td></tr></table> ") /*End page table*/}function totop(){document.writeln(" <a href=\"#top\"><div align=\"right\" class=\"H8\"> ")document.writeln("     Back to top ")document.writeln("    <img src=\"files/arrow.gif\" width=\"25\" ")document.writeln("     height=\"27\" border=\"0\"> </div>")document.writeln("  </a>")}
