	var membership=new Array(
		'<a href="http://www.aaanwohio.com/membership">Membership Home</a>',
		'<a href="http://www.aaanwohio.com/membership/join.htm">Become a Member</a>',
        '<a href="http://www.aaanwohio.com/membership/renew.htm">Renew/Upgrade</a>',
		'<a href="http://www.aaanwohio.com/membership/add.htm">Add Associates</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/membership/student.htm\');">Student Memberships</a>',
		'<a href="https://www.aaanwohio.com/membership/giftmembership.php">Gift Memberships</a>',
		'<a href="http://www.aaanwohio.com/membership/group.php">Group Memberships</a>',
		'<a href="http://www.aaanwohio.com/membership/benefits.php">Benefits Comparison</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/membership/temp.htm\');">Print a Temp. Card</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/community/goingplaces.htm\');">Going Places Magazine</a>'
	);	
    
	
	var automotive=new Array(
		'<a href="http://www.aaanwohio.com/automotive">Automotive Home</a>',
		'<a href="http://www.aaanwohio.com/automotive/ers_request.php">Emergency Road Service</a>',
		'<a href="http://www.aaanwohio.com/automotive/ccp-appointments.php">Schedule a Car Care Appt.</a>',
		'<a href="http://www.aaanwohio.com/automotive/hertz.htm">Rent a Car</a>',
		'<a href="http://www.aaanwohio.com/automotive/certified.htm">AAA Certified Inspections</a>',
		'<a href="http://www.aaanwohio.com/automotive/tips.php">Car Care Tools & Tips</a>',
		'<a href="http://www.aaanwohio.com/automotive/batteryquote.php">Battery Replacement Quote</a>',
		'<a href="http://www.aaanwohio.com/automotive/tender.htm">AAA Battery Tender</a>',
    	'<a href="http://www.aaanwohio.com/automotive/automanager.php">AutoManager&#153</a>',
    	'<a href="http://www.aaanwohio.com/automotive/diagnostics.htm">Diagnostic Center / FAQ</a>',
    	'<a href="javascript:pop(\'http://www.aaanwohio.com/automotive/fuel.htm\');">Fuel Price Finder</a>',
    	'<a href="http://www.aaanwohio.com/automotive/certified/assured.php">AAA Assured VSA</a>',
    	'<a href="http://www.aaanwohio.com/automotive/weather.php">Weather & Road Conditions</a>',
    	'<a href="javascript:pop(\'http://www.aaanwohio.com/automotive/coupons.htm\');">Car Care Plus Coupons</a>'
	);

	
	var travel=new Array(
		'<a href="http://www.aaanwohio.com/travel">Travel Home</a>',
		'<a href="http://www.aaanwohio.com/travel/auto.php">Auto Travel</a>',
		'<a href="http://www.aaanwohio.com/travel/travelshows.php">Travel Shows</a>',
		'<a href="http://www.aaanwohio.com/travel/travelagents.php">Travel Agents</a>',
		'<a href="http://www.aaanwohio.com/travel/group.php">Group Travel</a>',
		'<a href="http://www.aaanwohio.com/travel/video.php">Destination Videos</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/travel/cars.php\');">Member Deals on Rental Cars</a>',
		'<a href="http://www.aaanwohio.com/travel/ttw.php">Today\'s Traveling Women</a>',
		'<a href="http://www.aaanwohio.com/travel/ordermaps.php">Maps & TourBooks&#174</a>',
		'<a href="http://www.aaanwohio.com/travel/honeymoon.php">Honeymoon Registry</a>',
		'<a href="http://www.aaanwohio.com/travel/passport.php">Passport Information</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/travel/travelinsurance.htm\');">Travel Insurance / Free Quote</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/travel/currency.htm\');">Foreign Currency Exchange</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/travel/travmoney.php\');">Visa&#174 TravelMoney Card</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/travel/travmoney.php\');">Fee-Free Traveler\'s Cheques</a>'		
    );

	var insurance=new Array(
		'<a href="http://www.aaanwohio.com/insurance">Insurance Home</a>',
		'<a href="http://www.aaanwohio.com/insurance/auto.php">Auto Insurance</a>',
		'<a href="http://www.aaanwohio.com/insurance/home.php">Homeowner\'s Insurance</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/insurance/lifequote.htm\');">Free Life Quote</a>',
    	'<a href="javascript:pop(\'http://www.aaanwohio.com/travel/travelinsurance.htm\');">Travel Insurance / Free Quote</a>',
    	'<a href="javascript:pop(\'http://www.aaanwohio.com/insurance/aflac.htm\');">Aflac&#153 Health</a>',
    	'<a href="http://www.aaanwohio.com/insurance/payments.php">Pay Your Bill</a>',
		'<a href="javascript:pop(\'http://www.martypuinltc.com\');">Long-Term Care</a>',
    	'<a href="http://www.aaanwohio.com/help/contactus.php?r=5">Contact an Agent</a>'
    );

	var savings=new Array(
		'<a href="http://www.aaanwohio.com/discounts">Discounts Home</a>',
		'<a href="http://www.aaanwohio.com/discounts/savings.htm">Search for Savings</a>',
		'<a href="http://www.aaanwohio.com/discounts/prescriptions.htm">AAA Prescription Savings</a>',
		'<a href="http://www.aaanwohio.com/discounts/tickets.php">Attraction Tickets</a>',
    	'<a href="http://www.aaanwohio.com/discounts/special.htm">Special Partner Offers</a>',
    	'<a href="http://www.aaanwohio.com/discounts/shopnow.htm">Browse All Partner Offers</a>',
		'<a href="http://www.aaanwohio.com/discounts/travelstore.htm">eBags Travel Store</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/discounts/guide.htm\');">Discount Guide (.pdf)</a>'
	);
				 

	var financial=new Array(
		'<a href="http://www.aaanwohio.com/financial/">Financial Home</a>',
		'<a href="http://www.aaanwohio.com/financial/creditcards.php">AAA Credit Cards</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/financial/deposits.htm\');">AAA Deposits</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/travel/currency.htm\');">Foreign Currency Exchange</a>',
    	'<a href="javascript:pop(\'http://www.aaanwohio.com/travel/travmoney.php\');">Fee-Free Traveler\'s Cheques</a>',
    	'<a href="javascript:pop(\'http://www.aaanwohio.com/travel/travmoney.php\');">Visa&#174 TravelMoney Card</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/financial/lifelock.htm\');">Identity Theft Protection</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/financial/dollars.htm\');">Dollars & Sense (.pdf)</a>'
    );
        
 	var mobile=new Array(
		'<a href="http://www.aaanwohio.com/mobile">Mobile Home</a>',
		'<a href="http://www.aaanwohio.com/mobile/iphone.htm">Android / iPhone Apps</a>',
		'<a href="http://www.aaanwohio.com/mobile/findme.htm">Sprint / AAA FindMe<sup>&trade;</sup> GPS</a>',
		'<a href="http://www.aaanwohio.com/mobile/gps.htm">AAA / Magellan GPS</a>',
		'<a href="http://www.aaanwohio.com/mobile/etourbooks.htm">AAA eTourBooks</a>'
	); 
 
 	var community=new Array(
		'<a href="http://www.aaanwohio.com/community">Community Home</a>',
		'<a href="http://www.aaanwohio.com/community/events.php">AAA Events</a>',
		'<a href="http://www.aaanwohio.com/automotive/weather.php">Weather & Road Conditions</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/community/teendriving.htm\');">Safe Teen Driving</a>',
		'<a href="javascript:pop(\'http://www.aaanwohio.com/community/seniordriving.htm\');">Senior Driving</a>',
		'<a href="http://www.aaanwohio.com/community/safety.php">School Safety Patrol Program</a>',
    	'<a href="http://www.aaanwohio.com/community/brochures.php">Order Free Safety Brochures</a>',	
    	'<a href="javascript:pop(\'http://www.aaanwohio.com/community/newsroom.htm\');">National Newsroom</a>'
	);	

//******************************************************************************************
		
	var menuwidth='165px' //default menu width
	var menubgcolor='#DFE8EE'  //menu bgcolor
	var disappeardelay=800  //menu disappear speed onMouseout (in miliseconds)
	var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

	var ie4=document.all
	var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"><\/div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}

function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)

dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu
