/*
Static menu script III (By maXimus, maximus@nsimail.com, http://absolutegb.com/maximus/)
Modified slightly/ permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

//configure below variable for menu width, position on page
var menuwidth=100
var offsetleft=15
var offsettop=180


function makeStatic() {
if (document.all) {object1.style.pixelTop=document.body.scrollTop+offsettop}
else{eval(document.object1.top=eval(window.pageYOffset+offsettop));}
setTimeout("makeStatic()",0);
}

if (document.all)
{document.write('<DIV ALIGN="CENTER" ID="object1" STYLE="Position:absolute; \
 Top:'+offsettop+'; Left:'+offsetleft+'; Z-Index:5;cursor:hand;background-color:black"> \
 <TABLE BORDER="1" WIDTH="'+menuwidth+'" CELLPADDING="0" CELLSPACING="0" BORDERCOLOR="black" BGCOLOR="ffccff">')}
 else if (document.layers){ document.write('<LAYER TOP="20" NAME="object1" LEFT="'+offsetleft+'" BGCOLOR=black> \
 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="1"><TR><TD>\
 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="'+menuwidth+'">')}

if (document.all||document.layers)
document.write('<TR><TD BGCOLOR="#ffccff" BORDERCOLORDARK="#99CCFF" BORDERCOLORLIGHT="#003399">')
document.write('<P ALIGN=CENTER><H1 CLASS=menucaption> Menu</H1></TD></TR>')

var menui = new Array();
var menul = new Array();

//configure below for menu items. Extend list as desired

menui[0]="Home Page";
menui[1]="What\'s New?";
menui[2]="Free Knitting Stuff";
menui[3]="Recipes";
menui[4]="African Violets";
menui[5]="Favorite Links";
menui[6]="Contact";
menui[7]="About";
menui[8]="My Guestbook";

menul[0]="../index.html";
menul[1]="../Whats_New.html";
menul[2]="../KnittingPatternIndex.html";
menul[3]="../Recipies.html";
menul[4]="../Violets/African Violet Links.html";
menul[5]="../Favorite_Links.html";
menul[6]="../Contact.html";
menul[7]="../About.html";
menul[8]="http://www14.brinkster.com/lisadodd/Guestbook/sign.asp";

for (i=0;i<=menui.length-1;i++)
if (document.all) {document.write('<TR><TD BORDERCOLOR="white" ONCLICK="location=\''+menul[i]+'\'" \
ONMOUSEOVER="className=\'menuhilight\'" ONMOUSEOUT="className=\'menunormal\'"> \
<CENTER><p class=menuitem>'+menui[i]+'</p></TD></TR>')}
else if (document.layers){document.write('<TR><TD BGCOLOR="#ffccff"><ILAYER> \
<LAYER WIDTH="'+menuwidth+'" ONMOUSEOVER="bgColor=\'yellow\'" ONMOUSEOUT="bgColor=\'blue\'"> \
<CENTER><A HREF="'+menul[i]+'" CLASS=menulinks>'+menui[i]+'</A></CENTER></LAYER></ILAYER></TD></TR>')}

if (document.all) {document.write('</TABLE></DIV>')}
else if (document.layers){document.write('</TABLE></TD></TR></TABLE></LAYER>')}

function Menu(){
if (document.all||document.layers)
makeStatic()
}




