//Call this JavaScript to add the ME standard Header at the top of an HTML page.
//
//     before calling this script, set the following 3 variables this way:
//     <script language="JavaScript" >
//        var theLocation="AE";        *** AM, AE, SR, IS, OR will highlight a tab.
//                                     *** any other value will show no hilited tab.
//    	  var smallHeader="N";         *** 'Y' for compact header
//    	  var dirLevel=0;              ***  0=ME root, 1=1 level down, 2=2 levels down
//     </script>
//
//

// Build Path Prefix String based on the directory level
 
 var pathPrefix="";
 for(i=1;i<=dirLevel;i++)
 {
    pathPrefix = "../" + pathPrefix;
 }
// title
   document.write('<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>')
   document.write('<a href="http://www.richgear.com"><font face="Verdana" size="+2" color="#6A0000"><b>RichGear</b></font></a> - <b>"Look Rich with RichGear"</b><br><g:plusone></g:plusone><br>');
// Navigation Bar 
   //display the normal-size header: the normal navigation bar
   
    document.write('<table BORDER=0 width="875" BGCOLOR="#FFFFff" cellpadding=0><b>');                 
    document.writeln('<tr>');
    //Color for background of active navigation bar item
    hereColor = "#A8DAF4";
    //Color for background of other navigation bar items
    elseColor = "#A8DAF4";
      
        //Button 1:gowns
       // document.writeln('<td align=center width="20%"');
       // if(theLocation=='AM')
        //{	document.write('bgcolor=' + hereColor );}
        //else
        //{	document.write('bgcolor=' + elseColor );}
        //document.write('>');
        //document.write('<a href="vests.htm" target="_top"><font color="#6A0000"><b>Vests</b></font></a></td>');
    
        //Button 3: services
        //document.writeln('<td align=center width="20%"');
        //if(theLocation=='SR')
        //{	document.write('bgcolor=' + hereColor );}
        //else
        //{	document.write('bgcolor=' + elseColor );}
        //document.write('>');    
        //document.write('<a href="ties.htm" target="_top"><font color="#6A0000"><b>Ties</b></font></a></td>');
    
        //Button 4: samples
       // document.writeln('<td align=center width="20%"');
        //if(theLocation=='IS')
        //{	document.write('bgcolor=' + hereColor );}
        //else
        //{	document.write('bgcolor=' + elseColor );}
        //document.write('>');
        //document.write('<a href="other.htm" target="_top"><font color="#6A0000"><b>Other Items</b></font></a></td>');
    
        //Button 5: who are we
        document.writeln('<td align=center width="20%"' );
        if(theLocation=='OR')
        {	document.write('bgcolor=' + hereColor );}
        else
        {	document.write('bgcolor=' + elseColor );}
        document.write('>');
        document.write('<a href="mailto:ernie@richgear.com"><font color="#6A0000"><b>Email us</b></font></a></td>');
    
    //Button 6: phone
        document.writeln('<td align=center width="20%"' );
        if(theLocation=='OR')
        {	document.write('bgcolor=' + hereColor );}
        else
        {	document.write('bgcolor=' + elseColor );}
        document.write('>');
        document.write('<font color="#6A0000"><b>Call 800 993-3550</b></font></td>');
    
    //Button 6: phone
    //    document.writeln('<td align=center width="20%"' );
      //  if(theLocation=='OR')
      //  {	document.write('bgcolor=' + hereColor );}
      //  else
      //  {	document.write('bgcolor=' + elseColor );}
      //  document.write('>');
      //  document.write('<a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback2&userid=eacomer&ftab=FeedbackAsSeller"><font color="#6A0000"><b>Our Reputation</b></font></a></td>');
    
    
    
    document.write('</tr>');
// End Navigation-Bar Table
document.write('</table>');

