//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="";
 var theLocation="";
 var smallHeader="N";
 var dirLevel=0;
 
// for(i=1;i<=dirLevel;i++)
// {
//    pathPrefix = "../" + pathPrefix;
// }
// title
   document.write('<a href="http://www.enchantedgowns.com"><font face="Verdana" size="+2" color="#6A0000"><b>Enchanted Gowns</b></font></a><font face="Verdana" color="#6A0000"> - "Where you can find your dream dress"</font><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 = "#FFCCCC";
    //Color for background of other navigation bar items
    elseColor = "#FFCCCC";
      
        //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="gownList.htm" target="_top"><font color="#6A0000"><b>Gowns</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="status_n_reports.htm" target="_top"><font color="#6A0000"><b>Services</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="ISDinfo.htm" target="_top"><font color="#6A0000"><b>Samples</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:wendy@enchantedgowns.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>');
    
    document.write('</tr>');
// End Navigation-Bar Table
document.write('</table>');

