/*
About_Us:About Us;Contact_Us:Contact Us;Workshops:Workshops;Our_Service:Services;Feedback_Form:Feedback;Directions:Directions;links:Links;Testimonials:Testimonials;GiftCertificates:Gift Certificates;Our_Products2:Diodes;Our_Products:New Book!!;Equine:Equine Affaire;firstaid:First Aid Kits;newsletter:Morgen's Newsletter;awareness:Ovarian Cancer Awareness;index:Home;
*/
/*
TEXTHIGHLIGHT:#660066;FONTFORMATITALIC:Italic;GRAPHICHIGHLIGHT:yes;FILENAME:Sophisticated_Buttons_Sophisticated;TEXTMOUSEOVER:#660066;BACKGROUNDHIGHLIGHT:none;GRAPHIC:Sophisticated_Buttons;GRAPHICMOUSEOVER:yes;FONTSTYLE:Arial Narrow;BACKGROUNDMOUSEOVER:none;ORIENTATION:VERTICAL;STYLENAME:Sophisticated_Buttons;GRAPHICSTYLE:BUTTONS;NUMPAGES:16;FONTCOLOR:#660066;FONTSIZE:2;GRAPHICCOLOR:Sophisticated;VERTICALSPACE:16;COLORSCHEME:Sophisticated;
*/
var tabWidth = 116;
var tabHeight = 44;
var buttonsPerRow = 6; 
var nVerticalLinkGapInCell = 16;
var nHorizontalLinkGapInCell = 6;

Graphic_Button_SophisticatedbuttonOnImage = new Image(tabWidth, tabHeight);
Graphic_Button_SophisticatedbuttonOnImage.src = "/~site/Layout/Buttons/Fleur_Button_2.gif";
Graphic_Button_SophisticatedbuttonOffImage = new Image(tabWidth, tabHeight);
Graphic_Button_SophisticatedbuttonOffImage.src = "/~site/Layout/Buttons/Fleur_Button_1.gif";
function Graphic_Button_SophisticatedmouseOn(graphicName) { document.images[graphicName].src = Graphic_Button_SophisticatedbuttonOnImage.src; }
function Graphic_Button_SophisticatedmouseOff(graphicName) { document.images[graphicName].src = Graphic_Button_SophisticatedbuttonOffImage.src; }


function Graphic_Button_SophisticatedtextMouseOn(textObj) { textObj.style.color="#660066"; }
function Graphic_Button_SophisticatedtextMouseOff(textObj) { textObj.style.color="#660066"; }

function Graphic_Button_SophisticatedgetMouseOverHandler(strImgName, textObjName, bIsCurrPage) {
 
if (bIsCurrPage) return '';

var strHTMLMouseOver = '';
var strHTMLMouseOut = '';

if (navigator.userAgent.indexOf("IE") != -1) {
strHTMLMouseOver += 'Graphic_Button_SophisticatedmouseOn(\'' + strImgName + '\');';
strHTMLMouseOut += 'Graphic_Button_SophisticatedmouseOff(\'' + strImgName + '\');';
}


strHTMLMouseOver += 'Graphic_Button_SophisticatedtextMouseOn(' + textObjName + ');';
strHTMLMouseOut += 'Graphic_Button_SophisticatedtextMouseOff(' + textObjName + ');';

return 'onMouseOver="' + strHTMLMouseOver + '" onMouseOut="' + strHTMLMouseOut + '"';
}
function Graphic_Button_SophisticatedisCurrentPage(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_SophisticatedgetHTML(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_SophisticatedisCurrentPage(strLink);
if (bIsCurrPage) {

strImg = '/~site/Layout/Buttons/Fleur_Button_2.gif';


strFontColor = '#660066';

} else {
strFontColor = '#660066';
}

if (navigator.userAgent.indexOf("IE") != -1) {
return Graphic_Button_SophisticatedgetIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage);
} else {
return Graphic_Button_SophisticatedgetNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage);
}
}
function goToLink(link) { parent.location = link; }
function Graphic_Button_SophisticatedgetIEHTML(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_SophisticatedgetMouseOverHandler(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_SophisticatedgetMouseOverHandler(strImgName, divID, bIsCurrPage) + ' onClick=goToLink("' + strLink + '")>';
strHTML += '<IMG SRC="/tp.gif" HEIGHT="' + tabHeight + '" WIDTH="1" ALIGN="absmiddle">';
strHTML += '<FONT FACE="Arial Narrow" SIZE="2">'; 
var strFormattingStart = ''; 
var strFormattingEnd = '';

strFormattingStart += '<I>';
strFormattingEnd += '</I>';


strHTML += '<SPAN ID="' + divID + '" STYLE="color:' + strFontColor + '"';
strHTML += '>' + strFormattingStart + strLinkName + strFormattingEnd + '</SPAN>';
strHTML += "</FONT></DIV></DIV>";
return strHTML;
}
function Graphic_Button_SophisticatedgetNSHTML(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>';


strHTML += '<A TARGET="_parent" HREF="' + strLink + '">';
strHTML += '<FONT COLOR="' + strFontColor + '" FACE="Arial Narrow" SIZE="2">'; 
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 Graphic_Button_SophisticatednavElement() {
if(typeof Graphic_Button_Sophisticatedcounter == "undefined") {
Graphic_Button_Sophisticatedcounter = 1;
} else {
Graphic_Button_Sophisticatedcounter += 1;
}
var navID = Graphic_Button_Sophisticatedcounter;
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_SophisticatedgetHTML(navID, "About Us", "/~site/Layout/Buttons/Fleur_Button_1.gif", "About_Us.html", 1, "Graphic_Button_SophisticatedGRAPHIC1", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Contact Us", "/~site/Layout/Buttons/Fleur_Button_1.gif", "Contact_Us.html", 2, "Graphic_Button_SophisticatedGRAPHIC2", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Workshops", "/~site/Layout/Buttons/Fleur_Button_1.gif", "Workshops.html", 3, "Graphic_Button_SophisticatedGRAPHIC3", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Services", "/~site/Layout/Buttons/Fleur_Button_1.gif", "Our_Service.html", 4, "Graphic_Button_SophisticatedGRAPHIC4", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Feedback", "/~site/Layout/Buttons/Fleur_Button_1.gif", "Feedback_Form.html", 5, "Graphic_Button_SophisticatedGRAPHIC5", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Directions", "/~site/Layout/Buttons/Fleur_Button_1.gif", "Directions.html", 6, "Graphic_Button_SophisticatedGRAPHIC6", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Links", "/~site/Layout/Buttons/Fleur_Button_1.gif", "links.html", 7, "Graphic_Button_SophisticatedGRAPHIC7", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Testimonials", "/~site/Layout/Buttons/Fleur_Button_1.gif", "Testimonials.html", 8, "Graphic_Button_SophisticatedGRAPHIC8", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Gift Certificates", "/~site/Layout/Buttons/Fleur_Button_1.gif", "GiftCertificates.html", 9, "Graphic_Button_SophisticatedGRAPHIC9", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Diodes", "/~site/Layout/Buttons/Fleur_Button_1.gif", "Our_Products2.html", 10, "Graphic_Button_SophisticatedGRAPHIC10", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "New Book!!", "/~site/Layout/Buttons/Fleur_Button_1.gif", "Our_Products.html", 11, "Graphic_Button_SophisticatedGRAPHIC11", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Equine Affaire", "/~site/Layout/Buttons/Fleur_Button_1.gif", "Equine.html", 12, "Graphic_Button_SophisticatedGRAPHIC12", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "First Aid Kits", "/~site/Layout/Buttons/Fleur_Button_1.gif", "firstaid.html", 13, "Graphic_Button_SophisticatedGRAPHIC13", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Morgen's Newsletter", "/~site/Layout/Buttons/Fleur_Button_1.gif", "newsletter.html", 14, "Graphic_Button_SophisticatedGRAPHIC14", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Ovarian Cancer Awareness", "/~site/Layout/Buttons/Fleur_Button_1.gif", "awareness.html", 15, "Graphic_Button_SophisticatedGRAPHIC15", 0));
document.write(Graphic_Button_SophisticatedgetHTML(navID, "Home", "/~site/Layout/Buttons/Fleur_Button_1.gif", "index.html", 16, "Graphic_Button_SophisticatedGRAPHIC16", 1));

}
}
function Graphic_Button_SophisticatednetscapeDivCheck() {
var strAppName = navigator.appName;
var appVer = parseFloat(navigator.appVersion);
if ( (strAppName == "Netscape")&&
(appVer >= 4.0 && appVer < 5) ) { 
document.write("</DIV>");
}
}
var Graphic_Button_Sophisticatedcounter;
Graphic_Button_SophisticatednavElement();
Graphic_Button_SophisticatednetscapeDivCheck();
