
document.write("   <div id='maincontainer'>");
document.write("        <div id='topsection'>");
document.write("            <div class='innertube'>");
document.write("                <div id='logoContainer'>");
document.write("                    <img src='/images/v2chrome/logo2.gif' alt='BadGrafiX' />");
document.write("                </div>");
document.write("                <div id='topNav'>");
document.write("                    <div class='innertube'>");
document.write("                        <img src='/images/v2chrome/cart_special.gif' align='absbottom' /><a target='_new'  href='" +cart+ "'>View Special");
document.write("                            Item Cart</a>");
document.write("                    </div>");
document.write("                </div>");
document.write("            </div>");
document.write("        </div>");
document.write("        <div id='contentwrapper'>");
document.write("            <div id='contentProductTitle'>");
document.write("                <div id='contentTabTitleOff'>");
document.write("                    <a class='productnavoff' href='/cgi-bin/store/bgStore.pl'>BadGrafix Store</a>");
document.write("                </div>");
//If statement for deciding whether tab is On or Off for BG Specialty Items
        if (page != ""){
        document.write("                <div id='contentTabTitleOn'>");
        }else{
        document.write("                <div id='contentTabTitleOff'>");
        }
//If statement for deciding whether link is On or Off for BG Specialty Items
        if (page != ""){
        document.write("                <a class='productnavon' href='/bgStore/bgproducts.html'>BG Specialty Items</a>");
        }else{
        document.write("                <a class='productnavoff' href='/bgStore/bgproducts.html'>BG Specialty Items</a>");
        }
        document.write("                </div>");
//If statement for deciding whether tab is On or Off for About Tab
        if (page != ""){
        document.write("                <div id='contentTabTitleOff'>");
        }else{
        document.write("                <div id='contentTabTitleOn'>");
        }
//If statement for deciding whether link is On or Off for About
        if (page != ""){
        document.write("                <a class='productnavoff' href='/bgStore/about.html'>About</a>");
        }else{
        document.write("                <a class='productnavon' href='/bgStore/about.html'>About</a>");
        }
document.write("                    ");
document.write("                </div>");
document.write("                <br />");
document.write("                &nbsp;");
document.write("            </div>");
document.write("            <div id='contentcolumn'>");
document.write("                <div class='innertube'>");
document.write("                    <div class='chromestyle' id='chromemenu'>");
document.write("                        <ul>");
//If statement for deciding which subnav to display: if page = "" then it will use the about section
        if (page != ""){
         document.write("                           <li><a href='sports.html' rel='dropmenu1'>Sports & Leisure</a></li>");
         document.write("                           <li><a href='news.html' rel='dropmenu2'>News & Politics</a></li>");
//I think the following 2 links are no longer a page you wanted
         //document.write("                           <li><a href='size.html'>Size Chart</a></li>");
         //document.write("                           <li><a href='links.html'>Links</a></li>");
        }else{
         document.write("                           <li><a href='privacy.html'>Privacy Policy</a></li>");
         document.write("                           <li><a href='faq.html'>FAQ</a></li>");
         document.write("                           <li><a href='contact.html'>Contact</a></li>");
         document.write("                           <li><a href='shipping.html'>Shipping</a></li>");
         document.write("                           <li><a href='size.html'>Size Chart</a></li>");
                             
        }
 document.write("                       </ul>");
 document.write("                   </div>");
 document.write("                   <br />                    <p>");

//Drop down menu for BG Specialty Sports Menu
 document.write("                                      <div id='dropmenu1' class='dropmenudiv'>");
document.write("                                           <a href='/bgStore/stickvick.html'>Stick Vick in the Pit</a>");
 document.write("                                          <a href='/bgStore/freeted.html'>Free Ted's Head</a>");
 document.write("                                          <a href='/bgStore/dicekred.html'>Red Dice-K T-shirt</a>");
 document.write("                                          <a href='/bgStore/dicekhead.html'>Dice-K Headband</a>");
 document.write("                                          <a href='/bgStore/dicekwhite.html'>White Dice-K T-shirt</a>");
 document.write("                                          <a href='/bgStore/voteforpedroia.html'>Vote for PEDROia</a>");
 document.write("                                          <a href='/bgStore/demsox.html'>How 'bout dem SOX!</a>");
 document.write("                                          <a href='/bgStore/bigpapi.html'>Big Papi Clutch T-shirt</a>");
 document.write("                                      </div>");
//Drop down menu for BG Specialty News Menu
 document.write("                                      <div id='dropmenu2' class='dropmenudiv'>");
document.write("                                           <a href='/bgStore/infidel.html'>Infidel Inside</a>");
document.write("                                           <a href='/bgStore/chavezsux.html'>Chavez Sucks</a>");
document.write("                                           <a href='/bgStore/chavezeldiablo.html'>El Diablo</a>");
document.write("                                           <a href='/bgStore/noneoftheabove.html'>None of the Above</a>");
document.write("                                           <a href='/bgStore/flyingimams.html'>The Flying Imams</a>");
 document.write("                                      </div>");
                    