var jsSiteUrl= 'http://www.sptrader.com/';


  var strOS, strBrowser, strTemp;
          
	 strOS = "other";
	 strBrowser = "other";  
	
	 strTemp = navigator.appVersion.toLowerCase();
	
	 if (strTemp.indexOf("win") > 0)
	  strOS = "windows";
	  
	 if (strTemp.indexOf("mac") > 0)
	  strOS = "mac";
	 
	 if (strTemp.indexOf("msie") > 0)
	  strBrowser = "msie";

 if ((strOS.toLowerCase() == "windows") && (strBrowser.toLowerCase() == "msie")){
   document.write ('<link rel=stylesheet type="text/css" href="'+jsSiteUrl+'css/text.css">');
  }else if ((strOS.toLowerCase() == "windows") && (strBrowser.toLowerCase() == "other")){
   document.write ('<link rel=stylesheet type="text/css" href="'+jsSiteUrl+'css/text_ns.css">');
  }else if ((strOS.toLowerCase() == "mac") && (strBrowser.toLowerCase() == "msie")){
   document.write ('<link rel=stylesheet type="text/css" href="'+jsSiteUrl+'css/text_mac_ie.css">');
  }else if ((strOS.toLowerCase() == "mac") && (strBrowser.toLowerCase() == "other")){
   document.write ('<link rel=stylesheet type="text/css" href="'+jsSiteUrl+'css/text_mac_ns.css">');
  }else if ((strOS.toLowerCase() == "other") && (strBrowser.toLowerCase() == "other")){
   document.write ('<link rel=stylesheet type="text/css" href="'+jsSiteUrl+'css/text.css">');
  }
