<!--
// ROOT
if ( 
	(self.location.href.indexOf('services/')!=-1) 
	|| (self.location.href.indexOf('about/')!=-1) 
	|| (self.location.href.indexOf('tinsurance/')!=-1) 
	|| (self.location.href.indexOf('bonus/')!=-1) 
	|| (self.location.href.indexOf('links/')!=-1) 
  ) {
	root='../';		
} else {
	root='';
}

//---------------------------------------------------------------------------------------------------------
// dhtml lib

isNav=false;
isW3C=false;
isExp=false;
isOpera=false;
isNOT=false;
isMac=false;

// Detect browser and define pre/suf-fixes
browser=navigator.appName;
version=navigator.appVersion;
useragent=navigator.userAgent;
Vmajor=parseInt(navigator.appVersion);
Vminor=parseFloat(navigator.appVersion);

if (useragent.indexOf('Opera') != -1) {
	isOpera=true;
	pre='all';
	suff='.style';
}
else if (browser=="Netscape") {
	if (Vmajor==4)
	{
		isNav=true; pre='layers.'; suf='';
	}
	else if (Vmajor==5)	isW3C=true;
	else isNOT=true;
}
else if (browser=="Microsoft Internet Explorer") {
	if ( version.indexOf('MSIE 5.0; Macintosh;') != -1 )  {
		isExp=true;
		pre='all.';
		suf='.style';
	}
	// IE 4 to 5.5 return 4 as the version
	else if ( (Vmajor==4) ) {
		isExp=true;
		pre='all.';
		suf='.style';
	}
	else isNOT=true;
}

if (version.indexOf('Mac') != -1) isMac=true;

if (isNav && Vminor>4.08 ) {
 	document.captureEvents(Event.RESIZE);
 	window.onresize=resizeH;
}


function resizeH()
{
	window.location.reload();
	return true;
}

function Showlayer(which,how) {
	if (isNav || isExp) {
		eval ('document.'+pre+which+suf+'.visibility="'+how+'"');
		return;
	}
	else if (isW3C || isOpera) {
		obj=document.getElementById(which);
		obj.style.visibility=how;
	}
}

function Movelayer(which,x,y) {
	if (isExp)	{
		eval ('document.'+pre+which+suf+'.pixelLeft='+x);
		eval ('document.'+pre+which+suf+'.pixelTop='+y);
		return;
	}
	else if (isNav) {
		eval ('document.'+which+'.moveTo('+x+','+y+')');
		return;
	}
	else if (isW3C) {
		obj=document.getElementById(which);
		obj.style.left=x+'px';
		obj.style.top=y+'px';	
		return;
	}
	else if (isOpera) {
		obj=document.getElementById(which);
		obj.style.left=x;
		obj.style.top=y;	
	}
}

function getwindowWidth() {
	if (isExp) {
		return document.body.clientWidth;
	}
	else if (isNav || isW3C || isOpera) {
		return window.innerWidth;
	}
}

function getwindowHeight() {
	if (isExp) {
		return document.body.clientHeight;
	}
	else if (isNav || isW3C || isOpera) {
		return window.innerHeight;
	}
}

	

//---------------------------------------------------------------------------------------------------------
// menu

Menus=new Array(
	{x:153,y:38,w:116,h:82,name:'About',bgcolor:'#FFFFFF'},
	{x:211,y:39,w:116,h:49,name:'Services',bgcolor:'#FFFFFF'},		
	{x:270,y:39,w:141,h:64,name:'TInsurance',bgcolor:'#FFFFFF'},
	{x:372,y:39,w:116,h:35,name:'Bonus',bgcolor:'#FFFFFF'},
	{x:424,y:39,w:150,h:100,name:'Links',bgcolor:'#FFFFFF'},
	{x:626,y:61,w:118,h:107,name:'Contribute',bgcolor:'#FFFFFF'}
);

sectionN=0;
currentMenu=0;
currentSelection=-1;
currentSection=-1;
currentPage=-1;
positioned=0;
highlightcode='';
artworkcode='';

if (self.location.href.indexOf('about/')!=-1) { currentSection='About'; sectionN=0; }
if (self.location.href.indexOf('services/')!=-1) { currentSection='Services'; sectionN=1;}
if (self.location.href.indexOf('tinsurance/')!=-1) { currentSection='TInsurance'; sectionN=2;}
if (self.location.href.indexOf('bonus/')!=-1) { currentSection='Bonus'; sectionN=3; }
if (self.location.href.indexOf('links/')!=-1) { currentSection='Links'; sectionN=4; }
if (currentSection!=-1) theColor=Menus[sectionN].bgcolor;
else theColor='#99999A';

if (currentSection!=-1) {
		highlightcode='<DIV ID="HighBar"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="'+Menus[sectionN].bgcolor+'"><img src="'+root+'images/ghost.gif" width="1" height="3" alt="" border="0"></td></tr></table></DIV>'+"\n";
		highlightcode+='<DIV ID="HighBlock"><table width="'+Menus[sectionN].w+'" cellspacing="0" cellpadding="0" border="0"><tr><td bgcolor="'+Menus[sectionN].bgcolor+'"><img src="'+root+'images/ghost.gif" width="1" height="5" alt="" border="0"></td></tr></table></DIV>'+"\n";
}
	
function positionMenus() {
	for(i=0; i<Menus.length; i++) {
		ax=Menus[i].x;
		Movelayer(Menus[i].name+'Gray',ax,Menus[i].y+17);
		Movelayer(Menus[i].name+'Black',ax,Menus[i].y+17);
		Movelayer(Menus[i].name+'Top',Menus[i].x,Menus[i].y);
		Movelayer(Menus[i].name+'Menu',ax,Menus[i].y+15);
	}
	if (currentSection!=-1) {
		Showlayer(currentSection+'Top','visible');
		Movelayer('HighBlock',Menus[sectionN].x,99);
	}
	positioned=1;
}
	
function menuOpen(which) {
	if (positioned==0) return;
	if (currentMenu==which) return;
	menuClose();
	currentMenu=which;
	currentSelection=0;
	Showlayer(currentMenu+'Black','hidden');
	Showlayer(currentMenu+'Gray','visible');
	Showlayer(currentMenu+'Menu','visible');			
	Showlayer(currentMenu+'Top','visible');			
}
	
function menuClose() {
	if (currentMenu) {
		Showlayer(currentMenu+'Black','hidden');
		Showlayer(currentMenu+'Gray','hidden');
		Showlayer(currentMenu+'Menu','hidden');			
		if (currentMenu != currentSection) Showlayer(currentMenu+'Top','hidden');			
	}
	currentMenu='';
}
	
function menuHighlight(menu,which) {
	if (Menus[menu].x2!=null) ax=Menus[menu].x2;
	else ax=Menus[menu].x;

	Movelayer(Menus[menu].name+'Black',ax,Menus[menu].y+which*15+21);
	Showlayer(Menus[menu].name+'Black','visible');
	currentSelection=which;
}
	
function menuOff() {
	currentSelection=-1;
	setTimeout('checkMenu()',1500);
}
	
function checkMenu() {
	if (currentSelection==-1) {
		menuClose();
	}
}
	

//---------------------------------------------------------------------------------------------------------
// document.writeln portion

// HIGHTLIGHT
document.writeln(highlightcode);

// MAIN BANNER	
document.writeln("\n"+'<div id="MenuMain"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr valign="top"><td width="537"><img src="'+root+'images/hst_nav_main.gif" width="537" height="90" alt="" border="0" usemap="#mainmap"></td>'+"\n"+'<td width="100%">&nbsp;</td></tr></table><map name="mainmap"><area alt="Home Services Title, LLC"  coords="15,15,130,88" href="'+root+'default.asp" onMouseOver="menuOff()" shape="RECT">'+"\n"+'<area href="/about/Default.asp" onMouseOver="javascript:menuClose()" coords="0,0,1,1" shape="RECT">'+"\n"+'<area alt="About Us" href="javascript:void(0)" onMouseOver="menuOpen(\'About\')" coords="155,38,211,55" shape="RECT">'+"\n"+'<area alt="Services We Offer" href="/services/Default.asp" onMouseOver="menuOpen(\'Services\')" coords="213,39,271,55" shape="RECT">'+"\n"+'<area alt="Title Insurance" href="/tinsurance/Default.asp" onMouseOver="menuOpen(\'TInsurance\')" coords="272,39,372,55" shape="RECT">'+"\n"+'<area alt="Bonus Section" href="/bonus/Default.asp" onMouseOver="menuOpen(\'Bonus\')" coords="372,39,425,55" shape="RECT">'+"\n"+'<area alt="External Links" href="/links/Default.asp" onMouseOver="menuOpen(\'Links\')" coords="0,0,1,1" shape="RECT">'+"\n"+'<area alt="Community" href="/links/Default.asp" onMouseOver="menuOpen(\'Links\')" coords="424,39,470,55" shape="RECT"></map></div>'+"\n")





// ABOUT
document.writeln('<div id="AboutGray" class="menuItem" >')
document.writeln('<img src="'+root+'images/gray.gif" width="116" height="82" alt="" border="0">')
document.writeln('</div>'+"\n")
document.writeln('<div id="AboutBlack" class="menuItem">')
document.writeln('<img src="'+root+'images/on_roll.gif" width="116" height="15" alt="" border="0"></div>'+"\n")
document.writeln('<div id="AboutTop" class="menuItem" >')
document.writeln('<A HREF="/about/Default.asp" onMouseOver="menuOpen(\'About\')">')
document.writeln('<img src="'+root+'images/buying_on.gif" width="59" height="16" alt="" border="0"></A></div>'+"\n")
document.writeln('<div id="AboutMenu" class="menuItem">')
document.writeln('<img src="'+root+'images/buying_drop.gif" width="116" height="82" alt="" border="0" usemap="#AboutMap"></div>'+"\n")
document.writeln('<map name="AboutMap">'+"\n")
document.writeln('<area alt="Directions / Map" href="'+root+'about/Directions.asp" onMouseOver="menuHighlight(0,0)" onMouseOut="menuOff()" coords="0,5,116,20" shape="rect">'+"\n")
document.writeln('<area alt="Office Hours" href="'+root+'about/OfficeHours.asp" onMouseOver="menuHighlight(0,1)" onMouseOut="menuOff()" coords="0,20,116,35" shape="rect">'+"\n")
document.writeln('<area alt="Holiday Schedules" href="'+root+'about/HolidaySchedules.asp" onMouseOver="menuHighlight(0,2)" onMouseOut="menuOff()" coords="0,35,116,50" shape="rect">'+"\n")
document.writeln('<area alt="Wiring Instructions" href="'+root+'about/WiringInstructions.asp" onMouseOver="menuHighlight(0,3)" onMouseOut="menuOff()" coords="0,50,116,65" shape="rect">'+"\n")
document.writeln('<area alt="Our Staff" href="'+root+'about/OurStaff.asp" onMouseOver="menuHighlight(0,4)" onMouseOut="menuOff()" coords="0,65,116,80" shape="rect">'+"\n")
document.writeln('</map>'+"\n");







// SERVICES
document.writeln('<div id="ServicesGray" class="menuItem"><img src="'+root+'images/gray.gif" width="116" height="49" alt="" border="0"></div>'+"\n"+'<div id="ServicesBlack" class="menuItem"><img src="'+root+'images/on_roll.gif" width="116" height="15" alt="" border="0"></div>'+"\n"+'<div id="ServicesTop" class="menuItem"><A HREF="/services/Default.asp" onMouseOver="menuOpen(\'Services\')"><img src="'+root+'images/n_selling_on.gif" width="60" height="16" alt="" border="0"></A></div>'+"\n"+'<div id="ServicesMenu" class="menuItem"><img src="'+root+'images/selling_drop.gif" width="116" height="49" alt="" border="0" usemap="#servicesMap"></div>'+"\n"+'<map name="servicesMap">'+"\n"+'<area alt="Order a Prelim" href="'+root+'/services/Prelim.asp" onMouseOver="menuHighlight(1,0)" onMouseOut="menuOff()" coords="0,5,116,20" shape="rect"><area alt="Title & Survey Order" href="'+root+'services/Title.asp" onMouseOver="menuHighlight(1,1)" onMouseOut="menuOff()" coords="0,20,116,35" shape="rect">'+"\n"+'<area alt="Our Fees" href="'+root+'services/Fees.asp" onMouseOver="menuHighlight(1,2)" onMouseOut="menuOff()" coords="0,35,116,50" shape="rect">'+"\n"+'<area alt="Relocation" href="'+root+'buying/relocation.asp" onMouseOver="menuHighlight(1,4)" onMouseOut="menuOff()" coords="0,65,116,80" shape="rect"></map>'+"\n");

// TITLE INSURANCE
document.writeln('<div id="TInsuranceGray" class="menuItem"><img src="'+root+'images/gray.gif" width="141" height="64" alt="" border="0"></div>'+"\n"+'<div id="TInsuranceBlack" class="menuItem"><img src="'+root+'images/on_roll.gif" width="116" height="15" alt="" border="0"></div>'+"\n"+'<div id="TInsuranceTop" class="menuItem"><A HREF="/tinsurance/Default.asp" onMouseOver="menuOpen(\'TInsurance\')"><img src="'+root+'images/n_agents_on.gif" width="103" height="16" alt="" border="0"></A></div>'+"\n"+'<div id="TInsuranceMenu" class="menuItem"><img src="'+root+'images/agents_drop.gif" width="141" height="64" alt="" border="0" usemap="#tinsuranceMap"></div>'+"\n"+'<map name="tinsuranceMap">'+"\n"+'<area alt="Why You Need Title Insurance" href="'+root+'tinsurance/WhyYouNeed.asp" onMouseOver="menuHighlight(2,0)" onMouseOut="menuOff()" coords="0,5,141,20" shape="rect"><area alt="Title Insurance Rates" href="'+root+'tinsurance/Rates.asp" onMouseOver="menuHighlight(2,1)" onMouseOut="menuOff()" coords="0,20,141,35" shape="rect">'+"\n"+'<area alt="Title Insurance Calculator" href="'+root+'tinsurance/TICalculator1.asp" onMouseOver="menuHighlight(2,2)" onMouseOut="menuOff()" coords="0,35,141,50" shape="rect"><area alt="Extended Coverage Policy Explanation" href="'+root+'tinsurance/ExtendedExplain.asp" onMouseOver="menuHighlight(2,3)" onMouseOut="menuOff()" coords="0,50,141,65" shape="rect">'+"\n"+'</map>'+"\n");


// BONUS
document.writeln('<div id="BonusGray" class="menuItem"><img src="'+root+'images/gray.gif" width="116" height="35" alt="" border="0"></div>'+"\n"+'<div id="BonusBlack" class="menuItem"><img src="'+root+'images/on_roll.gif" width="116" height="15" alt="" border="0"></div>'+"\n"+'<div id="BonusTop" class="menuItem"><A HREF="/bonus/Default.asp" onMouseOver="menuOpen(\'Bonus\')"><img src="'+root+'images/n_about_on.gif" width="53" height="16" alt="" border="0"></A></div>'+"\n"+'<div id="BonusMenu" class="menuItem"><img src="'+root+'images/about_drop.gif" width="116" height="35" alt="" border="0" usemap="#bonusMap"></div>'+"\n"+'<map name="bonusMap">'+"\n"+'<area alt="Frequently Asked Questions" href="'+root+'bonus/FAQ.asp" onMouseOver="menuHighlight(3,0)" onMouseOut="menuOff()" coords="0,5,116,20" shape="rect">'+"\n"+'<area alt="Ohio County Conveyance Fees" href="'+root+'bonus/Conveyance.asp" onMouseOver="menuHighlight(3,1)" onMouseOut="menuOff()" coords="0,20,116,35" shape="rect">'+"\n"+'</map>'+"\n");


// LINKS
document.writeln('<div id="LinksGray" class="menuItem"><img src="'+root+'images/gray.gif" width="150" height="100" alt="" border="0"></div>'+"\n"+'<div id="LinksBlack" class="menuItem"><img src="'+root+'images/on_roll.gif" width="116" height="15" alt="" border="0"></div>'+"\n"+'<div id="LinksTop" class="menuItem"><A HREF="/links/default.asp" onMouseOver="menuOpen(\'Links\')"><img src="'+root+'images/n_community_on.gif" width="46" height="16" alt="" border="0"></A></div>'+"\n"+'<div id="LinksMenu" class="menuItem"><img src="'+root+'images/community_drop.gif" width="150" height="100" alt="" border="0" usemap="#linksMap"></div>'+"\n"+'<map name="linksMap">'+"\n"+'<area alt="County Web Addresses" href="'+root+'links/CountyAddresses.asp" onMouseOver="menuHighlight(4,0)" onMouseOut="menuOff()"  coords="0,5,150,20" shape="rect">'+"\n"+'<area alt="County Mailing Addresses" href="http://www.vfinfo.com/CountyOffices2003.htm" target="_blank" onMouseOver="menuHighlight(4,1)" onMouseOut="menuOff()" coords="0,20,150,35" shape="rect">'+"\n"+'<area alt="Coldwell Banker Heritage Realtors" href="http://www.coldwellbankerdayton.com" target="_blank" onMouseOver="menuHighlight(4,2)" onMouseOut="menuOff()" coords="0,35,150,50" shape="rect">'+"\n"+'<area alt="Dayton Mortgage Bankers" href="http://www.daytonmortgagebankers.com" onMouseOver="menuHighlight(4,3)" onMouseOut="menuOff()" target="_blank" coords="0,50,150,65" shape="rect">'+"\n"+'<area alt="Dayton Area Board of Realtors" href="http://www.dabr.com" onMouseOver="menuHighlight(4,4)" onMouseOut="menuOff()" target="_blank" coords="0,65,150,80" shape="rect">'+"\n"+'<area alt="Ohio Land Title Association" href="http://www.olta.org" target="_blank" onMouseOver="menuHighlight(4,5)" onMouseOut="menuOff()"  coords="0,80,150,95" shape="rect"></map>'+"\n");




// CONTRIBUTE
document.writeln('<div id="ContributeGray" class="menuItem"><img src="'+root+'images/gray.gif" width="118" height="107" alt="" border="0"></div>'+"\n"+'<div id="ContributeBlack" class="menuItem"><img src="'+root+'images/gray.gif" width="118" height="16" alt="" border="0"></div>'+"\n"+'<div id="ContributeTop" class="menuItem"><A HREF="javascript:void(0)" onMouseOver="menuOpen(\'Contribute\')"><img src="'+root+'images/gray.gif" width="1" height="1" alt="" border="0"></A></div>'+"\n"+'<div id="ContributeMenu" class="menuItem"><img src="'+root+'images/gray.gif" width="1" height="1" alt="" border="0" usemap="#contributeMap"></div>'+"\n"+'<map name="contributeMap">'+"\n"+'<area alt="home" href="'+root+'/default.asp" onMouseOver="menuHighlight(5,0)" onMouseOut="menuOff()" coords="0,5,118,21" shape="rect"></map>'+"\n");

document.writeln("<script language=\"Javascript\">\n document.onLoad=positionMenus();\n</script>\n");
//-->
