/*
DIYprojects:MAIN PAGE;FoldedShirts:Folded Shirt;MiniSuitcase:Suitcase;CatScratchingPost:Scratch Post;KleenexBox:Kleenex Box;MiniFood:Junk Food;MiniBed:Bedding;MiniSlippers:Slippers;MiniPurses:Purses;MiniBra:Bra;Plunger:Plunger;MiniBathScale:Bath Scale;MiniPicAlbums:Photo Album;BugZapper:Bug Zapper;JackInTheBox:Jack in Box;MiniWindchimes:Windchimes;MiniJungleUndies:Jungle Undies;MiniSpiderCandyDish:Halloween;MiniPaperProducts:Ppr Products;MiniScrapbooking:Scrapbooking;MemoryAlbum:Memory Album;MiniStickerBox:Sticker Box;MiniPaperCutter:Paper Cutter;MiniCraftTable:Craft Table;ElegantWrapping:Wrapping;MiniCake:Mini Cake;
*/
/*
TEXTHIGHLIGHT:#000000;GRAPHICHIGHLIGHT:yes;FILENAME:Default_Style;TEXTMOUSEOVER:#000000;BACKGROUNDHIGHLIGHT:none;FONTFORMATBOLD:Bold;COLOR NAME *:Black;GRAPHIC:Sophisticated_Button;FONTSTYLE:Arial,Helvetica,adobe-helvetica,Arial Narrow;BACKGROUNDMOUSEOVER:none;ORIENTATION:HORIZONTAL;STYLENAME:Default;GRAPHICSTYLE:BUTTONS;NUMPAGES:26;FONTCOLOR:#000000;FONTSIZE:2;GRAPHICCOLOR:Bon_Voyage_Button_5;VERTICALSPACE:10;COLORSCHEME:Style;HORIZONTALSPACE:3;
*/
var tabWidth = 117;
var tabHeight = 39;
var buttonsPerRow = 6; 
var nVerticalLinkGapInCell = 10;
var nHorizontalLinkGapInCell = 3;


function NavDIYtextMouseOn(textObj) { textObj.style.color="#000000"; }
function NavDIYtextMouseOff(textObj) { textObj.style.color="#000000"; }

function NavDIYgetMouseOverHandler(strImgName, textObjName, bIsCurrPage) {
 
if (bIsCurrPage) return '';

var strHTMLMouseOver = '';
var strHTMLMouseOut = '';


strHTMLMouseOver += 'NavDIYtextMouseOn(' + textObjName + ');';
strHTMLMouseOut += 'NavDIYtextMouseOff(' + textObjName + ');';

return 'onMouseOver="' + strHTMLMouseOver + '" onMouseOut="' + strHTMLMouseOut + '"';
}
function NavDIYisCurrentPage(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 NavDIYgetHTML(navID, strLinkName, strImg, strLink, nOptionNum, strImgName, bLastOption) {
var nRowIndex = 0;
var nColIndex = 0;
strImgName = strImgName + '_' + navID;

 

nRowIndex = Math.floor((nOptionNum-1)/buttonsPerRow);
nColIndex = (nOptionNum - 1) % buttonsPerRow;


var bIsCurrPage = NavDIYisCurrentPage(strLink);
if (bIsCurrPage) {

strImg = '/~site/Layout/Buttons/Bon_Voyage_Button_1.gif';


strFontColor = '#000000';

} else {
strFontColor = '#000000';
}

if (navigator.userAgent.indexOf("IE") != -1) {
return NavDIYgetIEHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, strFontColor, bIsCurrPage);
} else {
return NavDIYgetNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage);
}
}
function goToLink(link) { parent.location = link; }
function NavDIYgetIEHTML(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 += NavDIYgetMouseOverHandler(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" ' + NavDIYgetMouseOverHandler(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="2">'; 
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 NavDIYgetNSHTML(strLinkName, strImg, strLink, nOptionNum, nRowIndex, nColIndex, strImgName, bLastOption, strFontColor, bIsCurrPage) {
var strHTML = '';
if (nOptionNum == 1) {
strHTML += '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"';
 

var nTblWidth;
if(26 > buttonsPerRow) {
nTblWidth = (tabWidth+nHorizontalLinkGapInCell) * buttonsPerRow;
} else {
nTblWidth = (tabWidth+nHorizontalLinkGapInCell) * 26;
}

strHTML += ' WIDTH="' + nTblWidth + '"';

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="2">'; 
strHTML += strFormattingStart + strLinkName + strFormattingEnd + '</A></FONT>';
strHTML += '</TD>';

 
strHTML += '<TD>';
strHTML += '<IMG SRC="/tp.gif" WIDTH="'+nHorizontalLinkGapInCell+'" HEIGHT="1" BORDER="0" ALT="">';
strHTML += '</TD>';

if (bLastOption || nColIndex == buttonsPerRow - 1) strHTML += '</TR>';


if (bLastOption) strHTML += '</TABLE>';
return strHTML;
}
function NavDIYnavElement() {
if(typeof NavDIYcounter == "undefined") {
NavDIYcounter = 1;
} else {
NavDIYcounter += 1;
}
var navID = NavDIYcounter;
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(NavDIYgetHTML(navID, "MAIN PAGE", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "DIYprojects.html", 1, "NavDIYGRAPHIC1", 0));
document.write(NavDIYgetHTML(navID, "Folded Shirt", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "FoldedShirts.html", 2, "NavDIYGRAPHIC2", 0));
document.write(NavDIYgetHTML(navID, "Suitcase", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniSuitcase.html", 3, "NavDIYGRAPHIC3", 0));
document.write(NavDIYgetHTML(navID, "Scratch Post", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "CatScratchingPost.html", 4, "NavDIYGRAPHIC4", 0));
document.write(NavDIYgetHTML(navID, "Kleenex Box", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "KleenexBox.html", 5, "NavDIYGRAPHIC5", 0));
document.write(NavDIYgetHTML(navID, "Junk Food", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniFood.html", 6, "NavDIYGRAPHIC6", 0));
document.write(NavDIYgetHTML(navID, "Bedding", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniBed.html", 7, "NavDIYGRAPHIC7", 0));
document.write(NavDIYgetHTML(navID, "Slippers", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniSlippers.html", 8, "NavDIYGRAPHIC8", 0));
document.write(NavDIYgetHTML(navID, "Purses", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniPurses.html", 9, "NavDIYGRAPHIC9", 0));
document.write(NavDIYgetHTML(navID, "Bra", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniBra.html", 10, "NavDIYGRAPHIC10", 0));
document.write(NavDIYgetHTML(navID, "Plunger", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "Plunger.html", 11, "NavDIYGRAPHIC11", 0));
document.write(NavDIYgetHTML(navID, "Bath Scale", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniBathScale.html", 12, "NavDIYGRAPHIC12", 0));
document.write(NavDIYgetHTML(navID, "Photo Album", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniPicAlbums.html", 13, "NavDIYGRAPHIC13", 0));
document.write(NavDIYgetHTML(navID, "Bug Zapper", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "BugZapper.html", 14, "NavDIYGRAPHIC14", 0));
document.write(NavDIYgetHTML(navID, "Jack in Box", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "JackInTheBox.html", 15, "NavDIYGRAPHIC15", 0));
document.write(NavDIYgetHTML(navID, "Windchimes", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniWindchimes.html", 16, "NavDIYGRAPHIC16", 0));
document.write(NavDIYgetHTML(navID, "Jungle Undies", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniJungleUndies.html", 17, "NavDIYGRAPHIC17", 0));
document.write(NavDIYgetHTML(navID, "Halloween", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniSpiderCandyDish.html", 18, "NavDIYGRAPHIC18", 0));
document.write(NavDIYgetHTML(navID, "Ppr Products", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniPaperProducts.html", 19, "NavDIYGRAPHIC19", 0));
document.write(NavDIYgetHTML(navID, "Scrapbooking", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniScrapbooking.html", 20, "NavDIYGRAPHIC20", 0));
document.write(NavDIYgetHTML(navID, "Memory Album", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MemoryAlbum.html", 21, "NavDIYGRAPHIC21", 0));
document.write(NavDIYgetHTML(navID, "Sticker Box", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniStickerBox.html", 22, "NavDIYGRAPHIC22", 0));
document.write(NavDIYgetHTML(navID, "Paper Cutter", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniPaperCutter.html", 23, "NavDIYGRAPHIC23", 0));
document.write(NavDIYgetHTML(navID, "Craft Table", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniCraftTable.html", 24, "NavDIYGRAPHIC24", 0));
document.write(NavDIYgetHTML(navID, "Wrapping", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "ElegantWrapping.html", 25, "NavDIYGRAPHIC25", 0));
document.write(NavDIYgetHTML(navID, "Mini Cake", "/~site/Layout/Buttons/Bon_Voyage_Button_5.gif", "MiniCake.html", 26, "NavDIYGRAPHIC26", 1));

}
}
function NavDIYnetscapeDivCheck() {
var strAppName = navigator.appName;
var appVer = parseFloat(navigator.appVersion);
if ( (strAppName == "Netscape")&&
(appVer >= 4.0 && appVer < 5) ) { 
document.write("</DIV>");
}
}
var NavDIYcounter;
NavDIYnavElement();
NavDIYnetscapeDivCheck();
