//protect old browsers from all of this
if (exclude == false) {

// begin style definitions

document.write('<STYLE>');

document.write('.divide \{ color:' + dCOLOR + '\; \}');

var bFont = 'font-family: ' + fFONT + '\; font-size: ' + fSIZE + 'px\; color: ' + aLINK + '\; ';
var sbFont = 'font-family: ' + sfFONT + '\; font-size: ' + sfSIZE + 'px\; color: ' + saLINK + '\; ';

var bgColor = "background-color:" + mCOLOR; 
var useIMG = false; if ((mCOLOR.indexOf('.png') != -1) || (mCOLOR.indexOf('.gif') != -1) || (mCOLOR.indexOf('.jpg') != -1)) { useIMG = true; }
if (useIMG) { bgColor = "background-image:url\('" + mCOLOR + "'\)"; }

var SbgColor = "background-color:" + smCOLOR; 
var SuseIMG = false; if ((smCOLOR.indexOf('.gif') != -1) || (smCOLOR.indexOf('.jpg') != -1)) { SuseIMG = true; }
if (SuseIMG) { SbgColor = "background-image:url\('" + smCOLOR + "'\)"; }


if (ns4) { var zOrder = ""; } else { var zOrder = "z-index:1\;"; }

document.write('.menubarTD \{ cursor:default\;' + zOrder + bFont + bgColor + ' \}');
document.write('.menubarTDS \{ cursor:default\;' + (zOrder-1) + bFont + bgColor + ' \}');

if (ie) {document.write('.menubar \{' + zOrder + 'left:0px\; font-family: ' + bFont +  ' \}');}
if (op5) {document.write('.menubar \{' + zOrder + 'left:0px\; font-family: ' + bFont + bgColor + ' \}');}
else if (mz7 || ns6) {document.write('.menubar \{' + zOrder + ' font-family: ' + bFont +  ' \}');}
else if (ns4) { document.write('.menubar \{' + zOrder +  bFont +  ' \}');}

if (ie) { document.write('.SUBmenubar \{' + zOrder + sbFont +  SbgColor + ' \}'); }
if (op5) { document.write('.SUBmenubar \{' + zOrder + sbFont +  SbgColor + ' \}'); }
if (ie) { document.write('.SUBmenubarTD \{' + zOrder +  sbFont +  SbgColor + ' \}'); }
if (op5) { document.write('.SUBmenubarTD \{' + zOrder + 'width:1px; ' + sbFont +  SbgColor + ' \}'); }
if (mz7 || ns6 || ns4) { document.write('.SUBmenubar \{' + zOrder + sbFont +  SbgColor + ' \}');
			 document.write('.SUBmenubarTD \{' + zOrder +  sbFont + SbgColor + ' \}'); }

document.write('.br \{font-size: ' + fSIZE + 'px;\}');

document.write('.menubarTD A  \{z-index:5; color: ' + aLINK + ' font-weight:' + fWEIGHT + '; \}');
document.write('.menubarTD A:Link  \{' + zOrder + 'color: ' + aLINK + ' \}');
document.write('.menubarTD A:Active  \{' + zOrder + 'color: ' + aACT + ' \}');
document.write('.menubarTD A:Hover  \{' + zOrder + 'color: ' + hLINK + '; text-decoration:' + hDEC + '; font-weight:' + fWEIGHT + ' \}');
document.write('.menubarTD A:Visited  \{' + zOrder + 'color: ' + aLINK + ' \}');
document.write('.menubarTD A:Active,.menubarTD A:Link,.menubarTD A:Visited \{' + zOrder + 'font-weight:' + fWEIGHT + '; font-size:' + fSIZE + 'px;font-family:' + fFONT + ';text-decoration:' + aDEC + '; position:relative;\}'); 

document.write('.SUBmenubarTD A  \{z-index:5;color: ' + saLINK + ' font-weight:' + sfWEIGHT + '; \}');
document.write('.SUBmenubarTD A:Link  \{' + zOrder + 'color: ' + saLINK + ' \}');
document.write('.SUBmenubarTD A:Active  \{' + zOrder + 'color: ' + saACT + ' \}');
document.write('.SUBmenubarTD A:Hover  \{' + zOrder + 'color: ' + shLINK + '; text-decoration:' + shDEC + '; font-weight:' + sfWEIGHT + '  \}');
document.write('.SUBmenubarTD A:Visited  \{' + zOrder + 'color: ' + saLINK + ' \}');
document.write('.SUBmenubarTD A:Active,.SUBmenubarTD A:Link,.SUBmenubarTD A:Visited \{' + zOrder + 'font-weight:' + sfWEIGHT + '; font-size:' + sfSIZE + 'px;font-family:' + sfFONT + ';text-decoration:' + saDEC + ';\}');


	
// end style definitions
document.write('</STYLE>');


}

