if (self.location.host.indexOf('192.168') > -1) {
   var p = '/bhbnew/';
} else {
   var p = '/';
}

var s = '';
s+= '<a class="navMain" href="' + p + 'index.htm">main</a>&nbsp; &nbsp;| &nbsp;\n';

s+= '<a class="navMain" href="' + p + 'children/index.htm">home</a>&nbsp; &nbsp;| &nbsp;\n';

s+= '<a class="navMain" href="' + p + 'children/books/books.htm">books</a>&nbsp; &nbsp;| &nbsp;\n';

s+= '<a class="navMain" href="' + p + 'children/gallery/gallery.htm">gallery</a>&nbsp; &nbsp;| &nbsp;\n';

s+= '<a class="navMain" href="' + p + 'children/articles/articles.htm">articles</a>&nbsp; &nbsp;| &nbsp;\n';

//s+= '<a class="navMain" href="#">journal</a>&nbsp; &nbsp;| &nbsp;\n';

s+= '<a class="navMain" href="' + p + 'children/bio/bio_intro.htm">bio</a>&nbsp; &nbsp;| &nbsp;\n';

s+= '<a class="navMain" href="' + p + 'util/feedback.htm">contact</a>&nbsp; &nbsp;| &nbsp;\n';

s+= '<a class="navMain" href="' + p + 'children/misc/bblinks.htm">links</a>\n';

document.write(s);
