
var locationstore = window.location.href.split("/");

var firstsectioninfo = "";
var secondsectioninfo = "";

var firstlevelnav = "";
var secondlevelnav = "";

var navigation = "";

var baseurl = "http://www.safariclubfoundation.org/";

var themes = new Array ();

// add new themes here
themes[0] = "humanitarian";
themes[1] = "education";
themes[2] = "fundraising";
themes[3] = "sables";
themes[4] = "conservation";
themes[5] = "about";
themes[6] = "endowment";
themes[7] = "news";
themes[8] = "planned giving";

var themelength;

// set vars for secondary nav
var humanitariantitle = "Humanitarian Services Home";
var humanitarian = new Array ();
humanitarian[0] = "wish";
humanitarian[1] = "sah";
humanitarian[2] = "disabled";
humanitarian[3] = "sensory";
var wish = "SafariCare: Safari Wish Program";
var sah = "Sportsmen Against Hunger";
var disabled = "Disabled Hunters";
var sensory = "Sensory Safari";

var educationtitle = "Education Department Home";
var education = new Array ();
education[0] = "awls";
education[1] = "apprentice";
education[2] = "outdoorswomen";
education[3] = "yes";
/*
*/
var awls = "American Wilderness Leadership School";
var apprentice = "Apprentice Hunters";
var outdoorswomen = "Outdoors Women";
var yes = "YES Outdoors";
/*
*/

var fundraisingtitle = "Giving Online";
var fundraising = new Array ();

var sablestitle = "Sables";
var sables = new Array ();
sables[0] = "news";
var news = "Sables News";

var conservationtitle = "Conservation Efforts Home";
var conservation = new Array ();

var abouttitle = "About SCIF";
var about = new Array ();
about[0] = "careers";
about[1] = "post";
about[2] = "mission";
about[3] = "board";
var careers = "Careers@SCIF";
var post = "Careers@SCIF";
var mission = "SCIF Mission";
var board = "Board of Directors and Professional Staff";

var endowmenttitle = "SCIF Endowments";
var endowment = new Array ();
endowment[0] = "hunterlegacy";
endowment[1] = "scif100";
var hunterlegacy = "Hunter Legacy 100 Fund";
var scif100 = "SCIF 100 Program";

var newstitle = "SCIF News";
var news = new Array ();

for (var i=0; i<locationstore.length; i++) {
	for (var k=0; k<themes.length; k++) {
		if (locationstore[i] == themes[k]) {
			firstsectioninfo = locationstore[i];
			firstlevelnav = eval(firstsectioninfo+'title');
			navigation = " &gt;&gt; <a href=\""+baseurl+firstsectioninfo+"\">"+firstlevelnav+"</a>";
			
			if ((i+2) != locationstore.length) {
				secondsectioninfo = locationstore[i+1];
				themelength = eval(firstsectioninfo+'.length');
					if (themelength > 0) {
						for (var m=0; m < themelength; m++) {
							if (secondsectioninfo.indexOf(eval(firstsectioninfo+'['+m+']')) > -1) {
								secondlevelnav = eval(firstsectioninfo+'['+m+']');
								secondlevelnav = eval(secondlevelnav);
							}
						}
					}
					else {
						secondlevelnav = secondsectioninfo.replace(secondsectioninfo.charAt(0),secondsectioninfo.charAt(0).toUpperCase());
					}
				navigation = navigation+" &gt;&gt; <a href=\""+baseurl+firstsectioninfo+"/"+secondsectioninfo+"\">"+secondlevelnav+"</a>";
			}

		}
	}
}

var headingimg = "images/fp/header.jpg";
var headingwidth = "661";

if (firstsectioninfo == "sables") {
	headingimg = "sables/images/sablesheader.jpg";
	headingwidth = "665";
}


var	headerinfo = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"headertable\"><tr valign=\"middle\">"
	headerinfo += "<td id=\"headercell\"><img src=\"http://www.safariclubfoundation.org/"+headingimg+"\" alt=\"SCIF Logo\" width=\""+headingwidth+"\" height=\"112\"></td></tr>"
	headerinfo += "<tr valign=\"middle\"><td height=\"19\"><spacer type=\"block\" width=\"17\" height=\"19\"></td></tr>"
	headerinfo += "<tr valign=\"middle\"><td id=\"navtable\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr valign=\"middle\" align=\"right\">"
	headerinfo += "<td id=\"navcell0\" width=\"103\"><a href=\""+baseurl+"about/\" onmouseover=\"changeMenus(0,\'\');\" onmouseout=\"changeMenus();\"><img src=\"http://www.safariclubfoundation.org/images/fp/about.gif\" alt=\"About SCIF\" name=\"navimg0\" width=\"103\" height=\"23\" border=\"0\" id=\"navimg0\"></a></td>"
	headerinfo += "<td id=\"navcell1\" width=\"98\"><a href=\""+baseurl+"conservation/\" onmouseover=\"changeMenus(1,\'\');\" onmouseout=\"changeMenus();\"><img src=\"http://www.safariclubfoundation.org/images/fp/conservation.gif\" alt=\"Conservation Efforts\" name=\"navimg1\" width=\"98\" height=\"23\" border=\"0\" id=\"navimg1\"></a></td>"
	headerinfo += "<td id=\"navcell2\" width=\"79\"><a href=\""+baseurl+"education/\" onmouseover=\"changeMenus(2,\'\');\" onmouseout=\"changeMenus();\"><img src=\"http://www.safariclubfoundation.org/images/fp/education.gif\" alt=\"Outdoors Education\" name=\"navimg2\" width=\"79\" height=\"23\" border=\"0\" id=\"navimg2\"></a></td>"
	headerinfo += "<td id=\"navcell3\" width=\"149\"><a href=\""+baseurl+"humanitarian/\" onmouseover=\"changeMenus(3,\'\');\" onmouseout=\"changeMenus();\"><img src=\"http://www.safariclubfoundation.org/images/fp/humanitarian.gif\" alt=\"Humanitarian Services\" name=\"navimg3\" width=\"149\" height=\"23\" border=\"0\" id=\"navimg3\"></a></td>"
	headerinfo += "<td id=\"navcell4\" width=\"91\"><a href=\""+baseurl+"fundraising/\" onmouseover=\"changeMenus(4,\'\');\" onmouseout=\"changeMenus();\"><img src=\"http://www.safariclubfoundation.org/images/fp/fundraising.gif\" alt=\"Fundraising\" name=\"navimg4\" width=\"91\" height=\"23\" border=\"0\" id=\"navimg4\"></a></td>"
	headerinfo += "<td id=\"navcell5\" width=\"91\"><p><a href=\""+baseurl+"endowment/\" onmouseover=\"changeMenus(5,\'\');\" onmouseout=\"changeMenus();\"><img src=\"http://www.safariclubfoundation.org/images/fp/endowment.gif\" alt=\"Endowment\" name=\"navimg5\" width=\"91\" height=\"23\" border=\"0\" id=\"navimg5\"></a></td>"
	headerinfo += "<td id=\"navcell6\" width=\"64\"><p><a href=\""+baseurl+"endowment/\" onmouseover=\"changeMenus(6,\'\');\" onmouseout=\"changeMenus();\"><img src=\"http://www.safariclubfoundation.org/images/fp/PlannedGiving.gif\" alt=\"Planned Giving\" name=\"navimg6\" width=\"113\" height=\"23\" border=\"0\" id=\"navimg6\"></a></td>"
	headerinfo += "<td id=\"navcell7\" width=\"64\"><p><a href=\""+baseurl+"sables/\" onmouseover=\"changeMenus(7,\'\');\" onmouseout=\"changeMenus();\"><img src=\"http://www.safariclubfoundation.org/images/fp/sables.gif\" alt=\"Sables\" name=\"navimg7\" width=\"64\" height=\"23\" border=\"0\" id=\"navimg7\"></a></td>"
	headerinfo += "<td>&nbsp;</td>"
	headerinfo += "</tr></table></td></tr>"
	headerinfo += "<tr valign=\"top\"><td id=\"innernav\"><p><a href=\"http://www.safariclubfoundation.org/\">SCIF Home</a>"+navigation+"</p></td></tr></table>"
	
	if (firstsectioninfo == "sables") {
		headerinfo += "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"margin-left:0px;\" id=\"menutable\" width=\"800\"><tr><td colspan=\"4\">&nbsp;</td></tr>"
		headerinfo += "<tr valign=\"bottom\" align=\"center\">"
		headerinfo += "<td><a href=\"join.htm\"><img src=\"images/menu-join.gif\" alt=\"Join Sables\" name=\"menu1\" width=\"213\" height=\"37\" border=\"0\" id=\"menu1\"></a></td>"
        headerinfo += "<td><a href=\"programs.htm\" onmouseover=\"changeImages(\'menu2\',\'images/menu-programs-roll.gif\');\" onmouseout=\"changeImages(\'menu2\',\'images/menu-programs.gif\');\"><img src=\"images/menu-programs.gif\" alt=\"Sables Programs\" name=\"menu2\" width=\"92\" height=\"22\" border=\"0\" id=\"menu2\"></a></td>"
		headerinfo += "<td><a href=\"divisions.htm\" onmouseover=\"changeImages(\'menu3\',\'images/menu-divisions-roll.gif\');\" onmouseout=\"changeImages(\'menu3\',\'images/menu-divisions.gif\');\"><img src=\"images/menu-divisions.gif\" alt=\"Sables Divisions\" name=\"menu3\" width=\"87\" height=\"20\" border=\"0\" id=\"menu3\" vspace=\"2\"></a></td>"
		headerinfo += "<td><a href=\"whatsnew.htm\" onmouseover=\"changeImages(\'menu4\',\'images/menu-whatsnew-roll.gif\');\" onmouseout=\"changeImages(\'menu4\',\'images/menu-whatsnew.gif\');\"><img src=\"images/menu-whatsnew.gif\" alt=\"What\'s New\" name=\"menu4\" width=\"114\" height=\"20\" border=\"0\" id=\"menu4\" vspace=\"2\"></a></td>"
		headerinfo += "<td><a href=\"news.asp\" onmouseover=\"changeImages(\'menu5\',\'images/menu-news-roll.gif\');\" onmouseout=\"changeImages(\'menu5\',\'images/menu-news.gif\');\"><img src=\"images/menu-news.gif\" alt=\"News\" name=\"menu5\" width=\"55\" height=\"20\" border=\"0\" id=\"menu5\" vspace=\"2\"></a></td>"
		headerinfo += "</tr></table>"
		headerinfo += "<hr noshade size=\"4\" color=\"#000000\" width=\"700\" align=\"left\" style=\"margin-left:50px;\">"
	}

	headerinfo += "<div class=\"toplevelnav\" id=\"navdiv0\" style=\"visibility:hidden; left:0px;\">"
	headerinfo += "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"https://WWW.scifirstforhunters.org/donate/scif/\" onmouseover=\"changeMenus(0);\" onmouseout=\"changeMenus();\">Donate to SCIF</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/about/board.htm\" onmouseover=\"changeMenus(0);\" onmouseout=\"changeMenus();\">SCIF Board of Directors and Professional Staff</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/about/scifbylaws.pdf\" target=\"_blank\" onmouseover=\"changeMenus(0);\" onmouseout=\"changeMenus();\">SCIF Bylaws</a></p></td></tr>"
	/*headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/about/scifbylaws_rev904.pdf\" target=\"_blank\" onmouseover=\"changeMenus(0);\" onmouseout=\"changeMenus();\">Amendments to SCIF Bylaws</a></p></td></tr>"*/
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/about/careers.htm\" onmouseover=\"changeMenus(0);\" onmouseout=\"changeMenus();\">SCIF Careers</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/contact/\" onmouseover=\"changeMenus(0);\" onmouseout=\"changeMenus();\">Contact SCIF</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/news/\" onmouseover=\"changeMenus(0);\" onmouseout=\"changeMenus();\">SCIF News</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/990/\" target=\"_blank\" onmouseover=\"changeMenus(0);\" onmouseout=\"changeMenus();\">SCIF IRS Form 990</a></p></td></tr>"
	headerinfo += "</table></div>"
	headerinfo += "<div class=\"toplevelnav\" id=\"navdiv1\" style=\"visibility:hidden; left:102px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/conservation/\" onmouseover=\"changeMenus(1);\" onmouseout=\"changeMenus();\">Conservation Home</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/conservation/programs.htm\" onmouseover=\"changeMenus(1);\" onmouseout=\"changeMenus();\">Featured Programs</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/conservation/cwd.htm\" onmouseover=\"changeMenus(1);\" onmouseout=\"changeMenus();\">Chronic Wasting Disease (CWD)</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/conservation/allprograms.htm\" onmouseover=\"changeMenus(1);\" onmouseout=\"changeMenus();\">All Programs</a></p></td></tr>"
	headerinfo += "</table></div>"
	headerinfo += "<div class=\"toplevelnav\" id=\"navdiv2\" style=\"visibility:hidden; left:200px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/education/\" onmouseover=\"changeMenus(2);\" onmouseout=\"changeMenus();\">Education Home</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/education/awls/\" onmouseover=\"changeMenus(2);\" onmouseout=\"changeMenus();\">American Wilderness Leadership School (AWLS)</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/education/apprentice/\" onmouseover=\"changeMenus(2);\" onmouseout=\"changeMenus();\">Apprentice Hunters</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/education/outdoorswomen/\" onmouseover=\"changeMenus(2);\" onmouseout=\"changeMenus();\">Becoming an Outdoors Woman (BOW)</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/sables/safari_in_a_box.htm\" onmouseover=\"changeMenus(2);\" onmouseout=\"changeMenus();\">Safari in a Box</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/education/yes/\" onmouseover=\"changeMenus(2);\" onmouseout=\"changeMenus();\">YES Outdoors</a></p></td></tr>"
	/*headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/education/apprentice/yhtestimonial.htm\" onmouseover=\"changeMenus(2);\" onmouseout=\"changeMenus();\">Young Hunter</a></p></td></tr>"*/
	headerinfo += "</table></div>"
	headerinfo += "<div class=\"toplevelnav\" id=\"navdiv3\" style=\"visibility:hidden; left:279px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/humanitarian/\" onmouseover=\"changeMenus(3);\" onmouseout=\"changeMenus();\">Humanitarian Services Home</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/humanitarian/default.htm#disabled\" onmouseover=\"changeMenus(3);\" onmouseout=\"changeMenus();\">Disabled Hunter</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/humanitarian/wish/\" onmouseover=\"changeMenus(3);\" onmouseout=\"changeMenus();\">Safari Wish Program</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/humanitarian/default.htm#sensory\" onmouseover=\"changeMenus(3);\" onmouseout=\"changeMenus();\">Sensory Safari Program</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/humanitarian/sah/\" onmouseover=\"changeMenus(3);\" onmouseout=\"changeMenus();\">Sportsmen Against Hunger</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/static/ChapterProjects/\" target=\"_blank\" onmouseover=\"changeMenus(3);\" onmouseout=\"changeMenus();\">Chapter Projects</a></p></td></tr>"
	headerinfo += "</table></div>"
	headerinfo += "<div class=\"toplevelnav\" id=\"navdiv4\" style=\"visibility:hidden; left:429px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/fundraising/\" onmouseover=\"changeMenus(4);\" onmouseout=\"changeMenus();\">Fundraising Home</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"https://WWW.scifirstforhunters.org/donate/scif/\" onmouseover=\"changeMenus(4);\" onmouseout=\"changeMenus();\">Donate to SCIF</a></p></td></tr>"
	headerinfo += "</table></div>"
	headerinfo += "<div class=\"toplevelnav\" id=\"navdiv5\" style=\"visibility:hidden; left:520px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/endowment/hunterlegacy.htm\" onmouseover=\"changeMenus(5);\" onmouseout=\"changeMenus();\">Hunter Legacy 100 Fund</a></p></td></tr>"
	/*headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/endowment/scif100.htm\" onmouseover=\"changeMenus(5);\" onmouseout=\"changeMenus();\">SCI 100 Program</a></p></td></tr>"*/
	headerinfo += "</table></div>"
	headerinfo += "<div class=\"toplevelnav\" id=\"navdiv6\" style=\"visibility:hidden; left:611px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.plan.gs/Questionnaire.do?orgId=911&questionnaireId=3\" onmouseover=\"changeMenus(6);\" onmouseout=\"changeMenus();\">Build Your Gift</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.plan.gs/GoalsGift.do?orgId=911&categoryId=469\" onmouseover=\"changeMenus(6);\" onmouseout=\"changeMenus();\">Compare Gifts</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.plan.gs/CategoryDetailList.do?orgId=911&categoryId=208\" onmouseover=\"changeMenus(6);\" onmouseout=\"changeMenus();\">Essentials</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.plan.gs/Category.do?orgId=911&contentGroupId=79\" onmouseover=\"changeMenus(6);\" onmouseout=\"changeMenus();\">What to Give</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.plan.gs/Category.do?orgId=911&contentGroupId=214\" onmouseover=\"changeMenus(6);\" onmouseout=\"changeMenus();\">Ways to Give</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.plan.gs/CategoryDetailList.do?orgId=911&categoryId=241\" onmouseover=\"changeMenus(6);\" onmouseout=\"changeMenus();\">Quiz Yourself</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://pcalc.ptec.com/hosts/989357365\" onmouseover=\"changeMenus(6);\" onmouseout=\"changeMenus();\">Gift Calculator</a></p></td></tr>"	
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.plan.gs/Category.do?orgId=911&contentGroupId=372\" onmouseover=\"changeMenus(6);\" onmouseout=\"changeMenus();\">For Professional Advisors</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.plan.gs/CategoryDetailList.do?orgId=911&categoryId=266\" onmouseover=\"changeMenus(6);\" onmouseout=\"changeMenus();\">eBbrochures</a></p></td></tr>"
	headerinfo += "</table></div>"
	headerinfo += "<div class=\"toplevelnav\" id=\"navdiv7\" style=\"visibility:hidden; left:724px;\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/sables/\" onmouseover=\"changeMenus(7);\" onmouseout=\"changeMenus();\">Sables Home</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/sables/divisions.htm\" onmouseover=\"changeMenus(7);\" onmouseout=\"changeMenus();\">Divisions</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://WWW.scifirstforhunters.org/joinsables/\" onmouseover=\"changeMenus(7);\" onmouseout=\"changeMenus();\">Join Sables</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/sables/news.asp\" onmouseover=\"changeMenus(7);\" onmouseout=\"changeMenus();\">Sables News</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/sables/programs.htm\" onmouseover=\"changeMenus(7);\" onmouseout=\"changeMenus();\">Programs</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/sables/whatsnew.htm\" onmouseover=\"changeMenus(7);\" onmouseout=\"changeMenus();\">What\'s New</a></p></td></tr>"
	headerinfo += "<tr valign=\"top\"><td><p><a href=\"http://www.safariclubfoundation.org/sables/safari_in_a_box.htm\" onmouseover=\"changeMenus(7);\" onmouseout=\"changeMenus();\">Safari in a Box</a></p></td></tr>"
	headerinfo += "</table></div>"
	headerinfo += "<div class=\"moveover\">"



var footerinfo = "</table></div>";
if (firstsectioninfo == "humanitarian") footerinfo += "<p class=\"centering\"><a href=\"https://WWW.scifirstforhunters.org/donate/scif/index.cfm?type=HS\" target=\"_blank\"><img src=\"http://www.safariclubfoundation.org/humanitarian/images/donate.gif\" alt=\"Make a donation to SCIF's humanitarian programs\" width=\"620\" height=\"172\" border=\"0\"></a></P>"
else if (firstsectioninfo == "conservation") footerinfo += "<p class=\"centering\"><a href=\"https://WWW.scifirstforhunters.org/donate/scif/index.cfm?type=CO\" target=\"_blank\"><img src=\"http://www.safariclubfoundation.org/conservation/images/donate.gif\" alt=\"Make a donation to SCIF's conservation programs\" width=\"620\" height=\"150\" border=\"0\"></a></P>"
else if (firstsectioninfo == "education") footerinfo += "<p class=\"centering\"><a href=\"https://WWW.scifirstforhunters.org/donate/scif/index.cfm?type=ED\" target=\"_blank\"><img src=\"http://www.safariclubfoundation.org/education/images/donate.jpg\" alt=\"Make a donation to SCIF's education programs\" width=\"573\" height=\"172\" border=\"0\"></a></P>"
footerinfo += "<table>"

function writeNav() {
	var thisone = writeNav.arguments[0];

	eval('document.write('+thisone+'info)');

}

var leftNav = new Array ();
leftNav[0] = "sah";
leftNav[1] = "education";
leftNav[2] = "sables";
	
	var sah = new Array ();
	sah[0] = "default.htm#SAH Quick Links";
	sah[1] = "register.asp?id=1#Register a Charitable Organization";
	sah[2] = "mps.htm#Meat Processors Database";
	sah[3] = "hros.htm#Hunger Relief Organizations";
	sah[4] = "state_testimonial.htm#SAH Testimonials";
	sah[5] = "map.htm#State Hunting, Game and Seasons Info";
	sah[6] = "http://www.scifirstforhunters.org/static/index.cfm?contentID=142#Game Recipes#_blank";
	
	var education = new Array ();
	education[0] = "default.htm#Education Quick Links";
	education[1] = "awls/#American Wilderness Leadership School";
	education[2] = "apprentice/#Apprentice Hunters";
	education[3] = "outdoorswomen/#Becoming an Outdoors Woman";
	education[4] = "../sables/safari_in_a_box.htm#Safari In A Box";
	education[5] = "yes/#YES Outdoors";
	
	/*
	education[4] = "apprentice/younghunter.htm#Young Hunter";
	education[4] = "yes/#YES Outdoors";
	*/
	
	var sables = new Array ();
	sables[0] = "default.htm#SCIF Sables";
	sables[1] = "http://www.scifirstforhunters.org/joinsables/#Join Sables#_blank";
	sables[2] = "education.htm#Sables Education Porgrams";
	sables[3] = "divisions.htm#Sables Divisions";
	
function writeLeftNav () {
	
	var section = writeLeftNav.arguments[0];
	var dir = "";
	dir = writeLeftNav.arguments[1];
	var navtruechecka = false;
	
	var leftNavWriter = "";
	
	// check to make sure navigation arguments are valid and that info has been entered
	for (var i=0; i<leftNav.length; i++) {
		if (section == leftNav[i]) {
			navtruechecka = true;
		}
	}
	
	var dots = "";
	
	if (dir != "") 
	{
		for (var k=1; k<=parseInt(dir); k++) 
			{
				dots += "../";
			}
	}
	
	var writings = eval(section+'[0]').split("#");
	var thelink;
	var thetext;
	
	if (navtruechecka == true) {
	
		if (section != "sables") {
			leftNavWriter += "<p>&nbsp;</p><p>&nbsp;</p>"
		}
		leftNavWriter += "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">"
		leftNavWriter += "<tr valign=\"middle\"><td class=\"headstrong\"><p><a href=\""+dots+writings[0]+"\">"+writings[1]+"</a></p></td></tr>"
		leftNavWriter += "<tr valign=\"top\"><td>"
		
		if (document.all) {
			leftNavWriter += "<div style=\"margin-left:-20px;\"><ul>"
		}
		else if (document.getElementById) {
			leftNavWriter += "<div><ul style=\"margin-left:-20px;\">"
		}
		else if (document.layers) {
			leftNavWriter += "<layer><ul>"
		}
		
	
		for (var i=1; i<eval(section+'.length'); i++) {
			writings = eval(section+'[i]');
			writings = writings.split("#");
			thelink = writings[0];
			thetext = writings[1];
			
			if (writings.length > 2) {
				thelink += "\" target=\""+writings[2];
			}
			
			leftNavWriter += "<li><p><a href=\""+dots+thelink+"\">"+thetext+"</a></p></li>"
		}
	
		if (document.all || document.getElementById) {
			leftNavWriter += "</ul></div>"
		}
		else if (document.layers) {
			leftNavWriter += "</ul></layer>"
		}
		
		leftNavWriter += "</td></tr></table>"
		
	}
	
	else {
		leftNavWriter = "<p><a href=\"http://www.safariclubfoundation.org\">SCI Home</a></p>";
	}
	
	document.write(leftNavWriter);
	
}
