/*
Index:Home;About_Us:About Us;Contact_Us:Contact_Us;Directions:Directions;Photo_Album:Photo Album;Newsletter:Deer Gallery;Feedback_Form:Elk Gallery;Photo_Gallery:Exotic Gallery;Our_Service:Prices;2005PICTURES:2005 pictures;
*/
/*
TEXTHIGHLIGHT:#FFFFFF;BACKGROUNDHIGHLIGHT:none;TEXTMOUSEOVER:#FFFFFF;FONTFORMATBOLD:none;FILENAME:Textured_Buttons_Fall_Leaves;GRAPHIC:Textured_Buttons;BACKGROUNDMOUSEOVER:none;FONTSTYLE:Arial,Helvetica,adobe-helvetica,Arial Narrow;ORIENTATION:VERTICAL;NUMPAGES:10;GRAPHICSTYLE:BUTTONS;STYLENAME:Textured_Buttons;FONTSIZE:3;FONTCOLOR:#CCCCCC;GRAPHICCOLOR:Fall_Leaves;VERTICALSPACE:12;HORIZONTALSPACE:12;COLORSCHEME:Fall_Leaves;
*/
var tabWidth = 175;
var tabHeight = 57;
var buttonsPerRow = 6; 
var nVerticalLinkGapInCell = 12;
var nHorizontalLinkGapInCell = 12;


function Fall_LeavestextMouseOn(textObj) { textObj.style.color="#FFFFFF"; }
function Fall_LeavestextMouseOff(textObj) { textObj.style.color="#CCCCCC"; }

function Fall_LeavesgetMouseOverHandler(strImgName, textObjName, bIsCurrPage) {
 
if (bIsCurrPage) return '';

var strHTMLMouseOver = '';
var strHTMLMouseOut = '';


strHTMLMouseOver += 'Fall_LeavestextMouseOn(' + textObjName + ');';
strHTMLMouseOut += 'Fall_LeavestextMouseOff(' + textObjName + ');';

return 'onMouseOver="' + strHTMLMouseOver + '" onMouseOut="' + strHTMLMouseOut + '"';
}
function Fall_LeavesisCurrentPage(currentPage) {
var page = new String(window.location);
var size = currentPage.length;
var tildePage = currentPage.substring(0, size - 5 ); 
tildePage += "~"; 
if(page.indexOf(currentPage) != -1 || page.indexOf(tildePage) != -1 ) { 
return true;
} else {
return false;
}
}
function Fall_LeavesgetHTML(navID, strLinkName, strImg, strLink, nOptionNum, strImgName, bLastOption) {
var nRowIndex = 0;
var nColIndex = 0;
strImgName = strImgName + '_' + navID;
 
nColIndex = 0;
nRowIndex = nOptionNum - 1;


var bIsCurrPage = Fall_LeavesisCurrentPage(strLink);
if (bIsCurrPage) {


strFontColor = '#FFFFFF';

} else {
strFontColor = '#CCCCCC';
}

if (navigator.userAgent.indexOf("IE") != -1) {
return Fall_LeavesgetIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage);
} else {
return Fall_LeavesgetNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage);
}
}
function goToLink(link) { parent.location = link; }
function Fall_LeavesgetIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage) {
var strHTML;
var nLeftPos = 0;
var nTopPos = 0;
var divID = "link_text_" + strImgName;
nTopPos = (-2 * tabHeight * (nOptionNum - 1)) + ((tabHeight + nVerticalLinkGapInCell) * nRowIndex);
nLeftPos = nColIndex * (tabWidth + nHorizontalLinkGapInCell);
strHTML = '<DIV style="position:relative;top:' + nTopPos + 'px;left:'
+ nLeftPos + 'px;width:' + tabWidth + 'px;height:'+ tabHeight + 'px">';
strHTML += '<A TARGET="_parent" HREF="' + strLink + '" ';
strHTML += Fall_LeavesgetMouseOverHandler(strImgName, divID, bIsCurrPage);
strHTML += '><IMG SRC="' + strImg + '" NAME="' + strImgName + '" WIDTH=' + tabWidth + ' HEIGHT=' + tabHeight + ' BORDER="0">';
strHTML += '</A>'
strHTML += '<DIV ALIGN="center" style="position:relative;top:-' + tabHeight + 'px;left:0px;width:' + tabWidth + 'px;height:' + tabHeight + 'px;cursor:hand" ' + Fall_LeavesgetMouseOverHandler(strImgName, divID, bIsCurrPage) + ' onClick=goToLink("' + strLink + '")>';
strHTML += '<IMG SRC="/tp.gif" HEIGHT="' + tabHeight + '" WIDTH="1" ALIGN="absmiddle">';
strHTML += '<FONT FACE="Arial,Helvetica,adobe-helvetica,Arial Narrow" SIZE="3">'; 
var strFormattingStart = ''; 
var strFormattingEnd = '';


strHTML += '<SPAN ID="' + divID + '" STYLE="color:' + strFontColor + '"';
strHTML += '>' + strFormattingStart + strLinkName + strFormattingEnd + '</SPAN>';
strHTML += "</FONT></DIV></DIV>";
return strHTML;
}
function Fall_LeavesgetNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage) {
var strHTML = '';
if (nOptionNum == 1) {
strHTML += '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"';

strHTML += '>';
}
if (nColIndex == 0) strHTML += '<TR>';
strHTML += '<TD WIDTH="'+ tabWidth + '" HEIGHT="' + tabHeight + '" ALIGN="CENTER" VALIGN="MIDDLE" BACKGROUND="' + strImg + '">';
var strFormattingStart = ''; 
var strFormattingEnd = '';


strHTML += '<A TARGET="_parent" HREF="' + strLink + '">';
strHTML += '<FONT COLOR="' + strFontColor + '" FACE="Arial,Helvetica,adobe-helvetica,Arial Narrow" SIZE="3">'; 
strHTML += strFormattingStart + strLinkName + strFormattingEnd + '</A></FONT>';
strHTML += '</TD>';
 
strHTML += '</TR>';
strHTML += '<TR><TD>';
strHTML += '<IMG SRC="/tp.gif" WIDTH="1" HEIGHT="'+nVerticalLinkGapInCell+'" BORDER="0" ALT=""/>';
strHTML += '</TD></TR>';


if (bLastOption) strHTML += '</TABLE>';
return strHTML;
}
function Fall_LeavesnavElement() {
if(typeof Fall_Leavescounter == "undefined") {
Fall_Leavescounter = 1;
} else {
Fall_Leavescounter += 1;
}
var navID = Fall_Leavescounter;
if (navigator.userAgent.indexOf("Mozilla/3") != -1) {
var msg = 'Sorry, since you are using an old version of Netscape, you may not be able to access all the pages in this Web site.';	
document.write(msg);
} else {
document.write(Fall_LeavesgetHTML(navID, "Home", "/~site/Layout/Buttons/Leaf_Button.gif", "Index.html", 1, "Fall_LeavesGRAPHIC1", 0));
document.write(Fall_LeavesgetHTML(navID, "About Us", "/~site/Layout/Buttons/Leaf_Button.gif", "About_Us.html", 2, "Fall_LeavesGRAPHIC2", 0));
document.write(Fall_LeavesgetHTML(navID, "Contact_Us", "/~site/Layout/Buttons/Leaf_Button.gif", "Contact_Us.html", 3, "Fall_LeavesGRAPHIC3", 0));
document.write(Fall_LeavesgetHTML(navID, "Directions", "/~site/Layout/Buttons/Leaf_Button.gif", "Directions.html", 4, "Fall_LeavesGRAPHIC4", 0));
document.write(Fall_LeavesgetHTML(navID, "Photo Album", "/~site/Layout/Buttons/Leaf_Button.gif", "Photo_Album.html", 5, "Fall_LeavesGRAPHIC5", 0));
document.write(Fall_LeavesgetHTML(navID, "Deer Gallery", "/~site/Layout/Buttons/Leaf_Button.gif", "Newsletter.html", 6, "Fall_LeavesGRAPHIC6", 0));
document.write(Fall_LeavesgetHTML(navID, "Elk Gallery", "/~site/Layout/Buttons/Leaf_Button.gif", "Feedback_Form.html", 7, "Fall_LeavesGRAPHIC7", 0));
document.write(Fall_LeavesgetHTML(navID, "Exotic Gallery", "/~site/Layout/Buttons/Leaf_Button.gif", "Photo_Gallery.html", 8, "Fall_LeavesGRAPHIC8", 0));
document.write(Fall_LeavesgetHTML(navID, "Prices", "/~site/Layout/Buttons/Leaf_Button.gif", "Our_Service.html", 9, "Fall_LeavesGRAPHIC9", 0));
document.write(Fall_LeavesgetHTML(navID, "2005 pictures", "/~site/Layout/Buttons/Leaf_Button.gif", "2005PICTURES.html", 10, "Fall_LeavesGRAPHIC10", 1));

}
}
function Fall_LeavesnetscapeDivCheck() {
var strAppName = navigator.appName;
var appVer = parseFloat(navigator.appVersion);
if ( (strAppName == "Netscape")&&
(appVer >= 4.0 && appVer < 5) ) { 
document.write("</DIV>");
}
}
var Fall_Leavescounter;
Fall_LeavesnavElement();
Fall_LeavesnetscapeDivCheck();
