/*
Index:Home;events:Events;news:News;member:Membership;ute:Youth;incentives:Go For It!;Wall:Wall of Fame;contacts:Contacts;swapshop:Swap Shop;
*/
/*
TEXTHIGHLIGHT:#000000;GRAPHICHIGHLIGHT:yes;BACKGROUNDHIGHLIGHT:none;TEXTMOUSEOVER:#000000;FONTFORMATBOLD:Bold;FILENAME:Vertical_Plain_Text_Black;GRAPHIC:Basic_Button;COLOR NAME *:Black;BORDERCOLOR:None;GRAPHICMOUSEOVER:yes;BACKGROUNDMOUSEOVER:none;FONTSTYLE:Arial,Helvetica,adobe-helvetica,Arial Narrow;ORIENTATION:VERTICAL;NUMPAGES:9;GRAPHICSTYLE:BUTTONS;STYLENAME:Vertical_Plain_Text;FONTSIZE:3;FONTCOLOR:#FFFFFF;GRAPHICCOLOR:Dark_Red;VERTICALSPACE:12;COLORSCHEME:Black;BACKGROUNDCOLOR:#3333CC;HORIZONTALSPACE:12;
*/
var tabWidth = 114;
var tabHeight = 31;
var buttonsPerRow = 6; 
var nVerticalLinkGapInCell = 12;
var nHorizontalLinkGapInCell = 12;

Vertical_Nav_Black_8buttonOnImage = new Image(tabWidth, tabHeight);
Vertical_Nav_Black_8buttonOnImage.src = "/~site/Layout/Buttons/Basic_Button_Red.gif";
Vertical_Nav_Black_8buttonOffImage = new Image(tabWidth, tabHeight);
Vertical_Nav_Black_8buttonOffImage.src = "/~site/Layout/Buttons/Basic_Button_Dark_Red.gif";
function Vertical_Nav_Black_8mouseOn(graphicName) { document.images[graphicName].src = Vertical_Nav_Black_8buttonOnImage.src; }
function Vertical_Nav_Black_8mouseOff(graphicName) { document.images[graphicName].src = Vertical_Nav_Black_8buttonOffImage.src; }


function Vertical_Nav_Black_8textMouseOn(textObj) { textObj.style.color="#000000"; }
function Vertical_Nav_Black_8textMouseOff(textObj) { textObj.style.color="#FFFFFF"; }

function Vertical_Nav_Black_8getMouseOverHandler(strImgName, textObjName, bIsCurrPage) {
 
if (bIsCurrPage) return '';

var strHTMLMouseOver = '';
var strHTMLMouseOut = '';

if (navigator.userAgent.indexOf("IE") != -1) {
strHTMLMouseOver += 'Vertical_Nav_Black_8mouseOn(\'' + strImgName + '\');';
strHTMLMouseOut += 'Vertical_Nav_Black_8mouseOff(\'' + strImgName + '\');';
}


strHTMLMouseOver += 'Vertical_Nav_Black_8textMouseOn(' + textObjName + ');';
strHTMLMouseOut += 'Vertical_Nav_Black_8textMouseOff(' + textObjName + ');';

return 'onMouseOver="' + strHTMLMouseOver + '" onMouseOut="' + strHTMLMouseOut + '"';
}
function Vertical_Nav_Black_8isCurrentPage(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 Vertical_Nav_Black_8getHTML(navID, strLinkName, strImg, strLink, nOptionNum, strImgName, bLastOption) {
var nRowIndex = 0;
var nColIndex = 0;
strImgName = strImgName + '_' + navID;
 
nColIndex = 0;
nRowIndex = nOptionNum - 1;


var bIsCurrPage = Vertical_Nav_Black_8isCurrentPage(strLink);
if (bIsCurrPage) {

strImg = '/~site/Layout/Buttons/Basic_Button_Red.gif';


strFontColor = '#000000';

} else {
strFontColor = '#FFFFFF';
}

if (navigator.userAgent.indexOf("IE") != -1) {
return Vertical_Nav_Black_8getIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage);
} else {
return Vertical_Nav_Black_8getNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage);
}
}
function goToLink(link) { parent.location = link; }
function Vertical_Nav_Black_8getIEHTML(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 += Vertical_Nav_Black_8getMouseOverHandler(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" ' + Vertical_Nav_Black_8getMouseOverHandler(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 = '';


strFormattingStart += '<B>';
strFormattingEnd += '</B>';

strHTML += '<SPAN ID="' + divID + '" STYLE="color:' + strFontColor + '"';
strHTML += '>' + strFormattingStart + strLinkName + strFormattingEnd + '</SPAN>';
strHTML += "</FONT></DIV></DIV>";
return strHTML;
}
function Vertical_Nav_Black_8getNSHTML(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 = '';


strFormattingStart += '<B>';
strFormattingEnd += '</B>';

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" CLASS="spacer" ALT=""/>';
strHTML += '</TD></TR>';


if (bLastOption) strHTML += '</TABLE>';
return strHTML;
}
function Vertical_Nav_Black_8navElement() {
if(typeof Vertical_Nav_Black_8counter == "undefined") {
Vertical_Nav_Black_8counter = 1;
} else {
Vertical_Nav_Black_8counter += 1;
}
var navID = Vertical_Nav_Black_8counter;
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(Vertical_Nav_Black_8getHTML(navID, "Home", "/~site/Layout/Buttons/Basic_Button_Dark_Red.gif", "Index.html", 1, "Vertical_Nav_Black_8GRAPHIC1", 0));
document.write(Vertical_Nav_Black_8getHTML(navID, "Events", "/~site/Layout/Buttons/Basic_Button_Dark_Red.gif", "events.html", 2, "Vertical_Nav_Black_8GRAPHIC2", 0));
document.write(Vertical_Nav_Black_8getHTML(navID, "News", "/~site/Layout/Buttons/Basic_Button_Dark_Red.gif", "news.html", 3, "Vertical_Nav_Black_8GRAPHIC3", 0));
document.write(Vertical_Nav_Black_8getHTML(navID, "Membership", "/~site/Layout/Buttons/Basic_Button_Dark_Red.gif", "member.html", 4, "Vertical_Nav_Black_8GRAPHIC4", 0));
document.write(Vertical_Nav_Black_8getHTML(navID, "Youth", "/~site/Layout/Buttons/Basic_Button_Dark_Red.gif", "ute.html", 5, "Vertical_Nav_Black_8GRAPHIC5", 0));
document.write(Vertical_Nav_Black_8getHTML(navID, "Go For It!", "/~site/Layout/Buttons/Basic_Button_Dark_Red.gif", "incentives.html", 6, "Vertical_Nav_Black_8GRAPHIC6", 0));
document.write(Vertical_Nav_Black_8getHTML(navID, "Wall of Fame", "/~site/Layout/Buttons/Basic_Button_Dark_Red.gif", "Wall.html", 7, "Vertical_Nav_Black_8GRAPHIC7", 0));
document.write(Vertical_Nav_Black_8getHTML(navID, "Contacts", "/~site/Layout/Buttons/Basic_Button_Dark_Red.gif", "contacts.html", 8, "Vertical_Nav_Black_8GRAPHIC8", 0));
document.write(Vertical_Nav_Black_8getHTML(navID, "Swap Shop", "/~site/Layout/Buttons/Basic_Button_Dark_Red.gif", "swapshop.html", 9, "Vertical_Nav_Black_8GRAPHIC9", 1));

}
}
function Vertical_Nav_Black_8netscapeDivCheck() {
var strAppName = navigator.appName;
var appVer = parseFloat(navigator.appVersion);
if ( (strAppName == "Netscape")&&
(appVer >= 4.0 && appVer < 5) ) { 
document.write("</DIV>");
}
}
var Vertical_Nav_Black_8counter;
Vertical_Nav_Black_8navElement();
Vertical_Nav_Black_8netscapeDivCheck();
