Commit d926d64d authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Third package structure revision.

Former-commit-id: 720ad819
Former-commit-id: 22e18a7b
parent 83670bd1
......@@ -66,11 +66,16 @@ target/
.idea/
BAK/
OLD/
database/cloud_classifier/
database/sampledata/
database/metadata/
database/tiling_system/
database/processed_data/
/geomultisens/database/cloud_classifier/
/geomultisens/database/sampledata/
/geomultisens/database/metadata/
/geomultisens/database/tiling_system/
/geomultisens/database/processed_data/
/geomultisens/database/earth_sun_distance/
/geomultisens/database/solar_irradiance/
!/geomultisens/database/earth_sun_distance/Earth_Sun_distances_per_day_edited.csv
!/geomultisens/database/solar_irradiance/SUNp1fontenla__350-2500nm_converted.txt
!/geomultisens/database/solar_irradiance/SUNp1fontenla__350-2500nm_@0.1nm_converted.txt
.ipynb_checkpoints/
io/envi_io.py
......@@ -87,3 +92,5 @@ sandbox/Landsat-8__OLI_TIRS__LC81930242016119LGN00__32UPB_masks_L2C.hdr
sandbox/Landsat-8__OLI_TIRS__LC81940242015091LGN00__32UNC_masks_L2C__compressed.bsq
sandbox/job_logs/
sandbox/meta_validation/
......@@ -6,8 +6,10 @@ Development Lead
----------------
* Daniel Scheffler <daniel.scheffler@gfz-potsdam.de>
** <http://www.gfz-potsdam.de/en/section/remote-sensing/staff/profil/daniel-scheffler/>
Contributors
------------
None yet. Why not be the first?
* Robert Behling <robert.behling@gfz-potsdam.de>
* Daniel Eggert <daniel.eggert@gfz-potsdam.de>
# -*- coding: utf-8 -*-
import os
from __future__ import (division, print_function, unicode_literals,absolute_import)
import os
#wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda3-2.4.1-Linux-x86_64.sh
# bash Anaconda3-2.4.1-Linux-x86_64.sh
......@@ -64,4 +64,4 @@ csh("cd..")
csh("cd..")
csh("rm -rf %s" %TEMPDIR)
print("Deleting temporary files...")
\ No newline at end of file
print("Deleting temporary files...")
calculated using the NASA link:
http://ssd.jpl.nasa.gov/horizons.cgi#top
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>HORIZONS Web-Interface</title>
<meta name="robots" content="index,nofollow">
<link rel="shortcut icon" href="http://ssd.jpl.nasa.gov/favicon.ico">
<!-- Include standard site Javascript functions -->
<script language="JavaScript" src="horizon_web_interface.cgi_files/jpl_std.js" type="text/javascript"></script>
<script language="JavaScript" src="horizon_web_interface.cgi_files/row_hiliter.js" type="text/javascript"></script>
<!-- Safely import CSS file(s) -->
<!-- common "safe" CSS file -->
<link rel="StyleSheet" href="horizon_web_interface.cgi_files/ssd.css" type="text/css" media="screen">
<!-- Include "other" CSS file (prevents browsers with partial CSS support from loading) -->
<style type="text/css">
<!--
@import "css/nav_menu.css";
@import "css/ssd_extra.css";
-->
</style>
<!-- Include site-global standard META tags -->
<meta name="Author" content="Alan Chamberlin">
<meta name="keywords" content="Solar System Dynamics,Solar System,Dynamics,Orbital Mechanics,Orbits">
<meta name="JPL-clearance" content="CL 97-0935">
</head>
<body bgcolor="#000000">
<!-- Skip navigation link -->
<a href="#content"><img src="horizon_web_interface.cgi_files/blank.gif" alt="Skip Page Navigation" border="0" height="0" width="0"></a>
<!-- black HTML-page background with 10px margins (cellpadding=10, body margin 0px) -->
<table align="center" bgcolor="#000000" border="0" cellpadding="10" cellspacing="0" width="100%">
<tbody><tr valign="top">
<td>
<!-- white content-"page" background with 10px border -->
<table align="center" bgcolor="#FFFFFF" border="0" cellpadding="10" cellspacing="0" width="750">
<tbody><tr valign="top">
<td>
<table align="center" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0" width="730">
<!-- JPL standard header -->
<tbody><tr valign="top">
<td align="left" bgcolor="#FFFFFF" width="100%">
<map name="Map">
<area shape="circle" coords="31,26,24" href="http://www.nasa.gov/" alt="NASA">
<area shape="rect" coords="68,10,260,27" href="http://www.jpl.nasa.gov/" alt="JPL">
<area shape="rect" coords="68,30,240,40" href="http://www.caltech.edu/" alt="Caltech">
</map>
<table border="0" cellpadding="0" cellspacing="0" width="730">
<!-- JPL Required Heading -->
<tbody><tr valign="middle">
<td align="left" bgcolor="#CCCCCC" width="255">
<img src="horizon_web_interface.cgi_files/nasa_logo.gif" alt="NASA Logo - Jet Propulsion Laboratory" usemap="#Map" border="0" height="55" width="255">
</td>
<td align="center" bgcolor="#CCCCCC" width="40"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" width="40"></td>
<td align="center" bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/black_1x1.gif" alt="" height="40" width="1"></td>
<td align="center" bgcolor="#CCCCCC" width="10"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" width="10"></td>
<td align="left" bgcolor="#CCCCCC" nowrap="nowrap" width="200">
<a class="portal_link" href="http://www.nasa.gov/home/">+ View the NASA Portal</a>
<br>
<a class="portal_link" href="http://neo.jpl.nasa.gov/">+ Near-Earth Object (NEO) Program</a>
</td>
<td align="center" bgcolor="#CCCCCC" width="10"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" width="10"></td>
<!-- placeholder for future site-wide search form -->
<td align="center" bgcolor="#006699" width="10"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" width="10"></td>
<td align="center" bgcolor="#006699" nowrap="nowrap" width="140">
<!--<img src="images/blank.gif" height="55" width="180" alt="">-->
<form method="GET" action="http://www.jpl.nasa.gov/cgi-bin/searchjpl.pl">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td colspan="2" align="left" nowrap="nowrap"><font color="#FFFFFF" face="ariel" size="2">Search&nbsp;JPL</font></td>
</tr>
<tr>
<td align="left"><input name="q" size="12" maxlength="256" alt="Search JPL" title="Search JPL" type="text"></td>
<td align="right"><input name="search" src="horizon_web_interface.cgi_files/arrow.gif" alt="Search" title="search" type="image"></td>
</tr>
</tbody></table>
<input alt="Search JPL" name="start" value="0" type="hidden">
<input name="num" value="30" type="hidden">
<input name="site" value="default_collection" type="hidden">
<input name="client" value="default_frontend" type="hidden">
<input name="proxystylesheet" value="default_frontend" type="hidden">
<input name="output" value="xml_no_dtd" type="hidden">
</form>
</td>
</tr>
<!-- JPL Required Main Navigation Bar -->
<tr>
<td colspan="8" align="center">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr bgcolor="#FFFFFF">
<td><a href="http://www.jpl.nasa.gov/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','portal_images/topnav_01.gif',1)"><img name="home" alt="JPL Home" src="horizon_web_interface.cgi_files/topnavoff_01.gif" border="0"></a></td>
<td><a href="http://www.jpl.nasa.gov/earth/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('earth','','portal_images/topnav_02.gif',1)"><img name="earth" alt="Earth" src="horizon_web_interface.cgi_files/topnavoff_02.gif" border="0"></a></td>
<td><a href="http://www.jpl.nasa.gov/solar_system/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('solar_system','','portal_images/topnav_03.gif',1)"><img name="solar_system" alt="Solar System" src="horizon_web_interface.cgi_files/topnavoff_03.gif" border="0"></a></td>
<td><a href="http://www.jpl.nasa.gov/stars_galaxies/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('stars','','portal_images/topnav_04.gif',1)"><img name="stars" alt="Stars &amp; Galaxies" src="horizon_web_interface.cgi_files/topnavoff_04.gif" border="0"></a></td>
<td><a href="http://www.jpl.nasa.gov/technology/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('technology','','portal_images/topnav_05.gif',1)"><img name="technology" alt="Technology" src="horizon_web_interface.cgi_files/topnavoff_05.gif" border="0"></a></td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<!--?php include "include/jpl_std_head.html" ?-->
</td>
</tr>
<!-- END OF JPL REQUIRED HEADER -->
<!-- SSD standard header -->
<tr><td><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="2"></td></tr>
<tr><td align="left"><a href="http://ssd.jpl.nasa.gov/"><img src="horizon_web_interface.cgi_files/ssd_banner.jpg" alt="JPL Solar System Dynamics" border="0" height="97" width="730"></a></td></tr>
<!--<tr><td align="center"><img src="images/blank.gif" height="1" alt=""></td></tr>-->
<!-- SSD standard navigation bar -->
<tr>
<td>
<!-- Sample SSD standard top navigation bar -->
<table bgcolor="#666666" border="0" cellpadding="0" cellspacing="0" width="730">
<tbody><tr>
<td><a href="http://ssd.jpl.nasa.gov/?bodies" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('bodies','','images/nav/bodies_on.gif',1)"><img name="bodies" alt="BODIES" src="horizon_web_interface.cgi_files/bodies_off.gif" border="0" height="16" width="78"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="16" width="1"></td>
<td><a href="http://ssd.jpl.nasa.gov/?orbits" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('orbits','','images/nav/orbits_on.gif',1)"><img name="orbits" alt="ORBITS" src="horizon_web_interface.cgi_files/orbits_off.gif" border="0" height="16" width="75"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="16" width="1"></td>
<td><a href="http://ssd.jpl.nasa.gov/?ephemerides" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ephemerides','','images/nav/ephemerides_on.gif',1)"><img name="ephemerides" alt="EPHEMERIDES" src="horizon_web_interface.cgi_files/ephemerides_off.gif" border="0" height="16" width="121"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="16" width="1"></td>
<td><a href="http://ssd.jpl.nasa.gov/?tools" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('tools','','images/nav/tools_on.gif',1)"><img name="tools" alt="TOOLS" src="horizon_web_interface.cgi_files/tools_off.gif" border="0" height="16" width="74"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="16" width="1"></td>
<td width="126"><a href="http://ssd.jpl.nasa.gov/?phys_data" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('phys_data','','images/nav/phys_data_on.gif',1)"><img name="phys_data" alt="PHYSICAL DATA" src="horizon_web_interface.cgi_files/phys_data_off.gif" border="0" height="16" width="126"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="16" width="1"></td>
<td><a href="http://ssd.jpl.nasa.gov/?discovery" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('discovery','','images/nav/discovery_on.gif',1)"><img name="discovery" alt="DISCOVERY" src="horizon_web_interface.cgi_files/discovery_off.gif" border="0" height="16" width="102"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="16" width="1"></td>
<td><a href="http://ssd.jpl.nasa.gov/?faq" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('faq','','images/nav/faq_on.gif',1)"><img name="faq" alt="FAQ" src="horizon_web_interface.cgi_files/faq_off.gif" border="0" height="16" width="57"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="16" width="1"></td>
<td><a href="http://ssd.jpl.nasa.gov/?site_map" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('site_map','','images/nav/site_map_on.gif',1)"><img name="site_map" alt="SITE&nbsp;MAP" src="horizon_web_interface.cgi_files/site_map_off.gif" border="0" height="16" width="90"></a></td>
</tr>
</tbody></table>
<!--?php include "include/ssd_top_nav_bar.html" ?-->
<!--
<table border="0" cellspacing="0" cellpadding="0" width="730">
<tr><td align="left" bgcolor="#666666">
<div class="navtext">SSD STANDARD NAVIGATION HEADER</div>
</td></tr>
<tr><td><img src="images/blank.gif" height="1" alt=""></td></tr>
<tr><td align="left" width="730" bgcolor="#666666">
<div class="navtext">SSD STANDARD NAVIGATION HEADER (LINE 2)</div>
</td></tr>
</table>
-->
</td>
</tr>
<tr><td><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="10"></td></tr>
<!-- START OF PAGE CONTENT -->
<!--<tr width="100%">-->
<tr>
<td align="left"><a name="content"> </a>
<!-- contents below will be displayed at the top of every page -->
<!-- use something like <p class="note">NOTICE: my message here</p> -->
<!--?php include "include/site_notice.html" ?-->
<div class="page_title">HORIZONS Web-Interface</div>
<table border="0" cellpadding="0" cellspacing="0" width="730">
<tbody><tr><td align="left">
This tool provides a web-based <em>limited</em> interface to
<a href="http://ssd.jpl.nasa.gov/?horizons">JPL's HORIZONS system</a>
which can be used to generate ephemerides for solar-system bodies.
Full access to <a href="http://ssd.jpl.nasa.gov/?horizons">HORIZONS</a> features is available
via the primary <a href="http://ssd.jpl.nasa.gov/?horizons#telnet">telnet interface</a>.
<a href="http://ssd.jpl.nasa.gov/?horizons_news">HORIZONS system news</a>
shows recent changes and improvements.
A <a href="http://ssd.jpl.nasa.gov/?horizons_tutorial">web-interface tutorial</a> is available
to assist new users.
</td></tr>
</tbody></table>
<h3>Current Settings</h3>
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr valign="top"><td align="right" nowrap="nowrap">Ephemeris Type [<a href="http://ssd.jpl.nasa.gov/horizons.cgi?s_type=1#top">change</a>] :&nbsp;</td> <td align="left" nowrap="nowrap"><b>OBSERVER</b></td></tr>
<tr valign="top"><td align="right" nowrap="nowrap">Target Body [<a href="http://ssd.jpl.nasa.gov/horizons.cgi?s_body=1#top">change</a>] :&nbsp;</td> <td align="left" nowrap="nowrap"><b>Sun [Sol]</b> [10]</td></tr>
<tr valign="top"><td align="right" nowrap="nowrap">Observer Location [<a href="http://ssd.jpl.nasa.gov/horizons.cgi?s_loc=1#top">change</a>] :&nbsp;</td> <td align="left" nowrap="nowrap"><b>Geocentric</b> [500]</td></tr>
<tr valign="top"><td align="right" nowrap="nowrap">Time Span [<a href="http://ssd.jpl.nasa.gov/horizons.cgi?s_time=1#top">change</a>] :&nbsp;</td> <td align="left" nowrap="nowrap">Start=<b>1980-01-01</b>, Stop=<b>2020-01-01</b>, Step=<b>1</b> <b>d</b></td></tr>
<tr valign="top"><td align="right" nowrap="nowrap">Table Settings [<a href="http://ssd.jpl.nasa.gov/horizons.cgi?s_tset=1#top">change</a>] :&nbsp;</td> <td align="left"><i>defaults</i></td></tr>
<tr valign="top"><td align="right" nowrap="nowrap">Display/Output [<a href="http://ssd.jpl.nasa.gov/horizons.cgi?s_disp=1#top">change</a>] :&nbsp;</td> <td align="left"><b>download/save</b> (plain text file)</td></tr>
</tbody></table>
<br>
<form method="post" action="http://ssd.jpl.nasa.gov/horizons.cgi#results" enctype="multipart/form-data">
<input name="go" value="Generate Ephemeris" type="submit">
</form>
<h3>Special Options:</h3>
<ul><li><a href="http://ssd.jpl.nasa.gov/horizons.cgi?set_default=1">set default ephemeris settings</a> (preserves only the selected target body and ephemeris type)</li> <li><a href="http://ssd.jpl.nasa.gov/horizons.cgi?reset=1">reset <em>all</em> settings to their defaults</a> (caution: all previously stored/selected settings will be lost)</li> <li><a href="http://ssd.jpl.nasa.gov/horizons.cgi?show=1#results">show "batch-file" data</a> (for use by the <a href="http://ssd.jpl.nasa.gov/?horizons#email">E-mail interface</a>)</li></ul>
<!-- END OF PAGE CONTENT -->
</td>
</tr>
<!-- SSD standard page footer -->
<tr><td align="center"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="10"></td></tr>
<tr><td>
<!-- Sample SSD standard bottom navigation bar -->
<table bgcolor="#666666" border="0" cellpadding="0" cellspacing="0" width="730">
<tbody><tr align="center">
<td><a href="http://ssd.jpl.nasa.gov/?about" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','images/nav/about_on.gif',1)"><img name="about" alt="ABOUT SSD" src="horizon_web_interface.cgi_files/about_off.gif" border="0"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" width="1"></td>
<td><a href="http://ssd.jpl.nasa.gov/?credits" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('credits','','images/nav/credits_on.gif',1)"><img name="credits" alt="CREDITS/AWARDS" src="horizon_web_interface.cgi_files/credits_off.gif" border="0"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" width="1"></td>
<td><a href="http://www.jpl.nasa.gov/copyrights.cfm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('copyright','','images/nav/copyright_on.gif',1)"><img name="copyright" alt="PRIVACY/COPYRIGHT" src="horizon_web_interface.cgi_files/copyright_off.gif" border="0"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" width="1"></td>
<td><a href="http://ssd.jpl.nasa.gov/?glossary" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('glossary','','images/nav/glossary_on.gif',1)"><img name="glossary" alt="GLOSSARY" src="horizon_web_interface.cgi_files/glossary_off.gif" border="0"></a></td>
<td bgcolor="#CCCCCC" width="1"><img src="horizon_web_interface.cgi_files/blank.gif" alt="" width="1"></td>
<td><a href="http://ssd.jpl.nasa.gov/?links" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('links','','images/nav/links_on.gif',1)"><img name="links" alt="LINKS" src="horizon_web_interface.cgi_files/links_off.gif" border="0"></a></td>
</tr>
</tbody></table>
<!--?php include "include/ssd_bottom_nav_bar.html" ?-->
<!--
<table border="0" cellpadding="0" cellspacing="0" width="730">
<tr>
<td align="center" width="100%" bgcolor="#666666">
<div class="navtext">SSD STANDARD NAVIGATION FOOTER</div>
</td>
</tr>
</table>
-->
</td></tr>
<!-- START OF JPL REQUIRED FOOTER -->
<!-- JPL standard page footer -->
<tr><td><img src="horizon_web_interface.cgi_files/blank.gif" alt="" height="2"></td></tr>
<tr>
<td align="left" bgcolor="#FFFFFF" width="100%">
<!-- JPL Required Standard Footer -->
<table bgcolor="#CCCCCC" border="0" cellpadding="5" cellspacing="0" width="730">
<tbody><tr>
<!-- FirstGov Link -->
<td align="left" width="100%"><a target="_blank" href="http://www.firstgov.gov/"><img src="horizon_web_interface.cgi_files/footer_image1.gif" alt="FirstGov" border="0" height="39" width="136"></a></td>
<!-- Current Date/Time stamp -->
<td align="right" nowrap="nowrap">
<font class="date_time">
<!--?php echo " ", gmdate('Y-M-d H:i'), " UT&nbsp;"; ?-->
2014-Aug-01 10:10 UT
<br>(server date/time)&nbsp;&nbsp;
</font>
</td>
<!-- NASA Link -->
<td width="61"><a target="_blank" href="http://www.nasa.gov/home/index.html"><img src="horizon_web_interface.cgi_files/footer_image2.gif" alt="NASA Home Page" border="0" height="40" width="61"></a></td>
<!-- Site Manager and Webmaster -->
<td align="right">
<table class="author" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td align="right" nowrap="nowrap">Site Manager:&nbsp;</td>
<td align="left" nowrap="nowrap">&nbsp;Donald K. Yeomans</td>
</tr>
<tr>
<td align="right" nowrap="nowrap"><a href="mailto:webmaster@ssd.jpl.nasa.gov">Webmaster</a>:&nbsp;</td>
<td align="left" nowrap="nowrap">&nbsp;Alan B. Chamberlin</td>
</tr>
<!--?php include "include/last_modified.inc" ?-->
<!--
<tr>
<td align="right" nowrap><font size="-2">&nbsp;</font></td>
<td align="left" nowrap><font size="-2">&nbsp;CL 97-0935</font></td>
</tr>
-->
</tbody></table>
</td>
</tr>
</tbody></table>
<!--?php include "include/jpl_std_foot.html" ?-->
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</body></html>
\ No newline at end of file
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("dd");
if (navRoot) {
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function() {
this.className=this.className.replace(" over", "");
}
}
}
}
}
}
window.onload=startList;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment