document.write("<TABLE CLASS=\"mainTable\" ALIGN=CENTER CELLSPACING=0 CELLPADDING=0><TR>");
document.write("<TD CLASS=\"topTD\">");

//The Links on the top of the page

if ( window.top.location.href.indexOf("home") >= 0 ||  window.top.location.href.indexOf("index") >= 0 || document.title == "shoups' place" ) {
 document.write("<A HREF=\"http://www.shouper.com/index.html\" onMouseOver=\"imageSwap('home','home_omo','home')\" onMouseOut=\"imageSwap('home','home_omo','')\"><IMG NAME=\"home\" SRC=\"http://www.shouper.com/home_omo.gif\" BORDER=0 WIDTH=45 HEIGHT=18></A>");
} else {
 document.write("<A HREF=\"http://www.shouper.com/index.html\" onMouseOver=\"imageSwap('home','home_omo','home')\" onMouseOut=\"imageSwap('home','home_reg','')\"><IMG NAME=\"home\" SRC=\"http://www.shouper.com/home_reg.gif\" BORDER=0 WIDTH=45 HEIGHT=18></A>");
}

var ran_number=Math.floor(Math.random()*1000+1);
//if ( window.top.location.href.indexOf("blog") >= 0 ) {
// document.write("<A HREF=\"http://www.shouper.com/michael/blog.pl?" + ran_number + "\" onMouseOver=\"imageSwap('blog','blog_omo','blog')\" onMouseOut=\"imageSwap('blog','blog_omo','')\"><IMG NAME=\"blog\" SRC=\"http://www.shouper.com/blog_omo.gif\" BORDER=0 WIDTH=45 HEIGHT=18></A>");
//} else {
// document.write("<A HREF=\"http://www.shouper.com/michael/blog.pl?" + ran_number + "\" onMouseOver=\"imageSwap('blog','blog_omo','blog')\" onMouseOut=\"imageSwap('blog','blog_reg','')\"><IMG NAME=\"blog\" SRC=\"http://www.shouper.com/blog_reg.gif\" BORDER=0 WIDTH=45 HEIGHT=18></A>");
//}

if ( window.top.location.href.indexOf("pictures") >= 0 ) {
 document.write("<A HREF=\"http://picasaweb.google.com/McAlsop\" onMouseOver=\"imageSwap('pictures','pictures_omo','pictures')\" onMouseOut=\"imageSwap('pictures','pictures_omo','')\"><IMG NAME=\"pictures\" SRC=\"http://www.shouper.com/pictures_omo.gif\" BORDER=0 WIDTH=72 HEIGHT=18></A>");
} else {
 document.write("<A HREF=\"http://picasaweb.google.com/McAlsop\" onMouseOver=\"imageSwap('pictures','pictures_omo','pictures')\" onMouseOut=\"imageSwap('pictures','pictures_reg','')\"><IMG NAME=\"pictures\" SRC=\"http://www.shouper.com/pictures_reg.gif\" BORDER=0 WIDTH=72 HEIGHT=18></A>");
}

if ( window.top.location.href.indexOf("actuary") >= 0 ) {
 document.write("<A HREF=\"http://www.shouper.com/actuary.html\" onMouseOver=\"imageSwap('actuary','actuary_omo','actuary')\" onMouseOut=\"imageSwap('actuary','actuary_omo','')\"><IMG NAME=\"actuary\" SRC=\"http://www.shouper.com/actuary_omo.gif\" BORDER=0 WIDTH=65 HEIGHT=18></A>");
} else {
 document.write("<A HREF=\"http://www.shouper.com/actuary.html\" onMouseOver=\"imageSwap('actuary','actuary_omo','actuary')\" onMouseOut=\"imageSwap('actuary','actuary_reg','')\"><IMG NAME=\"actuary\" SRC=\"http://www.shouper.com/actuary_reg.gif\" BORDER=0 WIDTH=65 HEIGHT=18></A>");
}

if ( window.top.location.href.indexOf("webmail") >= 0 ) {
 document.write("<A HREF=\"http://mail.shouper.com\" onMouseOver=\"imageSwap('webmail','webmail_omo','webmail')\" onMouseOut=\"imageSwap('webmail','webmail_omo','')\"><IMG NAME=\"webmail\" SRC=\"http://www.shouper.com/webmail_omo.gif\" BORDER=0 WIDTH=65 HEIGHT=18></A>");
} else {
 document.write("<A HREF=\"http://mail.shouper.com\" onMouseOver=\"imageSwap('webmail','webmail_omo','webmail')\" onMouseOut=\"imageSwap('webmail','webmail_reg','')\"><IMG NAME=\"webmail\" SRC=\"http://www.shouper.com/webmail_reg.gif\" BORDER=0 WIDTH=65 HEIGHT=18></A>");
}

document.write("</TD>");

//Page title is in individual pages