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-image:url(/assets/nv/default/tree.gif);font-family:verdana;font-size:9pt;}')
document.write('TD {font-family:tahoma;font-size:12px;}')
document.write('.tiny {font-size:12px;line-height:16px;font-family:tahoma;}')
document.write('.small {font-size:12px;line-height:16px;font-family:tahoma;}')
document.write('.normal {font-size:12px;line-height:16px;font-family:tahoma;}')
document.write('.medium {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.large {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.large-header {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.normal-header {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.small-header {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.large-main {font-size:12px;line-height:18px;font-family:tahoma;}')
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: 12px; font-family: tahoma}')
} else {
// ie mac browsers only
if (os == "MacPPC") {
document.write('.button-normal {font: bold 12px 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 12px 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 12px 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 12px 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-image:url(/assets/nv/default/tree.gif);font-family:verdana;font-size:12px;}')
document.write('TD {font-family:tahoma;font-size:12px;}')
document.write('.tiny {font-size:12px;line-height:16px;font-family:tahoma;}')
document.write('.small {font-size:12px;line-height:16px;font-family:tahoma;}')
document.write('.normal {font-size:12px;line-height:16px;font-family:tahoma;}')
document.write('.medium {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.large {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.large-header {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.normal-header {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.small-header {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.large-main {font-size:12px;line-height:18px;font-family:tahoma;}')
document.write('.form {font-size: 12px; font-family: tahoma}')
document.write('.title {font-size: 11px; font-family: tahoma; FONT: bold; text-align:right}')
}
// all browsers
//document.write('A {color:#53688c}')
//document.write('A:hover {color:#104eb4}')
document.write('A {color:#104eb4}')
document.write('A:hover {color:#104eb4}')
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('.linenav {text-decoration:none;color:#FFFFFF}')
document.write('.linenav:hover {text-decoration:underline;color:#FFFFFF}')
document.write('.leftnav {text-decoration:none}')
document.write('.leftnav:hover {text-decoration:underline}')
//SOLPART:START
document.write('.breadcrumb {font-family:tahoma;font-size:10px;text-decoration:none;color:#6f6f6f;}')
document.write('A.breadcrumb {font-family:tahoma;font-size:10px;text-decoration:underline;color:#104eb4;}')
document.write('A.breadcrumb:hover {font-family:tahoma;font-size:10px;text-decoration:underline;color:#104eb4;}')
//SOLPART:END
document.write('.footernavhover {color: #ffffff;}')
document.write('A.footernavhover {color: #ffffff;text-decoration:underline;}')
document.write('A.footernavhover:hover {color: #eeeeee;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: 12px;line-height: 17px;font-family: tahoma, arial, helvetica;color: #333333;}')
document.write('.product-warning {font-size: 12px;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: 12px;line-height: 17px;font-family: tahoma, arial, helvetica;font-weight: bold;color: #333333;}')
document.write('.product-flag1 {font-size: 12px;line-height: 17px;font-family: tahoma, arial, helvetica;color: #cc0000;font-weight: bold;text-transform: uppercase;}') 
document.write('.product-flag2 {font-size: 12px;line-height: 17px;font-family: tahoma, arial, helvetica;color: #104eb4;font-weight: bold;text-transform: uppercase;}')
document.write('.product-saleprice {font-size: 12px;line-height: 17px;font-family: tahoma, arial, helvetica;font-weight: normal;color: #cc0000;}')
document.write('.product-promo {font-size: 12px;line-height: 17px;font-family: tahoma, arial, helvetica;bold;color: #cc0000;}')
document.write('.product-caption {font-size: 12px;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: 12px;}')
document.write('.borders {border-top: 1px solid #666666;border-left: 1px solid #666666;}')
document.write('.border_l { width:10px; background-image:url(/assets/nv/default/border_l.gif); background-repeat:repeat-y;background-position: top right;}')
document.write('.background_main { background-image:url(/assets/nv/default/header.gif); background-repeat: no-repeat; text-align:center; background-position: top center}')
document.write('.border_r { width:10px; background-image:url(/assets/nv/default/border_r.gif); background-repeat: repeat-y;background-position:top left;}')
document.write('.breadcrumb_divider {width:750px; height: 1px; background-image:url(/assets/images/nav/ver6/dot.gif);background-repeat:repeat-y; background-position:top left;}')
document.write('.borders {border-top: 1px solid #666666;border-left: 1px solid #666666;}')

document.write('#img_shopbycollection {width:164; height:23px; background: URL(/assets/nv/default/shop_by_collection.gif) center left no-repeat;}')
document.write('#img_shopbycategory {width:164; height:23px; background: URL(/assets/nv/default/shop_by_category.gif) center left no-repeat;}')
document.write('#img_shopbygift {width:164; height:23px; background: URL(/assets/nv/default/shop_by_gift.gif) center left no-repeat;}')
document.write('#img_shopbybrand {width:164; height:23px; background: URL(/assets/nv/default/shop_by_brand.gif) center left no-repeat;}')
document.write('#img_morewaystoshop {width:164; height:23px; background: URL(/assets/nv/default/more_ways_to_shop.gif) center left no-repeat;}')
document.write('#txt_shopbycollection {display:none;}')
document.write('#txt_shopbycategory {display:none;}')
document.write('#txt_shopbygift {display:none;}')
document.write('#txt_shopbybrand {display:none;}')
document.write('#txt_morewaystoshop {display:none;}')
document.write('</style>')

// reload the window upon resize to fix a bug in Netscape 4.x
var br
if(navigator.appName == 'Netscape') {
	if(document.layers) {br="N"}
	else if(document.getElementById) {br="NS6"}
} else{br="IE";}

function reDo(){window.location.reload()}
function setResize(){setTimeout("window.onresize=reDo",500);}
	if(br=="N"){
	window.onload = setResize;
}

