// 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=70;
var colnumbers='6C6C6C';
var colseconds='6C6C6C';
var colminutes='6C6C6C';
var colhours='6C6C6C';
var numstyle = 0;
var font_family = 'helvetica,arial,sans-serif';
var localZone = 0;
var mytimezone = 0;
var dst = 0;
var city = 'Reykjavik';
var country = '';
var fix = 1;
var xpos=0;
var ypos=0;
// code to adjust for daylight saving time if applicable (localzone = 0)

// 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 = 'Liege';
dst = 1;
mytimezone = 1;
numstyle = 0;
// code to adjust for daylight saving time
var gmt = new Date;
var lsm = new Date;
var lso = new Date;
lsm.setMonth(2); // March
lsm.setDate(31);
var day = lsm.getDay();// day of week of 31st
lsm.setDate(31-day); // last Sunday
lso.setMonth(9); // October
lso.setDate(31);
day = lso.getDay();
lso.setDate(31-day);
if (gmt < lsm || gmt >= lso) dst = 0;
new clock('b',clocksize, colnumbers,colseconds,colminutes, colhours,numstyle,font_family, localZone,mytimezone,dst,city, country,fix,xpos,ypos);
mytimezone = -5;
city = 'New York';
dst = 1;
numstyle = 0;
var gmt = new Date;
var lsm = new Date;
var lso = new Date;
lsm.setMonth(2); // March
lsm.setDate(14);
var day = lsm.getDay();// day of week of 31st
lsm.setDate(14-day); // last Sunday
lso.setMonth(9); // October
lso.setDate(8);
day = lso.getDay();
lso.setDate(7-day);
if (gmt < lsm || gmt >= lso) dst = 0;
new clock('c',clocksize, colnumbers,colseconds,colminutes, colhours,numstyle,font_family, localZone,mytimezone,dst,city, country,fix,xpos,ypos);
