// READ ME
//
// There is a convertor script at the following site
// http://accessify.com/tools-and-wizards/developer-tools/html-javascript-convertor/
//
// You can use that site to quickly convert the contents in the menu.txt file to
// be properly formatted so that it can be written using the "document.write" method
//
// (NOTE: make a backup copy of any file before modifying)
//
// 1. Copy the text from ./subpages_menu.txt and paste it at the above site
// 2. Choose the option "Output as series of document.write statements"
// 3. Copy the converted text from that site
// 4. Replace the contents within the "function PrintMenuBar(){... } with the text
//    copied from that site
// 5  Save this file
//
// CHANGING MENU:
// 
//  When you want to change the menus, start with editing the menu.txt file that uses
//  standard html syntax. Add/Delete/Modify the menu entries
//  
//  Once the menu.txt file has the desired menu structure, follow the steps above (1-5)
//  to update the code
//
// INSERTING MENU on a page
// 	- Add the following lines of code to the html file at the desired location, remember to remove
//   the  "//" in the front of each line given below
//
//    <!-- Menu bar code : START  --> 
//	 <script type="text/javascript" src="menus/menubuilder/subpages_menubar.js">
//    </script> 
//    <!-- Menu bar code : END  --> 
	
PrintMenuBar();
	
function PrintMenuBar(){
document.write("<ul id=\"sddm\">");
document.write("	<li><a href=\"..\/index.shtml\" onmouseover=\"mopen('m1')\" onmouseout=\"mclosetime()\">Home<\/a>");
document.write("		<div id=\"m1\" onmouseover=\"mcancelclosetime()\" onmouseout=\"mclosetime()\">");
document.write("		<a href=\"..\/info\/aboutus.html\" target=\"_parent\">About Us<\/a>");
document.write("		<a href=\"http:\/\/www.lovelandpropbusters.org\/\">Loveland Propbusters<\/a>        ");
document.write("		<\/div>");
document.write("	<\/li>");
document.write("	<li><a href=\"..\/event\/eventdetails.html\" onmouseover=\"mopen('m2')\" onmouseout=\"mclosetime()\">Event Info<\/a>");
document.write("		<div id=\"m2\" onmouseover=\"mcancelclosetime()\" onmouseout=\"mclosetime()\">");
document.write("		<a href=\"..\/event\/eventdetails.html\" >Event Details<\/a>");
document.write("		<a href=\"..\/registration\/registrationmain.html\">Event Registration<\/a>");
document.write("		<a href=\"..\/albums\/site\/index.html\" target=\"_blank\">Flying Area<\/a>");
document.write("		<a href=\"..\/directions\/directions.html\" target=\"_parent\">Directions<\/a>");
document.write("		<\/div>");
document.write("	<\/li>");
document.write("	<li><a href=\"..\/registration\/registrationmain.html\" onmouseover=\"mopen('m3')\" onmouseout=\"mclosetime()\">Registration<\/a>");
document.write("		<div id=\"m3\" onmouseover=\"mcancelclosetime()\" onmouseout=\"mclosetime()\">");
document.write("        <a href=\"..\/registration\/registrationmain.html#MailInReg\" target=\"_parent\">Mail-In<\/a>");
document.write("        <a href=\"..\/registration\/registrationmain.html#EventDayReg\" target=\"_parent\">Event Day<\/a>        ");
document.write("		<\/div>");
document.write("	<\/li>");
document.write("	<li><a href=\"..\/sponsors\/sponsors.html\" target=\"_parent\">Sponsors<\/a>");
document.write("	<\/li>");
document.write("	<li><a href=\"..\/info\/contactus.html\" target=\"_parent\">Contact Us<\/a>");
document.write("	<\/li>");
document.write("<\/ul>");
document.write("<div style=\"clear:both\"><\/div>");
document.write("");
document.write("<div style=\"clear:both\"><\/div>");
}