
function dw(theText) {
    document.writeln(theText)
}

function maintenance() {
  //remember that the JavaScript value for the month begins with 0. Jan is 0, Feb is 1, Dec is 11 etc
  today = new Date()
  if ((today.getDate() <= 17) && (today.getMonth() == 6)) {
      dw('Due to network upgrades, there may be interruptions to Hemscott services on Saturday 16/07/05 between 9pm and midnight. Hemscott apologise for any inconvenience this may cause.');
  }
}

function maintenanceHemscottPortal() {
  //remember that the JavaScript value for the month begins with 0. Jan is 0, Feb is 1, Dec is 11 etc
  today = new Date()
  
  if ((today.getDate() <= 17) && (today.getMonth() == 6)) {
    dw('<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 width="468">');
    dw('<TR>');
    dw('<TD class=blue13pxbold HEIGHT=10 BGCOLOR="#FFCC99"> <P><IMG SRC="http://www.hemscott.net/images/transparent.gif" WIDTH=5 HEIGHT=5 ALIGN=bottom>Hemscott Notice</P></TD>');
    dw('</TR>');
    dw('<tr>');
    dw('<td></td>');
    dw('</tr>');
    dw('</TABLE>');
    dw('<TABLE width="468" BORDER=0 cellpadding="0" CELLSPACING=0>');
    dw('<TR>');
    dw('<td valign="top"> </td>');
    dw('<TD valign="top" class="blue11pxplain" width="468" style= "padding-left:5px;padding-right:5px;padding-top:1px;padding-bottom:2px;">');
    dw('Due to network upgrades, there may be interruptions to Hemscott services on Saturday 16/07/05 between 9pm and midnight. Hemscott apologise for any inconvenience this may cause.');
    dw('</TD>');
    dw('</TR>');
    dw('</TABLE>');
  }
}