function preload_images()
{

  image1on = new Image();
  image1on.src = "/images/nav_on-01-01.gif";

  image2on = new Image();
  image2on.src = "/images/nav_on-02-01.gif";

  image3on = new Image();
  image3on.src = "/images/nav_on-03-01.gif";

  image4on = new Image();
  image4on.src = "/images/nav_on-04-01.gif";

  image5on = new Image();
  image5on.src = "/images/nav_on-05-01.gif";

  image6on = new Image();
  image6on.src = "/images/nav_on-06-01.gif";

  image7on = new Image();
  image7on.src = "/images/nav_on-07-01.gif";

  image8on = new Image();
  image8on.src = "/images/nav_on-08-01.gif";

  image9on = new Image();
  image9on.src = "/images/nav_on-09-01.gif";

  image10on = new Image();
  image10on.src = "/images/nav_on-10-01.gif";

  image11on = new Image();
  image11on.src = "/images/nav_on-11-01.gif";

  image12on = new Image();
  image12on.src = "/images/nav_on-12-01.gif";

  image13on = new Image();
  image13on.src = "/images/nav_on-13-01.gif";

  image14on = new Image();
  image14on.src = "/images/nav_on-14-01.gif";

  image15on = new Image();
  image15on.src = "/images/nav_on-15-01.gif";

  image16on = new Image();
  image16on.src = "/images/nav_on-16-01.gif";

  image1off = new Image();
  image1off.src = "/images/nav_off-01-01.gif";

  image2off = new Image();
  image2off.src = "/images/nav_off-02-01.gif";

  image3off = new Image();
  image3off.src = "/images/nav_off-03-01.gif";

  image4off = new Image();
  image4off.src = "/images/nav_off-04-01.gif";

  image5off = new Image();
  image5off.src = "/images/nav_off-05-01.gif";

  image6off = new Image();
  image6off.src = "/images/nav_off-06-01.gif";

  image7off = new Image();
  image7off.src = "/images/nav_off-07-01.gif";

  image8off = new Image();
  image8off.src = "/images/nav_off-08-01.gif";

  image9off = new Image();
  image9off.src = "/images/nav_off-09-01.gif";

  image10off = new Image();
  image10off.src = "/images/nav_off-10-01.gif";

  image11off = new Image();
  image11off.src = "/images/nav_off-11-01.gif";

  image12off = new Image();
  image12off.src = "/images/nav_off-12-01.gif";

  image13off = new Image();
  image13off.src = "/images/nav_off-13-01.gif";

  image14off = new Image();
  image14off.src = "/images/nav_off-14-01.gif";

  image15off = new Image();
  image15off.src = "/images/nav_off-15-01.gif";

  image16off = new Image();
  image16off.src = "/images/nav_off-16-01.gif";
}

function turnOn(imagename) {
  if (document.images) {
    document[imagename].src = eval(imagename + "on.src");
  }
}

function turnOff(imagename) {
  if (document.images) {
    document[imagename].src = eval(imagename + "off.src");
  }
}

function vertical_menu()
{
  document.write("<table width=\"150\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
  document.write("<tr><td><a href=\"/\" onMouseOver=\"turnOn('image1')\" onMouseOut=\"turnOff('image1')\"><img src = \"/images/nav_off-01-01.gif\" name=\"image1\" border=\"0\" width=\"114\" height=\"36\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/about/\" onMouseOver=\"turnOn('image2')\" onMouseOut=\"turnOff('image2')\"><img src = \"/images/nav_off-02-01.gif\" name=\"image2\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/queens_gallery/\" onMouseOver=\"turnOn('image11')\" onMouseOut=\"turnOff('image11')\"><img src = \"/images/nav_off-11-01.gif\" name=\"image11\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/nationals/\" onMouseOver=\"turnOn('image7')\" onMouseOut=\"turnOff('image7')\"><img src = \"/images/nav_off-07-01.gif\" name=\"image7\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/apply/\" onMouseOver=\"turnOn('image6')\" onMouseOut=\"turnOff('image6')\"><img src = \"/images/nav_off-06-01.gif\" name=\"image6\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/judging/\" onMouseOver=\"turnOn('image3')\" onMouseOut=\"turnOff('image3')\"><img src = \"/images/nav_off-03-01.gif\" name=\"image3\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/photo/\" onMouseOver=\"turnOn('image4')\" onMouseOut=\"turnOff('image4')\"><img src = \"/images/nav_off-04-01.gif\" name=\"image4\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/queen/\" onMouseOver=\"turnOn('image13')\" onMouseOut=\"turnOff('image13')\"><img src = \"/images/nav_off-13-01.gif\" name=\"image13\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/princess/\" onMouseOver=\"turnOn('image14')\" onMouseOut=\"turnOff('image14')\"><img src = \"/images/nav_off-14-01.gif\" name=\"image14\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/state_awards/\" onMouseOver=\"turnOn('image5')\" onMouseOut=\"turnOff('image5')\"><img src = \"/images/nav_off-05-01.gif\" name=\"image5\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/shop/\" onMouseOver=\"turnOn('image8')\" onMouseOut=\"turnOff('image8')\"><img src = \"/images/nav_off-08-01.gif\" name=\"image8\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/appearances/\" onMouseOver=\"turnOn('image9')\" onMouseOut=\"turnOff('image9')\"><img src = \"/images/nav_off-09-01.gif\" name=\"image9\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/archive\" onMouseOver=\"turnOn('image16')\" onMouseOut=\"turnOff('image16')\"><img src = \"/images/nav_off-16-01.gif\" name=\"image16\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/about/contact_us.htm\" onMouseOver=\"turnOn('image15')\" onMouseOut=\"turnOff('image15')\"><img src = \"/images/nav_off-15-01.gif\" name=\"image15\" border=\"0\" width=\"114\" height=\"36\" align=\"bottom\"></a></td></tr>");
  document.write("</table><br><br>");
}

function teen_achieve()
{
  document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"450\" height=\"50\">");
  document.write("<param name=movie value=\"/teen_achieve.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/teen_achieve.swf\" quality=high wmode=transparent width=450 height=50 pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\">");
  document.write("</embed>");
  document.write("</object>");
}

function apply_now()
{
  document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"186\" height=\"51\">");
  document.write("<param name=movie value=\"/apply_now.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/apply_now.swf\" quality=high wmode=transparent width=186 height=51 pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\">");
  document.write("</embed>");
  document.write("</object><br>");
}