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";

  image98on = new Image();
  image98on.src = "/images/pencil_color_on.gif";

  image99on = new Image();
  image99on.src = "/images/golf_clubs_on.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";

  image98off = new Image();
  image98off.src = "/images/pencil_color_off.gif";

  image99off = new Image();
  image99off.src = "/images/golf_clubs_off.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("<img src=\"/images/logo.gif\" border=\"0\" alt=\"\[Logo\]\"><br><br>");
  document.write("<table width=\"114\" 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=\"/program/\" 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=\"/staff/\" 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=\"/events/\" 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=\"/photo/\" 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=\"/signup/\" 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=\"/shop/\" onMouseOver=\"turnOn('image10')\" onMouseOut=\"turnOff('image10')\"><img src = \"/images/nav_off-10-01.gif\" name=\"image10\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/calendar/\" 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=\"/archive/\" onMouseOver=\"turnOn('image12')\" onMouseOut=\"turnOff('image12')\"><img src = \"/images/nav_off-12-01.gif\" name=\"image12\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");
  document.write("<tr><td><a href=\"/about/contact_us.htm\" onMouseOver=\"turnOn('image13')\" onMouseOut=\"turnOff('image13')\"><img src = \"/images/nav_off-13-01.gif\" name=\"image13\" border=\"0\" width=\"114\" height=\"36\" align=\"bottom\"></a></td></tr>");
  document.write("</table><br>");
}

function pencil_menu()
{
  document.write("<a href=\"/signup/\" onMouseOver=\"turnOn('image98')\" onMouseOut=\"turnOff('image98')\"><img src = \"/images/pencil_color_off.gif\" name=\"image98\" border=\"0\" width=\"150\" height=\"121\" align=\"bottom\"></a>");
}

function golf_menu()
{
  document.write("<a href=\"/events/\" onMouseOver=\"turnOn('image99')\" onMouseOut=\"turnOff('image99')\"><img src = \"/images/golf_clubs_off.gif\" name=\"image99\" border=\"0\" width=\"105\" height=\"118\" align=\"bottom\"></a>");
}

function pcase(str) 
{
strlen = str.length
jj = str.substring(0,1).toUpperCase()
jj = jj + str.substring(1,strlen).toLowerCase()
for (i = 2; i <= strlen; i++) {
  if (jj.charAt(i)==" ") {
    lefthalf = jj.substring(0,i+1)
    righthalf = jj.substring(i+1,strlen)
    righthalf = righthalf.substring(0,1).toUpperCase()+righthalf.substring(1,strlen)
    jj=lefthalf+righthalf
  }
}
return jj
}	

function sts_top()
{
  document.write("<center><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=\"300\" height=\"50\">");
  document.write("<param name=movie value=\"/saint_sophia_camp.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/saint_sophia_camp.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"300\" height=\"50\">");
  document.write("</embed> ");
  document.write("</object></center>");
}

function sts_top()
{
  document.write("<center><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=\"300\" height=\"50\">");
  document.write("<param name=movie value=\"/saint_sophia_camp.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/saint_sophia_camp.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"300\" height=\"50\">");
  document.write("</embed> ");
  document.write("</object></center>");
}

function sign_up_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=\"/sign_up_now.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/sign_up_now.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"186\" height=\"51\">");
  document.write("</embed>");
  document.write("</object>");
}


function update_past_years()
{
  document.write("Current and Past Years' information");
  document.write("<li><a href='/update/' class='text_9pt_white'>2011 Information</a> :: ");
  document.write("<a href='/update/2010_information.htm' class='text_9pt_white'>2010</a> :: ");  
  document.write("<a href='/update/2009_information.htm' class='text_9pt_white'>2009</a> :: ");
  document.write("<a href='/update/2008_information.htm' class='text_9pt_white'>2008</a> :: ");
  document.write("<a href='/update/2007_information.htm' class='text_9pt_white'>2007</a> :: ");
  document.write("<a href='/update/2006_information.htm' class='text_9pt_white'>2006</a> :: ");
  document.write("<a href='/update/2005_information.htm' class='text_9pt_white'>2005</a></li>");
}


function update_footer()
{
  document.write("<tr><td colspan='2' height='121' background='/images/bottom.jpg' style='font: 9pt arial, helvetica, tahoma; vertical-align: top; text-align: center; padding-top: 5px;'>");
  document.write("<img src='/images/bullet.gif' border='0' alt='[Bullet]'> ");
  document.write("<a href='/home.shtml' class='text_9pt_white'>Home</a> :: <a href='/update/' class='text_9pt_white'>Administration</a><br>");
  document.write("<br>");
  document.write("<a href='#top' class='text_9pt_white'>Top of Page</a>");
  document.write("</td></tr>");
}


function intro()
{
  document.write("<center><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=\"550\" height=\"400\">");
  document.write("<param name=movie value=\"intro.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"intro.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"550\" height=\"400\">");
  document.write("</embed> ");
  document.write("</object></center>");
}

function intro2()
{
  document.write("<center><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=\"550\" height=\"400\">");
  document.write("<param name=movie value=\"intro2.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"intro2.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"550\" height=\"400\">");
  document.write("</embed> ");
  document.write("</object></center>");
}

function intro3()
{
  document.write("<center><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=\"550\" height=\"400\">");
  document.write("<param name=movie value=\"intro3.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"intro3.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"550\" height=\"400\">");
  document.write("</embed> ");
  document.write("</object></center>");
}

function intro4()
{
  document.write("<center><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=\"550\" height=\"400\">");
  document.write("<param name=movie value=\"intro4.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"intro4.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"550\" height=\"400\">");
  document.write("</embed> ");
  document.write("</object></center>");
}

function menu()
{
  document.write("<center><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=\"920\" height=\"160\">");
  document.write("<param name=movie value=\"/menu.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<param name=FlashVars value=XMLfile=http://www.saintsophiacamp.org/menu.xml>");
  document.write("<embed src=\"/menu.swf\" quality=high wmode=transparent pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"920\" flashvars=\"XMLfile=http://www.saintsophiacamp.org/menu.xml\" height=\"160\">");
  document.write("</embed> ");
  document.write("</object></center>");
}

function video_years()
{
  document.write("<div style='font-size: 10pt; padding-top: 5px;'>");
  document.write("<img src='/images/bullet_blank.gif' border='0'> ");  
  document.write("Summer Camp Streaming Videos: ");
  document.write("<a href='/photo/2011/video/' class='text_10pt_white'>2011</a> :: ");
  document.write("<a href='/photo/2010/video/' class='text_10pt_white'>2010</a> :: ");
  document.write("<a href='/photo/2009/video/' class='text_10pt_white'>2009</a> :: ");
  document.write("<a href='/photo/2008/video/' class='text_10pt_white'>2008</a> :: ");
  document.write("<a href='/photo/2007/video/' class='text_10pt_white'>2007</a> :: ");
  document.write("<a href='/photo/2006/video/' class='text_10pt_white'>2006</a> :: ");
  document.write("<a href='/photo/2005/video/' class='text_10pt_white'>2005</a><br>");
  document.write("</div>");  
}


function staff_years()
{
  document.write("<ul>");
  document.write("<li><a href='/staff/' class='text_11pt_white'>Current Staff</a></li>");
  document.write("<li><a href='/staff/2009_staff.htm' class='text_11pt_white'>2009 Staff</a></li>");
  document.write("<li><a href='/staff/2008_staff.htm' class='text_11pt_white'>2008 Staff</a></li>");
  document.write("<li><a href='/staff/2007_staff.htm' class='text_11pt_white'>2007 Staff</a></li>");
  document.write("<li><a href='/staff/2006_staff.htm' class='text_11pt_white'>2006 Staff</a></li>");
  document.write("<li><a href='/staff/2005_staff.htm' class='text_11pt_white'>2005 Staff</a></li>");
  document.write("<li><a href='/staff/2004_staff.htm' class='text_11pt_white'>2004 Staff</a></li>");
  document.write("</ul>");  
}

function bye()
{
  document.write("<a href='http://www.facebook.com/pages/Saint-Sophia-Camp/124315837600327' target='_blank' rel='nofollow'><img src='/images/facebook_16px.gif' border='0' alt='[Facebook]' style='margin-left: 2px; margin-right: 2px;'></a>");
  document.write("<a href='http://twitter.com' target='_blank' rel='nofollow'><img src='/images/twitter_14px.gif' border='0' alt='[Twitter]' style='margin-right: 2px;'></a>");
}
