// Created By: Ed Paff Jr.
// Description: This javascript file is used to store code that is used throughout the site, so that it only has to be implemented once.
//              For example, if you want to change one of the menu links, it only has to be done in this single file.
// Last Edited: 03.11.2004

image1 = new Image();
image1.src = "/images/home_hl.gif";
image2 = new Image();
image2.src = "/images/man_hl.gif";
image3 = new Image();
image3.src = "/images/speaker_hl.gif";
image4 = new Image();
image4.src = "/images/author_hl.gif";
image5 = new Image();
image5.src = "/images/charities_hl.gif";
image6 = new Image();
image6.src = "/images/contact_hl.gif";

document.write('<table border=0 width=725 cellpadding=0 cellspacing=0 align=left nowrap>');
document.write('<tr height=81>');
document.write('<td colspan=2 width=725><img src="http://www.edhearn.com/images/header.gif"></td>');
document.write('</tr>');
document.write('<tr height=38 valign=center>');
document.write('<td colspan=2 width=725 height=38 background="http://www.edhearn.com/images/bg.gif">');


document.write('<ul id="nav">');
document.write('<li><a href="/"><img name="image1" src="/images/home.gif" border="0"></a></li>');
document.write('<li><a href="/theman.html"><img name="image2" src="/images/man.gif" border="0"></a>');
document.write('<ul>');
document.write('<li><a href="/theman.html">The Ed Hearn Story</a></li>');
document.write('<li><a href="/theman.html#reviews">Celebrity Reviews</a></li>');
document.write('<li><a href="/storygallery/">Photo Gallery <img src="/images/plate.gif" border="0"></a>');
document.write('<ul>');
document.write('<li><a href="/speakinggallery/">Speaking In Action</a></li>');
document.write('<li><a href="/storygallery/">Ed\'s Story In Photos</a></li>');
document.write('</ul>');
document.write('</li>');
document.write('<li><a href="/pressbox.html">Press Box</a></li>');
document.write('</ul>');
document.write('</li>');
document.write('<li><a href="/speaker.html"><img name="image3" src="/images/speaker.gif" border="0"></a>');
document.write('<ul>');
document.write('<li><a href="/speaker.html">A Personal Note From Ed</a></li>');
document.write('<li><a href="/highlightsheet.html">Quick Overview</a></li>');
document.write('<li><a href="/speakertestimonials.html">Speaking Reviews <img src="/images/plate.gif" border="0"></a>');
document.write('<ul>');
document.write('<li><a href="/speakertestimonials.html#general">General Corporate / Business</a></li>');
document.write('<li><a href="/speakertestimonials.html#trade">Trade Associations</a></li>');
document.write('<li><a href="/speakertestimonials.html#insurance">Insurance / Financial Services</a></li>');
document.write('<li><a href="/speakertestimonials.html#medical">Medical / Health Care</a></li>');
document.write('<li><a href="/speakertestimonials.html#youth">Youth</a></li>');
document.write('<li><a href="/speakertestimonials.html#misc">Miscellaneous Letters / Emails</a></li>');
document.write('</ul>');
document.write('</li>');
document.write('<li><a href="/clients.html">Partial Client List <img src="/images/plate.gif" border="0"></a>');
document.write('<ul>');
document.write('<li><a href="/clients.html#general">General Corporate / Business</a></li>');
document.write('<li><a href="/clients.html#misc">Misc. Associations</a></li>');
document.write('<li><a href="/clients.html#insurance">Financial Services / Insurance</a></li>');
document.write('<li><a href="/clients.html#banking">Banking / Credit Unions</a></li>');
document.write('<li><a href="/clients.html#government">Government Agencies</a></li>');
document.write('<li><a href="/clients.html#hospitals">Hospitals</a></li>');
document.write('<li><a href="/clients.html#pharmacutical">Pharmacutical</a></li>');
document.write('<li><a href="/clients.html#health">Health Care</a></li>');
document.write('<li><a href="/clients.html#education">Education</a></li>');
document.write('<li><a href="/clients.html#churches">Churches</a></li>');
document.write('<li><a href="/clients.html#nonprofits">Other Nonprofits / Fundraisers</a></li>');
document.write('<li><a href="/clients.html#sports">Sports Organizations</a></li>');
document.write('<li><a href="/clients.html#outdoor">Outdoor Events</a></li>');
document.write('</ul>');
document.write('</li>');
document.write('<li><a href="/programscontent.html">Program Development <img src="/images/plate.gif" border="0"></a>');
document.write('<ul>');
document.write('<li><a href="/programscontent.html">Content Overviews</a></li>');
document.write('<li><a href="/theedfactor.html">The \'ED\' Factor</a></li>');
document.write('<li><a href="/insure.html">Niche Programs <img src="/images/plate.gif" border="0"></a>');
document.write('<ul>');
document.write('<li><a href="/insure.html">Financial Services</a></li>');
document.write('<li><a href="/healthcare.html">Health Care</a></li>');
document.write('<li><a href="/churches.html">Churches</a></li>');
document.write('</ul>');
document.write('</li>');
document.write('</ul>');
document.write('</li>');
document.write('<li><a href="/csp.html">What Is A CSP?</a></li>');
document.write('<li><a href="">Meeting Planners <img src="/images/plate.gif" border="0"></a>');
document.write('<ul>');
document.write('<li><a href="/availabilityoptions.html">Availability Request Form</a></li>');
document.write('<li><a href="/scoutingoptions.html">The Scouting Report</a></li>');
document.write('<li><a href="/downloadablephotos.html">Downloadable Photos</a></li>');
document.write('<li><a href="/introduction.html">Ed\'s Introduction</a></li>');
document.write('<li><a href="/bio350.html">Bio - 350 Words</a></li>');
document.write('<li><a href="/bio240.html">Bio - 240 Words</a></li>');
document.write('<li><a href="/bio180.html">Bio - 180 Words</a></li>');
document.write('<li><a href="/bio70.html">Bio - 70 Words</a></li>');
document.write('</ul>');
document.write('</li>');
document.write('<li><a href="/newvideo.html">New Demo Video</a></li>');
document.write('</ul>');
document.write('</li>');
document.write('<li><a href="/synopsis.html"><img name="image4" src="/images/author.gif" border="0"></a>');
document.write('<ul>');
document.write('<li><a href="/synopsis.html">Conquering Life\'s Curves</a></li>');
document.write('<li><a href="/toc.html">Table Of Contents</a></li>');
document.write('<li><a href="/foreword.html">George Brett\'s Foreword</a></li>');
document.write('<li><a href="/booktestimonials.html">Book Reviews</a></li>');
document.write('</ul>');
document.write('</li>');
document.write('<li><a href="/foundation.html"><img name="image5" src="/images/charities.gif" border="0"></a>');
document.write('<ul>');
document.write('<li><a href="/foundation.html">The Bottom Of The Ninth</a></li>');
document.write('<li><a href="/nephcure.html">NephCure Foundation</a></li>');
document.write('</ul>');
document.write('</li>');
document.write('<li><a href="/contact.html"><img name="image6" src="/images/contact.gif" border="0"></a></li>');
document.write('</ul>');

//<img src="http://www.edhearn.com/images/home.gif" width="126" height="38" name="menu0" id="menu0" onmouseover="showMenu(event)" onmouseout="hideMenu(event)"><img src="http://www.edhearn.com/images/man.gif" width="80" height="38" name="menu1" id="menu1" onmouseover="showMenu(event)" onmouseout="hideMenu(event)"><img src="http://www.edhearn.com/images/speaker.gif" width="107" height="38" name="menu2" id="menu2" onmouseover="showMenu(event)" onmouseout="hideMenu(event)"><img src="http://www.edhearn.com/images/author.gif" width="99" height="38" name="menu3" id="menu3" onmouseover="showMenu(event)" onmouseout="hideMenu(event)"><img src="http://www.edhearn.com/images/charities.gif" width="78" height="38" name="menu5" id="menu5" onmouseover="showMenu(event)" onmouseout="hideMenu(event)"><img src="http://www.edhearn.com/images/contact.gif" width="98" height="38" name="menu4" id="menu4" onmouseover="showMenu(event)" onmouseout="hideMenu(event)"></td>');

document.write('</tr>');
var sPath = window.location.pathname;
var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
var sDir = sPath.split('/');
if ((sPage == "" || sPage == "index.html") && sDir[sDir.length-2] != "storygallery" && sDir[sDir.length-2] != "speakinggallery")
{
	document.write('<tr><td width=75 background="http://www.edhearn.com/images/rightborder.gif"></td>');
}
else
{
	document.write('<tr><td width=100 background="http://www.edhearn.com/images/rightborder.gif"></td>');
}
document.write('<td width=625><br>');