/*
Index:Home;Basic:Pet Portraits;Notecards5:Quilt Cards;Newsletter:About Taiga;Blank:Taiga Photos;PhotographyHCC:Nature ACEO;Paint_Shop_Pro_Graphics:Digital ACEO;Paintings:Digital Painted;Hannah:Digital Floral;Photo_Album:Flower Photos;PSPfreebies:PSP Free;Tutorial:Tutorials;Photo_Gallery:Sept 11 2001;Valentines:Holidays;Message_Center:My Poetry;Links_Page:Links;
*/
/*
TEXTHIGHLIGHT:#006633;FONTFORMATITALIC:Italic;GRAPHICHIGHLIGHT:yes;FONTFORMATBOLD:Bold;BACKGROUNDHIGHLIGHT:none;TEXTMOUSEOVER:#663300;FILENAME:Clean_and_Simple_Button_Eggplant;GRAPHIC:Sophisticated_Button;COLOR NAME *:Black;GRAPHICMOUSEOVER:yes;BACKGROUNDMOUSEOVER:none;FONTSTYLE:Times New Roman,adobe-times,Times;ORIENTATION:VERTICAL;NUMPAGES:16;GRAPHICSTYLE:BUTTONS;STYLENAME:Clean_and_Simple_Button;FONTSIZE:3;FONTCOLOR:#9E8B0C;GRAPHICCOLOR:Elegant_Button;VERTICALSPACE:10;HORIZONTALSPACE:10;COLORSCHEME:Eggplant;
*/
var tabWidth = 106;
var tabHeight = 31;
var buttonsPerRow = 6; 
var nVerticalLinkGapInCell = 10;
var nHorizontalLinkGapInCell = 10;

Graphic_Button_EggplantbuttonOnImage = new Image(tabWidth, tabHeight);
Graphic_Button_EggplantbuttonOnImage.src = "/~site/Layout/Buttons/Elegant_Button.gif";
Graphic_Button_EggplantbuttonOffImage = new Image(tabWidth, tabHeight);
Graphic_Button_EggplantbuttonOffImage.src = "/~site/Layout/Buttons/Elegant_Button.gif";
function Graphic_Button_EggplantmouseOn(graphicName) { document.images[graphicName].src = Graphic_Button_EggplantbuttonOnImage.src; }
function Graphic_Button_EggplantmouseOff(graphicName) { document.images[graphicName].src = Graphic_Button_EggplantbuttonOffImage.src; }


function Graphic_Button_EggplanttextMouseOn(textObj) { textObj.style.color="#663300"; }
function Graphic_Button_EggplanttextMouseOff(textObj) { textObj.style.color="#9E8B0C"; }

function Graphic_Button_EggplantgetMouseOverHandler(strImgName, textObjName, bIsCurrPage) {
 
if (bIsCurrPage) return '';

var strHTMLMouseOver = '';
var strHTMLMouseOut = '';

if (navigator.userAgent.indexOf("IE") != -1) {
strHTMLMouseOver += 'Graphic_Button_EggplantmouseOn(\'' + strImgName + '\');';
strHTMLMouseOut += 'Graphic_Button_EggplantmouseOff(\'' + strImgName + '\');';
}


strHTMLMouseOver += 'Graphic_Button_EggplanttextMouseOn(' + textObjName + ');';
strHTMLMouseOut += 'Graphic_Button_EggplanttextMouseOff(' + textObjName + ');';

return 'onMouseOver="' + strHTMLMouseOver + '" onMouseOut="' + strHTMLMouseOut + '"';
}
function Graphic_Button_EggplantisCurrentPage(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 Graphic_Button_EggplantgetHTML(navID, strLinkName, strImg, strLink, nOptionNum, strImgName, bLastOption) {
var nRowIndex = 0;
var nColIndex = 0;
strImgName = strImgName + '_' + navID;
 
nColIndex = 0;
nRowIndex = nOptionNum - 1;


var bIsCurrPage = Graphic_Button_EggplantisCurrentPage(strLink);
if (bIsCurrPage) {

strImg = '/~site/Layout/Buttons/Elegant_Button.gif';


strFontColor = '#006633';

} else {
strFontColor = '#9E8B0C';
}

if (navigator.userAgent.indexOf("IE") != -1) {
return Graphic_Button_EggplantgetIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage);
} else {
return Graphic_Button_EggplantgetNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage);
}
}
function goToLink(link) { parent.location = link; }
function Graphic_Button_EggplantgetIEHTML(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 += Graphic_Button_EggplantgetMouseOverHandler(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" ' + Graphic_Button_EggplantgetMouseOverHandler(strImgName, divID, bIsCurrPage) + ' onClick=goToLink("' + strLink + '")>';
strHTML += '<IMG SRC="/tp.gif" HEIGHT="' + tabHeight + '" WIDTH="1" ALIGN="absmiddle">';
strHTML += '<FONT FACE="Times New Roman,adobe-times,Times" SIZE="3">'; 
var strFormattingStart = ''; 
var strFormattingEnd = '';

strFormattingStart += '<I>';
strFormattingEnd += '</I>';


strFormattingStart += '<B>';
strFormattingEnd += '</B>';

strHTML += '<SPAN ID="' + divID + '" STYLE="color:' + strFontColor + '"';
strHTML += '>' + strFormattingStart + strLinkName + strFormattingEnd + '</SPAN>';
strHTML += "</FONT></DIV></DIV>";
return strHTML;
}
function Graphic_Button_EggplantgetNSHTML(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 += '<I>';
strFormattingEnd += '</I>';


strFormattingStart += '<B>';
strFormattingEnd += '</B>';

strHTML += '<A TARGET="_parent" HREF="' + strLink + '">';
strHTML += '<FONT COLOR="' + strFontColor + '" FACE="Times New Roman,adobe-times,Times" 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 Graphic_Button_EggplantnavElement() {
if(typeof Graphic_Button_Eggplantcounter == "undefined") {
Graphic_Button_Eggplantcounter = 1;
} else {
Graphic_Button_Eggplantcounter += 1;
}
var navID = Graphic_Button_Eggplantcounter;
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(Graphic_Button_EggplantgetHTML(navID, "Home", "/~site/Layout/Buttons/Elegant_Button.gif", "Index.html", 1, "Graphic_Button_EggplantGRAPHIC1", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Pet Portraits", "/~site/Layout/Buttons/Elegant_Button.gif", "Basic.html", 2, "Graphic_Button_EggplantGRAPHIC2", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Quilt Cards", "/~site/Layout/Buttons/Elegant_Button.gif", "Notecards5.html", 3, "Graphic_Button_EggplantGRAPHIC3", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "About Taiga", "/~site/Layout/Buttons/Elegant_Button.gif", "Newsletter.html", 4, "Graphic_Button_EggplantGRAPHIC4", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Taiga Photos", "/~site/Layout/Buttons/Elegant_Button.gif", "Blank.html", 5, "Graphic_Button_EggplantGRAPHIC5", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Nature ACEO", "/~site/Layout/Buttons/Elegant_Button.gif", "PhotographyHCC.html", 6, "Graphic_Button_EggplantGRAPHIC6", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Digital ACEO", "/~site/Layout/Buttons/Elegant_Button.gif", "Paint_Shop_Pro_Graphics.html", 7, "Graphic_Button_EggplantGRAPHIC7", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Digital Painted", "/~site/Layout/Buttons/Elegant_Button.gif", "Paintings.html", 8, "Graphic_Button_EggplantGRAPHIC8", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Digital Floral", "/~site/Layout/Buttons/Elegant_Button.gif", "Hannah.html", 9, "Graphic_Button_EggplantGRAPHIC9", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Flower Photos", "/~site/Layout/Buttons/Elegant_Button.gif", "Photo_Album.html", 10, "Graphic_Button_EggplantGRAPHIC10", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "PSP Free", "/~site/Layout/Buttons/Elegant_Button.gif", "PSPfreebies.html", 11, "Graphic_Button_EggplantGRAPHIC11", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Tutorials", "/~site/Layout/Buttons/Elegant_Button.gif", "Tutorial.html", 12, "Graphic_Button_EggplantGRAPHIC12", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Sept 11 2001", "/~site/Layout/Buttons/Elegant_Button.gif", "Photo_Gallery.html", 13, "Graphic_Button_EggplantGRAPHIC13", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Holidays", "/~site/Layout/Buttons/Elegant_Button.gif", "Valentines.html", 14, "Graphic_Button_EggplantGRAPHIC14", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "My Poetry", "/~site/Layout/Buttons/Elegant_Button.gif", "Message_Center.html", 15, "Graphic_Button_EggplantGRAPHIC15", 0));
document.write(Graphic_Button_EggplantgetHTML(navID, "Links", "/~site/Layout/Buttons/Elegant_Button.gif", "Links_Page.html", 16, "Graphic_Button_EggplantGRAPHIC16", 1));

}
}
function Graphic_Button_EggplantnetscapeDivCheck() {
var strAppName = navigator.appName;
var appVer = parseFloat(navigator.appVersion);
if ( (strAppName == "Netscape")&&
(appVer >= 4.0 && appVer < 5) ) { 
document.write("</DIV>");
}
}
var Graphic_Button_Eggplantcounter;
Graphic_Button_EggplantnavElement();
Graphic_Button_EggplantnetscapeDivCheck();
