/* Libray: Michael Gries (c)2008 Version: 8.10.29 Notes: uses SSI functionality for test purpose only. Therefore file ending is .shtm */ function drawSun() { // y-axis: range 0..240 pixel i.e. 24 hours * 10 // -> minutes must be converted // calc: 11:56 h -> 11,93333 -> 11,9 -> 119 (pixel) var hour = now.getHours(); var minutes = now.getMinutes(); var minutesPixel = Math.round((minutes/60*100)/10); var timePixel = hour*10+minutesPixel; var cSun = "#FFCC00"; // ocker //var cSun = "sun.gif"; // ocker var toolTip = now.toLocaleString(); var xM = left + day; var yM = bottom - (timePixel) var d = new Dot(xM, yM, 18, 6, cSun, toolTip, "sunClick()"); // add sun crosslines if enabled var x, y = bottom - timePixel; if (sunCrosslines) { for (x = left - 5; x < right; x++) { new Pixel(x, y, cSun); } // horizontal line x = left + day; for (y = top + 1; y < bottom + 6; y++) { new Pixel(x, y, cSun); } // vertical line } return timePixel ; } function sunClick() { var cSunLines = "#FFCC00"; // ocker sunCrosslines = !sunCrosslines; alert(sunCrosslines); //document.open(); if (sunCrosslines) { for (x = left - 5; x < right; x++) { new Pixel(x, y, cSunLines); } // horizontal line x = left + day; for (y = top + 1; y < bottom + 6; y++) { new Pixel(x, y, cSunLines); } // vertical line } //document.close(); //this.main(); } function drawSuntest() { var cST = "#00FF00"; // green var sunriseTime = new Array(); sunriseTime[0] = new Object(); sunriseTime[0]["01/01"] = "08:24:51"; // -0:00 sunriseTime[0]["01/02"] = "08:24:47"; // -0:04 sunriseTime[0]["01/03"] = "08:24:42"; // -0:05 sunriseTime[0]["01/04"] = "08:24:32"; // -0:10 sunriseTime[0]["01/05"] = "08:24:19"; // -0:13 sunriseTime[0]["01/06"] = "08:24:02"; // -0:17 sunriseTime[0]["01/07"] = "08:23:44"; // -0:18 sunriseTime[0]["01/08"] = "08:23:21"; // -0:23 sunriseTime[0]["01/09"] = "08:22:57"; // -0:24 sunriseTime[0]["01/10"] = "08:22:29"; // -0:28 sunriseTime[0]["01/11"] = "08:21:57"; // -0:32 sunriseTime[0]["01/12"] = "08:21:22"; // -0:35 sunriseTime[0]["01/13"] = "08:20:44"; // -0:38 sunriseTime[0]["01/14"] = "08:20:05"; // -0:39 sunriseTime[0]["01/15"] = "08:19:22"; // -0:43 sunriseTime[0]["01/16"] = "08:18:35"; // -0:47 sunriseTime[0]["01/17"] = "08:17:47"; // -0:48 sunriseTime[0]["01/18"] = "08:16:57"; // -0:50 sunriseTime[0]["01/19"] = "08:16:02"; // -0:55 sunriseTime[0]["01/20"] = "08:15:04"; // -0:58 sunriseTime[0]["01/21"] = "08:14:07"; // -0:57 sunriseTime[0]["01/22"] = "08:13:05"; // -1:02 sunriseTime[0]["01/23"] = "08:12:00"; // -1:05 sunriseTime[0]["01/24"] = "08:10:53"; // -1:07 sunriseTime[0]["01/25"] = "08:09:44"; // -1:09 sunriseTime[0]["01/26"] = "08:08:33"; // -1:11 sunriseTime[0]["01/27"] = "08:07:19"; // -1:14 sunriseTime[0]["01/28"] = "08:06:03"; // -1:16 sunriseTime[0]["01/29"] = "08:04:45"; // -1:18 sunriseTime[0]["01/30"] = "08:03:23"; // -1:22 sunriseTime[0]["01/31"] = "08:02:01"; // -1:22 sunriseTime[0]["02/01"] = "08:00:36"; // -1:25 sunriseTime[0]["02/02"] = "07:59:10"; // -1:26 sunriseTime[0]["02/03"] = "07:57:42"; // -1:28 sunriseTime[0]["02/04"] = "07:56:11"; // -1:31 sunriseTime[0]["02/05"] = "07:54:39"; // -1:32 sunriseTime[0]["02/06"] = "07:53:04"; // -1:35 sunriseTime[0]["02/07"] = "07:51:29"; // -1:35 sunriseTime[0]["02/08"] = "07:49:53"; // -1:36 sunriseTime[0]["02/09"] = "07:48:12"; // -1:41 sunriseTime[0]["02/10"] = "07:46:32"; // -1:40 sunriseTime[0]["02/11"] = "07:44:51"; // -1:41 sunriseTime[0]["02/12"] = "07:43:07"; // -1:44 sunriseTime[0]["02/13"] = "07:41:21"; // -1:46 sunriseTime[0]["02/14"] = "07:39:36"; // -1:45 sunriseTime[0]["02/15"] = "07:37:48"; // -1:48 sunriseTime[0]["02/16"] = "07:36:00"; // -1:48 sunriseTime[0]["02/17"] = "07:34:09"; // -1:51 sunriseTime[0]["02/18"] = "07:32:16"; // -1:53 sunriseTime[0]["02/19"] = "07:30:24"; // -1:52 sunriseTime[0]["02/20"] = "07:28:30"; // -1:54 sunriseTime[0]["02/21"] = "07:26:35"; // -1:55 sunriseTime[0]["02/22"] = "07:24:39"; // -1:56 sunriseTime[0]["02/23"] = "07:22:42"; // -1:57 sunriseTime[0]["02/24"] = "07:20:44"; // -1:58 sunriseTime[0]["02/25"] = "07:18:45"; // -1:59 sunriseTime[0]["02/26"] = "07:16:47"; // -1:58 sunriseTime[0]["02/27"] = "07:14:45"; // -2:02 sunriseTime[0]["02/28"] = "07:12:44"; // -2:01 sunriseTime[0]["02/29"] = "07:10:41"; // -2:03 sunriseTime[0]["03/01"] = "07:08:38"; // -2:03 sunriseTime[0]["03/02"] = "07:06:34"; // -2:04 sunriseTime[0]["03/03"] = "07:04:30"; // -2:04 sunriseTime[0]["03/04"] = "07:02:26"; // -2:04 sunriseTime[0]["03/05"] = "07:00:20"; // -2:06 sunriseTime[0]["03/06"] = "06:58:15"; // -2:05 sunriseTime[0]["03/07"] = "06:56:07"; // -2:08 sunriseTime[0]["03/08"] = "06:54:01"; // -2:06 sunriseTime[0]["03/09"] = "06:51:53"; // -2:08 sunriseTime[0]["03/10"] = "06:49:44"; // -2:09 sunriseTime[0]["03/11"] = "06:47:36"; // -2:08 sunriseTime[0]["03/12"] = "06:45:27"; // -2:09 sunriseTime[0]["03/13"] = "06:43:18"; // -2:09 sunriseTime[0]["03/14"] = "06:41:08"; // -2:10 sunriseTime[0]["03/15"] = "06:38:59"; // -2:09 sunriseTime[0]["03/16"] = "06:36:48"; // -2:11 sunriseTime[0]["03/17"] = "06:34:39"; // -2:09 sunriseTime[0]["03/18"] = "06:32:29"; // -2:10 sunriseTime[0]["03/19"] = "06:30:18"; // -2:11 sunriseTime[0]["03/20"] = "06:28:08"; // -2:10 sunriseTime[0]["03/21"] = "06:25:56"; // -2:12 sunriseTime[0]["03/22"] = "06:23:47"; // -2:09 sunriseTime[0]["03/23"] = "06:21:35"; // -2:12 sunriseTime[0]["03/24"] = "06:19:25"; // -2:10 sunriseTime[0]["03/25"] = "06:17:14"; // -2:11 sunriseTime[0]["03/26"] = "06:15:04"; // -2:10 sunriseTime[0]["03/27"] = "06:12:53"; // -2:11 sunriseTime[0]["03/28"] = "06:10:43"; // -2:10 sunriseTime[0]["03/29"] = "06:08:32"; // -2:11 sunriseTime[0]["03/30"] = "07:06:22"; // -2:10 sunriseTime[0]["03/31"] = "07:04:12"; // -2:10 sunriseTime[0]["04/01"] = "07:02:02"; // -2:10 sunriseTime[0]["04/02"] = "06:59:53"; // -2:09 sunriseTime[0]["04/03"] = "06:57:45"; // -2:08 sunriseTime[0]["04/04"] = "06:55:36"; // -2:09 sunriseTime[0]["04/05"] = "06:53:28"; // -2:08 sunriseTime[0]["04/06"] = "06:51:20"; // -2:08 sunriseTime[0]["04/07"] = "06:49:12"; // -2:08 sunriseTime[0]["04/08"] = "06:47:05"; // -2:07 sunriseTime[0]["04/09"] = "06:45:00"; // -2:05 sunriseTime[0]["04/10"] = "06:42:53"; // -2:07 sunriseTime[0]["04/11"] = "06:40:48"; // -2:05 sunriseTime[0]["04/12"] = "06:38:43"; // -2:05 sunriseTime[0]["04/13"] = "06:36:39"; // -2:04 sunriseTime[0]["04/14"] = "06:34:35"; // -2:04 sunriseTime[0]["04/15"] = "06:32:33"; // -2:02 sunriseTime[0]["04/16"] = "06:30:31"; // -2:02 sunriseTime[0]["04/17"] = "06:28:30"; // -2:01 sunriseTime[0]["04/18"] = "06:26:30"; // -2:00 sunriseTime[0]["04/19"] = "06:24:31"; // -1:59 sunriseTime[0]["04/20"] = "06:22:32"; // -1:59 sunriseTime[0]["04/21"] = "06:20:34"; // -1:58 sunriseTime[0]["04/22"] = "06:18:38"; // -1:56 sunriseTime[0]["04/23"] = "06:16:42"; // -1:56 sunriseTime[0]["04/24"] = "06:14:47"; // -1:55 sunriseTime[0]["04/25"] = "06:12:54"; // -1:53 sunriseTime[0]["04/26"] = "06:11:01"; // -1:53 sunriseTime[0]["04/27"] = "06:09:10"; // -1:51 sunriseTime[0]["04/28"] = "06:07:19"; // -1:51 sunriseTime[0]["04/29"] = "06:05:31"; // -1:48 sunriseTime[0]["04/30"] = "06:03:43"; // -1:48 sunriseTime[0]["05/01"] = "06:01:57"; // -1:46 sunriseTime[0]["05/02"] = "06:00:12"; // -1:45 sunriseTime[0]["05/03"] = "05:58:28"; // -1:44 sunriseTime[0]["05/04"] = "05:56:46"; // -1:42 sunriseTime[0]["05/05"] = "05:55:06"; // -1:40 sunriseTime[0]["05/06"] = "05:53:27"; // -1:39 sunriseTime[0]["05/07"] = "05:51:49"; // -1:38 sunriseTime[0]["05/08"] = "05:50:14"; // -1:35 sunriseTime[0]["05/09"] = "05:48:39"; // -1:35 sunriseTime[0]["05/10"] = "05:47:07"; // -1:32 sunriseTime[0]["05/11"] = "05:45:36"; // -1:31 sunriseTime[0]["05/12"] = "05:44:07"; // -1:29 sunriseTime[0]["05/13"] = "05:42:41"; // -1:26 sunriseTime[0]["05/14"] = "05:41:15"; // -1:26 sunriseTime[0]["05/15"] = "05:39:52"; // -1:23 sunriseTime[0]["05/16"] = "05:38:31"; // -1:21 sunriseTime[0]["05/17"] = "05:37:12"; // -1:19 sunriseTime[0]["05/18"] = "05:35:55"; // -1:17 sunriseTime[0]["05/19"] = "05:34:40"; // -1:15 sunriseTime[0]["05/20"] = "05:33:26"; // -1:14 sunriseTime[0]["05/21"] = "05:32:15"; // -1:11 sunriseTime[0]["05/22"] = "05:31:08"; // -1:07 sunriseTime[0]["05/23"] = "05:30:01"; // -1:07 sunriseTime[0]["05/24"] = "05:28:58"; // -1:03 sunriseTime[0]["05/25"] = "05:27:56"; // -1:02 sunriseTime[0]["05/26"] = "05:26:57"; // -0:59 sunriseTime[0]["05/27"] = "05:26:00"; // -0:57 sunriseTime[0]["05/28"] = "05:25:06"; // -0:54 sunriseTime[0]["05/29"] = "05:24:15"; // -0:51 sunriseTime[0]["05/30"] = "05:23:25"; // -0:50 sunriseTime[0]["05/31"] = "05:22:40"; // -0:45 sunriseTime[0]["06/01"] = "05:21:55"; // -0:45 sunriseTime[0]["06/02"] = "05:21:15"; // -0:40 sunriseTime[0]["06/03"] = "05:20:35"; // -0:40 sunriseTime[0]["06/04"] = "05:20:00"; // -0:35 sunriseTime[0]["06/05"] = "05:19:26"; // -0:34 sunriseTime[0]["06/06"] = "05:18:57"; // -0:29 sunriseTime[0]["06/07"] = "05:18:29"; // -0:28 sunriseTime[0]["06/08"] = "05:18:05"; // -0:24 sunriseTime[0]["06/09"] = "05:17:43"; // -0:22 sunriseTime[0]["06/10"] = "05:17:24"; // -0:19 sunriseTime[0]["06/11"] = "05:17:08"; // -0:16 sunriseTime[0]["06/12"] = "05:16:54"; // -0:14 sunriseTime[0]["06/13"] = "05:16:44"; // -0:10 sunriseTime[0]["06/14"] = "05:16:36"; // -0:08 sunriseTime[0]["06/15"] = "05:16:32"; // -0:04 sunriseTime[0]["06/16"] = "05:16:30"; // -0:02 sunriseTime[0]["06/17"] = "05:16:30"; // -0:00 sunriseTime[0]["06/18"] = "05:16:34"; // -0:04 sunriseTime[0]["06/19"] = "05:16:40"; // -0:06 sunriseTime[0]["06/20"] = "05:16:50"; // -0:10 sunriseTime[0]["06/21"] = "05:17:02"; // -0:12 sunriseTime[0]["06/22"] = "05:17:18"; // -0:16 sunriseTime[0]["06/23"] = "05:17:33"; // -0:15 sunriseTime[0]["06/24"] = "05:17:55"; // -0:22 sunriseTime[0]["06/25"] = "05:18:17"; // -0:22 sunriseTime[0]["06/26"] = "05:18:43"; // -0:26 sunriseTime[0]["06/27"] = "05:19:10"; // -0:27 sunriseTime[0]["06/28"] = "05:19:42"; // -0:32 sunriseTime[0]["06/29"] = "05:20:14"; // -0:32 sunriseTime[0]["06/30"] = "05:20:49"; // -0:35 sunriseTime[0]["07/01"] = "05:21:29"; // -0:40 sunriseTime[0]["07/02"] = "05:22:08"; // -0:39 sunriseTime[0]["07/03"] = "05:22:52"; // -0:44 sunriseTime[0]["07/04"] = "05:23:35"; // -0:43 sunriseTime[0]["07/05"] = "05:24:23"; // -0:48 sunriseTime[0]["07/06"] = "05:25:12"; // -0:49 sunriseTime[0]["07/07"] = "05:26:04"; // -0:52 sunriseTime[0]["07/08"] = "05:26:57"; // -0:53 sunriseTime[0]["07/09"] = "05:27:52"; // -0:55 sunriseTime[0]["07/10"] = "05:28:50"; // -0:58 sunriseTime[0]["07/11"] = "05:29:49"; // -0:59 sunriseTime[0]["07/12"] = "05:30:50"; // -1:01 sunriseTime[0]["07/13"] = "05:31:51"; // -1:01 sunriseTime[0]["07/14"] = "05:32:56"; // -1:05 sunriseTime[0]["07/15"] = "05:34:02"; // -1:06 sunriseTime[0]["07/16"] = "05:35:09"; // -1:07 sunriseTime[0]["07/17"] = "05:36:18"; // -1:09 sunriseTime[0]["07/18"] = "05:37:29"; // -1:11 sunriseTime[0]["07/19"] = "05:38:40"; // -1:11 sunriseTime[0]["07/20"] = "05:39:53"; // -1:13 sunriseTime[0]["07/21"] = "05:41:07"; // -1:14 sunriseTime[0]["07/22"] = "05:42:22"; // -1:15 sunriseTime[0]["07/23"] = "05:43:38"; // -1:16 sunriseTime[0]["07/24"] = "05:44:55"; // -1:17 sunriseTime[0]["07/25"] = "05:46:13"; // -1:18 sunriseTime[0]["07/26"] = "05:47:32"; // -1:19 sunriseTime[0]["07/27"] = "05:48:53"; // -1:21 sunriseTime[0]["07/28"] = "05:50:13"; // -1:20 sunriseTime[0]["07/29"] = "05:51:35"; // -1:22 sunriseTime[0]["07/30"] = "05:52:58"; // -1:23 sunriseTime[0]["07/31"] = "05:54:20"; // -1:22 sunriseTime[0]["08/01"] = "05:55:43"; // -1:23 sunriseTime[0]["08/02"] = "05:57:08"; // -1:25 sunriseTime[0]["08/03"] = "05:58:33"; // -1:25 sunriseTime[0]["08/04"] = "05:59:58"; // -1:25 sunriseTime[0]["08/05"] = "06:01:24"; // -1:26 sunriseTime[0]["08/06"] = "06:02:50"; // -1:26 sunriseTime[0]["08/07"] = "06:04:17"; // -1:27 sunriseTime[0]["08/08"] = "06:05:43"; // -1:26 sunriseTime[0]["08/09"] = "06:07:10"; // -1:27 sunriseTime[0]["08/10"] = "06:08:38"; // -1:28 sunriseTime[0]["08/11"] = "06:10:05"; // -1:27 sunriseTime[0]["08/12"] = "06:11:34"; // -1:29 sunriseTime[0]["08/13"] = "06:13:02"; // -1:28 sunriseTime[0]["08/14"] = "06:14:31"; // -1:29 sunriseTime[0]["08/15"] = "06:15:58"; // -1:27 sunriseTime[0]["08/16"] = "06:17:28"; // -1:30 sunriseTime[0]["08/17"] = "06:18:56"; // -1:28 sunriseTime[0]["08/18"] = "06:20:25"; // -1:29 sunriseTime[0]["08/19"] = "06:21:54"; // -1:29 sunriseTime[0]["08/20"] = "06:23:23"; // -1:29 sunriseTime[0]["08/21"] = "06:24:51"; // -1:28 sunriseTime[0]["08/22"] = "06:26:21"; // -1:30 sunriseTime[0]["08/23"] = "06:27:50"; // -1:29 sunriseTime[0]["08/24"] = "06:29:20"; // -1:30 sunriseTime[0]["08/25"] = "06:30:48"; // -1:28 sunriseTime[0]["08/26"] = "06:32:18"; // -1:30 sunriseTime[0]["08/27"] = "06:33:46"; // -1:28 sunriseTime[0]["08/28"] = "06:35:16"; // -1:30 sunriseTime[0]["08/29"] = "06:36:44"; // -1:28 sunriseTime[0]["08/30"] = "06:38:14"; // -1:30 sunriseTime[0]["08/31"] = "06:39:44"; // -1:30 sunriseTime[0]["09/01"] = "06:41:12"; // -1:28 sunriseTime[0]["09/02"] = "06:42:42"; // -1:30 sunriseTime[0]["09/03"] = "06:44:10"; // -1:28 sunriseTime[0]["09/04"] = "06:45:40"; // -1:30 sunriseTime[0]["09/05"] = "06:47:08"; // -1:28 sunriseTime[0]["09/06"] = "06:48:38"; // -1:30 sunriseTime[0]["09/07"] = "06:50:06"; // -1:28 sunriseTime[0]["09/08"] = "06:51:36"; // -1:30 sunriseTime[0]["09/09"] = "06:53:05"; // -1:29 sunriseTime[0]["09/10"] = "06:54:34"; // -1:29 sunriseTime[0]["09/11"] = "06:56:03"; // -1:29 sunriseTime[0]["09/12"] = "06:57:33"; // -1:30 sunriseTime[0]["09/13"] = "06:59:01"; // -1:28 sunriseTime[0]["09/14"] = "07:00:31"; // -1:30 sunriseTime[0]["09/15"] = "07:02:01"; // -1:30 sunriseTime[0]["09/16"] = "07:03:30"; // -1:29 sunriseTime[0]["09/17"] = "07:05:01"; // -1:31 sunriseTime[0]["09/18"] = "07:06:30"; // -1:29 sunriseTime[0]["09/19"] = "07:08:00"; // -1:30 sunriseTime[0]["09/20"] = "07:09:30"; // -1:30 sunriseTime[0]["09/21"] = "07:10:59"; // -1:29 sunriseTime[0]["09/22"] = "07:12:30"; // -1:31 sunriseTime[0]["09/23"] = "07:14:00"; // -1:30 sunriseTime[0]["09/24"] = "07:15:31"; // -1:31 sunriseTime[0]["09/25"] = "07:17:01"; // -1:30 sunriseTime[0]["09/26"] = "07:18:32"; // -1:31 sunriseTime[0]["09/27"] = "07:20:04"; // -1:32 sunriseTime[0]["09/28"] = "07:21:35"; // -1:31 sunriseTime[0]["09/29"] = "07:23:07"; // -1:32 sunriseTime[0]["09/30"] = "07:24:38"; // -1:31 sunriseTime[0]["10/01"] = "07:26:11"; // -1:33 sunriseTime[0]["10/02"] = "07:27:42"; // -1:31 sunriseTime[0]["10/03"] = "07:29:15"; // -1:33 sunriseTime[0]["10/04"] = "07:30:48"; // -1:33 sunriseTime[0]["10/05"] = "07:32:21"; // -1:33 sunriseTime[0]["10/06"] = "07:33:55"; // -1:34 sunriseTime[0]["10/07"] = "07:35:28"; // -1:33 sunriseTime[0]["10/08"] = "07:37:02"; // -1:34 sunriseTime[0]["10/09"] = "07:38:37"; // -1:35 sunriseTime[0]["10/10"] = "07:40:10"; // -1:33 sunriseTime[0]["10/11"] = "07:41:45"; // -1:35 sunriseTime[0]["10/12"] = "07:43:20"; // -1:35 sunriseTime[0]["10/13"] = "07:44:56"; // -1:36 sunriseTime[0]["10/14"] = "07:46:32"; // -1:36 sunriseTime[0]["10/15"] = "07:48:09"; // -1:37 sunriseTime[0]["10/16"] = "07:49:44"; // -1:35 sunriseTime[0]["10/17"] = "07:51:21"; // -1:37 sunriseTime[0]["10/18"] = "07:52:58"; // -1:37 sunriseTime[0]["10/19"] = "07:54:36"; // -1:38 sunriseTime[0]["10/20"] = "07:56:13"; // -1:37 sunriseTime[0]["10/21"] = "07:57:52"; // -1:39 sunriseTime[0]["10/22"] = "07:59:30"; // -1:38 sunriseTime[0]["10/23"] = "08:01:08"; // -1:38 sunriseTime[0]["10/24"] = "08:02:46"; // -1:38 sunriseTime[0]["10/25"] = "08:04:25"; // -1:39 sunriseTime[0]["10/26"] = "08:06:06"; // -1:41 sunriseTime[0]["10/27"] = "07:07:44"; // -1:41 sunriseTime[0]["10/28"] = "07:09:25"; // -1:41 sunriseTime[0]["10/29"] = "07:11:03"; // -1:38 sunriseTime[0]["10/30"] = "07:12:44"; // -1:41 sunriseTime[0]["10/31"] = "07:14:24"; // -1:40 sunriseTime[0]["11/01"] = "07:16:04"; // -1:40 sunriseTime[0]["11/02"] = "07:17:44"; // -1:40 sunriseTime[0]["11/03"] = "07:19:25"; // -1:41 sunriseTime[0]["11/04"] = "07:21:05"; // -1:40 sunriseTime[0]["11/05"] = "07:22:46"; // -1:41 sunriseTime[0]["11/06"] = "07:24:26"; // -1:40 sunriseTime[0]["11/07"] = "07:26:07"; // -1:41 sunriseTime[0]["11/08"] = "07:27:46"; // -1:39 sunriseTime[0]["11/09"] = "07:29:26"; // -1:40 sunriseTime[0]["11/10"] = "07:31:05"; // -1:39 sunriseTime[0]["11/11"] = "07:32:45"; // -1:40 sunriseTime[0]["11/12"] = "07:34:24"; // -1:39 sunriseTime[0]["11/13"] = "07:36:03"; // -1:39 sunriseTime[0]["11/14"] = "07:37:40"; // -1:37 sunriseTime[0]["11/15"] = "07:39:19"; // -1:39 sunriseTime[0]["11/16"] = "07:40:56"; // -1:37 sunriseTime[0]["11/17"] = "07:42:33"; // -1:37 sunriseTime[0]["11/18"] = "07:44:08"; // -1:35 sunriseTime[0]["11/19"] = "07:45:43"; // -1:35 sunriseTime[0]["11/20"] = "07:47:16"; // -1:33 sunriseTime[0]["11/21"] = "07:48:51"; // -1:35 sunriseTime[0]["11/22"] = "07:50:23"; // -1:32 sunriseTime[0]["11/23"] = "07:51:54"; // -1:31 sunriseTime[0]["11/24"] = "07:53:24"; // -1:30 sunriseTime[0]["11/25"] = "07:54:53"; // -1:29 sunriseTime[0]["11/26"] = "07:56:21"; // -1:28 sunriseTime[0]["11/27"] = "07:57:47"; // -1:26 sunriseTime[0]["11/28"] = "07:59:13"; // -1:26 sunriseTime[0]["11/29"] = "08:00:36"; // -1:23 sunriseTime[0]["11/30"] = "08:01:58"; // -1:22 sunriseTime[0]["12/01"] = "08:03:19"; // -1:21 sunriseTime[0]["12/02"] = "08:04:37"; // -1:18 sunriseTime[0]["12/03"] = "08:05:55"; // -1:18 sunriseTime[0]["12/04"] = "08:07:10"; // -1:15 sunriseTime[0]["12/05"] = "08:08:22"; // -1:12 sunriseTime[0]["12/06"] = "08:09:33"; // -1:11 sunriseTime[0]["12/07"] = "08:10:42"; // -1:09 sunriseTime[0]["12/08"] = "08:11:49"; // -1:07 sunriseTime[0]["12/09"] = "08:12:52"; // -1:03 sunriseTime[0]["12/10"] = "08:13:56"; // -1:04 sunriseTime[0]["12/11"] = "08:14:55"; // -0:59 sunriseTime[0]["12/12"] = "08:15:51"; // -0:56 sunriseTime[0]["12/13"] = "08:16:45"; // -0:54 sunriseTime[0]["12/14"] = "08:17:38"; // -0:53 sunriseTime[0]["12/15"] = "08:18:28"; // -0:50 sunriseTime[0]["12/16"] = "08:19:13"; // -0:45 sunriseTime[0]["12/17"] = "08:19:58"; // -0:45 sunriseTime[0]["12/18"] = "08:20:39"; // -0:41 sunriseTime[0]["12/19"] = "08:21:16"; // -0:37 sunriseTime[0]["12/20"] = "08:21:52"; // -0:36 sunriseTime[0]["12/21"] = "08:22:23"; // -0:31 sunriseTime[0]["12/22"] = "08:22:51"; // -0:28 sunriseTime[0]["12/23"] = "08:23:18"; // -0:27 sunriseTime[0]["12/24"] = "08:23:40"; // -0:22 sunriseTime[0]["12/25"] = "08:24:00"; // -0:20 sunriseTime[0]["12/26"] = "08:24:17"; // -0:17 sunriseTime[0]["12/27"] = "08:24:30"; // -0:13 sunriseTime[0]["12/28"] = "08:24:40"; // -0:10 sunriseTime[0]["12/29"] = "08:24:47"; // -0:07 sunriseTime[0]["12/30"] = "08:24:51"; // -0:04 sunriseTime[0]["12/31"] = "08:24:56"; // -0:05 var sunsetTime = new Array(); sunsetTime[0] = new Object(); sunsetTime[0]["01/01"] = "16:29:55"; // +0:57 sunsetTime[0]["01/02"] = "16:30:55"; // +1:00 sunsetTime[0]["01/03"] = "16:32:00"; // +1:05 sunsetTime[0]["01/04"] = "16:33:05"; // +1:05 sunsetTime[0]["01/05"] = "16:34:13"; // +1:08 sunsetTime[0]["01/06"] = "16:35:24"; // +1:11 sunsetTime[0]["01/07"] = "16:36:36"; // +1:12 sunsetTime[0]["01/08"] = "16:37:50"; // +1:14 sunsetTime[0]["01/09"] = "16:39:08"; // +1:18 sunsetTime[0]["01/10"] = "16:40:27"; // +1:19 sunsetTime[0]["01/11"] = "16:41:48"; // +1:21 sunsetTime[0]["01/12"] = "16:43:10"; // +1:22 sunsetTime[0]["01/13"] = "16:44:34"; // +1:24 sunsetTime[0]["01/14"] = "16:46:00"; // +1:26 sunsetTime[0]["01/15"] = "16:47:27"; // +1:27 sunsetTime[0]["01/16"] = "16:48:57"; // +1:30 sunsetTime[0]["01/17"] = "16:50:27"; // +1:30 sunsetTime[0]["01/18"] = "16:51:58"; // +1:31 sunsetTime[0]["01/19"] = "16:53:32"; // +1:34 sunsetTime[0]["01/20"] = "16:55:06"; // +1:34 sunsetTime[0]["01/21"] = "16:56:40"; // +1:34 sunsetTime[0]["01/22"] = "16:58:17"; // +1:37 sunsetTime[0]["01/23"] = "16:59:54"; // +1:37 sunsetTime[0]["01/24"] = "17:01:33"; // +1:39 sunsetTime[0]["01/25"] = "17:03:11"; // +1:38 sunsetTime[0]["01/26"] = "17:04:51"; // +1:40 sunsetTime[0]["01/27"] = "17:06:31"; // +1:40 sunsetTime[0]["01/28"] = "17:08:11"; // +1:40 sunsetTime[0]["01/29"] = "17:09:53"; // +1:42 sunsetTime[0]["01/30"] = "17:11:36"; // +1:43 sunsetTime[0]["01/31"] = "17:13:17"; // +1:41 sunsetTime[0]["02/01"] = "17:15:01"; // +1:44 sunsetTime[0]["02/02"] = "17:16:43"; // +1:42 sunsetTime[0]["02/03"] = "17:18:27"; // +1:44 sunsetTime[0]["02/04"] = "17:20:11"; // +1:44 sunsetTime[0]["02/05"] = "17:21:55"; // +1:44 sunsetTime[0]["02/06"] = "17:23:38"; // +1:43 sunsetTime[0]["02/07"] = "17:25:22"; // +1:44 sunsetTime[0]["02/08"] = "17:27:07"; // +1:45 sunsetTime[0]["02/09"] = "17:28:51"; // +1:44 sunsetTime[0]["02/10"] = "17:30:35"; // +1:44 sunsetTime[0]["02/11"] = "17:32:19"; // +1:44 sunsetTime[0]["02/12"] = "17:34:04"; // +1:45 sunsetTime[0]["02/13"] = "17:35:48"; // +1:44 sunsetTime[0]["02/14"] = "17:37:32"; // +1:44 sunsetTime[0]["02/15"] = "17:39:15"; // +1:43 sunsetTime[0]["02/16"] = "17:41:00"; // +1:45 sunsetTime[0]["02/17"] = "17:42:42"; // +1:42 sunsetTime[0]["02/18"] = "17:44:25"; // +1:43 sunsetTime[0]["02/19"] = "17:46:08"; // +1:43 sunsetTime[0]["02/20"] = "17:47:51"; // +1:43 sunsetTime[0]["02/21"] = "17:49:34"; // +1:43 sunsetTime[0]["02/22"] = "17:51:16"; // +1:42 sunsetTime[0]["02/23"] = "17:52:59"; // +1:43 sunsetTime[0]["02/24"] = "17:54:40"; // +1:41 sunsetTime[0]["02/25"] = "17:56:22"; // +1:42 sunsetTime[0]["02/26"] = "17:58:02"; // +1:40 sunsetTime[0]["02/27"] = "17:59:44"; // +1:42 sunsetTime[0]["02/28"] = "18:01:24"; // +1:40 sunsetTime[0]["02/29"] = "18:03:04"; // +1:40 sunsetTime[0]["03/01"] = "18:04:44"; // +1:40 sunsetTime[0]["03/02"] = "18:06:24"; // +1:40 sunsetTime[0]["03/03"] = "18:08:03"; // +1:39 sunsetTime[0]["03/04"] = "18:09:42"; // +1:39 sunsetTime[0]["03/05"] = "18:11:21"; // +1:39 sunsetTime[0]["03/06"] = "18:13:00"; // +1:39 sunsetTime[0]["03/07"] = "18:14:39"; // +1:39 sunsetTime[0]["03/08"] = "18:16:16"; // +1:37 sunsetTime[0]["03/09"] = "18:17:54"; // +1:38 sunsetTime[0]["03/10"] = "18:19:31"; // +1:37 sunsetTime[0]["03/11"] = "18:21:08"; // +1:37 sunsetTime[0]["03/12"] = "18:22:46"; // +1:38 sunsetTime[0]["03/13"] = "18:24:23"; // +1:37 sunsetTime[0]["03/14"] = "18:25:59"; // +1:36 sunsetTime[0]["03/15"] = "18:27:35"; // +1:36 sunsetTime[0]["03/16"] = "18:29:12"; // +1:37 sunsetTime[0]["03/17"] = "18:30:48"; // +1:36 sunsetTime[0]["03/18"] = "18:32:23"; // +1:35 sunsetTime[0]["03/19"] = "18:33:59"; // +1:36 sunsetTime[0]["03/20"] = "18:35:34"; // +1:35 sunsetTime[0]["03/21"] = "18:37:10"; // +1:36 sunsetTime[0]["03/22"] = "18:38:44"; // +1:34 sunsetTime[0]["03/23"] = "18:40:19"; // +1:35 sunsetTime[0]["03/24"] = "18:41:54"; // +1:35 sunsetTime[0]["03/25"] = "18:43:29"; // +1:35 sunsetTime[0]["03/26"] = "18:45:03"; // +1:34 sunsetTime[0]["03/27"] = "18:46:37"; // +1:34 sunsetTime[0]["03/28"] = "18:48:12"; // +1:35 sunsetTime[0]["03/29"] = "18:49:47"; // +1:35 sunsetTime[0]["03/30"] = "19:51:21"; // +1:34 sunsetTime[0]["03/31"] = "19:52:55"; // +1:34 sunsetTime[0]["04/01"] = "19:54:29"; // +1:34 sunsetTime[0]["04/02"] = "19:56:03"; // +1:34 sunsetTime[0]["04/03"] = "19:57:37"; // +1:34 sunsetTime[0]["04/04"] = "19:59:11"; // +1:34 sunsetTime[0]["04/05"] = "20:00:44"; // +1:33 sunsetTime[0]["04/06"] = "20:02:19"; // +1:35 sunsetTime[0]["04/07"] = "20:03:52"; // +1:33 sunsetTime[0]["04/08"] = "20:05:27"; // +1:35 sunsetTime[0]["04/09"] = "20:07:00"; // +1:33 sunsetTime[0]["04/10"] = "20:08:34"; // +1:34 sunsetTime[0]["04/11"] = "20:10:08"; // +1:34 sunsetTime[0]["04/12"] = "20:11:41"; // +1:33 sunsetTime[0]["04/13"] = "20:13:15"; // +1:34 sunsetTime[0]["04/14"] = "20:14:49"; // +1:34 sunsetTime[0]["04/15"] = "20:16:23"; // +1:34 sunsetTime[0]["04/16"] = "20:17:56"; // +1:33 sunsetTime[0]["04/17"] = "20:19:30"; // +1:34 sunsetTime[0]["04/18"] = "20:21:04"; // +1:34 sunsetTime[0]["04/19"] = "20:22:37"; // +1:33 sunsetTime[0]["04/20"] = "20:24:11"; // +1:34 sunsetTime[0]["04/21"] = "20:25:43"; // +1:32 sunsetTime[0]["04/22"] = "20:27:16"; // +1:33 sunsetTime[0]["04/23"] = "20:28:50"; // +1:34 sunsetTime[0]["04/24"] = "20:30:23"; // +1:33 sunsetTime[0]["04/25"] = "20:31:56"; // +1:33 sunsetTime[0]["04/26"] = "20:33:29"; // +1:33 sunsetTime[0]["04/27"] = "20:35:02"; // +1:33 sunsetTime[0]["04/28"] = "20:36:33"; // +1:31 sunsetTime[0]["04/29"] = "20:38:05"; // +1:32 sunsetTime[0]["04/30"] = "20:39:36"; // +1:31 sunsetTime[0]["05/01"] = "20:41:09"; // +1:33 sunsetTime[0]["05/02"] = "20:42:40"; // +1:31 sunsetTime[0]["05/03"] = "20:44:11"; // +1:31 sunsetTime[0]["05/04"] = "20:45:42"; // +1:31 sunsetTime[0]["05/05"] = "20:47:12"; // +1:30 sunsetTime[0]["05/06"] = "20:48:41"; // +1:29 sunsetTime[0]["05/07"] = "20:50:11"; // +1:30 sunsetTime[0]["05/08"] = "20:51:39"; // +1:28 sunsetTime[0]["05/09"] = "20:53:07"; // +1:28 sunsetTime[0]["05/10"] = "20:54:34"; // +1:27 sunsetTime[0]["05/11"] = "20:56:02"; // +1:28 sunsetTime[0]["05/12"] = "20:57:28"; // +1:26 sunsetTime[0]["05/13"] = "20:58:54"; // +1:26 sunsetTime[0]["05/14"] = "21:00:18"; // +1:24 sunsetTime[0]["05/15"] = "21:01:43"; // +1:25 sunsetTime[0]["05/16"] = "21:03:05"; // +1:22 sunsetTime[0]["05/17"] = "21:04:26"; // +1:21 sunsetTime[0]["05/18"] = "21:05:49"; // +1:23 sunsetTime[0]["05/19"] = "21:07:08"; // +1:19 sunsetTime[0]["05/20"] = "21:08:27"; // +1:19 sunsetTime[0]["05/21"] = "21:09:44"; // +1:17 sunsetTime[0]["05/22"] = "21:11:02"; // +1:18 sunsetTime[0]["05/23"] = "21:12:16"; // +1:14 sunsetTime[0]["05/24"] = "21:13:29"; // +1:13 sunsetTime[0]["05/25"] = "21:14:42"; // +1:13 sunsetTime[0]["05/26"] = "21:15:54"; // +1:12 sunsetTime[0]["05/27"] = "21:17:03"; // +1:09 sunsetTime[0]["05/28"] = "21:18:10"; // +1:07 sunsetTime[0]["05/29"] = "21:19:16"; // +1:06 sunsetTime[0]["05/30"] = "21:20:21"; // +1:05 sunsetTime[0]["05/31"] = "21:21:23"; // +1:02 sunsetTime[0]["06/01"] = "21:22:24"; // +1:01 sunsetTime[0]["06/02"] = "21:23:23"; // +0:59 sunsetTime[0]["06/03"] = "21:24:19"; // +0:56 sunsetTime[0]["06/04"] = "21:25:14"; // +0:55 sunsetTime[0]["06/05"] = "21:26:07"; // +0:53 sunsetTime[0]["06/06"] = "21:26:58"; // +0:51 sunsetTime[0]["06/07"] = "21:27:45"; // +0:47 sunsetTime[0]["06/08"] = "21:28:32"; // +0:47 sunsetTime[0]["06/09"] = "21:29:14"; // +0:42 sunsetTime[0]["06/10"] = "21:29:56"; // +0:42 sunsetTime[0]["06/11"] = "21:30:35"; // +0:39 sunsetTime[0]["06/12"] = "21:31:12"; // +0:37 sunsetTime[0]["06/13"] = "21:31:45"; // +0:33 sunsetTime[0]["06/14"] = "21:32:16"; // +0:31 sunsetTime[0]["06/15"] = "21:32:45"; // +0:29 sunsetTime[0]["06/16"] = "21:33:11"; // +0:26 sunsetTime[0]["06/17"] = "21:33:35"; // +0:24 sunsetTime[0]["06/18"] = "21:33:55"; // +0:20 sunsetTime[0]["06/19"] = "21:34:13"; // +0:18 sunsetTime[0]["06/20"] = "21:34:28"; // +0:15 sunsetTime[0]["06/21"] = "21:34:39"; // +0:11 sunsetTime[0]["06/22"] = "21:34:50"; // +0:11 sunsetTime[0]["06/23"] = "21:34:56"; // +0:06 sunsetTime[0]["06/24"] = "21:35:00"; // +0:04 sunsetTime[0]["06/25"] = "21:35:01"; // +0:01 sunsetTime[0]["06/26"] = "21:34:58"; // -0:03 sunsetTime[0]["06/27"] = "21:34:53"; // -0:05 sunsetTime[0]["06/28"] = "21:34:45"; // -0:08 sunsetTime[0]["06/29"] = "21:34:35"; // -0:10 sunsetTime[0]["06/30"] = "21:34:21"; // -0:14 sunsetTime[0]["07/01"] = "21:34:04"; // -0:17 sunsetTime[0]["07/02"] = "21:33:44"; // -0:20 sunsetTime[0]["07/03"] = "21:33:22"; // -0:22 sunsetTime[0]["07/04"] = "21:32:58"; // -0:24 sunsetTime[0]["07/05"] = "21:32:28"; // -0:30 sunsetTime[0]["07/06"] = "21:31:58"; // -0:30 sunsetTime[0]["07/07"] = "21:31:25"; // -0:33 sunsetTime[0]["07/08"] = "21:30:48"; // -0:37 sunsetTime[0]["07/09"] = "21:30:08"; // -0:40 sunsetTime[0]["07/10"] = "21:29:28"; // -0:40 sunsetTime[0]["07/11"] = "21:28:43"; // -0:45 sunsetTime[0]["07/12"] = "21:27:55"; // -0:48 sunsetTime[0]["07/13"] = "21:27:06"; // -0:49 sunsetTime[0]["07/14"] = "21:26:13"; // -0:53 sunsetTime[0]["07/15"] = "21:25:19"; // -0:54 sunsetTime[0]["07/16"] = "21:24:21"; // -0:58 sunsetTime[0]["07/17"] = "21:23:22"; // -0:59 sunsetTime[0]["07/18"] = "21:22:19"; // -1:03 sunsetTime[0]["07/19"] = "21:21:15"; // -1:04 sunsetTime[0]["07/20"] = "21:20:07"; // -1:08 sunsetTime[0]["07/21"] = "21:18:58"; // -1:09 sunsetTime[0]["07/22"] = "21:17:47"; // -1:11 sunsetTime[0]["07/23"] = "21:16:33"; // -1:14 sunsetTime[0]["07/24"] = "21:15:17"; // -1:16 sunsetTime[0]["07/25"] = "21:14:00"; // -1:17 sunsetTime[0]["07/26"] = "21:12:38"; // -1:22 sunsetTime[0]["07/27"] = "21:11:16"; // -1:22 sunsetTime[0]["07/28"] = "21:09:53"; // -1:23 sunsetTime[0]["07/29"] = "21:08:27"; // -1:26 sunsetTime[0]["07/30"] = "21:07:00"; // -1:27 sunsetTime[0]["07/31"] = "21:05:28"; // -1:32 sunsetTime[0]["08/01"] = "21:03:56"; // -1:32 sunsetTime[0]["08/02"] = "21:02:23"; // -1:33 sunsetTime[0]["08/03"] = "21:00:48"; // -1:35 sunsetTime[0]["08/04"] = "20:59:11"; // -1:37 sunsetTime[0]["08/05"] = "20:57:34"; // -1:37 sunsetTime[0]["08/06"] = "20:55:53"; // -1:41 sunsetTime[0]["08/07"] = "20:54:12"; // -1:41 sunsetTime[0]["08/08"] = "20:52:29"; // -1:43 sunsetTime[0]["08/09"] = "20:50:45"; // -1:44 sunsetTime[0]["08/10"] = "20:48:58"; // -1:47 sunsetTime[0]["08/11"] = "20:47:12"; // -1:46 sunsetTime[0]["08/12"] = "20:45:21"; // -1:51 sunsetTime[0]["08/13"] = "20:43:32"; // -1:49 sunsetTime[0]["08/14"] = "20:41:41"; // -1:51 sunsetTime[0]["08/15"] = "20:39:48"; // -1:53 sunsetTime[0]["08/16"] = "20:37:56"; // -1:52 sunsetTime[0]["08/17"] = "20:36:01"; // -1:55 sunsetTime[0]["08/18"] = "20:34:06"; // -1:55 sunsetTime[0]["08/19"] = "20:32:10"; // -1:56 sunsetTime[0]["08/20"] = "20:30:11"; // -1:59 sunsetTime[0]["08/21"] = "20:28:12"; // -1:59 sunsetTime[0]["08/22"] = "20:26:13"; // -1:59 sunsetTime[0]["08/23"] = "20:24:12"; // -2:01 sunsetTime[0]["08/24"] = "20:22:11"; // -2:01 sunsetTime[0]["08/25"] = "20:20:08"; // -2:03 sunsetTime[0]["08/26"] = "20:18:05"; // -2:03 sunsetTime[0]["08/27"] = "20:16:01"; // -2:04 sunsetTime[0]["08/28"] = "20:13:57"; // -2:04 sunsetTime[0]["08/29"] = "20:11:51"; // -2:06 sunsetTime[0]["08/30"] = "20:09:46"; // -2:05 sunsetTime[0]["08/31"] = "20:07:40"; // -2:06 sunsetTime[0]["09/01"] = "20:05:32"; // -2:08 sunsetTime[0]["09/02"] = "20:03:25"; // -2:07 sunsetTime[0]["09/03"] = "20:01:16"; // -2:09 sunsetTime[0]["09/04"] = "19:59:08"; // -2:08 sunsetTime[0]["09/05"] = "19:57:00"; // -2:08 sunsetTime[0]["09/06"] = "19:54:49"; // -2:11 sunsetTime[0]["09/07"] = "19:52:40"; // -2:09 sunsetTime[0]["09/08"] = "19:50:29"; // -2:11 sunsetTime[0]["09/09"] = "19:48:19"; // -2:10 sunsetTime[0]["09/10"] = "19:46:07"; // -2:12 sunsetTime[0]["09/11"] = "19:43:57"; // -2:10 sunsetTime[0]["09/12"] = "19:41:45"; // -2:12 sunsetTime[0]["09/13"] = "19:39:33"; // -2:12 sunsetTime[0]["09/14"] = "19:37:22"; // -2:11 sunsetTime[0]["09/15"] = "19:35:10"; // -2:12 sunsetTime[0]["09/16"] = "19:32:57"; // -2:13 sunsetTime[0]["09/17"] = "19:30:45"; // -2:12 sunsetTime[0]["09/18"] = "19:28:33"; // -2:12 sunsetTime[0]["09/19"] = "19:26:20"; // -2:13 sunsetTime[0]["09/20"] = "19:24:08"; // -2:12 sunsetTime[0]["09/21"] = "19:21:56"; // -2:12 sunsetTime[0]["09/22"] = "19:19:44"; // -2:12 sunsetTime[0]["09/23"] = "19:17:31"; // -2:13 sunsetTime[0]["09/24"] = "19:15:20"; // -2:11 sunsetTime[0]["09/25"] = "19:13:08"; // -2:12 sunsetTime[0]["09/26"] = "19:10:56"; // -2:12 sunsetTime[0]["09/27"] = "19:08:44"; // -2:12 sunsetTime[0]["09/28"] = "19:06:32"; // -2:12 sunsetTime[0]["09/29"] = "19:04:22"; // -2:10 sunsetTime[0]["09/30"] = "19:02:11"; // -2:11 sunsetTime[0]["10/01"] = "19:00:01"; // -2:10 sunsetTime[0]["10/02"] = "18:57:51"; // -2:10 sunsetTime[0]["10/03"] = "18:55:41"; // -2:10 sunsetTime[0]["10/04"] = "18:53:32"; // -2:09 sunsetTime[0]["10/05"] = "18:51:22"; // -2:10 sunsetTime[0]["10/06"] = "18:49:15"; // -2:07 sunsetTime[0]["10/07"] = "18:47:07"; // -2:08 sunsetTime[0]["10/08"] = "18:45:00"; // -2:07 sunsetTime[0]["10/09"] = "18:42:53"; // -2:07 sunsetTime[0]["10/10"] = "18:40:46"; // -2:07 sunsetTime[0]["10/11"] = "18:38:41"; // -2:05 sunsetTime[0]["10/12"] = "18:36:36"; // -2:05 sunsetTime[0]["10/13"] = "18:34:32"; // -2:04 sunsetTime[0]["10/14"] = "18:32:29"; // -2:03 sunsetTime[0]["10/15"] = "18:30:26"; // -2:03 sunsetTime[0]["10/16"] = "18:28:25"; // -2:01 sunsetTime[0]["10/17"] = "18:26:24"; // -2:01 sunsetTime[0]["10/18"] = "18:24:24"; // -2:00 sunsetTime[0]["10/19"] = "18:22:26"; // -1:58 sunsetTime[0]["10/20"] = "18:20:27"; // -1:59 sunsetTime[0]["10/21"] = "18:18:31"; // -1:56 sunsetTime[0]["10/22"] = "18:16:36"; // -1:55 sunsetTime[0]["10/23"] = "18:14:41"; // -1:55 sunsetTime[0]["10/24"] = "18:12:47"; // -1:54 sunsetTime[0]["10/25"] = "18:10:54"; // -1:53 sunsetTime[0]["10/26"] = "18:09:04"; // -1:50 sunsetTime[0]["10/27"] = "17:07:13"; // -1:51 sunsetTime[0]["10/28"] = "17:05:25"; // -1:48 sunsetTime[0]["10/29"] = "17:03:38"; // -1:47 sunsetTime[0]["10/30"] = "17:01:52"; // -1:46 sunsetTime[0]["10/31"] = "17:00:07"; // -1:45 sunsetTime[0]["11/01"] = "16:58:24"; // -1:43 sunsetTime[0]["11/02"] = "16:56:43"; // -1:41 sunsetTime[0]["11/03"] = "16:55:03"; // -1:40 sunsetTime[0]["11/04"] = "16:53:26"; // -1:37 sunsetTime[0]["11/05"] = "16:51:49"; // -1:37 sunsetTime[0]["11/06"] = "16:50:15"; // -1:34 sunsetTime[0]["11/07"] = "16:48:41"; // -1:34 sunsetTime[0]["11/08"] = "16:47:10"; // -1:31 sunsetTime[0]["11/09"] = "16:45:41"; // -1:29 sunsetTime[0]["11/10"] = "16:44:13"; // -1:28 sunsetTime[0]["11/11"] = "16:42:49"; // -1:24 sunsetTime[0]["11/12"] = "16:41:25"; // -1:24 sunsetTime[0]["11/13"] = "16:40:04"; // -1:21 sunsetTime[0]["11/14"] = "16:38:45"; // -1:19 sunsetTime[0]["11/15"] = "16:37:29"; // -1:16 sunsetTime[0]["11/16"] = "16:36:13"; // -1:16 sunsetTime[0]["11/17"] = "16:35:02"; // -1:11 sunsetTime[0]["11/18"] = "16:33:52"; // -1:10 sunsetTime[0]["11/19"] = "16:32:44"; // -1:08 sunsetTime[0]["11/20"] = "16:31:40"; // -1:04 sunsetTime[0]["11/21"] = "16:30:37"; // -1:03 sunsetTime[0]["11/22"] = "16:29:38"; // -0:59 sunsetTime[0]["11/23"] = "16:28:40"; // -0:58 sunsetTime[0]["11/24"] = "16:27:45"; // -0:55 sunsetTime[0]["11/25"] = "16:26:54"; // -0:51 sunsetTime[0]["11/26"] = "16:26:05"; // -0:49 sunsetTime[0]["11/27"] = "16:25:19"; // -0:46 sunsetTime[0]["11/28"] = "16:24:35"; // -0:44 sunsetTime[0]["11/29"] = "16:23:54"; // -0:41 sunsetTime[0]["11/30"] = "16:23:16"; // -0:38 sunsetTime[0]["12/01"] = "16:22:42"; // -0:34 sunsetTime[0]["12/02"] = "16:22:10"; // -0:32 sunsetTime[0]["12/03"] = "16:21:41"; // -0:29 sunsetTime[0]["12/04"] = "16:21:15"; // -0:26 sunsetTime[0]["12/05"] = "16:20:53"; // -0:22 sunsetTime[0]["12/06"] = "16:20:35"; // -0:18 sunsetTime[0]["12/07"] = "16:20:18"; // -0:17 sunsetTime[0]["12/08"] = "16:20:06"; // -0:12 sunsetTime[0]["12/09"] = "16:19:55"; // -0:11 sunsetTime[0]["12/10"] = "16:19:49"; // -0:06 sunsetTime[0]["12/11"] = "16:19:45"; // -0:04 sunsetTime[0]["12/12"] = "16:19:45"; // -0:00 sunsetTime[0]["12/13"] = "16:19:49"; // +0:04 sunsetTime[0]["12/14"] = "16:19:55"; // +0:06 sunsetTime[0]["12/15"] = "16:20:04"; // +0:09 sunsetTime[0]["12/16"] = "16:20:18"; // +0:14 sunsetTime[0]["12/17"] = "16:20:33"; // +0:15 sunsetTime[0]["12/18"] = "16:20:53"; // +0:20 sunsetTime[0]["12/19"] = "16:21:15"; // +0:22 sunsetTime[0]["12/20"] = "16:21:41"; // +0:26 sunsetTime[0]["12/21"] = "16:22:10"; // +0:29 sunsetTime[0]["12/22"] = "16:22:42"; // +0:32 sunsetTime[0]["12/23"] = "16:23:16"; // +0:34 sunsetTime[0]["12/24"] = "16:23:54"; // +0:38 sunsetTime[0]["12/25"] = "16:24:35"; // +0:41 sunsetTime[0]["12/26"] = "16:25:19"; // +0:44 sunsetTime[0]["12/27"] = "16:26:05"; // +0:46 sunsetTime[0]["12/28"] = "16:26:56"; // +0:51 sunsetTime[0]["12/29"] = "16:27:47"; // +0:51 sunsetTime[0]["12/30"] = "16:28:43"; // +0:56 sunsetTime[0]["12/31"] = "16:28:38"; // +0:56 new Pixel(left+163, bottom-198, "#000000"); // for test only // i.e. location AF104 on background image bgdSunFilter.JPG srTime = sunriseTime[0][monthAndDay]; ssTime = sunsetTime[0][monthAndDay]; var xPixel = 0; for (var xDay in sunriseTime[0]) { ++xPixel; var time = sunriseTime[0][xDay]; new Pixel(left+xPixel, bottom-time2pixel(time), cST); } } function time2pixel(time) { var sTime = new String(); sTime = time; var splitTime = sTime.split(":"); var pixel = splitTime[1]; return pixel } function drawSunrise() { var cSR = "#0000FF"; // blue new Pixel(left+1,bottom-84, cSR); new Pixel(left+2,bottom-84, cSR); new Pixel(left+3,bottom-84, cSR); new Pixel(left+4,bottom-84, cSR); new Pixel(left+5,bottom-84, cSR); new Pixel(left+6,bottom-84, cSR); new Pixel(left+7,bottom-84, cSR); new Pixel(left+8,bottom-84, cSR); new Pixel(left+9,bottom-84, cSR); new Pixel(left+10,bottom-84, cSR); new Pixel(left+11,bottom-84, cSR); new Pixel(left+12,bottom-84, cSR); new Pixel(left+13,bottom-83, cSR); new Pixel(left+14,bottom-83, cSR); new Pixel(left+15,bottom-83, cSR); new Pixel(left+16,bottom-83, cSR); new Pixel(left+17,bottom-83, cSR); new Pixel(left+18,bottom-83, cSR); new Pixel(left+19,bottom-83, cSR); new Pixel(left+20,bottom-83, cSR); new Pixel(left+21,bottom-82, cSR); new Pixel(left+22,bottom-82, cSR); new Pixel(left+23,bottom-82, cSR); new Pixel(left+24,bottom-82, cSR); new Pixel(left+25,bottom-82, cSR); new Pixel(left+26,bottom-81, cSR); new Pixel(left+27,bottom-81, cSR); new Pixel(left+28,bottom-81, cSR); new Pixel(left+29,bottom-81, cSR); new Pixel(left+30,bottom-81, cSR); new Pixel(left+31,bottom-80, cSR); new Pixel(left+32,bottom-80, cSR); new Pixel(left+33,bottom-80, cSR); new Pixel(left+34,bottom-80, cSR); new Pixel(left+35,bottom-79, cSR); new Pixel(left+36,bottom-79, cSR); new Pixel(left+37,bottom-79, cSR); new Pixel(left+38,bottom-79, cSR); new Pixel(left+39,bottom-78, cSR); new Pixel(left+40,bottom-78, cSR); new Pixel(left+41,bottom-78, cSR); new Pixel(left+42,bottom-77, cSR); new Pixel(left+43,bottom-77, cSR); new Pixel(left+44,bottom-77, cSR); new Pixel(left+45,bottom-77, cSR); new Pixel(left+46,bottom-76, cSR); new Pixel(left+47,bottom-76, cSR); new Pixel(left+48,bottom-76, cSR); new Pixel(left+49,bottom-75, cSR); new Pixel(left+50,bottom-75, cSR); new Pixel(left+51,bottom-75, cSR); new Pixel(left+52,bottom-74, cSR); new Pixel(left+53,bottom-74, cSR); new Pixel(left+54,bottom-74, cSR); new Pixel(left+55,bottom-73, cSR); new Pixel(left+56,bottom-73, cSR); new Pixel(left+57,bottom-73, cSR); new Pixel(left+58,bottom-72, cSR); new Pixel(left+59,bottom-72, cSR); new Pixel(left+60,bottom-72, cSR); new Pixel(left+61,bottom-71, cSR); new Pixel(left+62,bottom-71, cSR); new Pixel(left+63,bottom-71, cSR); new Pixel(left+64,bottom-70, cSR); new Pixel(left+65,bottom-70, cSR); new Pixel(left+66,bottom-70, cSR); new Pixel(left+67,bottom-69, cSR); new Pixel(left+68,bottom-69, cSR); new Pixel(left+69,bottom-69, cSR); new Pixel(left+70,bottom-68, cSR); new Pixel(left+71,bottom-68, cSR); new Pixel(left+72,bottom-68, cSR); new Pixel(left+73,bottom-67, cSR); new Pixel(left+74,bottom-67, cSR); new Pixel(left+75,bottom-66, cSR); new Pixel(left+76,bottom-66, cSR); new Pixel(left+77,bottom-66, cSR); new Pixel(left+78,bottom-65, cSR); new Pixel(left+79,bottom-65, cSR); new Pixel(left+80,bottom-65, cSR); new Pixel(left+81,bottom-64, cSR); new Pixel(left+82,bottom-64, cSR); new Pixel(left+83,bottom-64, cSR); new Pixel(left+84,bottom-63, cSR); new Pixel(left+85,bottom-63, cSR); new Pixel(left+86,bottom-63, cSR); new Pixel(left+87,bottom-62, cSR); new Pixel(left+88,bottom-62, cSR); new Pixel(left+89,bottom-61, cSR); new Pixel(left+90,bottom-71, cSR); new Pixel(left+91,bottom-71, cSR); new Pixel(left+92,bottom-70, cSR); new Pixel(left+93,bottom-70, cSR); new Pixel(left+94,bottom-70, cSR); new Pixel(left+95,bottom-69, cSR); new Pixel(left+96,bottom-69, cSR); new Pixel(left+97,bottom-69, cSR); new Pixel(left+98,bottom-68, cSR); new Pixel(left+99,bottom-68, cSR); new Pixel(left+100,bottom-68, cSR); new Pixel(left+101,bottom-67, cSR); new Pixel(left+102,bottom-67, cSR); new Pixel(left+103,bottom-66, cSR); new Pixel(left+104,bottom-66, cSR); new Pixel(left+105,bottom-66, cSR); new Pixel(left+106,bottom-65, cSR); new Pixel(left+107,bottom-65, cSR); new Pixel(left+108,bottom-65, cSR); new Pixel(left+109,bottom-64, cSR); new Pixel(left+110,bottom-64, cSR); new Pixel(left+111,bottom-64, cSR); new Pixel(left+112,bottom-63, cSR); new Pixel(left+113,bottom-63, cSR); new Pixel(left+114,bottom-63, cSR); new Pixel(left+115,bottom-62, cSR); new Pixel(left+116,bottom-62, cSR); new Pixel(left+117,bottom-62, cSR); new Pixel(left+118,bottom-62, cSR); new Pixel(left+119,bottom-61, cSR); new Pixel(left+120,bottom-61, cSR); new Pixel(left+121,bottom-61, cSR); new Pixel(left+122,bottom-60, cSR); new Pixel(left+123,bottom-60, cSR); new Pixel(left+124,bottom-60, cSR); new Pixel(left+125,bottom-59, cSR); new Pixel(left+126,bottom-59, cSR); new Pixel(left+127,bottom-59, cSR); new Pixel(left+128,bottom-59, cSR); new Pixel(left+129,bottom-58, cSR); new Pixel(left+130,bottom-58, cSR); new Pixel(left+131,bottom-58, cSR); new Pixel(left+132,bottom-58, cSR); new Pixel(left+133,bottom-57, cSR); new Pixel(left+134,bottom-57, cSR); new Pixel(left+135,bottom-57, cSR); new Pixel(left+136,bottom-57, cSR); new Pixel(left+137,bottom-56, cSR); new Pixel(left+138,bottom-56, cSR); new Pixel(left+139,bottom-56, cSR); new Pixel(left+140,bottom-56, cSR); new Pixel(left+141,bottom-56, cSR); new Pixel(left+142,bottom-55, cSR); new Pixel(left+143,bottom-55, cSR); new Pixel(left+144,bottom-55, cSR); new Pixel(left+145,bottom-55, cSR); new Pixel(left+146,bottom-55, cSR); new Pixel(left+147,bottom-54, cSR); new Pixel(left+148,bottom-54, cSR); new Pixel(left+149,bottom-54, cSR); new Pixel(left+150,bottom-54, cSR); new Pixel(left+151,bottom-54, cSR); new Pixel(left+152,bottom-54, cSR); new Pixel(left+153,bottom-54, cSR); new Pixel(left+154,bottom-54, cSR); new Pixel(left+155,bottom-53, cSR); new Pixel(left+156,bottom-53, cSR); new Pixel(left+157,bottom-53, cSR); new Pixel(left+158,bottom-53, cSR); new Pixel(left+159,bottom-53, cSR); new Pixel(left+160,bottom-53, cSR); new Pixel(left+161,bottom-53, cSR); new Pixel(left+162,bottom-53, cSR); new Pixel(left+163,bottom-53, cSR); new Pixel(left+164,bottom-53, cSR); new Pixel(left+165,bottom-53, cSR); new Pixel(left+166,bottom-53, cSR); new Pixel(left+167,bottom-53, cSR); new Pixel(left+168,bottom-53, cSR); new Pixel(left+169,bottom-53, cSR); new Pixel(left+170,bottom-53, cSR); new Pixel(left+171,bottom-53, cSR); new Pixel(left+172,bottom-53, cSR); new Pixel(left+173,bottom-53, cSR); new Pixel(left+174,bottom-53, cSR); new Pixel(left+175,bottom-53, cSR); new Pixel(left+176,bottom-53, cSR); new Pixel(left+177,bottom-53, cSR); new Pixel(left+178,bottom-53, cSR); new Pixel(left+179,bottom-53, cSR); new Pixel(left+180,bottom-53, cSR); new Pixel(left+181,bottom-53, cSR); new Pixel(left+182,bottom-53, cSR); new Pixel(left+183,bottom-54, cSR); new Pixel(left+184,bottom-54, cSR); new Pixel(left+185,bottom-54, cSR); new Pixel(left+186,bottom-54, cSR); new Pixel(left+187,bottom-54, cSR); new Pixel(left+188,bottom-54, cSR); new Pixel(left+189,bottom-54, cSR); new Pixel(left+190,bottom-54, cSR); new Pixel(left+191,bottom-55, cSR); new Pixel(left+192,bottom-55, cSR); new Pixel(left+193,bottom-55, cSR); new Pixel(left+194,bottom-55, cSR); new Pixel(left+195,bottom-55, cSR); new Pixel(left+196,bottom-55, cSR); new Pixel(left+197,bottom-56, cSR); new Pixel(left+198,bottom-56, cSR); new Pixel(left+199,bottom-56, cSR); new Pixel(left+200,bottom-56, cSR); new Pixel(left+201,bottom-56, cSR); new Pixel(left+202,bottom-57, cSR); new Pixel(left+203,bottom-57, cSR); new Pixel(left+204,bottom-57, cSR); new Pixel(left+205,bottom-57, cSR); new Pixel(left+206,bottom-57, cSR); new Pixel(left+207,bottom-58, cSR); new Pixel(left+208,bottom-58, cSR); new Pixel(left+209,bottom-58, cSR); new Pixel(left+210,bottom-58, cSR); new Pixel(left+211,bottom-59, cSR); new Pixel(left+212,bottom-59, cSR); new Pixel(left+213,bottom-59, cSR); new Pixel(left+214,bottom-59, cSR); new Pixel(left+215,bottom-60, cSR); new Pixel(left+216,bottom-60, cSR); new Pixel(left+217,bottom-60, cSR); new Pixel(left+218,bottom-60, cSR); new Pixel(left+219,bottom-60, cSR); new Pixel(left+220,bottom-61, cSR); new Pixel(left+221,bottom-61, cSR); new Pixel(left+222,bottom-61, cSR); new Pixel(left+223,bottom-61, cSR); new Pixel(left+224,bottom-62, cSR); new Pixel(left+225,bottom-62, cSR); new Pixel(left+226,bottom-62, cSR); new Pixel(left+227,bottom-62, cSR); new Pixel(left+228,bottom-63, cSR); new Pixel(left+229,bottom-63, cSR); new Pixel(left+230,bottom-63, cSR); new Pixel(left+231,bottom-63, cSR); new Pixel(left+232,bottom-64, cSR); new Pixel(left+233,bottom-64, cSR); new Pixel(left+234,bottom-64, cSR); new Pixel(left+235,bottom-64, cSR); new Pixel(left+236,bottom-65, cSR); new Pixel(left+237,bottom-65, cSR); new Pixel(left+238,bottom-65, cSR); new Pixel(left+239,bottom-65, cSR); new Pixel(left+240,bottom-66, cSR); new Pixel(left+241,bottom-66, cSR); new Pixel(left+242,bottom-66, cSR); new Pixel(left+243,bottom-66, cSR); new Pixel(left+244,bottom-67, cSR); new Pixel(left+245,bottom-67, cSR); new Pixel(left+246,bottom-67, cSR); new Pixel(left+247,bottom-67, cSR); new Pixel(left+248,bottom-68, cSR); new Pixel(left+249,bottom-68, cSR); new Pixel(left+250,bottom-68, cSR); new Pixel(left+251,bottom-68, cSR); new Pixel(left+252,bottom-69, cSR); new Pixel(left+253,bottom-69, cSR); new Pixel(left+254,bottom-69, cSR); new Pixel(left+255,bottom-69, cSR); new Pixel(left+256,bottom-70, cSR); new Pixel(left+257,bottom-70, cSR); new Pixel(left+258,bottom-70, cSR); new Pixel(left+259,bottom-70, cSR); new Pixel(left+260,bottom-71, cSR); new Pixel(left+261,bottom-71, cSR); new Pixel(left+262,bottom-71, cSR); new Pixel(left+263,bottom-71, cSR); new Pixel(left+264,bottom-72, cSR); new Pixel(left+265,bottom-72, cSR); new Pixel(left+266,bottom-72, cSR); new Pixel(left+267,bottom-72, cSR); new Pixel(left+268,bottom-73, cSR); new Pixel(left+269,bottom-73, cSR); new Pixel(left+270,bottom-73, cSR); new Pixel(left+271,bottom-73, cSR); new Pixel(left+272,bottom-74, cSR); new Pixel(left+273,bottom-74, cSR); new Pixel(left+274,bottom-74, cSR); new Pixel(left+275,bottom-74, cSR); new Pixel(left+276,bottom-75, cSR); new Pixel(left+277,bottom-75, cSR); new Pixel(left+278,bottom-75, cSR); new Pixel(left+279,bottom-75, cSR); new Pixel(left+280,bottom-76, cSR); new Pixel(left+281,bottom-76, cSR); new Pixel(left+282,bottom-76, cSR); new Pixel(left+283,bottom-76, cSR); new Pixel(left+284,bottom-77, cSR); new Pixel(left+285,bottom-77, cSR); new Pixel(left+286,bottom-77, cSR); new Pixel(left+287,bottom-77, cSR); new Pixel(left+288,bottom-78, cSR); new Pixel(left+289,bottom-78, cSR); new Pixel(left+290,bottom-78, cSR); new Pixel(left+291,bottom-79, cSR); new Pixel(left+292,bottom-79, cSR); new Pixel(left+293,bottom-79, cSR); new Pixel(left+294,bottom-79, cSR); new Pixel(left+295,bottom-80, cSR); new Pixel(left+296,bottom-80, cSR); new Pixel(left+297,bottom-80, cSR); new Pixel(left+298,bottom-80, cSR); new Pixel(left+299,bottom-81, cSR); new Pixel(left+300,bottom-81, cSR); new Pixel(left+301,bottom-71, cSR); new Pixel(left+302,bottom-72, cSR); new Pixel(left+303,bottom-72, cSR); new Pixel(left+304,bottom-72, cSR); new Pixel(left+305,bottom-72, cSR); new Pixel(left+306,bottom-73, cSR); new Pixel(left+307,bottom-73, cSR); new Pixel(left+308,bottom-73, cSR); new Pixel(left+309,bottom-74, cSR); new Pixel(left+310,bottom-74, cSR); new Pixel(left+311,bottom-74, cSR); new Pixel(left+312,bottom-74, cSR); new Pixel(left+313,bottom-75, cSR); new Pixel(left+314,bottom-75, cSR); new Pixel(left+315,bottom-75, cSR); new Pixel(left+316,bottom-75, cSR); new Pixel(left+317,bottom-76, cSR); new Pixel(left+318,bottom-76, cSR); new Pixel(left+319,bottom-76, cSR); new Pixel(left+320,bottom-77, cSR); new Pixel(left+321,bottom-77, cSR); new Pixel(left+322,bottom-77, cSR); new Pixel(left+323,bottom-77, cSR); new Pixel(left+324,bottom-78, cSR); new Pixel(left+325,bottom-78, cSR); new Pixel(left+326,bottom-78, cSR); new Pixel(left+327,bottom-78, cSR); new Pixel(left+328,bottom-79, cSR); new Pixel(left+329,bottom-79, cSR); new Pixel(left+330,bottom-79, cSR); new Pixel(left+331,bottom-79, cSR); new Pixel(left+332,bottom-80, cSR); new Pixel(left+333,bottom-80, cSR); new Pixel(left+334,bottom-80, cSR); new Pixel(left+335,bottom-80, cSR); new Pixel(left+336,bottom-81, cSR); new Pixel(left+337,bottom-81, cSR); new Pixel(left+338,bottom-81, cSR); new Pixel(left+339,bottom-81, cSR); new Pixel(left+340,bottom-81, cSR); new Pixel(left+341,bottom-82, cSR); new Pixel(left+342,bottom-82, cSR); new Pixel(left+343,bottom-82, cSR); new Pixel(left+344,bottom-82, cSR); new Pixel(left+345,bottom-82, cSR); new Pixel(left+346,bottom-82, cSR); new Pixel(left+347,bottom-83, cSR); new Pixel(left+348,bottom-83, cSR); new Pixel(left+349,bottom-83, cSR); new Pixel(left+350,bottom-83, cSR); new Pixel(left+351,bottom-83, cSR); new Pixel(left+352,bottom-83, cSR); new Pixel(left+353,bottom-83, cSR); new Pixel(left+354,bottom-84, cSR); new Pixel(left+355,bottom-84, cSR); new Pixel(left+356,bottom-84, cSR); new Pixel(left+357,bottom-84, cSR); new Pixel(left+358,bottom-84, cSR); new Pixel(left+359,bottom-84, cSR); new Pixel(left+360,bottom-84, cSR); new Pixel(left+361,bottom-84, cSR); new Pixel(left+362,bottom-84, cSR); new Pixel(left+363,bottom-84, cSR); new Pixel(left+364,bottom-84, cSR); new Pixel(left+365,bottom-84, cSR); new Pixel(left+366,bottom-84, cSR); if (DaylightSavingTime) { for (y = 61; y <= 71; y++) { new Pixel(left+90, bottom-y, cSR); } // day 90 in spring 2008 - sunrise for (y = 71; y <= 81; y++) { new Pixel(left+300, bottom-y, cSR); } // day 300 in authom 2008 - sunrise } } function drawSunset() { var cSS = "#FF0000"; // red new Pixel(left+1,bottom-165, cSS); new Pixel(left+2,bottom-165, cSS); new Pixel(left+3,bottom-165, cSS); new Pixel(left+4,bottom-166, cSS); new Pixel(left+5,bottom-166, cSS); new Pixel(left+6,bottom-166, cSS); new Pixel(left+7,bottom-166, cSS); new Pixel(left+8,bottom-166, cSS); new Pixel(left+9,bottom-167, cSS); new Pixel(left+10,bottom-167, cSS); new Pixel(left+11,bottom-167, cSS); new Pixel(left+12,bottom-167, cSS); new Pixel(left+13,bottom-167, cSS); new Pixel(left+14,bottom-168, cSS); new Pixel(left+15,bottom-168, cSS); new Pixel(left+16,bottom-168, cSS); new Pixel(left+17,bottom-168, cSS); new Pixel(left+18,bottom-169, cSS); new Pixel(left+19,bottom-169, cSS); new Pixel(left+20,bottom-169, cSS); new Pixel(left+21,bottom-169, cSS); new Pixel(left+22,bottom-170, cSS); new Pixel(left+23,bottom-170, cSS); new Pixel(left+24,bottom-170, cSS); new Pixel(left+25,bottom-171, cSS); new Pixel(left+26,bottom-171, cSS); new Pixel(left+27,bottom-171, cSS); new Pixel(left+28,bottom-171, cSS); new Pixel(left+29,bottom-172, cSS); new Pixel(left+30,bottom-172, cSS); new Pixel(left+31,bottom-172, cSS); new Pixel(left+32,bottom-173, cSS); new Pixel(left+33,bottom-173, cSS); new Pixel(left+34,bottom-173, cSS); new Pixel(left+35,bottom-173, cSS); new Pixel(left+36,bottom-174, cSS); new Pixel(left+37,bottom-174, cSS); new Pixel(left+38,bottom-174, cSS); new Pixel(left+39,bottom-175, cSS); new Pixel(left+40,bottom-175, cSS); new Pixel(left+41,bottom-175, cSS); new Pixel(left+42,bottom-175, cSS); new Pixel(left+43,bottom-176, cSS); new Pixel(left+44,bottom-176, cSS); new Pixel(left+45,bottom-176, cSS); new Pixel(left+46,bottom-177, cSS); new Pixel(left+47,bottom-177, cSS); new Pixel(left+48,bottom-177, cSS); new Pixel(left+49,bottom-177, cSS); new Pixel(left+50,bottom-178, cSS); new Pixel(left+51,bottom-178, cSS); new Pixel(left+52,bottom-178, cSS); new Pixel(left+53,bottom-179, cSS); new Pixel(left+54,bottom-179, cSS); new Pixel(left+55,bottom-179, cSS); new Pixel(left+56,bottom-179, cSS); new Pixel(left+57,bottom-180, cSS); new Pixel(left+58,bottom-180, cSS); new Pixel(left+59,bottom-180, cSS); new Pixel(left+60,bottom-181, cSS); new Pixel(left+61,bottom-181, cSS); new Pixel(left+62,bottom-181, cSS); new Pixel(left+63,bottom-181, cSS); new Pixel(left+64,bottom-182, cSS); new Pixel(left+65,bottom-182, cSS); new Pixel(left+66,bottom-182, cSS); new Pixel(left+67,bottom-182, cSS); new Pixel(left+68,bottom-183, cSS); new Pixel(left+69,bottom-183, cSS); new Pixel(left+70,bottom-183, cSS); new Pixel(left+71,bottom-184, cSS); new Pixel(left+72,bottom-184, cSS); new Pixel(left+73,bottom-184, cSS); new Pixel(left+74,bottom-184, cSS); new Pixel(left+75,bottom-185, cSS); new Pixel(left+76,bottom-185, cSS); new Pixel(left+77,bottom-185, cSS); new Pixel(left+78,bottom-185, cSS); new Pixel(left+79,bottom-186, cSS); new Pixel(left+80,bottom-186, cSS); new Pixel(left+81,bottom-186, cSS); new Pixel(left+82,bottom-186, cSS); new Pixel(left+83,bottom-187, cSS); new Pixel(left+84,bottom-187, cSS); new Pixel(left+85,bottom-187, cSS); new Pixel(left+86,bottom-188, cSS); new Pixel(left+87,bottom-188, cSS); new Pixel(left+88,bottom-188, cSS); new Pixel(left+89,bottom-188, cSS); new Pixel(left+90,bottom-199, cSS); new Pixel(left+91,bottom-199, cSS); new Pixel(left+92,bottom-199, cSS); new Pixel(left+93,bottom-199, cSS); new Pixel(left+94,bottom-200, cSS); new Pixel(left+95,bottom-200, cSS); new Pixel(left+96,bottom-200, cSS); new Pixel(left+97,bottom-200, cSS); new Pixel(left+98,bottom-201, cSS); new Pixel(left+99,bottom-201, cSS); new Pixel(left+100,bottom-201, cSS); new Pixel(left+101,bottom-201, cSS); new Pixel(left+102,bottom-202, cSS); new Pixel(left+103,bottom-202, cSS); new Pixel(left+104,bottom-202, cSS); new Pixel(left+105,bottom-202, cSS); new Pixel(left+106,bottom-203, cSS); new Pixel(left+107,bottom-203, cSS); new Pixel(left+108,bottom-203, cSS); new Pixel(left+109,bottom-204, cSS); new Pixel(left+110,bottom-204, cSS); new Pixel(left+111,bottom-204, cSS); new Pixel(left+112,bottom-204, cSS); new Pixel(left+113,bottom-205, cSS); new Pixel(left+114,bottom-205, cSS); new Pixel(left+115,bottom-205, cSS); new Pixel(left+116,bottom-205, cSS); new Pixel(left+117,bottom-206, cSS); new Pixel(left+118,bottom-206, cSS); new Pixel(left+119,bottom-206, cSS); new Pixel(left+120,bottom-206, cSS); new Pixel(left+121,bottom-207, cSS); new Pixel(left+122,bottom-207, cSS); new Pixel(left+123,bottom-207, cSS); new Pixel(left+124,bottom-207, cSS); new Pixel(left+125,bottom-208, cSS); new Pixel(left+126,bottom-208, cSS); new Pixel(left+127,bottom-208, cSS); new Pixel(left+128,bottom-208, cSS); new Pixel(left+129,bottom-209, cSS); new Pixel(left+130,bottom-209, cSS); new Pixel(left+131,bottom-209, cSS); new Pixel(left+132,bottom-209, cSS); new Pixel(left+133,bottom-210, cSS); new Pixel(left+134,bottom-210, cSS); new Pixel(left+135,bottom-210, cSS); new Pixel(left+136,bottom-210, cSS); new Pixel(left+137,bottom-211, cSS); new Pixel(left+138,bottom-211, cSS); new Pixel(left+139,bottom-211, cSS); new Pixel(left+140,bottom-211, cSS); new Pixel(left+141,bottom-211, cSS); new Pixel(left+142,bottom-212, cSS); new Pixel(left+143,bottom-212, cSS); new Pixel(left+144,bottom-212, cSS); new Pixel(left+145,bottom-212, cSS); new Pixel(left+146,bottom-212, cSS); new Pixel(left+147,bottom-213, cSS); new Pixel(left+148,bottom-213, cSS); new Pixel(left+149,bottom-213, cSS); new Pixel(left+150,bottom-213, cSS); new Pixel(left+151,bottom-213, cSS); new Pixel(left+152,bottom-214, cSS); new Pixel(left+153,bottom-214, cSS); new Pixel(left+154,bottom-214, cSS); new Pixel(left+155,bottom-214, cSS); new Pixel(left+156,bottom-214, cSS); new Pixel(left+157,bottom-214, cSS); new Pixel(left+158,bottom-214, cSS); new Pixel(left+159,bottom-215, cSS); new Pixel(left+160,bottom-215, cSS); new Pixel(left+161,bottom-215, cSS); new Pixel(left+162,bottom-215, cSS); new Pixel(left+163,bottom-215, cSS); new Pixel(left+164,bottom-215, cSS); new Pixel(left+165,bottom-215, cSS); new Pixel(left+166,bottom-215, cSS); new Pixel(left+167,bottom-215, cSS); new Pixel(left+168,bottom-216, cSS); new Pixel(left+169,bottom-216, cSS); new Pixel(left+170,bottom-216, cSS); new Pixel(left+171,bottom-216, cSS); new Pixel(left+172,bottom-216, cSS); new Pixel(left+173,bottom-216, cSS); new Pixel(left+174,bottom-216, cSS); new Pixel(left+175,bottom-216, cSS); new Pixel(left+176,bottom-216, cSS); new Pixel(left+177,bottom-216, cSS); new Pixel(left+178,bottom-216, cSS); new Pixel(left+179,bottom-216, cSS); new Pixel(left+180,bottom-216, cSS); new Pixel(left+181,bottom-216, cSS); new Pixel(left+182,bottom-216, cSS); new Pixel(left+183,bottom-216, cSS); new Pixel(left+184,bottom-216, cSS); new Pixel(left+185,bottom-216, cSS); new Pixel(left+186,bottom-215, cSS); new Pixel(left+187,bottom-215, cSS); new Pixel(left+188,bottom-215, cSS); new Pixel(left+189,bottom-215, cSS); new Pixel(left+190,bottom-215, cSS); new Pixel(left+191,bottom-215, cSS); new Pixel(left+192,bottom-215, cSS); new Pixel(left+193,bottom-215, cSS); new Pixel(left+194,bottom-215, cSS); new Pixel(left+195,bottom-215, cSS); new Pixel(left+196,bottom-214, cSS); new Pixel(left+197,bottom-214, cSS); new Pixel(left+198,bottom-214, cSS); new Pixel(left+199,bottom-214, cSS); new Pixel(left+200,bottom-214, cSS); new Pixel(left+201,bottom-214, cSS); new Pixel(left+202,bottom-213, cSS); new Pixel(left+203,bottom-213, cSS); new Pixel(left+204,bottom-213, cSS); new Pixel(left+205,bottom-213, cSS); new Pixel(left+206,bottom-213, cSS); new Pixel(left+207,bottom-212, cSS); new Pixel(left+208,bottom-212, cSS); new Pixel(left+209,bottom-212, cSS); new Pixel(left+210,bottom-212, cSS); new Pixel(left+211,bottom-211, cSS); new Pixel(left+212,bottom-211, cSS); new Pixel(left+213,bottom-211, cSS); new Pixel(left+214,bottom-211, cSS); new Pixel(left+215,bottom-210, cSS); new Pixel(left+216,bottom-210, cSS); new Pixel(left+217,bottom-210, cSS); new Pixel(left+218,bottom-210, cSS); new Pixel(left+219,bottom-209, cSS); new Pixel(left+220,bottom-209, cSS); new Pixel(left+221,bottom-209, cSS); new Pixel(left+222,bottom-208, cSS); new Pixel(left+223,bottom-208, cSS); new Pixel(left+224,bottom-208, cSS); new Pixel(left+225,bottom-208, cSS); new Pixel(left+226,bottom-207, cSS); new Pixel(left+227,bottom-207, cSS); new Pixel(left+228,bottom-207, cSS); new Pixel(left+229,bottom-206, cSS); new Pixel(left+230,bottom-206, cSS); new Pixel(left+231,bottom-206, cSS); new Pixel(left+232,bottom-205, cSS); new Pixel(left+233,bottom-205, cSS); new Pixel(left+234,bottom-205, cSS); new Pixel(left+235,bottom-204, cSS); new Pixel(left+236,bottom-204, cSS); new Pixel(left+237,bottom-204, cSS); new Pixel(left+238,bottom-203, cSS); new Pixel(left+239,bottom-203, cSS); new Pixel(left+240,bottom-203, cSS); new Pixel(left+241,bottom-202, cSS); new Pixel(left+242,bottom-202, cSS); new Pixel(left+243,bottom-202, cSS); new Pixel(left+244,bottom-201, cSS); new Pixel(left+245,bottom-201, cSS); new Pixel(left+246,bottom-201, cSS); new Pixel(left+247,bottom-200, cSS); new Pixel(left+248,bottom-200, cSS); new Pixel(left+249,bottom-200, cSS); new Pixel(left+250,bottom-199, cSS); new Pixel(left+251,bottom-199, cSS); new Pixel(left+252,bottom-198, cSS); new Pixel(left+253,bottom-198, cSS); new Pixel(left+254,bottom-198, cSS); new Pixel(left+255,bottom-197, cSS); new Pixel(left+256,bottom-197, cSS); new Pixel(left+257,bottom-197, cSS); new Pixel(left+258,bottom-196, cSS); new Pixel(left+259,bottom-196, cSS); new Pixel(left+260,bottom-195, cSS); new Pixel(left+261,bottom-195, cSS); new Pixel(left+262,bottom-195, cSS); new Pixel(left+263,bottom-194, cSS); new Pixel(left+264,bottom-194, cSS); new Pixel(left+265,bottom-194, cSS); new Pixel(left+266,bottom-193, cSS); new Pixel(left+267,bottom-193, cSS); new Pixel(left+268,bottom-193, cSS); new Pixel(left+269,bottom-192, cSS); new Pixel(left+270,bottom-192, cSS); new Pixel(left+271,bottom-191, cSS); new Pixel(left+272,bottom-191, cSS); new Pixel(left+273,bottom-191, cSS); new Pixel(left+274,bottom-190, cSS); new Pixel(left+275,bottom-190, cSS); new Pixel(left+276,bottom-190, cSS); new Pixel(left+277,bottom-189, cSS); new Pixel(left+278,bottom-189, cSS); new Pixel(left+279,bottom-189, cSS); new Pixel(left+280,bottom-188, cSS); new Pixel(left+281,bottom-188, cSS); new Pixel(left+282,bottom-188, cSS); new Pixel(left+283,bottom-187, cSS); new Pixel(left+284,bottom-187, cSS); new Pixel(left+285,bottom-186, cSS); new Pixel(left+286,bottom-186, cSS); new Pixel(left+287,bottom-186, cSS); new Pixel(left+288,bottom-185, cSS); new Pixel(left+289,bottom-185, cSS); new Pixel(left+290,bottom-185, cSS); new Pixel(left+291,bottom-184, cSS); new Pixel(left+292,bottom-184, cSS); new Pixel(left+293,bottom-184, cSS); new Pixel(left+294,bottom-183, cSS); new Pixel(left+295,bottom-183, cSS); new Pixel(left+296,bottom-183, cSS); new Pixel(left+297,bottom-182, cSS); new Pixel(left+298,bottom-182, cSS); new Pixel(left+299,bottom-182, cSS); new Pixel(left+300,bottom-182, cSS); new Pixel(left+301,bottom-171, cSS); new Pixel(left+302,bottom-171, cSS); new Pixel(left+303,bottom-171, cSS); new Pixel(left+304,bottom-170, cSS); new Pixel(left+305,bottom-170, cSS); new Pixel(left+306,bottom-170, cSS); new Pixel(left+307,bottom-169, cSS); new Pixel(left+308,bottom-169, cSS); new Pixel(left+309,bottom-169, cSS); new Pixel(left+310,bottom-169, cSS); new Pixel(left+311,bottom-168, cSS); new Pixel(left+312,bottom-168, cSS); new Pixel(left+313,bottom-168, cSS); new Pixel(left+314,bottom-168, cSS); new Pixel(left+315,bottom-167, cSS); new Pixel(left+316,bottom-167, cSS); new Pixel(left+317,bottom-167, cSS); new Pixel(left+318,bottom-167, cSS); new Pixel(left+319,bottom-166, cSS); new Pixel(left+320,bottom-166, cSS); new Pixel(left+321,bottom-166, cSS); new Pixel(left+322,bottom-166, cSS); new Pixel(left+323,bottom-166, cSS); new Pixel(left+324,bottom-165, cSS); new Pixel(left+325,bottom-165, cSS); new Pixel(left+326,bottom-165, cSS); new Pixel(left+327,bottom-165, cSS); new Pixel(left+328,bottom-165, cSS); new Pixel(left+329,bottom-165, cSS); new Pixel(left+330,bottom-164, cSS); new Pixel(left+331,bottom-164, cSS); new Pixel(left+332,bottom-164, cSS); new Pixel(left+333,bottom-164, cSS); new Pixel(left+334,bottom-164, cSS); new Pixel(left+335,bottom-164, cSS); new Pixel(left+336,bottom-164, cSS); new Pixel(left+337,bottom-164, cSS); new Pixel(left+338,bottom-164, cSS); new Pixel(left+339,bottom-164, cSS); new Pixel(left+340,bottom-163, cSS); new Pixel(left+341,bottom-163, cSS); new Pixel(left+342,bottom-163, cSS); new Pixel(left+343,bottom-163, cSS); new Pixel(left+344,bottom-163, cSS); new Pixel(left+345,bottom-163, cSS); new Pixel(left+346,bottom-163, cSS); new Pixel(left+347,bottom-163, cSS); new Pixel(left+348,bottom-163, cSS); new Pixel(left+349,bottom-163, cSS); new Pixel(left+350,bottom-163, cSS); new Pixel(left+351,bottom-163, cSS); new Pixel(left+352,bottom-163, cSS); new Pixel(left+353,bottom-163, cSS); new Pixel(left+354,bottom-164, cSS); new Pixel(left+355,bottom-164, cSS); new Pixel(left+356,bottom-164, cSS); new Pixel(left+357,bottom-164, cSS); new Pixel(left+358,bottom-164, cSS); new Pixel(left+359,bottom-164, cSS); new Pixel(left+360,bottom-164, cSS); new Pixel(left+361,bottom-164, cSS); new Pixel(left+362,bottom-164, cSS); new Pixel(left+363,bottom-164, cSS); new Pixel(left+364,bottom-165, cSS); new Pixel(left+365,bottom-165, cSS); new Pixel(left+366,bottom-165, cSS); if (DaylightSavingTime) { for (y = 188; y <= 199; y++) { new Pixel(left+90, bottom-y, cSS); } // day 90 in spring 2008 - sunset for (y = 171; y <= 182; y++) { new Pixel(left+300, bottom-y, cSS); } // day 300 in authom 2008 - sunset } } function drawSunsetFixedTestData() { var cSS = "#00FF00"; // green var left = 80; var bottom = 460; new Pixel(left+1,bottom-165, cSS); new Pixel(left+2,bottom-165, cSS); new Pixel(left+3,bottom-165, cSS); new Pixel(left+4,bottom-166, cSS); new Pixel(left+5,bottom-166, cSS); new Pixel(left+6,bottom-166, cSS); new Pixel(left+7,bottom-166, cSS); new Pixel(left+8,bottom-166, cSS); new Pixel(left+9,bottom-167, cSS); new Pixel(left+10,bottom-167, cSS); new Pixel(left+11,bottom-167, cSS); new Pixel(left+12,bottom-167, cSS); new Pixel(left+13,bottom-167, cSS); new Pixel(left+14,bottom-168, cSS); new Pixel(left+15,bottom-168, cSS); new Pixel(left+16,bottom-168, cSS); new Pixel(left+17,bottom-168, cSS); new Pixel(left+18,bottom-169, cSS); new Pixel(left+19,bottom-169, cSS); new Pixel(left+20,bottom-169, cSS); new Pixel(left+21,bottom-169, cSS); new Pixel(left+22,bottom-170, cSS); } function drawSineCurveForTestPurposesOnly() { var i, j, x; for (i=80; i<=540; i++) { x = D.RealX(i); j= D.ScreenY(Math.sin(x)); new Pixel(i, j, "#FF0000"); j= D.ScreenY(Math.cos(x)); new Pixel(i, j, "#0000FF"); } }