document.writeln('<LINK rel=\"stylesheet\" type=\"text/css\" href=\"/cssnew/nn.css\" DISABLED>')


var Agent = navigator.userAgent;

if (Agent.indexOf("Macintosh")!=-1) {
if (navigator.appName == "Netscape") {
document.write('<LINK REL=\"stylesheet\" type=\"text/css\" HREF=\"/cssnew/mac-nn.css\">');
}
}

stylenm = "form_css";
appstylenmp = "prin_css";
appstylenms = "scrn_css";

//myRe = /\/public\//i;
//myArray = myRe.exec(location.href);
//if (myArray) {
//   stylenm = "ext_form_css";
//   appstylenmp = "ext_prin_css";
//   appstylenms = "ext_scrn_css";
//}

appvs = parseInt(navigator.appVersion.substring(0,1));
theversion = parseFloat(navigator.appVersion.substring(0,4));
appnm = navigator.appName;
if ((document.all) || (!document.images)) {
   appnm = "Explorer";
   theversion = navigator.appVersion.substring(navigator.appVersion.lastIndexOf('MSIE') + 5).substring(0,3);
   appvs = theversion.substring(0,1);
   if (!document.images) {
		   appvs="3X";
   }
}
if (appnm.substring(0,1) == "E") {
  stylenm = stylenm + "_ex";
  appstylenmp = appstylenmp + "_ex";
  appstylenms = appstylenms + "_ex";
}
if (screen.width >= "1024") {
  stylenm = stylenm + "_lg";
  appstylenmp = appstylenmp + "_lg";
  appstylenms = appstylenms + "_lg";
}
//alert(appstylenms + ' ' + appstylenmp + ' ' + stylenm );
//document.writeln('<link rel=\"stylesheet\" type=\"text/css\" media=\"SCREEN\" href=\"/cssnew/' + appstylenms + '.css">');
document.writeln('<link rel=\"stylesheet\" type=\"text/css\" media=\"PRINT\" href=\"/cssnew/' + appstylenmp + '.css">');
document.writeln('<link rel=\"stylesheet\" type=\"text/css\" href=\"/cssnew/' + stylenm + '.css">');



browser_version = parseInt(navigator.appVersion);
browser_type = navigator.appName;

if (browser_type == "Netscape" && (browser_version <= 6)) {
document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"/cssnew/nn.css\">");
}


