// Analog Clock - Parameters Head Script
// You may change the parameters here to set up your clock
// refer to http://javascript.about.com/library/blclock1.htm
// for a description of the parameters
var clocksize=90;
var colnumbers='000000';
var colseconds='ff0000';
var colminutes='000000';
var colhours='000000';
var numstyle = 0;
var font_family = 'helvetica,arial,sans-serif';
var localZone = 0;
var mytimezone = 7;
var dst = 0;
var city = '';
var country = '';
var fix = 1;
var xpos=17;
var ypos=5;
 
// code to adjust for daylight saving time if applicable (localzone = 0)
var gmt = new Date;var lsm = new Date;var lso = new Date;
lsm.setMonth(3);lsm.setDate(7);var day = lsm.getDay();lsm.setDate(7-day);
lso.setMonth(9);lso.setDate(7);day = lso.getDay();lso.setDate(7-day);
if (gmt < lsm || gmt >= lso) dst = 1;
 
// code to handle clock positioning (fix = 0)
 
new clock('a',clocksize,colnumbers,colseconds,colminutes,colhours,numstyle,font_family,localZone,mytimezone,dst,city,country,fix,xpos,ypos);

city = '';
country = '';
mytimezone = 1;
dst = 1;

new clock('b',clocksize,colnumbers,colseconds,colminutes,colhours,numstyle,font_family,localZone,mytimezone,dst,city,country,fix,xpos,ypos);

city = '';
country = '';
mytimezone = 0;
dst = 0;

new clock('c',clocksize,colnumbers,colseconds,colminutes,colhours,numstyle,font_family,localZone,mytimezone,dst,city,country,fix,xpos,ypos);

