document.write(
'<TABLE WIDTH="100%">' +
//	bottom section - this is where all the submenus are defined.
//  to add extra submenus, just add the links under the appropriate main menu <div> tag.
'	<div class="hiddenmenu" id="aboutus">' +
'	</div>' +
'	<div class="hiddenmenu" id="releases">' +
'		<A HREF="currentreleases.html">this month\'s releases</A>&nbsp; ' +
'		<A HREF="recentreleases.html">recent releases</A>&nbsp;' +
'		<A HREF="futurereleases.html">future releases</A>&nbsp;&nbsp;' +
'		previous: <A HREF="118releases.html">1:18s</A>&nbsp;' +
'		<A HREF="124releases.html">1:24s</A>&nbsp;' +
'		<A HREF="143releases.html">1:43s</A>&nbsp;' +
'		<A HREF="164releases.html">1:64s</A>&nbsp;' +
'	</div>' +
'	<div class="hiddenmenu" id="classicclub">' +
'	</div>' +
'	<div class="hiddenmenu" id="purchase">' +
'	</div>' +
'	<div class="hiddenmenu" id="forums">' +
'	</div>' +
'	<div class="hiddenmenu" id="auctions">' +
  '<a href="http://auctions.classiccarlectables.com.au/index.php" class="menu_bar_links">browse</a>&nbsp;&nbsp;' +
  '<a href="http://auctions.classiccarlectables.com.au/index.php?a=1028&b=10145" class="menu_bar_links">previous auctions</a>&nbsp;&nbsp;' +
  '<a href="http://auctions.classiccarlectables.com.au/index.php?a=1019" class="menu_bar_links">search auctions</a>&nbsp;&nbsp;' +
  '<a href="http://auctions.classiccarlectables.com.au/index.php?a=1010" class="menu_bar_links">login</a>&nbsp;&nbsp;' +
'	</div>' +
'	<div class="hiddenmenu" id="contact">' +
'	</div>' +
'	<div class="hiddenmenu" id="links">' +
'	</div>' +
'	<div class="hiddenmenu" id="search">' +
'	</div>' +
//	yellow bar separator between the main and sub menu's
'	<div class="yellowbar">&nbsp;</div>' +
//	top section for main menus.  When adding/modifying main menus, edit the appropriate links below.
'	<DIV CLASS="mainmenu" style="position: absolute;">' +
'		<A HREF="aboutus.html" OnMouseOver="show(\'aboutus\');" id="aboutuslink" STYLE="background-image: url(\'images/menucorner.gif\'); background-position: top left; background-repeat: no-repeat;">ABOUT US</a>' +
'		<A HREF="currentreleases.html" OnMouseOver="show(\'releases\');" id="releaseslink">RELEASES</a>' +
'		<A HREF="cclub.html" OnMouseOver="show(\'classicclub\');" id="classicclublink">CLASSIC CLUB</a>' +
'		<A HREF="wheretobuy.html" OnMouseOver="show(\'purchase\');" id="purchaselink">WHERE TO BUY</a>' +
'		<A HREF="http://forums.classiccarlectables.com.au/" OnMouseOver="show(\'forums\');" id="forumslink" TARGET="_BLANK">FORUMS</a>' +
'		<A HREF="http://auctions.classiccarlectables.com.au/" OnMouseOver="show(\'auctions\');" id="auctionslink">AUCTIONS</a>' +
'		<A HREF="contactus.htm" OnMouseOver="show(\'contact\');" id="contactlink">CONTACT</a>' +
'		<A HREF="links.html" OnMouseOver="show(\'links\');" id="linkslink">LINKS</a>' +
//'		<A HREF="search.html" OnMouseOver="show(\'search\');" id="searchlink">SEARCH</a>' +
'	</div>' +
'</TABLE>'
);

//function which determines and shows the appropriate submenu when
//the mouse hovers over a main menu option.
var menushowing = "";

function show(menuid) {
	if (menushowing != "") {
		document.getElementById(menushowing+'link').style.backgroundColor="transparent";
		document.getElementById(menushowing).style.display="none";
	}
	document.getElementById(menuid).style.display="block";
	document.getElementById(menuid+'link').style.backgroundColor="#4b4b4b";
	menushowing = menuid;
}
