//check for OS and browser and server proper style

//NS6+ behaves on a Mac so check for it
var pagePath;

docLoc = document.location.toString();

if(docLoc.indexOf("pricebook") != -1){
	pagePath = "../"
}else{
	pagePath = "";
}


if(navigator.appName == "Netscape" && navigator.appVersion >= "5"){

            NS6 = true;

}

else{

            NS6 = false;

}

//determine OS and load style based on it and browser.

if(navigator.appVersion.indexOf('Mac') != -1 && NS6 != true){

 document.write('<link rel="stylesheet" type="text/css" href="' + pagePath + 'style_mac.css" /><link rel="stylesheet" type="text/css" media="print" href="' + pagePath + 'print.css" /><style type="text/css" media="all">@import "' + pagePath + 'style_mac.css";</style>');

}

else{

document.write('<link rel="stylesheet" type="text/css" href="' + pagePath + 'style.css" /><link rel="stylesheet" type="text/css" media="print" href="' + pagePath + 'print.css" /><style type="text/css" media="all">@import "' + pagePath + 'style.css";</style>');

}

//document.write('<link rel="stylesheet" type="text/css" href="<%=strPath%>includes/positioning.css" />');

//document.write('<style type="text/css">@import "<%=strPath%>includes/form.css";</style>');

