<?php /* Smarty version 2.6.26, created on 2013-06-14 10:20:11
         compiled from Search/home.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'Search/home.tpl', 31, false),array('function', 'math', 'Search/home.tpl', 34, false),array('modifier', 'escape', 'Search/home.tpl', 42, false),)), $this); ?>
<div class="searchHomeContent">
  <h2>Search the catalog</h2>
  <div class="searchHomeForm">
    <?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);
 ?>
  </div>
<div class="contentCategory">
<h2>Or search the contents by category</h2>
<div class="contentCategoryButtons">
<a href="/vufind/Search/Results?lookfor=PF-USPROJ&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/us_govt_project_work.png" alt="Search for U.S. Government project work." style="border-style: none" /></a>
<a href="/vufind/Search/Results?lookfor=PF-USRES&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/us_govt_research.png" alt="Search for U.S. Government research documents." style="border-style: none" /></a>
<a href="/vufind/Search/Results?lookfor=PF-AKGOV&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/alaska_govt.png" alt="Search for Alaska government documents." style="border-style: none" /></a>
<a href="/vufind/Search/Results?lookfor=PF-CANGOV&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/canada_govt.png" alt="Search for Canadian government documents." style="border-style: none" /></a>
<a href="/vufind/Search/Results?lookfor=PF-LEG&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/legislation.png" alt="Search for legislative documents." style="border-style: none" /></a>
<a href="/vufind/Search/Results?lookfor=PF-HIST&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/history.png" alt="Search for historical documents." style="border-style: none" /></a>
<a href="/vufind/Search/Results?lookfor=PF-PROJ&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/project_proposals.png" alt="Search for project proposals." style="border-style: none" /></a>
<a href="/vufind/Search/Results?lookfor=PF-ENVI&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/environmental_review.png" alt="Search for environmental review documents." style="border-style: none" /></a>
<a href="/vufind/Search/Results?lookfor=PF-CONS&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/construction.png" alt="Search for construction documents."style="border-style: none" /></a>
<a href="/vufind/Search/Results?lookfor=PF-MAP&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/project_maps.png" alt="Search for project maps." style="border-style: none" /></a>
<a href="/vufind/Search/Results?lookfor=PF-ECON&amp;type=AllFields&amp;submit=Find"><img src="/vufind/images/economics.png" alt="Search for economic documents." style="border-style: none" /></a>
</div>
</div>
<div>
</div>
<?php if ($this->_tpl_vars['facetList']): ?>
<div class="searchHomeBrowse">
  <?php $this->assign('columns', 0); ?>
  <?php $_from = $this->_tpl_vars['facetList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['field'] => $this->_tpl_vars['details']):
?>
    <?php $this->assign('list', $this->_tpl_vars['details']['sortedList']); ?>
    <?php if ($this->_tpl_vars['field'] == 'callnumber-first'): ?><?php $this->assign('currentSize', 10); ?><?php else: ?><?php $this->assign('currentSize', 5); ?><?php endif; ?>
    <?php $this->assign('columns', $this->_tpl_vars['columns']+$this->_tpl_vars['currentSize']); ?>
    <h2 class="span-<?php echo $this->_tpl_vars['currentSize']; ?>
"><?php echo translate(array('text' => 'home_browse'), $this);?>
 <?php echo translate(array('text' => $this->_tpl_vars['details']['label']), $this);?>
</h2>
  <?php endforeach; endif; unset($_from); ?>
  <?php if ($this->_tpl_vars['columns'] > 0 && $this->_tpl_vars['columns'] < 24): ?>
    <div class="span-<?php echo smarty_function_math(array('equation' => "24 - x",'x' => $this->_tpl_vars['columns']), $this);?>
 last"><!-- pad out header row --></div>
  <?php endif; ?>
  <?php $_from = $this->_tpl_vars['facetList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['field'] => $this->_tpl_vars['details']):
?>
    <?php $this->assign('list', $this->_tpl_vars['details']['sortedList']); ?>
    <ul class="span-5">
            <?php if ($this->_tpl_vars['field'] == "callnumber-first"): ?>
        <?php $_from = $this->_tpl_vars['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['callLoop'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['callLoop']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['value'] => $this->_tpl_vars['url']):
        $this->_foreach['callLoop']['iteration']++;
?>
          <li><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['url'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['value'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></li>
          <?php if ($this->_foreach['callLoop']['iteration'] == 10): ?>
            </ul>
            <ul class="span-5">
          <?php endif; ?>
        <?php endforeach; endif; unset($_from); ?>
      <?php else: ?>
        <?php $this->assign('break', false); ?>
        <?php $_from = $this->_tpl_vars['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['listLoop'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['listLoop']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['value'] => $this->_tpl_vars['url']):
        $this->_foreach['listLoop']['iteration']++;
?>
          <?php if ($this->_foreach['listLoop']['iteration'] > 12): ?>
            <?php if (! $this->_tpl_vars['break']): ?>
              <li><a href="<?php echo $this->_tpl_vars['path']; ?>
/Search/Advanced"><strong><?php echo translate(array('text' => 'More options'), $this);?>
...</strong></a></li>
              <?php $this->assign('break', true); ?>
            <?php endif; ?>
          <?php else: ?>
            <li><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['url'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['value'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></li>
          <?php endif; ?>
        <?php endforeach; endif; unset($_from); ?>
      <?php endif; ?>

<div></div>

    </ul>
  <?php endforeach; endif; unset($_from); ?>
  <div class="clear"></div>
</div>
<?php endif; ?>