// location,sday,smonth,shour,sposition,eday,emonth,ehour,eposition

var dSr=new Array();
function ndsr(location,preset){
dSr[dSr.length]=new Array(location,preset);
}
ndsr("Australia","0&9&0&-1&0&2&0&-1");
ndsr("Australia (Taz)","0&9&0&1&0&2&0&-1");
ndsr("Bahamas","0&3&0&1&0&9&0&-1");
ndsr("Brazil","0&9&0&1&0&1&0&-1");
ndsr("Canada","0&3&0&1&0&9&0&-1");
ndsr("Chile","6&9&0&2&6&2&0&2");
ndsr("Egypt","5&3&0&-1&4&8&0&-1");
ndsr("European Union","0&2&1&-1&0&9&1&-1");
ndsr("Fiji","0&10&0&1&0&1&0&-1");
ndsr("Greenland","0&2&1&-1&0&9&1&-1");
ndsr("Kirgizstan","0&2&0&-1&0&9&0&-1");
ndsr("Lebanon","0&2&0&-1&0&9&0&-1");
ndsr("Mexico","0&3&0&1&0&9&0&-1");
ndsr("Mongolia","0&2&0&-1&0&8&0&-1");
ndsr("Namibia","0&8&0&1&0&3&0&1");
ndsr("New Zealand","0&9&0&1&0&2&0&3");
ndsr("Paraguay","0&9&0&1&0&1&0&-1");
ndsr("Russia","0&2&1&-1&0&9&1&-1");
ndsr("St Johns","0&3&0&1&0&9&0&-1");
ndsr("Turks & Caicos","0&3&0&1&0&9&0&-1");
ndsr("United Kingdom","0&2&1&-1&0&9&2&-1");
ndsr("United States","0&2&2&2&0&10&2&1");


var daylightsavingselect="";
function buildDaylightSaving(){
document.write('<select name="DSpresets" onchange="JavaScript:daylightsavingpresets(); buildCode();" disabled>');
for (n=0;n<dSr.length;n++){
	document.write('<option value="'+dSr[n][1]+'"');
	if(dSr[n][0]=="United Kingdom"){
		document.write(' selected');
	}
	document.write('>'+dSr[n][0]+'</option>');
}
document.write('</select>');
}

for (n=0;n<dSr.length;n++){
	daylightsavingselect+=dSr[n][0]+"^"+dSr[n][1]+"|";
}
