d=document
Q=["\n<h3><a href='","' id='h","' onmouseover='V(",",0)' onclick='V(",",1)' class='tab_asleep' title=''>"," &nbsp; &nbsp;</a></h3><br>"]

function navbar(){
//write the site title and site nav into page

d.write(
"\n<div class='nav_container'><a name='top' id='top_id'>&nbsp;</a><div class='titl'><h1 class='adrian'>adrian freedman</h1><br><h1>music</h1></div>"+
"\n\n<div class='links'>"
)
searchstring=String(window.location)
ref="http://adrianfreedman.com/new/"
online=searchstring.search("http://")
if(online==-1){ref=""}
			



//link url - text pairs
LA=[[ref+"index.html","home"
],[ref+"shakuhachi.htm#dn1","shakuhachi"
],[ref+"shop.htm#dn1","CD"
],[ref+"photos.htm#dn1","photos"
],["http://adrianfreedman.com/cgi-bin/tmail2.pl?section=script_nav_menu","contact"
],[ref+"wavesculptor.htm","web by wavesculptor"
]]

for(q=0;q<LA.length;q++){
	if(q==5)Q[0]="\n<h3 class='wv'><a href='"
	d.write(Q[0]+LA[q][0]+Q[1]+q+Q[2]+q+Q[3]+q+Q[4]+LA[q][1]+Q[5])
}
d.write("\n</div></div><!-- end of write from navbar() in nav_format.js -->")
d.close()
}
