/*
Index:Home;TeamInfo:Team Info;CarInfo:Links;Schedule2003:2010 Schedule;RaceResults:Results;LatestNews:News;Tracks:Tracks;2002photos:Photos;Sponsors:Advertise Here;support:SetupSupport;Shopping:Vinyl Shop;thingstoremember:How 2 Go Fast;
*/
/*
TEXTHIGHLIGHT:#0066FF;GRAPHICHIGHLIGHT:yes;BACKGROUNDHIGHLIGHT:none;TEXTMOUSEOVER:#0066FF;FILENAME:Vertical_Ruled_Batman;FONTFORMATBOLD:Bold;BORDERCOLOR:None;GRAPHIC:Dark_Buttons;GRAPHICMOUSEOVER:yes;BACKGROUNDMOUSEOVER:none;FONTSTYLE:Arial,Helvetica,adobe-helvetica,Arial Narrow;ORIENTATION:VERTICAL;NUMPAGES:12;GRAPHICSTYLE:BUTTONS;STYLENAME:Vertical_Ruled;FONTSIZE:4;FONTCOLOR:#FFFFFF;GRAPHICCOLOR:Basic_Black;VERTICALSPACE:10;BACKGROUNDCOLOR:None;HORIZONTALSPACE:10;COLORSCHEME:Batman;
*/
var tabWidth = 165;
var tabHeight = 40;
var buttonsPerRow = 6; 
var nVerticalLinkGapInCell = 10;
var nHorizontalLinkGapInCell = 10;

Vertical_Nav_Black_1buttonOnImage = new Image(tabWidth, tabHeight);
Vertical_Nav_Black_1buttonOnImage.src = "/~site/Layout/Buttons/Black_Button_2.gif";
Vertical_Nav_Black_1buttonOffImage = new Image(tabWidth, tabHeight);
Vertical_Nav_Black_1buttonOffImage.src = "/~site/Layout/Buttons/Black_Button.gif";
function Vertical_Nav_Black_1mouseOn(graphicName) { document.images[graphicName].src = Vertical_Nav_Black_1buttonOnImage.src; }
function Vertical_Nav_Black_1mouseOff(graphicName) { document.images[graphicName].src = Vertical_Nav_Black_1buttonOffImage.src; }


function Vertical_Nav_Black_1textMouseOn(textObj) { textObj.style.color="#0066FF"; }
function Vertical_Nav_Black_1textMouseOff(textObj) { textObj.style.color="#FFFFFF"; }

function Vertical_Nav_Black_1getMouseOverHandler(strImgName, textObjName, bIsCurrPage) {
 
if (bIsCurrPage) return '';

var strHTMLMouseOver = '';
var strHTMLMouseOut = '';

if (navigator.userAgent.indexOf("IE") != -1) {
strHTMLMouseOver += 'Vertical_Nav_Black_1mouseOn(\'' + strImgName + '\');';
strHTMLMouseOut += 'Vertical_Nav_Black_1mouseOff(\'' + strImgName + '\');';
}


strHTMLMouseOver += 'Vertical_Nav_Black_1textMouseOn(' + textObjName + ');';
strHTMLMouseOut += 'Vertical_Nav_Black_1textMouseOff(' + textObjName + ');';

return 'onMouseOver="' + strHTMLMouseOver + '" onMouseOut="' + strHTMLMouseOut + '"';
}
function Vertical_Nav_Black_1isCurrentPage(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_1getHTML(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_1isCurrentPage(strLink);
if (bIsCurrPage) {

strImg = '/~site/Layout/Buttons/Black_Button_2.gif';


strFontColor = '#0066FF';

} else {
strFontColor = '#FFFFFF';
}

if (navigator.userAgent.indexOf("IE") != -1) {
return Vertical_Nav_Black_1getIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage);
} else {
return Vertical_Nav_Black_1getNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage);
}
}
function goToLink(link) { parent.location = link; }
function Vertical_Nav_Black_1getIEHTML(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_1getMouseOverHandler(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_1getMouseOverHandler(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="4">'; 
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_1getNSHTML(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="4">'; 
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_1navElement() {
if(typeof Vertical_Nav_Black_1counter == "undefined") {
Vertical_Nav_Black_1counter = 1;
} else {
Vertical_Nav_Black_1counter += 1;
}
var navID = Vertical_Nav_Black_1counter;
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_1getHTML(navID, "Home", "/~site/Layout/Buttons/Black_Button.gif", "Index.html", 1, "Vertical_Nav_Black_1GRAPHIC1", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "Team Info", "/~site/Layout/Buttons/Black_Button.gif", "TeamInfo.html", 2, "Vertical_Nav_Black_1GRAPHIC2", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "Links", "/~site/Layout/Buttons/Black_Button.gif", "CarInfo.html", 3, "Vertical_Nav_Black_1GRAPHIC3", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "2010 Schedule", "/~site/Layout/Buttons/Black_Button.gif", "Schedule2003.html", 4, "Vertical_Nav_Black_1GRAPHIC4", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "Results", "/~site/Layout/Buttons/Black_Button.gif", "RaceResults.html", 5, "Vertical_Nav_Black_1GRAPHIC5", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "News", "/~site/Layout/Buttons/Black_Button.gif", "LatestNews.html", 6, "Vertical_Nav_Black_1GRAPHIC6", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "Tracks", "/~site/Layout/Buttons/Black_Button.gif", "Tracks.html", 7, "Vertical_Nav_Black_1GRAPHIC7", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "Photos", "/~site/Layout/Buttons/Black_Button.gif", "2002photos.html", 8, "Vertical_Nav_Black_1GRAPHIC8", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "Advertise Here", "/~site/Layout/Buttons/Black_Button.gif", "Sponsors.html", 9, "Vertical_Nav_Black_1GRAPHIC9", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "SetupSupport", "/~site/Layout/Buttons/Black_Button.gif", "support.html", 10, "Vertical_Nav_Black_1GRAPHIC10", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "Vinyl Shop", "/~site/Layout/Buttons/Black_Button.gif", "Shopping.html", 11, "Vertical_Nav_Black_1GRAPHIC11", 0));
document.write(Vertical_Nav_Black_1getHTML(navID, "How 2 Go Fast", "/~site/Layout/Buttons/Black_Button.gif", "thingstoremember.html", 12, "Vertical_Nav_Black_1GRAPHIC12", 1));

}
}
function Vertical_Nav_Black_1netscapeDivCheck() {
var strAppName = navigator.appName;
var appVer = parseFloat(navigator.appVersion);
if ( (strAppName == "Netscape")&&
(appVer >= 4.0 && appVer < 5) ) { 
document.write("</DIV>");
}
}
var Vertical_Nav_Black_1counter;
Vertical_Nav_Black_1navElement();
Vertical_Nav_Black_1netscapeDivCheck();

