<?xml version="1.0" encoding="UTF-8"?>
<html><head>
<base href="Private/"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<script type="text/javascript" src="configureMe.js"/>
<script type="text/javascript" src="Wallpaper.js"/>
<style>
body {
background-color: none;
margin: 310px 0 0 25px;
padding: 0px 0 0 0;
height: 480px;
width: 320px;
}
SPAN#clock
{
font-family: Trebuchet MS;
color: transparent;
font-size: 30px;
}
SPAN#ampm
{
font-family: Trebuchet MS;
font-weight: normal;
color: #000000;
font-size: 12px;
}
TD#date
{
font-family: Trebuchet MS;
font-size: 14px;
font-weight: 300;
text-align: Center;
top: -15px;
color: #FFFFFF;
text-shadow: 0px 2px 2px black;
}
</style>
<script type="text/javascript">
<!--
var this_weekday_name_array = new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi")
var this_month_name_array = new Array("Janvier","Fevrier","Mars","Avril","Mai","Juin","Juillet","Aout","Septembre","Octobre","Novembre","Decembre") //predefine month names
var this_date_timestamp = new Date()
var this_weekday = this_date_timestamp.getDay()
var this_date = this_date_timestamp.getDate()
var this_month = this_date_timestamp.getMonth()
var this_year = this_date_timestamp.getYear()
if (this_year < 1000)
this_year+= 1900;
if (this_year==101)
this_year=2001;
var this_date_string = this_weekday_name_array[this_weekday] + " " + this_date + " " + this_month_name_array[this_month]//concat long date string
// -->
<!--
var this_weekday_name_array = new Array("Sun,","Mon,","Tue,","Wed,","Thu,","Fri,","Sat,")
var this_month_name_array = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec") //predefine month names
var this_date_timestamp = new Date()
var this_weekday = this_date_timestamp.getDay()
var this_date = this_date_timestamp.getDate()
var this_month = this_date_timestamp.getMonth()
var this_year = this_date_timestamp.getYear()
if (this_year < 1000)
this_year+= 1900;
if (this_year==101)
this_year=2001;
//var this_date_string = this_weekday_name_array[this_weekday] + " " + this_date + " " + this_month_name_array[this_month]//concat long date string
var this_date_string = this_weekday_name_array[this_weekday] + " " + this_month_name_array[this_month] + " " + this_date + " " //concat long date string
// -->
function init ( )
{
timeDisplay = document.createTextNode ( "" );
document.getElementById("clock").appendChild ( timeDisplay );
}
function updateClock ( )
{
var currentTime = new Date ( );
var currentHours = currentTime.getHours ( );
var currentMinutes = currentTime.getMinutes ( );
var currentSeconds = currentTime.getSeconds ( );
// Pad the minutes and seconds with leading zeros, if required
currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;
// Choose either "AM" or "PM" as appropriate
//var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";
// Convert the hours component to 12-hour format if needed
//currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
// Convert an hours component of "0" to "12"
currentHours = ( currentHours == 0 ) ? 12 : currentHours;
// Compose the string for display
var currentTimeString = currentHours + ":" + currentMinutes;
// Update the time display
document.getElementById("clock").firstChild.nodeValue = currentTimeString;
}
function init2 ( )
{
timeDisplay = document.createTextNode ( "" );
document.getElementById("ampm").appendChild ( timeDisplay );
}
function amPm ( )
{
var currentTime = new Date ( );
var currentHours = currentTime.getHours ( );
// Choose either "AM" or "PM" as appropriate
var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";
//Convert the hours component to 12-hour format if needed
currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
// Convert an hours component of "0" to "12"
currentHours = ( currentHours == 0 ) ? 12 : currentHours;
// Compose the string for display
var currentTimeString = timeOfDay;
// Update the time display
document.getElementById("ampm").firstChild.nodeValue = currentTimeString;
}
// -->
function calendarDate ( )
{
var this_weekday_name_array = new Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag")
var this_month_name_array = new Array("Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez") //predefine month names
var this_date_timestamp = new Date()
var this_weekday = this_date_timestamp.getDay()
var this_date = this_date_timestamp.getDate()
var this_month = this_date_timestamp.getMonth()
//document.getElementById("calendar").firstChild.nodeValue = this_weekday_name_array[this_weekday] + " " + this_date + " " + this_month_name_array[this_month]//concat long date string
document.getElementById("calendar").firstChild.nodeValue = this_weekday_name_array[this_weekday] + "," + " " + this_date + " " + this_month_name_array[this_month]//concat long date string
}
var iconExtWall = '.gif'
var locale = 'EUR|DE|GM009|DASSEL|'
var iconSetWall = 'Animated'
var enableWallpaper = true
var isCelsius = true
var useRealFeel = false
var source = 'appleAccuweatherStolen'
var stylesheetWall = 'twoLine'
var updateInterval = 60
var postal;
var demoMode = false;
var enabled;
if (location.href.indexOf("Wallpaper") > 0){
stylesheet = stylesheetLock;
iconSet = iconSetLock;
iconExt = iconExtLock;
enabled = enableLockScreen;
}else{
stylesheet = stylesheetWall;
iconSet = iconSetWall;
iconExt = iconExtWall;
enabled = enableWallpaper;
}
if(enabled == true){
if(iconSet == null || iconSet == 'null' || iconSet == ""){
var iconSet = stylesheet;
}
var headID = document.getElementsByTagName("head")[0];
var styleNode = document.createElement('link');
styleNode.type = 'text/css';
styleNode.rel = 'stylesheet';
styleNode.href = 'Stylesheets/'+stylesheet+'.css';
headID.appendChild(styleNode);
var scriptNode = document.createElement('script');
scriptNode.type = 'text/javascript';
scriptNode.src = 'Sources/'+source+'.js';
headID.appendChild(scriptNode);
}
function onLoad(){
if (enabled == true){
if (demoMode == true){
document.getElementById("weatherIcon").src="IconSets/"+iconSet+"/"+"cloudy1"+iconExt;
document.getElementById("city").innerText="Somewhere";
document.getElementById("desc").innerText="Partly Cloudy";
document.getElementById("temp").innerText="100º";
document.getElementById("forecast").innerText="Sun";
}else{
document.getElementById("weatherIcon").src="IconSets/"+iconSet+"/"+"dunno"+iconExt;
validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal)
}
}else{
document.getElementsByTagName("body")[0].innerText='';
}
}
function convertTemp(num)
{
if (isCelsius == true)
return Math.round ((num - 32) * 5 / 9);
else
return num;
}
function setPostal(obj){
if (obj.error == false){
if(obj.cities.length > 0){
postal = escape(obj.cities[0].zip).replace(/^%u/g, "%")
document.getElementById("WeatherContainer").className = "";
weatherRefresherTemp();
}else{
document.getElementById("city").innerText="Not Found";
document.getElementById("WeatherContainer").className = "errorLocaleNotFound";
}
}else{
document.getElementById("city").innerText=obj.errorString;
document.getElementById("WeatherContainer").className = "errorLocaleValidate";
setTimeout('validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal)', Math.round(1000*60*5));
}
}
function dealWithWeather(obj){
var translatedesc="description";
if (obj.error == false){
document.getElementById("city").innerText=obj.city;
document.getElementById("desc").innerText=obj.description.toLowerCase();
if(useRealFeel == true){
tempValue = convertTemp(obj.realFeel);
}else{
tempValue = convertTemp(obj.temp)
}
document.getElementById("temp").innerText=tempValue+"º";
document.getElementById("weatherIcon").src="IconSets/"+iconSet+"/"+MiniIcons[obj.icon]+iconExt;
document.getElementById("desc").innerText=Francais[obj.icon];
translatedesc=obj.description.toLowerCase();
/*ProductRed*/
lastResults = new Array;
lastResults[0] = {hi:obj.hi, lo:obj.lo, now:obj.temp};
var c = obj.forecast.length;
if (c > 6) c = 6; // just to be safe
for (var i=0; i<c; ++i)
{
var forecast = obj.forecast[i];
document.getElementById('hi'+i).innerText = convertTemp(forecast.hi)+"º";;
document.getElementById('low'+i).innerText = convertTemp(forecast.lo)+"º";;
lastResults[i+1] = {hi:forecast.hi, lo:forecast.lo};
}
/*ProductRed*/
document.getElementById("WeatherContainer").className = "";
}else{
//Could be down to any number of things, which is unhelpful...
document.getElementById("WeatherContainer").className = "errorWeatherDataFetch";
}
var this_weekday_name_array = new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat")
var this_month_name_array = new Array("January","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec") //predefine month names
var this_date_timestamp = new Date()
var this_weekday = this_date_timestamp.getDay()
var this_date = this_date_timestamp.getDate()
var this_month = this_date_timestamp.getMonth()
var this_year = this_date_timestamp.getYear()
if (this_year < 1000)
this_year+= 1900;
if (this_year==101)
this_year=2001;
document.getElementById("date").innerText=this_weekday_name_array[this_weekday] + ", " + this_month_name_array[this_month] + " " + this_date
}
function weatherRefresherTemp(){ //I'm a bastard ugly hack. Hate me.
fetchWeatherData(dealWithWeather,postal);
setTimeout(weatherRefresherTemp, 60*1000*updateInterval);
}
var Francais =
[
"Tornado",
"Tropischer Sturm",
"Hurricane!",
"Sturm und Gewitter",
"Gewitter",
"Regen und Schnee",
"Regen und Graupel",
"Schnee und Graupel",
"gefr. Nieselregen",
"Nieselregen",
"Eisregen",
"Schauer",
"Starke Schauer",
"Schneegestöber",
"Leichter Schneefall",
"Schneetreiben",
"Schnee",
"Hagelschauer",
"Schneeregen",
"Trübe",
"Nebelig",
"Dunst",
"Dunstig",
"Stürmisch",
"Windig",
"Bedeckt und Kalt",
"Bewölkt",
"Meist Bewölkt",
"Meist Bewölkt",
"Leicht Bewölkt",
"Leicht Bewölkt",
"Klare Nacht",
"Sonnig",
"Heiter",
"Heiter",
"Hagel und Regen",
"Heiss",
"Vereinzelt Schauer",
"Vereinzelte Gewitter",
"Vereinzelte Gewitter",
"Vereinzelte Schauer",
"Starker Schneefall",
"Schneeschauer",
"Starker Schneefall",
"Teilweise Bewölkt",
"Gewitter und Regen",
"Schneeschauer",
"Einzelne Gewitter",
]
// Modified from weatherParser.js from Leopard. Apologies to all offended.
// I'm hoping that no-one objects since it's Apple hardware and so forth.
/*
Copyright _ 2005, Apple Computer, Inc. All rights reserved.
NOTE: Use of this source code is subject to the terms of the Software
License Agreement for Mac OS X, which accompanies the code. Your use
of this source code signifies your agreement to such license terms and
conditions. Except as expressly granted in the Software License Agreement
for Mac OS X, no other copyright, patent, or other intellectual property
license or right is granted, either expressly or by implication, by Apple.
*/
var MiniIcons = //Fix Up for weatherParser.js but also enables standardisation of sorts
[
"sunny", // 1 sonnig
"cloudy1", // 2 überwiegend sonnig
"cloudy2", // 3 teilweise sonnig
"cloudy3", // 4 intermittierende Wolken
"cloudy4", // 5 dunstiger Sonnenschein
"cloudy5", // 6 vorwiegend bewölkt
"cloudy5", // 7 Bewölkt (am/pm)
"overcast", // 8 Trostlos (am/pm)
"dunno", // 9 retired
"dunno", // 10 retired
"fog", // 11 Nebel (am/pm)
"shower1", // 12 Schauer (am/pm)
"shower3", // 13 Gewitter mit Donner Schauer
"shower2", // 14 wolkig mit Regenschauern
"tstorm3", // 15 Gewitter (am/pm)
"tstorm2", // 16 Gewitter mit Donner Schauer
"tstorm1", // 17 Teilweise sonnig mit Gewitterregen
"light_rain", // 18 Regen (am/pm)
"cloudy5", // 19 Schneeschauer(am/pm)
"cloudy4", // 20 Gewitter mit Böen
"cloudy2", // 21 Teilweise sonnig mit Schneegestöber
"snow5", // 22 Schnee (am/pm)
"snow3", // 23 Gewitter mit Schnee
"hail", // 24 Glatteis (am/pm)
"sleet", // 25 Schneeregen (am/pm)
"hail", // 26 Gefrierender Regen(am/pm)
"dunno", // 27 retired
"dunno", // 28 retired
"sleet", // 29 Regen und Schnee vermischt(am/pm)
"sunny", // 30 Heiss(am/pm)
"sunny_night", // 31 Kalt (am/pm)
"wind", // 32 Windig(am/pm)
// Night only Icons;
"sunny_night", // 33 Klar
"cloudy1_night", // 34 teilweise bewölkt
"cloudy2_night", // 35 teilweise bewölkt
"cloudy3_night", // 36 intermittierende Wolken
"cloudy4_night", // 37 Dunstig
"cloudy5_night", // 38 Vorwiegend bewölkt
"shower2_night", // 39 Gewitter mit Regen
"shower3_night", // 40 Bewölkt mit Regenschauern
"tstorm1_night", // 41 Gewitter mit Donner Schauer
"tstorm2_night", // 42 Gewitter mit Donner Schauer
"cloudy4_night", // 43 Gewitter mit Böen
"cloudy4_night" // 44 Gewitter mit Böen
];
function getURLForSmallIcon (code)
{
var src = '';
if (code)
{
src = miniIconTable[code];
if (src === undefined)
src = '';
}
return src;
}
function findChild (element, nodeName)
{
var child;
for (child = element.firstChild; child != null; child = child.nextSibling)
{
if (child.nodeName == nodeName)
return child;
}
return null;
}
function trimWhiteSpace (string)
{
return string.replace(/^\s*/, '').replace(/\s*$/, '');
}
// returns an anonymous object like so
// object
// error: Boolean false for success
// errorString: failure string
// hi: Fahrenheit
// lo: Fahrenheit
// temp: Fahrenheit
// realFeel: Farenheit
// icon : accuweather icon code
// description: accuweather description
// city: City (first caps)
// time: time 24 hours(nn:nn)
// sunset: time 24 hours (nn:nn)
// sunrise: time 24 hours (nn:nn)
function fetchWeatherData (callback, zip)
{
//var url = 'http://apple.accuweather.com/adcbin/apple/Apple_Weather_Data.asp?zipcode=';
var url = 'http://wu.apple.com/adcbin/apple/Apple_Weather_Data.asp?zipcode=';
if (window.timerInterval != 300000)
window.timerInterval = 300000; // 5 minutes
var xml_request = new XMLHttpRequest();
xml_request.onload = function(e) {xml_loaded(e, xml_request, callback);}
xml_request.overrideMimeType("text/xml");
xml_request.open("GET", url+zip);
xml_request.setRequestHeader("Cache-Control", "no-cache");
xml_request.setRequestHeader("wx", "385");
xml_request.send(null);
return xml_request;
}
function constructError (string)
{
return {error:true, errorString:string};
}
// parses string of the form nn:nn
function parseTimeString(string)
{
var obj = null;
try {
var array = string.match (/\d{1,2}/g);
obj = {hour:parseInt(array[0], 10), minute:parseInt(array[1],10)};
}
catch (ex)
{
// ignore
}
return obj;
}
function parseDayCode (dayCode)
{
return trimWhiteSpace(dayCode).substr (0, 3).toUpperCase();
}
function xml_loaded (event, request, callback)
{
if (request.responseXML)
{
var obj = {error:false, errorString:null};
var adc_Database = findChild (request.responseXML, "adc_Database");
if (adc_Database == null) {callback(constructError("no <adc_Database>")); return;}
var CurrentConditions = findChild (adc_Database, "CurrentConditions");
if (CurrentConditions == null) {callback(constructError("no <CurrentConditions>")); return;}
var tag = findChild (CurrentConditions, "Time");
if (tag != null)
obj.time = parseTimeString (tag.firstChild.data);
else
obj.time = null;
tag = findChild (CurrentConditions, "City");
if (tag == null) {callback(constructError("no <City>")); return;}
obj.city = trimWhiteSpace(tag.firstChild.data.toString()).toLowerCase();
tag = findChild (CurrentConditions, "Temperature");
if (tag == null) {callback(constructError("no <Temperature>")); return;}
obj.temp = parseInt (tag.firstChild.data);
tag = findChild (CurrentConditions, "RealFeel");
if (tag == null) {callback(constructError("no <RealFeel>")); return;}
obj.realFeel = parseInt (tag.firstChild.data);
tag = findChild (CurrentConditions, "WeatherText");
if (tag == null)
obj.description = null;
else
obj.description = trimWhiteSpace(tag.firstChild.data);
tag = findChild (CurrentConditions, "WeatherIcon");
if (tag == null) {callback(constructError("no <WeatherIcon>")); return;}
obj.icon = parseInt (tag.firstChild.data, 10);
obj.icon -= 1; //Accuweather starts at 1
obj.sunset = null;
obj.sunrise = null;
var Planets = findChild (adc_Database, "Planets");
if (Planets != null)
{
tag = findChild (Planets, "Sun");
if (tag != null)
{
var rise = tag.getAttribute("rise");
var set = tag.getAttribute("set");
if (rise != null && set != null)
{
obj.sunset = parseTimeString (set);
obj.sunrise = parseTimeString(rise);
}
}
}
obj.forecast = new Array;
var Forecast = findChild (adc_Database, "Forecast");
if (Forecast == null) {callback(constructError("no <Forecast>")); return;}
// assume the days are in order, 1st entry is today
var child;
var j=0;
var firstTime = true;
for (child = Forecast.firstChild; child != null; child = child.nextSibling)
{
if (child.nodeName == 'day')
{
if (firstTime) // today
{
obj.hi = 0;
tag = findChild(child, 'High_Temperature');
if (tag != null)
obj.hi = parseInt (tag.firstChild.data);
obj.lo = 0;
tag = findChild(child, 'Low_Temperature');
if (tag != null)
obj.lo = parseInt (tag.firstChild.data);
firstTime = false;
}
var foreobj = {description:null, hi:0, lo:0, icon:-1};
tag = findChild(child, 'DayCode');
if (tag != null)
foreobj.daycode = trimWhiteSpace(tag.firstChild.data.toString()).substring(0,3);
tag = findChild(child, 'High_Temperature');
if (tag != null)
foreobj.hi = parseInt (tag.firstChild.data);
tag = findChild(child, 'Low_Temperature');
if (tag != null)
foreobj.lo = parseInt (tag.firstChild.data);
tag = findChild(child, 'WeatherIcon');
if (tag != null)
{
foreobj.icon = parseInt (tag.firstChild.data, 10);
foreobj.ouricon = MiniIcons[foreobj.icon-1];
}
obj.forecast[j++]=foreobj;
if (j == 7) break; // only look ahead 7 days
}
}
callback (obj);
}
else
{
callback ({error:true, errorString:"XML request failed. no responseXML"}); //Could be any number of things..
}
}
// returns an anonymous object like so
// object
// error: Boolean false for success
// errorString: failure string
// cities: array (alphabetical by name)
// object
// name: city name
// zip: postal code
// state: city state
// refine: boolean - true if the search is too generic
function validateWeatherLocation (location, callback)
{
//var url = 'http://apple.accuweather.com/adcbin/apple/Apple_find_city.asp?location=';
var url = 'http://wu.apple.com/adcbin/apple/Apple_find_city.asp?location=';
var xml_request = new XMLHttpRequest();
xml_request.onload = function(e) {xml_validateloaded(e, xml_request, callback);}
xml_request.overrideMimeType("text/xml");
xml_request.open("GET", url+location);
xml_request.setRequestHeader("Cache-Control", "no-cache");
xml_request.send(null);
}
function xml_validateloaded (event, request, callback)
{
if (request.responseXML)
{
var obj = {error:false, errorString:null, cities:new Array, refine:false};
var adc_Database = findChild (request.responseXML, "adc_Database");
if (adc_Database == null) {callback(constructError("no <adc_Database>")); return;}
var CityList = findChild (adc_Database, "CityList");
if (CityList == null) {callback(constructError("no <CityList>")); return;}
if (CityList.getAttribute('extra_cities') == '1')
obj.refine = true;
for (child = CityList.firstChild; child != null; child = child.nextSibling)
{
if (child.nodeName == "location")
{
var city = child.getAttribute("city");
var state = child.getAttribute("state");
var zip = child.getAttribute("postal");
if (city && state && zip)
{
obj.cities[obj.cities.length] = {name:city, state:state, zip:zip};
}
}
}
callback (obj);
}
else
{
callback ({error:true, errorString:"No Response"});
}
}
function createGoToURL (location)
{
return 'http://apple.accuweather.com/adcbin/apple/Apple_weather.asp?location=' + escape(location);
}
</script>
</head>
<body onload="onLoad()">
<center><div id="fond" style="display:block;position: absolute;z-order:10; top: 49px; left: 0px; width: 64px; height: 64px;">
<img src="">
</div></center>
<center><div id="icon" style="display:block;position: absolute;z-order:0; top: 57px; left: 15px; width: 296x; height: 92px;">
<img id="weatherIcon" src=""/>
</div></center>
<div id="WeatherContainer">
<div id="TextContainer">
<city
<p style="display:block;position: absolute; top: 67px;left:20px;right:0px;width: 200px;color: #ffffff;text-shadow: 0px 2px 2px black;font-size:15px;font-family: Trebuchet MS;font-weight:500;" id="city"></p>
<temp
<p style="display:block;position: absolute; top: 94px;left:220px;width: 310px;color: #ffffff;font-family: Trebuchet MS;text-shadow: 0px 2px 2px black;" id="temp"></p>
<weather
<p style="display:block;position: absolute; top: 111px;left:22px;width: 200px;color: #ffffff;text-align: left;font-family:Trebuchet MS;text-shadow: 0px 2px 2px black;font-size:12px;font-weight:400" id="desc"></p>
<hi
<p style="display:block;position: absolute; top: 99px;left:265px;width: 310px;color: #ffffff;text-shadow: 0px 2px 2px black;font-family: Trebuchet MS;font-weight: 300;font-size:12px;" id="hi" >H:</p>
<lo
<p style="display:block;position: absolute; top: 110px;left:265px;width: 310px;color: #ffffff;text-shadow: 0px 2px 2px black;font-family: Trebuchet MS;font-weight: 300;font-size:12px;" id="low" >L:</p>
</div>
</div>
<div id="Forecast" >
<hi Temp
<p style="display:block;position: absolute; top: 87px;left:283px;width: 310px;color: #ffffff;text-shadow: 0px 2px 2px black;font-family: Trebuchet MS;font-weight: 300;font-size:12px;" id="hi0" ></p>
<Low temp number
<p style="display:block;position: absolute; top: 98px;left:283px;width: 310px;color: #ffffff;text-shadow: 0px 2px 2px black;font-family: Trebuchet MS;font-weight: 300;font-size:12px;" id="low0" ></p>
</div>
</div>
<PM
<table style="position: absolute; top: 81px; left: -41px; width: 0px; height: 0px;" cellspacing="0" cellpadding="0" align="LEFT">
<tr align="center" valign="top" border="0" cellpadding="0">
<td height="10" valign="top">
<span id="ampm">
<script language="JavaScript">amPm(); setInterval('amPm()', 1000 )</script>
</span>
</td>
</tr>
<Date
<table style="position: absolute; top: 31px; left: 169px; width: 180px; height: 461px; color: #ffffff; " cellspacing="0" cellpadding="0" align="LEFT">
<tr align="center" valign="top" border="0" cellpadding="0">
<td height="10" valign="top">
<span id="clock">
<script language="JavaScript">updateClock(); setInterval('updateClock()', 1000 )</script></span>
</td>
</tr>
<tr>
<td id="date" valign="top">
<span id="calendar">
<script language="JavaScript">calendarDate(); setInterval('calendarDate()', 1000 )</script>
</span>
</td>
</tr>
<table style="position: absolute; top: -135px; left: 30px; width: 320px; height: 461px;" cellspacing="" cellpadding="" align="center">
<td height="40" border="0">
<img src="dgc.gif" name="hr1" width="0" heigth="0">
</td></table>
<table style="position: absolute; top: -135px; left: 88px; width: 320px; height: 461px;" cellspacing="" cellpadding="" align="right">
<td height="40" border="0">
<img src="dgc.gif" name="hr2" width="0" heigth="0"><img
src="dgz.gif" name="c" width="0" heigth="0">
</td></table>
<table style="position: absolute; top: -135px; left: 170px; width: 320px; height: 461px;" cellspacing="" cellpadding="" align="right">
<td height="40" border="0">
<img src="dg8.gif" name="mn1" width="0" heigth="0">
</td></table>
<table style="position: absolute; top: -135px; left: 230px; width: 320px; height: 461px;" cellspacing="" cellpadding="" align="center">
<td height="40" border="0">
<img src="dg8.gif" name="mn2" width="0" heigth="0">
</td></table>
<table style="position: absolute; top: -135px; left: 62px; width: 320px; height: 461px;" cellspacing="" cellpadding="" align="center">
<td height="40" border="0">
<img src="dgc.gif" name="hr3" width="0" heigth="0">
</td></table>
<script type="text/javascript"><!-- start
dg0 = new Image();dg0.src = "dg0.gif";
dg1 = new Image();dg1.src = "dg1.gif";
dg2 = new Image();dg2.src = "dg2.gif";
dg3 = new Image();dg3.src = "dg3.gif";
dg4 = new Image();dg4.src = "dg4.gif";
dg5 = new Image();dg5.src = "dg5.gif";
dg6 = new Image();dg6.src = "dg6.gif";
dg7 = new Image();dg7.src = "dg7.gif";
dg8 = new Image();dg8.src = "dg8.gif";
dg9 = new Image();dg9.src = "dg9.gif";
dgc = new Image();dgc.src = "dgc.gif";
dgz = new Image();dgz.src = "dgz.gif";
dgb = new Image();dgb.src = "dgb.gif";
function dotime(){
theTime=setTimeout('dotime()',1000);
d = new Date();
hr= d.getHours()+100;
mn= d.getMinutes()+100;
se= d.getSeconds()+100;
if(hr==100){hr=112;am_pm='am';}
else if(hr<112){am_pm='am';}
else if(hr==112){am_pm='pm';}
else if(hr>112){am_pm='pm';hr=(hr-12);}
tot=''+hr+mn+se;
if (se%2==0){document.c.src = 'dgz.gif';}
else {document.c.src = 'dgc.gif';}
document.mn1.src = 'dg'+tot.substring(4,5)+'.gif';
document.mn2.src = 'dg'+tot.substring(5,6)+'.gif';
if ((hr==110)||(hr==111)||(hr==112)){document.hr1.src = 'dg'+tot.substring(1,2)+'.gif';document.hr2.src = 'dg'+tot.substring(2,3)+'.gif';document.hr3.src = 'dgc.gif';}
else {document.hr1.src = 'dgc.gif';document.hr2.src = 'dgc.gif';document.hr3.src = 'dg'+tot.substring(2,3)+'.gif';}
}
dotime();
//end -->
</script>
</body></html>