<!--
// get the date and change it to GMT string
var date = new Date();
var timegmt = date.toGMTString();

// split the GMT string at spaces
time_string = timegmt.split(' ');

// assign variables
week = time_string[0];
day = time_string[1];
mon = time_string[2];
year = time_string[3];
hms = time_string[4];

// split the time part on colon
hms_string = hms.split(':');

// assign variables
var hour = hms_string[0] - 0;
var min = hms_string[1];

// convert day-of-week variables to numbers
if (week == 'Sun,') {
   week = 1
   }
if (week == 'Mon,') {
   week = 2
   }
if (week == 'Tue,') {
   week = 3
   }
if (week == 'Wed,') {
   week = 4
   }
if (week == 'Thu,') {
   week = 5
   }
if (week == 'Fri,') {
   week = 6
   }
if (week == 'Sat,') {
   week = 7
   }
   
// fix mac version communicator bug
function checkOS() {
          if (navigator.appVersion.indexOf("Mac") > 0) return "Macintosh";
          else return "other";
}
var check = checkOS();
    if (check == "Macintosh") {
    week -= 1
   }

// make array for days of week
weekly = new Array("Saturday", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday");

var ban_hour = hour + 7;
var ban_week = week;
var ban_ampm = "am";
if (ban_hour > 24) {
   ban_hour -= 24
   ban_week += 1
   }
if (ban_hour > 11) {
    ban_ampm = "pm"
    }
if (ban_hour > 12) {
   ban_hour -= 12
   }
if (ban_hour == 0) {
   ban_hour = 12
   }
   
var east_hour = hour - 5;
var east_week = week;
var east_ampm = "am";
if (east_hour < 0) {
   east_hour += 24
   east_week -= 1
   }
if (east_hour > 11) {
    east_ampm = "pm"
    }
if (east_hour > 12) {
   east_hour -= 12
   }
if (east_hour == 0) {
   east_hour = 12
   }

var cen_hour = hour - 6;
var cen_week = week;
var cen_ampm = "am";
if (cen_hour < 0) {
   cen_hour += 24
   cen_week -= 1
   }
if (cen_hour > 11) {
    cen_ampm = "pm"
    }
if (cen_hour > 12) {
   cen_hour -= 12
   }
if (cen_hour == 0) {
   cen_hour = 12
   }
   
var moun_hour = hour - 7;
var moun_week = week;
var moun_ampm = "am";
if (moun_hour < 0) {
   moun_hour += 24
   moun_week -= 1
   }
if (moun_hour > 11) {
    moun_ampm = "pm"
    }
if (moun_hour > 12) {
   moun_hour -= 12
   }
if (moun_hour == 0) {
   moun_hour = 12
   }
   
var pac_hour = hour - 8;
var pac_week = week;
var pac_ampm = "am";
if (pac_hour < 0) {
   pac_hour += 24
   pac_week -= 1
   }
if (pac_hour > 11) {
    pac_ampm = "pm"
    }
if (pac_hour > 12) {
   pac_hour -= 12
   }
if (pac_hour == 0) {
   pac_hour = 12
   }
   
// -->  