var clocksize=60;
var colnumbers='B1B2B6';
var colseconds='B1B2B6';
var colminutes='B1B2B6';
var colhours='B1B2B6';
var numstyle = 2;
var font_family = 'helvetica,arial,sans-serif';
var localZone = 0;
var mytimezone = -6;
var dst = 1;
var city = '';
var country = '';
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(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;
numstyle = 2;
new clock('b',clocksize,colnumbers,colseconds,colminutes,colhours,numstyle,font_family,localZone,mytimezone,dst,city,country,fix,xpos,ypos);

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

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