/*
index:Home;saturn:Imperial Saturn;SaturnsEclipse:Saturn's Get;JaaJAli:Jaa Jub Ali;GuestStallions:Asami Ruuh;master:Thee Master;KOUBLATALSAHM:Koublat Al Sahm;sales:Sales;tabaskosales:News;mares:Mares;2004Foals:Foals;sidesaddle:Services;contact:Contact Us;
*/
/*
TEXTHIGHLIGHT:#996600;GRAPHICHIGHLIGHT:yes;FONTFORMATUNDERLINED:Underlined;FONTFORMATBOLD:Bold;BACKGROUNDHIGHLIGHT:none;TEXTMOUSEOVER:#FF6600;FILENAME:Vertical_Ruled_Forest;BORDERCOLOR:None;GRAPHIC:Sophisticated_Buttons;GRAPHICMOUSEOVER:yes;BACKGROUNDMOUSEOVER:none;FONTSTYLE:Arial,Helvetica,adobe-helvetica,Arial Narrow;ORIENTATION:VERTICAL;NUMPAGES:13;GRAPHICSTYLE:BUTTONS;STYLENAME:Vertical_Ruled;FONTSIZE:1;FONTCOLOR:#663300;GRAPHICCOLOR:Antique;VERTICALSPACE:3;BACKGROUNDCOLOR:None;HORIZONTALSPACE:3;COLORSCHEME:Forest;
*/
var tabWidth = 128;
var tabHeight = 37;
var buttonsPerRow = 6; 
var nVerticalLinkGapInCell = 3;
var nHorizontalLinkGapInCell = 3;

Vertical_Nav_ForestbuttonOnImage = new Image(tabWidth, tabHeight);
Vertical_Nav_ForestbuttonOnImage.src = "/~site/Layout/Buttons/Antique_Button.gif";
Vertical_Nav_ForestbuttonOffImage = new Image(tabWidth, tabHeight);
Vertical_Nav_ForestbuttonOffImage.src = "/~site/Layout/Buttons/Antique_Button.gif";
function Vertical_Nav_ForestmouseOn(graphicName) { document.images[graphicName].src = Vertical_Nav_ForestbuttonOnImage.src; }
function Vertical_Nav_ForestmouseOff(graphicName) { document.images[graphicName].src = Vertical_Nav_ForestbuttonOffImage.src; }


function Vertical_Nav_ForesttextMouseOn(textObj) { textObj.style.color="#FF6600"; }
function Vertical_Nav_ForesttextMouseOff(textObj) { textObj.style.color="#663300"; }

function Vertical_Nav_ForestgetMouseOverHandler(strImgName, textObjName, bIsCurrPage) {
 
if (bIsCurrPage) return '';

var strHTMLMouseOver = '';
var strHTMLMouseOut = '';

if (navigator.userAgent.indexOf("IE") != -1) {
strHTMLMouseOver += 'Vertical_Nav_ForestmouseOn(\'' + strImgName + '\');';
strHTMLMouseOut += 'Vertical_Nav_ForestmouseOff(\'' + strImgName + '\');';
}


strHTMLMouseOver += 'Vertical_Nav_ForesttextMouseOn(' + textObjName + ');';
strHTMLMouseOut += 'Vertical_Nav_ForesttextMouseOff(' + textObjName + ');';

return 'onMouseOver="' + strHTMLMouseOver + '" onMouseOut="' + strHTMLMouseOut + '"';
}
function Vertical_Nav_ForestisCurrentPage(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_ForestgetHTML(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_ForestisCurrentPage(strLink);
if (bIsCurrPage) {

strImg = '/~site/Layout/Buttons/Antique_Button.gif';


strFontColor = '#996600';

} else {
strFontColor = '#663300';
}

if (navigator.userAgent.indexOf("IE") != -1) {
return Vertical_Nav_ForestgetIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage);
} else {
return Vertical_Nav_ForestgetNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage);
}
}
function goToLink(link) { parent.location = link; }
function Vertical_Nav_ForestgetIEHTML(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_ForestgetMouseOverHandler(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_ForestgetMouseOverHandler(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="1">'; 
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_ForestgetNSHTML(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="1">'; 
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_ForestnavElement() {
if(typeof Vertical_Nav_Forestcounter == "undefined") {
Vertical_Nav_Forestcounter = 1;
} else {
Vertical_Nav_Forestcounter += 1;
}
var navID = Vertical_Nav_Forestcounter;
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_ForestgetHTML(navID, "Home", "/~site/Layout/Buttons/Antique_Button.gif", "index.html", 1, "Vertical_Nav_ForestGRAPHIC1", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Imperial Saturn", "/~site/Layout/Buttons/Antique_Button.gif", "saturn.html", 2, "Vertical_Nav_ForestGRAPHIC2", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Saturn's Get", "/~site/Layout/Buttons/Antique_Button.gif", "SaturnsEclipse.html", 3, "Vertical_Nav_ForestGRAPHIC3", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Jaa Jub Ali", "/~site/Layout/Buttons/Antique_Button.gif", "JaaJAli.html", 4, "Vertical_Nav_ForestGRAPHIC4", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Asami Ruuh", "/~site/Layout/Buttons/Antique_Button.gif", "GuestStallions.html", 5, "Vertical_Nav_ForestGRAPHIC5", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Thee Master", "/~site/Layout/Buttons/Antique_Button.gif", "master.html", 6, "Vertical_Nav_ForestGRAPHIC6", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Koublat Al Sahm", "/~site/Layout/Buttons/Antique_Button.gif", "KOUBLATALSAHM.html", 7, "Vertical_Nav_ForestGRAPHIC7", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Sales", "/~site/Layout/Buttons/Antique_Button.gif", "sales.html", 8, "Vertical_Nav_ForestGRAPHIC8", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "News", "/~site/Layout/Buttons/Antique_Button.gif", "tabaskosales.html", 9, "Vertical_Nav_ForestGRAPHIC9", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Mares", "/~site/Layout/Buttons/Antique_Button.gif", "mares.html", 10, "Vertical_Nav_ForestGRAPHIC10", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Foals", "/~site/Layout/Buttons/Antique_Button.gif", "2004Foals.html", 11, "Vertical_Nav_ForestGRAPHIC11", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Services", "/~site/Layout/Buttons/Antique_Button.gif", "sidesaddle.html", 12, "Vertical_Nav_ForestGRAPHIC12", 0));
document.write(Vertical_Nav_ForestgetHTML(navID, "Contact Us", "/~site/Layout/Buttons/Antique_Button.gif", "contact.html", 13, "Vertical_Nav_ForestGRAPHIC13", 1));

}
}
function Vertical_Nav_ForestnetscapeDivCheck() {
var strAppName = navigator.appName;
var appVer = parseFloat(navigator.appVersion);
if ( (strAppName == "Netscape")&&
(appVer >= 4.0 && appVer < 5) ) { 
document.write("</DIV>");
}
}
var Vertical_Nav_Forestcounter;
Vertical_Nav_ForestnavElement();
Vertical_Nav_ForestnetscapeDivCheck();

