<?php /* Smarty version 2.6.26, created on 2013-06-14 08:53:57
         compiled from layout.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', 'layout.tpl', 17, false),array('modifier', 'escape', 'layout.tpl', 20, false),array('function', 'css', 'layout.tpl', 25, false),array('function', 'js', 'layout.tpl', 38, false),array('function', 'translate', 'layout.tpl', 81, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $this->_tpl_vars['userLang']; ?>
" xml:lang="en">

<?php if (( $this->_tpl_vars['module'] == 'Search' || $this->_tpl_vars['module'] == 'Summon' || $this->_tpl_vars['module'] == 'WorldCat' || $this->_tpl_vars['module'] == 'Authority' ) && $this->_tpl_vars['pageTemplate'] == "home.tpl"): ?>
    <?php $this->assign('showTopSearchBox', 0); ?>
    <?php $this->assign('showBreadcrumbs', 0); ?>
<?php else: ?>
    <?php $this->assign('showTopSearchBox', 1); ?>
    <?php $this->assign('showBreadcrumbs', 1); ?>
<?php endif; ?>

  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <?php if ($this->_tpl_vars['addHeader']): ?><?php echo $this->_tpl_vars['addHeader']; ?>
<?php endif; ?>

    <title><?php echo ((is_array($_tmp=$this->_tpl_vars['pageTitle'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 64, "...") : smarty_modifier_truncate($_tmp, 64, "...")); ?>
</title>

    <?php if ($this->_tpl_vars['module'] == 'Record' && $this->_tpl_vars['hasRDF']): ?>
    <link rel="alternate" type="application/rdf+xml" title="RDF Representation" href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
/RDF"/>    
    <?php endif; ?>
    <link rel="search" type="application/opensearchdescription+xml" title="Alaska Gas Catalog Search" href="<?php echo $this->_tpl_vars['url']; ?>
/Search/OpenSearch?method=describe" />
    
        <?php echo smarty_function_css(array('media' => "screen, projection",'filename' => "blueprint/screen.css"), $this);?>

	<?php echo smarty_function_css(array('media' => "screen, projection",'filename' => "blueprint/styles.css"), $this);?>

    <?php echo smarty_function_css(array('media' => 'print','filename' => "blueprint/print.css"), $this);?>

    <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo $this->_tpl_vars['url']; ?>
/interface/themes/blueprint/css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
    
        <script type="text/javascript">
    //<![CDATA[
      var path = '<?php echo $this->_tpl_vars['url']; ?>
';
    //]]>
    </script>

	    <?php echo smarty_function_js(array('filename' => "jquery-1.4.4.min.js"), $this);?>

    <?php echo smarty_function_js(array('filename' => "jquery.form.js"), $this);?>

    <?php echo smarty_function_js(array('filename' => "jquery.metadata.js"), $this);?>

    <?php echo smarty_function_js(array('filename' => "jquery.validate.min.js"), $this);?>
    
    
        <?php echo smarty_function_js(array('filename' => "jquery-ui-1.8.7.custom/js/jquery-ui-1.8.7.custom.min.js"), $this);?>

    <link rel="stylesheet" type="text/css" media="screen, projection" href="<?php echo $this->_tpl_vars['url']; ?>
/interface/themes/blueprint/js/jquery-ui-1.8.7.custom/css/smoothness/jquery-ui-1.8.7.custom.css" />
        
        <?php echo smarty_function_js(array('filename' => "lightbox.js"), $this);?>


        <?php echo smarty_function_js(array('filename' => "common.js"), $this);?>


        <?php echo smarty_function_css(array('media' => "screen, projection",'filename' => "styles.css"), $this);?>

    <?php echo smarty_function_css(array('media' => 'print','filename' => "print.css"), $this);?>

    <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo $this->_tpl_vars['url']; ?>
/interface/themes/blueprint/css/ie.css" type="text/css" media="screen, projection"><![endif]-->
  </head>

  <body>
    <div class="container">
	  <div class="header">
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	  </div>
	  
	  <div class="main">
         <?php if ($this->_tpl_vars['showTopSearchBox']): ?>
	  <div class="searchbox">
        <?php if ($this->_tpl_vars['pageTemplate'] != 'advanced.tpl'): ?>
          <?php if ($this->_tpl_vars['module'] == 'Summon' || $this->_tpl_vars['module'] == 'WorldCat' || $this->_tpl_vars['module'] == 'Authority'): ?>
            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['module'])."/searchbox.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
          <?php else: ?>
            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "Search/searchbox.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
          <?php endif; ?>
        <?php endif; ?>
	  </div>
	  <?php endif; ?>

      <?php if ($this->_tpl_vars['showBreadcrumbs']): ?>
      <div class="breadcrumbs">
        <div class="breadcrumbinner">
          <a href="<?php echo $this->_tpl_vars['url']; ?>
"><?php echo translate(array('text' => 'Home'), $this);?>
</a> <span>&gt;</span>
          <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['module'])."/breadcrumbs.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        </div>
      </div>
      <?php endif; ?>
	  <?php if ($this->_tpl_vars['useSolr'] || $this->_tpl_vars['useWorldcat'] || $this->_tpl_vars['useSummon']): ?>
        <div id="toptab">
          <ul>
            <?php if ($this->_tpl_vars['useSolr']): ?>
            <li<?php if ($this->_tpl_vars['module'] != 'WorldCat' && $this->_tpl_vars['module'] != 'Summon'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['url']; ?>
/Search/Results?lookfor=<?php echo ((is_array($_tmp=$this->_tpl_vars['lookfor'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
"><?php echo translate(array('text' => 'University Library'), $this);?>
</a></li>
            <?php endif; ?>
            <?php if ($this->_tpl_vars['useWorldcat']): ?>
            <li<?php if ($this->_tpl_vars['module'] == 'WorldCat'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['url']; ?>
/WorldCat/Search?lookfor=<?php echo ((is_array($_tmp=$this->_tpl_vars['lookfor'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
"><?php echo translate(array('text' => 'Other Libraries'), $this);?>
</a></li>
            <?php endif; ?>
            <?php if ($this->_tpl_vars['useSummon']): ?>
            <li<?php if ($this->_tpl_vars['module'] == 'Summon'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['url']; ?>
/Summon/Search?lookfor=<?php echo ((is_array($_tmp=$this->_tpl_vars['lookfor'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
"><?php echo translate(array('text' => 'Journal Articles'), $this);?>
</a></li>
            <?php endif; ?>
          </ul>
        </div>        
        <?php endif; ?>
        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['module'])."/".($this->_tpl_vars['pageTemplate']), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	  </div>
	  <div class="footer">
		<div class="push-1">
			<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		</div>
	  </div>
    </div>
  </body>
</html>