<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
  %stylesheet;

  <!-- Google Analytics -->
  <script type="text/javascript">
      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.") ;
      document.write(unescape("%3Cscript src='" + gaJsHost +
      "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")) ;
  </script>
  <script type="text/javascript">
      var pageTracker = _gat._getTracker("UA-4936091-1") ;
      pageTracker._initData() ;
      pageTracker._trackPageview() ;
  </script>
  <title>%pagetitle;</title>
</head>
<body>
  <table id="frame">
    <tr>
      <td id="shl"/>
      <td id="page">
        <div id="header">%title;%subtitle;</div>
        <div id="content">
          <div id="index">%index;</div>
          %content;
        </div>
        <div id="footer">Copyright &copy; 2008 Andrea Vedaldi and Brian Fulkerson</div>
      </td>
      <td id="shr"/>
    </tr>
  </table>
</body>
</html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
  %stylesheet;

  <!-- Google Analytics -->
  <script type="text/javascript">
    var localre = /vision.+ucla/;
    if(document.location.host.search(localre) != -1)
    {
      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.") ;
      document.write(unescape("%3Cscript src='" + gaJsHost +
            "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")) ;
    }
  </script>
  <script type="text/javascript">
    var localre = /vision.+ucla/;
    if(document.location.host.search(localre) != -1)
    {
      var pageTracker = _gat._getTracker("UA-4936091-1") ;
      pageTracker._initData() ;
      pageTracker._trackPageview() ;
    }
  </script>
  <title>%pagetitle;</title>
</head>
<body>
  <table id="frame">
    <tr>
      <td id="shl"/>
      <td id="page">
        <div id="header">%title;%subtitle;</div>
        <div id="content">
          <div id="index">%index;</div>
          %content;
        </div>
        <div id="footer">Copyright &copy; 2008 Andrea Vedaldi and Brian Fulkerson</div>
      </td>
      <td id="shr"/>
    </tr>
  </table>
</body>
</html>

Check if we are on vision.ucla before loading analytics code
Check if we are on vision.ucla before loading analytics code
