// Analog Clock - Parameters Head Script
// You may change the parameters here to set up your clock
// refer to http://javascript.about.com/library/blclockm1.htm
// for a description of the parameters
var clocksize=150;
var colnumbers='333333';
var colseconds='333333';
var colminutes='333333';
var colhours='333333';
var numstyle = 2;
var font_family = 'helvetica,arial,sans-serif';
var localZone = 0;
var mytimezone = 1;
var dst = 1;
var city = 'Lagos';
var country = 'Nigeria';
var fix = 1;
var xpos=0;
var ypos=0;
// 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(2);lsm.setDate(31);
var day = lsm.getDay();lsm.setDate(31-day);
lso.setMonth(9);lso.setDate(31);
day = lso.getDay();lso.setDate(31-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);

var localZone = 0;
var mytimezone = -5;
var dst = 1;
var city = 'New York';
var country = 'USA';


new clock('b',clocksize, colnumbers,colseconds,colminutes, colhours,numstyle,font_family, localZone,mytimezone,dst,city, country,fix,xpos,ypos);

var localZone = 0;
var mytimezone = 2;
var dst = 1;
var city = 'Johannesburg';
var country = 'South-Africa';

new clock('c',clocksize, colnumbers,colseconds,colminutes, colhours,numstyle,font_family, localZone,mytimezone,dst,city, country,fix,xpos,ypos);                    
