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

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

}

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 show_date()
{
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************

// Get today's current date.
var now = new Date();

// Array list of days.
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');

// Array list of months.
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
								}

// Join it all together
// today =  days[now.getDay()] + ", " +
//               months[now.getMonth()] + " " +
//                date + ", " +
//                 (fourdigits(now.getYear())) ;
// 
day_of_week = days[now.getDay()]
today =  months[now.getMonth()] + " " +
               date + ", " +
                (fourdigits(now.getYear())) ;

// Print out the data.
document.write("<div align='center' style='font: 10pt arial, helvetica, sans serif; padding-bottom: 15px;'><b>"+day_of_week+"</b><br>"+today+"</div>");
}

function vertical_menu()
{
  document.write("<table width=\"114\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
  document.write("<tr><td>");
  document.write("<a href=\"http://www.goarch.org\">");
  document.write("<img src=\"/images/archdiocese_seal.jpg\" border=\"0\" alt=\"[Archdiocese Seal]\">");
  document.write("</a><br><br>");
  show_date();
  document.write("</td></tr>");
  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/welcome.htm\" 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=\"/about/\" 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=\"/about/map_and_directions.htm\" 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=\"/ministries/\" 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=\"/calendar/\" 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=\"/bulletin/\" 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=\"/events/\" 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=\"/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=\"/catering/\" onMouseOver=\"turnOn('image15')\" onMouseOut=\"turnOff('image15')\"><img src = \"/images/nav_off-15-01.gif\" name=\"image15\" border=\"0\" width=\"114\" height=\"25\" align=\"bottom\"></a></td></tr>");

  document.write("<tr><td><a href=\"/education/\" 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=\"/download/\" 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=\"/links/\" 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><br>");
}

function assumption_top()
{
  document.write("<table width='100%' border='0' cellpadding='0' cellspacing='0' style='padding-top: 15px; padding-bottom: 15px; padding-left: 25px; padding-right: 25px;'>");
  document.write("<tr><td width='114'>");
  document.write("<a href='http://www.goarch.org' target='blank' rel='nofollow'>");
  document.write("<img src='/images/archdiocese_seal.jpg' border='0' alt='[Greek Orthodox Archdiocese Seal]'></a><br>");
  document.write("<br>");
  document.write("<script>show_date();</script>");
  document.write("</td><td align='center'>");
  document.write("<a href='/'><img src='/images/banner.gif' border='0' alt='[Assumption Long Beach]'></a>");
  document.write("</td>");
  document.write("<td width='114'>");
  document.write("<img src='/images/blank.gif' width='114' height='1'>");
  document.write("</td></tr>");
  document.write("</table>");
}

function footer()
{
  document.write("<br><br><hr width='575' size='3' color='#9A99FF'><br>");
  document.write("<a href='/'class='text_9pt'>Home</a> :: ");
  document.write("<a href='/about/welcome.htm' class='text_9pt'>Welcome</a> :: ");
  document.write("<a href='/about/' class='text_9pt'>About Us</a> :: ");
  document.write("<a href='/about/map_and_directions.htm' class='text_9pt'>Directions</a> :: ");
  document.write("<a href='/ministries/' class='text_9pt'>Ministries</a> :: ");
  document.write("<a href='/calendar/' class='text_9pt'>Calendar</a> :: ");
  document.write("<a href='/bulletin/' class='text_9pt'>Monthly Newsletter</a><br>");  
  document.write("<a href='/photo/' class='text_9pt'>Photo Gallery</a> :: ");
  document.write("<a href='/education/' class='text_9pt'>Studies in the Faith</a> :: ");
  document.write("<a href='/download/' class='text_9pt'>Download Files</a> :: "); 
  document.write("<a href='/links/' class='text_9pt'>Links</a> :: ");
  document.write("<a href='/archive/' class='text_9pt'>Event Archive</a> :: ");      
  document.write("<a href='/about/contact_us.htm' class='text_9pt'>Contact Us</a>");
  document.write("<br><br>");
  document.write("<a href='#top' class='text_9pt'>Top of Page</a><br><br>");
}

