﻿// JScript File

function AddCss(winCss,macCss)
{
 var detect = navigator.userAgent.toLowerCase();
     if (checkIt('win'))
   {
  
   var strWin="<link "
    strWin+=" href='"
   strWin+=winCss
   strWin+="'"
   strWin+=" rel='Stylesheet'/>"
   window.document.write(strWin)
   }
   else{
   var strMac="<link "
   strMac+=" href='"
   strMac+=macCss
   strMac+="'"
   strMac+=" rel='Stylesheet'/>"
   window.document.write(strMac)
   
    }
    function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
		return place;
}

}