var nathangPageTracker = _gat._getTracker("UA-17441156-1"); nathangPageTracker._trackPageview(); var ethanzPageTracker = _gat._getTracker("UA-2800455-1"); ethanzPageTracker._trackPageview(); '; // Google analytics ga.js tracking code private $pagetitle = ''; // Title of page private $scripts = array(); // Scripts to include on page public function __construct($ntitle, $nscripts = array(), $immediate = TRUE) { // Scripts and styles available to include $this->headCode['jQuery'] = ''; $this->headCode['jValidate'] = ''; $this->headCode['schedInput'] = ''; $this->headCode['outputPrintStyle'] = ''; $this->headCode['outputStyle'] = ''; $this->headCode['gliderHeadcode'] = ''; $this->pagetitle = $ntitle; $this->scripts = $nscripts; /* compliant browsers which care, such as gecko, explicitly request xhtml: */ if(!empty($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml') !== FALSE || !strlen($_SERVER['HTTP_ACCEPT']) /* then the browser doesn't care :-) */) { $this->xhtml = TRUE; header('Content-type: application/xhtml+xml'); } $ga_www = 'http://www.'; if ($_SERVER['SERVER_PORT'] != 80) $ga_www = 'https://ssl.'; $this->trackingcode = '