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")); '; // 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; if($immediate && $ntitle != "NOHEAD") $this->head(); session_start(); } /** * \brief * Adds some headcode to this page. * * \param $key * The key to register this headcode under. * \param $code * The actuall code, such as a