var ie=(document.all?true:false);
var agent=navigator.userAgent.toLowerCase();
var mac=(agent.indexOf("mac")!=-1)?true:false;
// alert(mac+"    " + agent+"   "+ ie);

var s=new String(document.location);
var i=s.lastIndexOf("data/");
var sPath=s.substring(0,i+5);

if ((mac)&&(ie)) document.write("<link rel=stylesheet type='text/css' href="+sPath+"styles/macietypo.css title='Styles'>");
else if (mac) document.write("<link rel=stylesheet type='text/css' href="+sPath+"styles/mactypo.css title='Styles'>");
else if (ie) document.write("<link rel=stylesheet type='text/css' href="+sPath+"styles/typo.css title='Styles'>");
else document.write("<link rel=stylesheet type='text/css' href="+sPath+"styles/nntypo.css title='Styles'>");
