// FlipMenu Script v1.01 - 020904
// © Flipside 2003

var om = '';
var oom = '';
var tm = '';
var m = '';
var stayOpen = 0;
var menuFade = 0;
var startFade = 0;

// Main menu layout:

if (document.images) {
//  var stayon = 'intro';
  var stayon = '';
  var turnoff = '';
  homeOff = new Image();
  homeOff.src = "images/mhome0.gif";
  homeOn = new Image();
  homeOn.src = "images/mhome1.gif";

  bankingframeworkOff = new Image();
  bankingframeworkOff.src = "images/mbankingframework0.gif";
  bankingframeworkOn = new Image();
  bankingframeworkOn.src = "images/mbankingframework1.gif";

  newOff = new Image();
  newOff.src = "images/mnew0.gif";
  newOn = new Image();
  newOn.src = "images/mnew1.gif";

  servicesOff = new Image();
  servicesOff.src = "images/mservices0.gif";
  servicesOn = new Image();
  servicesOn.src = "images/mservices1.gif";


  profileOff = new Image();
  profileOff.src = "images/mprofile0.gif";
  profileOn = new Image();
  profileOn.src = "images/mprofile1.gif";

  privacyOff = new Image();
  privacyOff.src = "images/mprivacy0.gif";
  privacyOn = new Image();
  privacyOn.src = "images/mprivacy1.gif";

  contactOff = new Image();
  contactOff.src = "images/mcontact0.gif";
  contactOn = new Image();
  contactOn.src = "images/mcontact1.gif";

  linksOff = new Image();
  linksOff.src = "images/mlinks0.gif";
  linksOn = new Image();
  linksOn.src = "images/mlinks1.gif";

  sitemapOff = new Image();
  sitemapOff.src = "images/msitemap0.gif";
  sitemapOn = new Image();
  sitemapOn.src = "images/msitemap1.gif";

  searchOff = new Image();
  searchOff.src = "images/msearch0.gif";
  searchOn = new Image();
  searchOn.src = "images/msearch1.gif";
}

function imgOn(imgName) {
  if (document.images) {
  document[imgName].src = eval(imgName + "On.src");
  }
}

function imgOff(imgName) {
  if (document.images && stayon != imgName) {
  document[imgName].src = eval(imgName + "Off.src");
  }
}

function setHi(imgName) {
  if (document.images) {
  turnoff = stayon;
  if (stayon != imgName) { imgOn(imgName); }
  stayon = imgName;
  if (turnoff) { imgOff(turnoff); }
  }
}

function printMenu() {
document.write("<td bgcolor=#0000a5 background=\"images/bg2.gif\" align=right width=150 align=right class=menutext><img src=\"images/mask.gif\" alt=\"\" width=150 height=8 border=0><br>\n\n<a href=\"http://www.howbankswork.com/index.html\"><img src=\"images/mhome0.gif\" alt=\"\" width=122 height=21 border=0 name=\"home\" onMouseOver=\"imgOn('home')\" onMouseOut=\"imgOff('home')\"></a><br>\n<img src=\"images/mask.gif\" alt=\"\" width=122 height=1 border=0><br>\n\n<a href=\"http://www.howbankswork.com/framework.html\"><img src=\"images/mbankingframework0.gif\" alt=\"\" width=122 height=37 border=0 name=\"bankingframework\" onMouseOver=\"imgOn('bankingframework')\" onMouseOut=\"imgOff('bankingframework')\"></a><br>\n<img src=\"images/mask.gif\" alt=\"\" width=122 height=1 border=0><br>\n\n<a href=\"http://www.howbankswork.com/new.html\"><img src=\"images/mnew0.gif\" alt=\"\" width=122 height=21 border=0 name=\"new\" onMouseOver=\"imgOn('new')\" onMouseOut=\"imgOff('new')\"></a><br>\n<img src=\"images/mask.gif\" alt=\"\" width=122 height=1 border=0><br>\n\n<a href=\"http://www.howbankswork.com/services.html\"><img src=\"images/mservices0.gif\" alt=\"\" width=122 height=21 border=0 name=\"services\" onMouseOver=\"imgOn('services')\" onMouseOut=\"imgOff('services')\"></a><img src=\"images/mask.gif\" alt=\"\" width=122 height=1 border=0><br>\n\n<a href=\"http://www.howbankswork.com/profile.html\"><img src=\"images/mprofile0.gif\" alt=\"\" width=122 height=21 border=0 name=\"profile\" onMouseOver=\"imgOn('profile')\" onMouseOut=\"imgOff('profile')\"></a><br>\n<img src=\"images/mask.gif\" alt=\"\" width=122 height=1 border=0><br>\n\n<a href=\"http://www.howbankswork.com/contact3.html\"><img src=\"images/mcontact0.gif\" alt=\"\" width=122 height=21 border=0 name=\"contact\" onMouseOver=\"imgOn('contact')\" onMouseOut=\"imgOff('contact')\"></a><br>\n<img src=\"images/mask.gif\" alt=\"\" width=122 height=1 border=0><br>\n\n<a href=\"http://www.howbankswork.com/links.html\"><img src=\"images/mlinks0.gif\" alt=\"\" width=122 height=21 border=0 name=\"links\" onMouseOver=\"imgOn('links')\" onMouseOut=\"imgOff('links')\"></a><br>\n<img src=\"images/mask.gif\" alt=\"\" width=122 height=1 border=0><br>\n\n<a href=\"http://www.howbankswork.com/privacy.html\"><img src=\"images/mprivacy0.gif\" alt=\"\" width=122 height=21 border=0 name=\"privacy\" onMouseOver=\"imgOn('privacy')\" onMouseOut=\"imgOff('privacy')\"></a><br>\n<img src=\"images/mask.gif\" alt=\"\" width=122 height=1 border=0><br>\n\n<a href=\"http://www.howbankswork.com/map.html\"><img src=\"images/msitemap0.gif\" alt=\"\" width=122 height=21 border=0 name=\"sitemap\" onMouseOver=\"imgOn('sitemap')\" onMouseOut=\"imgOff('sitemap')\"></a><br>\n<img src=\"images/mask.gif\" alt=\"\" width=122 height=1 border=0><br>\n\n<a href=\"http://www.howbankswork.com/search.html\"><img src=\"images/msearch0.gif\" alt=\"\" width=122 height=21 border=0 name=\"search\" onMouseOver=\"imgOn('search')\" onMouseOut=\"imgOff('search')\"></a><br>\n<img src=\"images/mask.gif\" alt=\"\" width=122 height=1 border=0><br>\n\n&nbsp;<br>\n&nbsp;<br>\n<div align=left><img src=\"images/cog.gif\" alt=\"\" width=114 height=294 border=0></div>\n\n</td>\n");
}