browser = navigator.appName;
version = navigator.appVersion;
os = navigator.platform;
ie = "Microsoft Internet Explorer";
nn = "Netscape";

// sniff for netscape
if (browser == nn) {
// sniff for Mac and give them the default stylesheet
if (os == "MacPPC") {
	browser = ie;
} else {
	// sniff for anything greater than version 4 of Netscape and give them the default stylesheet
	if (version.charAt(0) > 4) {
		browser = ie;
	}
	else {
        browser = nn;
	}
}
}
// give everyone else (IE) the default stylesheet
else {
browser = ie;
}

document.write('<style>')
if (browser == nn) {
// ns4 styles only
// document.write('BODY {margin-left:0px;margin-top:0px;background:#EFECE9;font-family:verdana;font-size:9pt;}')
// document.write('TD {font-size:9pt;}')
document.write('.tiny {font-family:verdana;font-size:10px;line-height:11px}')
document.write('.small {font-family:verdana;font-size:10px;line-height:14px}')
document.write('.small_red {font-family:verdana;font-size:10px;line-height:14px;color:#FF0000;}')
document.write('.small_line-through {font-family:verdana;font-size:10px;line-height:14px;text-decoration:line-through;}')
document.write('.normal {font-family:verdana;font-size:11px;line-height:16px}')
document.write('.normal_red {font-family:verdana;font-size:11px;line-height:16px;color:#FF0000}')
document.write('.medium {font-family:verdana;font-size:13px;line-height:18px}')
document.write('.large {font-family:verdana;font-size:15px;line-height:19px}')
document.write('.large_red {font-family:verdana;font-size:15px;line-height:19px;color:#FF0000}')
document.write('.large-header {font-family:verdana;font-size:14px;line-height:19px;color:#53688c;}')
document.write('.large-main {font-family:verdana;font-size:14px;line-height:19px;color:#53688c;}')
document.write('.button-normal {border:3px}')
document.write('.button-small {font: bold 9pt Verdana;line-height:9px;height:18px;}')
document.write('.button-small2 {font: bold 11pt Verdana;line-height:9px;height:18px;}')
document.write('.button-grey {font: bold 9pt verdana;line-height:9px;height:18px;}')
document.write('.button-search {font: bold 10px verdana;line-height:9px;}')
document.write('.form {font-size: 9pt; font-family: verdana,helvetica;}')
} else {
// ie mac browsers only
if (os == "MacPPC") {
document.write('.button-normal {font: bold 11px Verdana;height:28px;color:#ffffff;background:#53688c;border: 3px #b9ceef outset;cursor:hand;}')
document.write('.button-small {font: bold 9px Verdana;9px;height:18px;color:#FFFFFF;background:#53688c;border: 2px #b9ceef outset;cursor:hand;}')
document.write('.button-small2 {font: bold 11px Verdana;9px;height:18px;color:#FFFFFF;background:#BCAC9E;border: 2px #dcd5cd outset;cursor:hand;}')
document.write('.button-grey {font: bold 9px verdana;9px;height:18px;color:#ffffff;background:#818181;border: 2px #eaeaea outset;cursor:hand;}')
document.write('.button-search {width:50px;font: bold 9px verdana;color:#FFFFFF;background-color:#656152;border:solid 2px #d8d8d8}')
// ie pc browsers only
} else {
document.write('.button-normal {font: bold 11px Verdana;height:28px;color:#ffffff;background:#53688c;border: 3px #b9ceef outset;cursor:hand;}')
document.write('.button-small {font: bold 9px Verdana;line-height:9px;height:18px;color:#FFFFFF;background:#53688c;border: 2px #b9ceef outset;cursor:hand;}')
document.write('.button-small2 {font: bold 11px Verdana;line-height:9px;height:18px;color:#FFFFFF;background:#BCAC9E;border: 2px #dcd5cd outset;cursor:hand;}')
document.write('.button-grey {font: bold 9px verdana;line-height: 9px;height:18px;color:#ffffff;background:#818181;border: 2px #eaeaea outset;cursor:hand;}')
document.write('.button-search {width:50px;height:17px;font: bold 9px verdana;line-height:10px;color:#FFFFFF;background-color:#656152;border:solid 2px #d8d8d8}')
}
// every other browser
// document.write('BODY {background-color:#EFECE9;font-family:verdana;font-size:11px;}')
// document.write('TD {font-size:11px;}')
document.write('.tiny {font-size:9px;line-height:12px;font-family:verdana;}')
document.write('.small {font-size:10px;line-height:12px;font-family:verdana;}')
document.write('.small_bold {font-size:10px;line-height:12px;font-family:verdana;font-weight:bold;}')
document.write('.small_red {font-size:10px;line-height:12px;font-family:verdana;color:#FF0000;}')
document.write('.small_grey {font-size:10px;line-height:12px;font-family:verdana;color:#7e7e7e;}')
document.write('.small_line-through {font-size:10px;line-height:12px;font-family:verdana;text-decoration:line-through;}')
document.write('.normal {font-size:11px;line-height:17px;font-family:verdana;}')
document.write('.normal_red {font-size:11px;line-height:17px;font-family:verdana;color:#FF0000}')
document.write('.medium {font-size:12px;line-height:18px;font-family:verdana;}')
document.write('.large {font-size:14px;line-height:19px;font-family:verdana;}')
document.write('.large_red {font-size:14px;line-height:19px;font-family:verdana;color:#FF0000}')
document.write('.large-header {font-size:14px;color:#53688c;line-height:19px;font-family:verdana;}')
document.write('.large-main {font-size:14px;color:#53688c;line-height:19px;font-family:verdana;}')
document.write('.form {font-size: 11px; font-family: verdana,helvetica;}')
}
// all browsers
document.write('A {color:#104eb4}')
document.write('A:hover {color:#0000ff}')
document.write('IMG {border-color:#666666;}')
document.write('UL {margin: 0px 0px 0px 18px}')
document.write('.topnav {text-decoration:none;color:#666666}')
document.write('.topnav:hover {text-decoration:underline;color:#666666}')
document.write('.mainnav {text-decoration:none;color:#FFFFFF}')
document.write('.mainnav:hover {text-decoration:underline;color:#FFFFFF}')
document.write('.pagenav {text-decoration:none;color:#666666}')
document.write('.pagenav:hover {text-decoration:underline;color:#666666}')
document.write('.leftnav {text-decoration:none}')
document.write('.leftnav:hover {text-decoration:underline}')
document.write('.breadcrumb {text-decoration:underline;color:#104eb4;font-family:tahoma;}')
document.write('.breadcrumb:hover {text-decoration:underline;color:#0000ff;font-family:tahoma;}')
document.write('A.footernavhover {color: #666666; text-decoration: underline}')
// document.write('.color-main {background: #606c80}')
// document.write('.color-secondary {background: #666666}')
// document.write('.color-light-grey {background: #a7a7a7}')
// document.write('.color-medium-grey {background: #747474}')
// document.write('.color-dark-grey {background: #414141}')
// document.write('.color-red1 {background: #cc0000}')
// document.write('.color-red2 {background: #990000}')
// document.write('.color-red3 {background: #660000}')
// document.write('.color-red4 {background: #330000}')
// document.write('.color-site1 {background: #53688c}')
// document.write('.color-site2 {background: #848d9d}')
// document.write('.color-site3 {background: #485160}')
// document.write('.color-site4 {background: #606c80}')
// document.write('.color-site5 {background: #535a68}')
// document.write('.color-button {background: #606c80}')
// document.write('.borders {border-top: 1px solid #666666;border-left: 1px solid #666666;}')
// document.write('.product-normal {font-size: 11px;line-height: 17px;font-family: tahoma, arial, helvetica;color: #333333;}')
// document.write('.product-warning {font-size: 11px;line-height: 17px;font-family: tahoma, arial, helvetica;color: #cc0000;}')
// document.write('.product-instruction {font-size: 10px;line-height: 17px;font-family: tahoma, arial, helvetica;color: #333333;}')
// document.write('.product-headline {font-size: 18px;line-height: 20px;font-family: times new roman, times, serif;color: #333333;font-style: normal;}')
// document.write('.product-subhead {font-size: 11px;line-height: 17px;font-family: tahoma, arial, helvetica;font-weight: bold;color: #333333;}')
// document.write('.product-flag1 {font-size: 11px;line-height: 17px;font-family: tahoma, arial, helvetica;color: #cc0000;font-weight: bold;text-transform: uppercase;}') 
// document.write('.product-flag2 {font-size: 11px;line-height: 17px;font-family: tahoma, arial, helvetica;color: #104eb4;font-weight: bold;text-transform: uppercase;}')
// document.write('.product-saleprice {font-size: 11px;line-height: 17px;font-family: tahoma, arial, helvetica;font-weight: normal;color: #cc0000;}')
// document.write('.product-promo {font-size: 11px;line-height: 17px;font-family: tahoma, arial, helvetica;bold;color: #cc0000;}')
// document.write('.product-caption {font-size: 11px;line-height: 12px;font-family: tahoma, arial, helvetica;color: #333333;}')
// document.write('.product-menus {font-family: tahoma, geneva, verdana, arial, helvetica, sans-serif;font-size: 11px;}')
document.write('</style>')
