//navbar for bicyclejesus.org, culmininating in bjNav(howdeep), where how deep in levels down from bj.org, 0-infinity

var buttData=new Array()
buttData[0]=['bj50tall.jpg" alt="bicyclejesus.org"',23,'http://www.bicyclejesus.org']
buttData[1]=['dbbhome.jpg" alt="deadbabybikes.org"',54,'http://www.deadbabybikes.org" target="dbb.org']

var miButtData=new Array()
//                  [link addy, dinky/iconname, button text, mouseover text,'odd' if the link's offsite/other]
miButtData[0]=['mailto:bicyclejesus@hotmail.com','envelope','eMail','e-mail BJ','odd']
miButtData[1]=['http://www.getfreeforum.com/forums/?mforum=deadbabybikes','forum','FORUM','free speech','odd']
miButtData[2]=['indices.htm','folder','INDICES','files! files! files!',]
miButtData[3]=['lynx.htm','linx','LINKS','shouts out',]
miButtData[4]=['earcandy.htm','8thnote','MUSIC','ez listenin',]
miButtData[5]=['eyecandy.htm','pix','PIX','look at the pretty pictures!',]
miButtData[6]=['http://www.deadbabybikes.org/calendar/calendar.htm','calendar','WHEN',"I'm hip with the time thing...",'odd']
miButtData[7]=['where.htm','treasmap','WHERE','under where?',]

var bjButtData=new Array()
//                  [pagename,picname,picwidth,pictext]
bjButtData[0]=['bikejeez','trikechs.jpg',57,'early insights']
bjButtData[1]=['bj1','duoangel.gif',62,'words & warnings']
bjButtData[2]=['bj2','sspsml.jpg',39,'family & a Saint']
bjButtData[3]=['bj3','plastibj.jpg',42,'Bike Bible study']
bjButtData[4]=['bj4','ghana69.jpg',36,'ascension']
bjButtData[5]=['bj5','boycrptr.jpg',50,'work']
bjButtData[6]=['bj6','stjpp.jpg',41,'JP I']

function makeFiddyButton(whichOne,howDeepStr){
var FBString='<td align="center"><a href="';
FBString+=buttData[whichOne][2]+'"><img src="'+howDeepStr+'images/buttons/fiddys/';
FBString+=buttData[whichOne][0]+' border="0" width="';
FBString+=buttData[whichOne][1]+'" height="50"></a></td>';
return(FBString)};

function makeBJbutton(whichOne,howDeepStr){
var FBString='<a href="'+howDeepStr+'bjpages/';
if(bjButtData[whichOne][4]=='odd')
   FBString+=bjButtData[whichOne][0]+'.htm"><img src="'+howDeepStr+'images/buttons/fiddys/';
   else FBString+=bjButtData[whichOne][0]+'.htm"><img src="'+howDeepStr+'images/buttons/fiddys/';
FBString+=bjButtData[whichOne][1]+'" border="0" width="';
FBString+=bjButtData[whichOne][2]+'" height="50" alt="';
FBString+=bjButtData[whichOne][3]+'"></a> ';
return(FBString)};

function make69CellButton(whichOne,howDeepStr){
var bigButtString='<td align="center"><a href="';
bigButtString+=buttData[whichOne][2]+'"><img src="'+howDeepStr+'images/buttons/';
bigButtString+=buttData[whichOne][0]+' border="0" width="';
bigButtString+=buttData[whichOne][1]+'" height="69"></a></td>';
return(bigButtString)};

function makeMiniIconButton(whichOne,howDeepStr){
var BString='<td align="center"><p align="center"><a href="';
BString+=howDeepStr+miButtData[whichOne][0]+'"><img src="';
BString+=howDeepStr+'images/dinky/';
BString+=miButtData[whichOne][1]+'.gif" alt="';
BString+=miButtData[whichOne][3]+'" border="0" width="13" height="13"><br>';
BString+='<font size="1" face="Century Gothic">'+miButtData[whichOne][2]+'</font></a></p></td>';
return(BString)};

function bjNav(howDeep){
var howDeepStr='';
var fullBarStr='<div align="center"><center><table border="0" cellspacing="1" width="95%"><tr>';
for(var i=0;i<howDeep;i++)
           {howDeepStr+='../';}
for(var i=0;i<2;i++)                                                  //bj and dbb 50-tall buttons
  {fullBarStr+=makeFiddyButton(i,howDeepStr);}
for(var i=0;i<4;i++)                                                  //e-mail to links...
  {fullBarStr+=makeMiniIconButton(i,howDeepStr);}
fullBarStr+='<td align="left"><p align="center">';           //manually make the guestbook button...
fullBarStr+='<img src="'+howDeepStr+'images/dinky/book13.gif" alt="read/write" width="13" height="13"><br>';
fullBarStr+='<a href="http://www.guestbookdepot.com/cgi-bin/guestbook.cgi?book_id=540806">';
fullBarStr+='<font size="1" face="Century Gothic">R</a>/';
fullBarStr+='<a href="http://www.guestbookdepot.com/cgi-bin/sign_book.cgi?book_id=540806">W</a></p>';
fullBarStr+='</font></td>';
for(var i=4;i<8;i++)                                                //...music to where
  {fullBarStr+=makeMiniIconButton(i,howDeepStr);}
fullBarStr+=' <td align="right" width="80%"><p align="right">';
for(var i=0;i<7;i++)
  {fullBarStr+=makeBJbutton(i,howDeepStr);}
fullBarStr+='</td></tr></div>';
document.writeln(fullBarStr)};