/*
Index:HOME;About_Us:ABOUT US;FAQsAboutCompounding:FAQs;Our_Service:OUR SERVICES;Our_Clients:OUR CLIENTS;WhatTheyreSaying:TESTIMONIALS;CustomizedTreatments:TREATMENTS;ReadAbouHRT:HORMONES;Biolean:SUPPLEMENTS;Hemorrhoid:HEMORRHOIDS;Contact_Us:CONTACT US;
*/
/*
TEXTHIGHLIGHT:#000066;GRAPHICHIGHLIGHT:Blueprint_Button_2;BACKGROUNDHIGHLIGHT:none;TEXTMOUSEOVER:#000066;FONTFORMATBOLD:none;FILENAME:Modern_Buttons_Blueprint;GRAPHIC:Modern_Buttons;COLOR NAME *:Navy;GRAPHICMOUSEOVER:Blueprint_Button_2;BACKGROUNDMOUSEOVER:none;FONTSTYLE:"Arial,Helvetica,adobe-helvetica,Arial Narrow";ORIENTATION:VERTICAL;NUMPAGES:11;GRAPHICSTYLE:BUTTONS;STYLENAME:Modern_Buttons;FONTSIZE:3;FONTCOLOR:#000066;GRAPHICCOLOR:Blueprint;VERTICALSPACE:10;HORIZONTALSPACE:10;COLORSCHEME:Blueprint;
*/
var tabWidth = 176;
var tabHeight = 57;
var buttonsPerRow = 6; 
var nVerticalLinkGapInCell = 10;
var nHorizontalLinkGapInCell = 10;

BlueprintbuttonOnImage = new Image(tabWidth, tabHeight);
BlueprintbuttonOnImage.src = "/~site/Layout/Buttons/Blueprint_Button_2.gif";
BlueprintbuttonOffImage = new Image(tabWidth, tabHeight);
BlueprintbuttonOffImage.src = "/~site/Layout/Buttons/Blueprint_Button_1.gif";
function BlueprintmouseOn(graphicName) { document.images[graphicName].src = BlueprintbuttonOnImage.src; }
function BlueprintmouseOff(graphicName) { document.images[graphicName].src = BlueprintbuttonOffImage.src; }


function BlueprinttextMouseOn(textObj) { textObj.style.color="#000066"; }
function BlueprinttextMouseOff(textObj) { textObj.style.color="#000066"; }

function BlueprintgetMouseOverHandler(strImgName, textObjName, bIsCurrPage) {
 
if (bIsCurrPage) return '';

var strHTMLMouseOver = '';
var strHTMLMouseOut = '';

if (navigator.userAgent.indexOf("IE") != -1) {
strHTMLMouseOver += 'BlueprintmouseOn(\'' + strImgName + '\');';
strHTMLMouseOut += 'BlueprintmouseOff(\'' + strImgName + '\');';
}


strHTMLMouseOver += 'BlueprinttextMouseOn(' + textObjName + ');';
strHTMLMouseOut += 'BlueprinttextMouseOff(' + textObjName + ');';

return 'onMouseOver="' + strHTMLMouseOver + '" onMouseOut="' + strHTMLMouseOut + '"';
}
function BlueprintisCurrentPage(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 BlueprintgetHTML(navID, strLinkName, strImg, strLink, nOptionNum, strImgName, bLastOption) {
var nRowIndex = 0;
var nColIndex = 0;
strImgName = strImgName + '_' + navID;
 
nColIndex = 0;
nRowIndex = nOptionNum - 1;


var bIsCurrPage = BlueprintisCurrentPage(strLink);
if (bIsCurrPage) {

strImg = '/~site/Layout/Buttons/Blueprint_Button_2.gif';


strFontColor = '#000066';

} else {
strFontColor = '#000066';
}

if (navigator.userAgent.indexOf("IE") != -1) {
return BlueprintgetIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage);
} else {
return BlueprintgetNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage);
}
}
function goToLink(link) { parent.location = link; }
function BlueprintgetIEHTML(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 += BlueprintgetMouseOverHandler(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" ' + BlueprintgetMouseOverHandler(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 = '';


strHTML += '<SPAN ID="' + divID + '" STYLE="color:' + strFontColor + '"';
strHTML += '>' + strFormattingStart + strLinkName + strFormattingEnd + '</SPAN>';
strHTML += "</FONT></DIV></DIV>";
return strHTML;
}
function BlueprintgetNSHTML(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 = '';


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" ALT=""/>';
strHTML += '</TD></TR>';


if (bLastOption) strHTML += '</TABLE>';
return strHTML;
}
function BlueprintnavElement() {
if(typeof Blueprintcounter == "undefined") {
Blueprintcounter = 1;
} else {
Blueprintcounter += 1;
}
var navID = Blueprintcounter;
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(BlueprintgetHTML(navID, "HOME", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "Index.html", 1, "BlueprintGRAPHIC1", 0));
document.write(BlueprintgetHTML(navID, "ABOUT US", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "About_Us.html", 2, "BlueprintGRAPHIC2", 0));
document.write(BlueprintgetHTML(navID, "FAQs", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "FAQsAboutCompounding.html", 3, "BlueprintGRAPHIC3", 0));
document.write(BlueprintgetHTML(navID, "OUR SERVICES", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "Our_Service.html", 4, "BlueprintGRAPHIC4", 0));
document.write(BlueprintgetHTML(navID, "OUR CLIENTS", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "Our_Clients.html", 5, "BlueprintGRAPHIC5", 0));
document.write(BlueprintgetHTML(navID, "TESTIMONIALS", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "WhatTheyreSaying.html", 6, "BlueprintGRAPHIC6", 0));
document.write(BlueprintgetHTML(navID, "TREATMENTS", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "CustomizedTreatments.html", 7, "BlueprintGRAPHIC7", 0));
document.write(BlueprintgetHTML(navID, "HORMONES", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "ReadAbouHRT.html", 8, "BlueprintGRAPHIC8", 0));
document.write(BlueprintgetHTML(navID, "SUPPLEMENTS", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "Biolean.html", 9, "BlueprintGRAPHIC9", 0));
document.write(BlueprintgetHTML(navID, "HEMORRHOIDS", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "Hemorrhoid.html", 10, "BlueprintGRAPHIC10", 0));
document.write(BlueprintgetHTML(navID, "CONTACT US", "/~site/Layout/Buttons/Blueprint_Button_1.gif", "Contact_Us.html", 11, "BlueprintGRAPHIC11", 1));

}
}
function BlueprintnetscapeDivCheck() {
var strAppName = navigator.appName;
var appVer = parseFloat(navigator.appVersion);
if ( (strAppName == "Netscape")&&
(appVer >= 4.0 && appVer < 5) ) { 
document.write("</DIV>");
}
}
var Blueprintcounter;
BlueprintnavElement();
BlueprintnetscapeDivCheck();

