// 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=53;
var colnumbers='5f6871';
var colseconds='FFFFFF';
var colminutes='5f6871';
var colhours='C2CDD3';
var numstyle = 2;
var font_family = 'helvetica,arial,sans-serif';
var localZone = 0;
var mytimezone = 3;
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)

// 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);

// code to adjust for daylight saving time
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);
dst1 = 0
if (gmt < lsm || gmt >= lso) dst1 = 1;

new clock('b',clocksize, colnumbers,colseconds,colminutes, colhours,numstyle,font_family, localZone,-5,dst1,'New York', country,fix,xpos,ypos);
new clock('c',clocksize, colnumbers,colseconds,colminutes, colhours,numstyle,font_family, localZone,9,dst,'Tokio', country,fix,xpos,ypos);
new clock('d',clocksize, colnumbers,colseconds,colminutes, colhours,numstyle,font_family, localZone,0,dst,'London', country,fix,xpos,ypos);
