﻿// Creates the menu inside the menu DIV tag in the template

function CreateMenu() {
    var strMenu;
    
    strMenu = '<p class="nav">' + '\n';
    strMenu += '<a id="l_index" href="index.html" title="Home">Home</a> · ';
    strMenu += '<a id="l_schedule" href="schedule.xml" title="Schedule">Schedule</a> · ';
    strMenu += '<a id="l_directions" href="accommodations.html" title="Directions and Accommodations">Directions and Accommodations</a> · ';
    strMenu += '<a id="l_vendors" href="vendors.html" title="Vendors and Sponsors">Vendors and Sponsors</a>\n';
    strMenu += '<br>\n';
    strMenu += '<a id="l_reg" href="registration.html" title="Registration">Registration</a> · \n';
    strMenu += '<a id="l_game" href="game.html" title="Run a Game!">Run a Game!</a> · \n';
    strMenu += '<a id="l_whatis" href="whatis.html" title="What is Roleplaying?">What is Roleplaying?</a> · \n';
    strMenu += '<a id="l_forum" href="forum/index.php" title="Forum">Online Forum</a> · \n';
    strMenu += '<a id="l_links" href="links.html" title="Links">Links</a> · \n';
    strMenu += '<a id="l_contanct" href="mailto:davidjwatson@sympatico.ca" title="Contact Us">Contact Us</a>\n';
    strMenu += '</p>';

    document.getElementById('menu').innerHTML = strMenu;
}

// Creates the Footer on each page

function CreateFooter() {

    var strFooter;
    
    strFooter = '<div align="center"><img src="images/imprint.gif"></div>' + '\n';
	strFooter += '<p class="class">© Phantasm</p>' + '\n';
    strFooter += '<p class="class"><a href="http://www.sara-manning.ca/" target="_blank">Statically Obfuscated Design by Sara Manning &amp; Bryan McKellar</a><br />' + '\n';
    strFooter += 'Web Page hosted by the <a href="http:\\www.pfga.ca" target="_blank">Peterborough Fish &amp; Game Association</a>' + '\n';        
    strFooter += '</p>' + '\n';
    
    document.getElementById('footer').innerHTML = strFooter;
}