// common layout

function writeNav(root) {

document.write('<script language="javascript" src="http://krispware.com/sr.js"></script>');	
document.write('<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>');

//document.write('<script language="javascript" src="http://dylanc/krispware/sr.js"></script>');	

document.write('<div id="navigation">' +

logoSmallTop(root) +

'<div class="filter">' +
'<div class="inner">' +

'<a href="/' + root + '" class="noline">' + logoSmall(root) + '</a>' +

layoutMenu(root) +

'<div id="contact">' +
'800 806 7131<br/>' +
'<a href="mailto:' + email() + '">' + email() + '</a><br/>' +
'44 Old Chestnut Drive<br/>' +
'Skamokawa, WA  98647<br/>' +
'</div>' +

'<hr style="margin-left:50px;margin-right:50px;margin-top:0;margin-bottom:10">' +

'<div id="quote">' +
'<img src="' + root + 'images/quotation1.gif" style="position:absolute" width="20" height="9">' +
'<div style="padding-left:20px;padding-right:20px">' +
'I was some of the mud that got to sit up and look around. Lucky me, Lucky mud.' +
'<img src="' + root + 'images/quotation2.gif" style="display:inline" width="20" height="9">' +
'</div>' +
'<div style="text-align:right;padding-right:20;padding-top:10">Kurt Vonnegut Jr.<br><i>Cat\'s Cradle</i></div>' +
'</div>' +

'</div>' +

'<img src="' + root + 'images/navbar_bottom.gif">' +

'</div>' +
'</div>');

};

function layoutCommonMenu (menuBar, root) {

var menu2 = new WebFXMenu;
menu2.add(new WebFXMenuItem("Photo Gallery",root + "onsite/gallery.htm"));
menu2.add(new WebFXMenuItem("Disc Golf Course",root + "onsite/golf.htm"));
menu2.add(new WebFXMenuItem("Wildlife Viewing",root + "onsite/wildlife.htm"));
menu2.add(new WebFXMenuItem("Trout Pond",root + "onsite/pond.htm"));
menu2.add(new WebFXMenuItem("Deep, Ferny Hiking Trails",root + "onsite/trails.htm"));
menuBar.add(new WebFXMenuButton("On Site",root + "onsite/", "Stuff to do and see at Lucky Mud.", menu2));

var menu3 = new WebFXMenu;
menu3.add(new WebFXMenuItem("Skamokawa National Historic District","http://www.welcometowahkiakum.com/shopping.shtml"));
menu3.add(new WebFXMenuItem("Kayak Paddle Sports Center","http://www.skamokawakayak.com/index.htm"));
menu3.add(new WebFXMenuItem("Lewis and Clark Canoe Trail","http://www.nwrel.org/nwedu/2002sp/river.html"));
menu3.add(new WebFXMenuItem("Julia Butler Hanson National Wildlife Refuge","http://refuges.fws.gov/profiles/index.cfm?id=13554"));
menu3.add(new WebFXMenuItem("Lewis and Clark National Wildlife Refuge","http://refuges.fws.gov/profiles/index.cfm?id=13555"));
menu3.add(new WebFXMenuItem("Historic Cathlamet","http://www.cwcog.org/cathlamet.htm"));
menu3.add(new WebFXMenuItem("Grays River Covered Bridge","http://welcometowahkiakum.com/photos/bridge.jpg"));
menuBar.add(new WebFXMenuButton("Columbia River Estuary", "/onsite/estuary.htm", "Stuff to do and see around the mouth of the Columbia River.", menu3));

var menu4 = new WebFXMenu;
menu4.add(new WebFXMenuItem("Oregon Coast","http://www.oregoncoast101.com/"));
menu4.add(new WebFXMenuItem("Long Beach Peninsula","http://www.funbeach.com/"));
menu4.add(new WebFXMenuItem("Mt. St. Helens","http://www.fs.fed.us/gpnf/mshnvm/"));
menu4.add(new WebFXMenuItem("Columbia Gorge National Scenic Area","http://www.crgva.org/"));
menu4.add(new WebFXMenuItem("Oregon Pinot Noir","http://www.winesnw.com/oregonwinetastingroom.htm"));
menuBar.add(new WebFXMenuButton("In Our Region",root + "onsite/region.htm", "Stuff to do and see within driving distance.", menu4));

};