flag = 0;

function top(off) {
document.write('<table cellspacing=0 cellpadding=0><tr><td colspan=20><img src="gfx/spacer.gif" width=1 height=1><br></td></tr><tr>');
if (off == 1) {document.write('<td class="menuoff" align="center">&nbsp; &nbsp;About</td><td><img src="gfx/bult1a.gif"></td> '); }else {document.write('<td align="center">&nbsp; &nbsp;<a href="about.html" class="menuK">About</a></td><td><img src="gfx/bult1a.gif"></td> ');}
if (off == 2) {document.write('<td class="menuoff" align="center">Philosophy</td>  <td><img src="gfx/bult1a.gif"></td> ');} else {document.write('<td align="center"><a href="philosophy.php" class="menuK">Philosophy</a></td><td><img src="gfx/bult1a.gif"></td> ');}
if (off == 3) {document.write('<td class="menuoff" align="center">Talk Radio<br>Show</td>  <td><img src="gfx/bult1a.gif"></td> ');}else {document.write('<td align="center"><a href="talkradio.html" class="menuK">Talk Radio<br>Show</a></td><td><img src="gfx/bult1a.gif"></td> ');}
if (off == 4) {document.write('<td class="menuoff" align="center">Speaking</td>  <td><img src="gfx/bult1a.gif"></td> ');}else {document.write('<td align="center"><a href="speaking.html" class="menuK">Speaking</a></td><td><img src="gfx/bult1a.gif"></td> ');}
if (off == 6) {document.write('<td class="menuoff" align="center">Press</td>  <td><img src="gfx/bult1a.gif"></td> ');}else {document.write('<td align="center"><a href="press.html" name="press" class="menuK">Press</a></td><td><img src="gfx/bult1a.gif"></td> ');}
if (off == 5) {document.write('<td class="menuoff" align="center">Clients &amp;<br>Services</td> <td><img src="gfx/bult1a.gif"></td> ');}else {document.write('<td align="center"><a href="clients.html" class="menuK">Clients &amp;<br>Services</a></td><td><img src="gfx/bult1a.gif"></td> ');}
if (off == 7) {document.write('<td class="menuoff" align="center">Book</td> ');}else {document.write('<td align="center"><a href="book.html" class="menuK">Book</a></td>');}
document.write('</tr></table><tr>');
}

function bot(off) {
if (off == 0) {document.write('<span class="menuoff">Home</span>  <img src="gfx/bult1.gif"> ');} else {document.write('<a href="index.html" class="menuK">Home</a> <img src="gfx/bult1.gif"> ');}
if (off == 1) {document.write('<span class="menuoff">About</span> <img src="gfx/bult1.gif"> '); }else {document.write('<a href="about.html" class="menuK">About</a> <img src="gfx/bult1.gif"> ');}
if (off == 2) {document.write('<span class="menuoff">Philosophy</span>  <img src="gfx/bult1.gif"> ');} else {document.write('<a href="philosophy.php" class="menuK">Philosophy</a> <img src="gfx/bult1.gif"> ');}
if (off == 3) {document.write('<span class="menuoff">Talk Radio Show</span>  <img src="gfx/bult1.gif"> ');}else {document.write('<a href="talkradio.html" class="menuK">Talk Radio Show</a> <img src="gfx/bult1.gif"> ');}
if (off == 4) {document.write('<span class="menuoff">Speaking</span>  <img src="gfx/bult1.gif"> ');}else {document.write('<a href="speaking.html" class="menuK">Speaking</a> <img src="gfx/bult1.gif"> ');}
if (off == 6) {document.write('<span class="menuoff">Press</span>  <img src="gfx/bult1.gif"> ');}else {document.write('<a href="press.html" class="menuK">Press</a> <img src="gfx/bult1.gif"> ');}
if (off == 5) {document.write('<span class="menuoff">Clients &amp; Services</span> <img src="gfx/bult1.gif"> ');}else {document.write('<a href="clients.html" class="menuK">Clients &amp; Services</a> <img src="gfx/bult1.gif"> ');}
if (off == 7) {document.write('<span class="menuoff">Book</span>');}else {document.write('<a href="book.html" class="menuK">Book</a>');}
}

function header(off) {
document.write('<table border=0 cellspacing=0 cellpadding=0 width=774 height=106  background="gfx/bg_top.gif" align="center"><tr><td>');
document.write('<table border=0 cellspacing=0 cellpadding=0 width=100% background="gfx/n6.gif">');
document.write('	<tr>');
document.write('		<td width=196>');
document.write('			<a href="index.html"><img border=0 src="gfx/spacer.gif" width=196 height=106></a><br>');
document.write('		</td>');
document.write('		<td align="top">');
document.write('			<img src="gfx/spacer.gif" width=1 height=9><br>');
top(off);
document.write('		</td>');
document.write('	</tr>');
document.write('</table>');
document.write('</td></tr></table>');
}

function footer(off) {
document.write('<table border=0 cellspacing=0 cellpadding=0 width=774 height=66 background="gfx/bg_bot.gif" align="center">');
document.write('	<tr>');
document.write('		<td align="center" valign="top">');
document.write('			<img src="gfx/spacer.gif" width=1 height=10><br>');
bot(off);
document.write('<br><br><img src="gfx/spacer.gif" width=1 height=8><br><center><span class="caption"><a href="mailto:info@buzzmarketing.com" class="captionK">BuzzMarketing</a> <img border=0 src="gfx/bult1.gif"> 513 Ogden, Suite #400 <img border=0 src="gfx/bult1.gif"> Swarthmore, PA 19081<br> phone: 610-543-0899 <img border=0 src="gfx/bult1.gif"> fax: 267-200-0984</span></center>');
document.write('		</td>');
document.write('	</tr>');
document.write('</table>');
document.write('<img src="gfx/spacer.gif" width=1 height=8><br><center><span class="copyright">© 2001-present, Buzzmarketing.  All rights reserved.</span></center>');
document.write('<center><span class="copyright">All other trademarks and service marks are the property of their respective owners.</span></center>');

}


function OWin(wid,hgt,dName,nb) {
  pixWin=window.open(dName,'press','scrollbars=yes,menubar=no,toolbar=no,status=no,location=no,width='+wid+',height='+hgt);
  pixWin.focus();
}
