function SetStyleSheets(){
  var agent = navigator.userAgent;
  var appver = navigator.appVersion;
  var nav = navigator.appName;
  var plf = null;
  var ver = null;
  if(agent.indexOf('Mac') != -1){
        plf = "Mac";
  }else if(agent.indexOf('Win') != -1){
        plf = "Win";
  }else{
        plf = "other";
   }
   if(plf == "Mac"){
      document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="stylemac.css" TITLE="Default CSS for Macintosh Browser">');
      document.close();
   }else if(plf == "Win"){
      document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="stylewin.css" TITLE="Default CSS for Windows Browser">');
      document.close();
   }else{
      document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="stylewin.css" TITLE="Default CSS for Windows Browser">');
      document.close();
    }
}


function WinClose(){  window.close(); }
function WinResize(Wd,Hg){
  if(document.all){     window.resizeTo(Wd,Hg);  }
  if(document.layers){     window.outerWidth = Wd;     window.outerHeight = Hg;  }
}
