function preload_images()
{

  image1on = new Image();
  image1on.src = "/images/but1_on.jpg";

  image2on = new Image();
  image2on.src = "/images/but2_on.jpg";

  image3on = new Image();
  image3on.src = "/images/but3_on.jpg";

  image4on = new Image();
  image4on.src = "/images/but4_on.jpg";

  image5on = new Image();
  image5on.src = "/images/but5_on.jpg";

  image6on = new Image();
  image6on.src = "/images/but6_on.jpg";


  image1off = new Image();
  image1off.src = "/images/but1.jpg";

  image2off = new Image();
  image2off.src = "/images/but2.jpg";

  image3off = new Image();
  image3off.src = "/images/but3.jpg";

  image4off = new Image();
  image4off.src = "/images/but4.jpg";

  image5off = new Image();
  image5off.src = "/images/but5.jpg";

  image6off = new Image();
  image6off.src = "/images/but6.jpg";

}

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

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

function horizontal_menu_left()
{
  document.write("<td height=\"77\" valign=\"top\">");
  document.write("<a href=\"/home.shtml\" onMouseOver=\"turnOn('image1')\" onMouseOut=\"turnOff('image1')\"><img src = \"/images/but1.jpg\" name=\"image1\" border=\"0\" width=\"78\" height=\"77\" align=\"bottom\"></a>");
  document.write("<a href=\"/about/\" onMouseOver=\"turnOn('image2')\" onMouseOut=\"turnOff('image2')\"><img src = \"/images/but2.jpg\" name=\"image2\" border=\"0\" width=\"87\" height=\"77\" align=\"bottom\"></a>");
  document.write("<a href=\"/photo/\" onMouseOver=\"turnOn('image3')\" onMouseOut=\"turnOff('image3')\"><img src = \"/images/but3.jpg\" name=\"image3\" border=\"0\" width=\"112\" height=\"77\" align=\"bottom\"></a>");
  document.write("</td>");
}
function horizontal_menu_right()
{
  document.write("<td height=\"77\" valign=\"top\">");
  document.write("<a href=\"/services/\" onMouseOver=\"turnOn('image4')\" onMouseOut=\"turnOff('image4')\"><img src = \"/images/but4.jpg\" name=\"image4\" border=\"0\" width=\"89\" height=\"77\" align=\"bottom\"></a>");
  document.write("<a href=\"/about/condolences.htm\" onMouseOver=\"turnOn('image5')\" onMouseOut=\"turnOff('image5')\"><img src = \"/images/but5.jpg\" name=\"image5\" border=\"0\" width=\"86\" height=\"77\" align=\"bottom\"></a>");
  document.write("<a href=\"/about/contact_us.htm\" onMouseOver=\"turnOn('image6')\" onMouseOut=\"turnOff('image6')\"><img src = \"/images/but6.jpg\" name=\"image6\" border=\"0\" width=\"89\" height=\"77\" align=\"bottom\"></a>");
  document.write("</td>");
}


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("<center><font size=2 face=arial><b>"+day_of_week+"</b><br>"+today+"</font></center><hr>");
}

