
//<script>


//**************************************
//* This script pre-loads all the 
//* menu images do eliminate delay when
//* first hovering over the menu.
//**************************************

{
  assessmentoff = new Image(163,36);
  assessmentoff.src = "/images/b_freeassessment.gif";
  assessmenton = new Image(163,36);
  assessmenton.src = "/images/b_freeassessment_h.gif";
  assessmentdown = new Image(163,36);
  assessmentdown.src = "/images/b_freeassessment_a.gif";
  testimonialsoff = new Image(164,36);
  testimonialsoff.src = "/images/b_testimonials.gif";
  testimonialson = new Image(164,36);
  testimonialson.src = "/images/b_testimonials_h.gif";
  testimonialsdown = new Image(164,36);
  testimonialsdown.src = "/images/b_testimonials_a.gif";
  programinfooff = new Image(163,36);
  programinfooff.src = "/images/b_programinfo.gif";
  programinfoon = new Image(163,36);
  programinfoon.src = "/images/b_programinfo_h.gif";
  programinfodown = new Image(163,36);
  programinfodown.src = "/images/b_programinfo_a.gif";
  coachesoff = new Image(163,36);
  coachesoff.src = "/images/b_coaches.gif";
  coacheson = new Image(163,36);
  coacheson.src = "/images/b_coaches_h.gif";
  coachesdown = new Image(163,36);
  coachesdown.src = "/images/b_coaches_a.gif";
  faqoff = new Image(164,36);
  faqoff.src = "/images/b_faq.gif";
  faqon = new Image(164,36);
  faqon.src = "/images/b_faq_h.gif";
  faqdown = new Image(164,36);
  faqdown.src = "/images/b_faq_a.gif";
  contactusoff = new Image(163,36);
  contactusoff.src = "/images/b_contactus.gif";
  contactuson = new Image(163,36);
  contactuson.src = "/images/b_contactus_h.gif";
  contactusdown = new Image(163,36);
  contactusdown.src = "/images/b_contactus_a.gif";
  memberloginoff = new Image(81,18);
  memberloginoff.src = "/images/ll_memberlogin.gif";
  memberloginon = new Image(81,18);
  memberloginon.src = "/images/ll_memberlogin_h.gif";
  registeroff = new Image(81,18);
  registeroff.src = "/images/ll_register.gif";
  registeron = new Image(81,18);
  registeron.src = "/images/ll_register_h.gif";
  closeoff = new Image(50,18);
  closeoff.src = "/images/ll_close.gif";
  closeon = new Image(50,18);
  closeon.src = "/images/ll_close_h.gif";
  loginoff = new Image(56,17);
  loginoff.src = "/images/ll_login.gif";
  loginon = new Image(56,17);
  loginon.src = "/images/ll_login_h.gif";
}


//**************************************
//* This script changes the
//* pre-loaded images when the mouse
//* pointer hovers over them.
//**************************************

function imgSwap(imgName, imgState)
{
  document.getElementById(imgName).src = eval(imgName + imgState + ".src");
}