<!--
var alertMessage = "You are leaving molokaicommunityfcu.com and entering a website that Molokai Community FCU "
                 + "does not control. Molokai Community FCU has provided this link for your convenience, "
                 + "but does not endorse, nor is responsible for the content, links, privacy "
                 + "policy, or security policy of this website.";

document.write ("<div id=\"disableScreen\" style=\"width: 100%; height: 1000px; background-color: #000000; position: absolute; top: 0px; left: 0px; display: none; filter:alpha(opacity=50); -moz-opacity:0.5; opacity:0.5; -khtml-opacity:0.5; z-index: 103;\"></div>");

function getStyleObject (objectId) {
  // checkW3C DOM, then MSIE 4, then NN 4
  if (document.getElementById && document.getElementById (objectId)) {
    return document.getElementById(objectId).style;
  } else if (document.all && document.all(objectId)) {
    return document.all(objectId).style;
  } else if (document.layers && document.layers [objectId]) {
    return document.layers[objectId];
  } else {
    return false;
  }
}

function changeDiv (divID,displayOption) {
  var myStyle = getStyleObject (divID);
  if (myStyle != false) {
    myStyle.display = displayOption;
  }
}

function makeAlert (id, link) {
  document.write ("<div id=\"" + id + "\" style=\"width: 100%; height: 100%; z-index: 200; background-color: transparent; position: absolute; top: 50px; left: 0px; display: none;\">");
  document.write ("  <table style=\"width: 100%; height: 100%; background-color: none; vertical-align: middle; text-align: center;\">");
  document.write ("    <tr><td><center>");
  document.write ("      <table cellpadding=\"3\" cellspacing=\"0\" style=\"background-color: white; border: 2px double gray; width: 400px; height: 200px; font-family: Arial, Helvetica, sans-serif;\">");
  document.write ("        <tr style=\"background-color: #006699; color: white;\">");
  document.write ("          <td><b>Warning</b></td>");
  document.write ("          <td style=\"text-align: right;\"><a href=\"#\"><img border=\"0\" src=\"/graphics/closeButton.gif\" onclick=\"changeDiv ('disableScreen','none');changeDiv ('" + id + "','none');\"></a></td>");
  document.write ("        </tr>");
  document.write ("        <tr>");
  document.write ("          <td colspan=\"2\" style= \"vertical-align: top; text-align:justify;\" align=\"justify\">");
  document.write ("" +         alertMessage);
  document.write ("            <br><br><center>");
  document.write ("            <a href=\"#\" onclick=\"changeDiv ('disableScreen','none');changeDiv ('" + id + "','none');\">Cancel</a>");
  document.write ("            &nbsp;&nbsp;<a href=\"" + link + "\">Continue to " + id + "</a></center><br>");
  document.write ("            </center></td>");
  document.write ("        </tr>");
  document.write ("      </table>");
  document.write ("    </td></tr>");
  document.write ("  </table>");
  document.write ("</div>");
}
//-->