<?php /* Smarty version 2.6.26, created on 2013-06-14 08:54:46
         compiled from Record/view.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'Record/view.tpl', 3, false),array('function', 'js', 'Record/view.tpl', 23, false),array('modifier', 'escape', 'Record/view.tpl', 20, false),array('modifier', 'translate', 'Record/view.tpl', 79, false),array('modifier', 'lower', 'Record/view.tpl', 156, false),array('modifier', 'regex_replace', 'Record/view.tpl', 156, false),)), $this); ?>
<?php if ($this->_tpl_vars['bookBag']): ?>
<script type="text/javascript">
vufindString.bulk_noitems_advice = "<?php echo translate(array('text' => 'bulk_noitems_advice'), $this);?>
";
vufindString.confirmEmpty = "<?php echo translate(array('text' => 'bookbag_confirm_empty'), $this);?>
";
vufindString.viewBookBag = "<?php echo translate(array('text' => 'View Book Bag'), $this);?>
";
vufindString.addBookBag = "<?php echo translate(array('text' => 'Add to Book Bag'), $this);?>
";
vufindString.removeBookBag = "<?php echo translate(array('text' => 'Remove from Book Bag'), $this);?>
";
vufindString.itemsAddBag = "<?php echo translate(array('text' => 'items_added_to_bookbag'), $this);?>
";
vufindString.itemsInBag = "<?php echo translate(array('text' => 'items_already_in_bookbag'), $this);?>
";
vufindString.bookbagMax = "<?php echo $this->_tpl_vars['bookBag']->getMaxSize(); ?>
";
vufindString.bookbagFull = "<?php echo translate(array('text' => 'bookbag_full_msg'), $this);?>
";
vufindString.bookbagStatusFull = "<?php echo translate(array('text' => 'bookbag_full'), $this);?>
";
</script>
<?php $this->assign('bookBagItems', $this->_tpl_vars['bookBag']->getItems()); ?>
<?php endif; ?>
<?php if (isset ( $this->_tpl_vars['syndetics_plus_js'] )): ?>
<script src="<?php echo $this->_tpl_vars['syndetics_plus_js']; ?>
" type="text/javascript"></script>
<?php endif; ?>
<?php if (! empty ( $this->_tpl_vars['addThis'] )): ?>
<script type="text/javascript" src="https://s7.addthis.com/js/250/addthis_widget.js?pub=<?php echo ((is_array($_tmp=$this->_tpl_vars['addThis'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
"></script>
<?php endif; ?>

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

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

<?php if ($this->_tpl_vars['showPreviews']): ?>
  <?php echo smarty_function_js(array('filename' => "preview.js"), $this);?>

<?php endif; ?>
<?php if ($this->_tpl_vars['coreOpenURL'] || $this->_tpl_vars['holdingsOpenURL']): ?>
  <?php echo smarty_function_js(array('filename' => "openurl.js"), $this);?>

<?php endif; ?>

<div class="span-18<?php if ($this->_tpl_vars['sidebarOnLeft']): ?> push-5 last<?php endif; ?>">
  <div class="toolbar">
    <ul>
      <li><a href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
/Cite" class="citeRecord cite" id="citeRecord<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" title="<?php echo translate(array('text' => 'Cite this'), $this);?>
"><?php echo translate(array('text' => 'Cite this'), $this);?>
</a></li>
      <li><a href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
/Email" class="mailRecord mail" id="mailRecord<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" title="<?php echo translate(array('text' => 'Email this'), $this);?>
"><?php echo translate(array('text' => 'Email this'), $this);?>
</a></li>
      <?php if (is_array ( $this->_tpl_vars['exportFormats'] ) && count ( $this->_tpl_vars['exportFormats'] ) > 0): ?>
      <li>
        <a href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
/Export?style=<?php echo ((is_array($_tmp=$this->_tpl_vars['exportFormats']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
" class="export exportMenu"><?php echo translate(array('text' => 'Export Record'), $this);?>
</a>
        <ul class="menu offscreen" id="exportMenu">
        <?php $_from = $this->_tpl_vars['exportFormats']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['exportFormat']):
?>
          <li><a <?php if ($this->_tpl_vars['exportFormat'] == 'RefWorks'): ?>target="<?php echo $this->_tpl_vars['exportFormat']; ?>
Main" <?php endif; ?>href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
/Export?style=<?php echo ((is_array($_tmp=$this->_tpl_vars['exportFormat'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
"><?php echo translate(array('text' => 'Export to'), $this);?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['exportFormat'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></li>
        <?php endforeach; endif; unset($_from); ?>
        </ul>
      </li>
      <?php endif; ?>


      <?php if ($this->_tpl_vars['bookBag']): ?>
      <li><a id="recordCart" class="<?php if (in_array ( ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)) , $this->_tpl_vars['bookBagItems'] )): ?>bookbagDelete<?php else: ?>bookbagAdd<?php endif; ?> offscreen" href=""><?php echo translate(array('text' => 'Add to Selection List'), $this);?>
</a></li>
      <?php endif; ?>
    </ul>
    <?php if ($this->_tpl_vars['bookBag']): ?>
    <div class="cartSummary">
    <form method="post" name="addForm" action="<?php echo $this->_tpl_vars['url']; ?>
/Cart/Home">
      <input id="cartId" type="hidden" name="ids[]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
      <noscript>
        <?php if (in_array ( ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)) , $this->_tpl_vars['bookBagItems'] )): ?>
        <input id="cartId" type="hidden" name="ids[]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
        <input type="submit" class="button cart bookbagDelete" name="delete" value="<?php echo translate(array('text' => 'Remove from Selection List'), $this);?>
"/>
        <?php else: ?>
        <input type="submit" class="button bookbagAdd" name="add" value="<?php echo translate(array('text' => 'Add to Selection List'), $this);?>
"/>
        <?php endif; ?>
      </noscript>
    </form>
    </div>
    <?php endif; ?>
    <div class="clear"></div>
  </div>

  <div class="record recordId" id="record<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
">
    <?php if ($this->_tpl_vars['errorMsg'] || $this->_tpl_vars['infoMsg']): ?>
      <div class="messages">
      <?php if ($this->_tpl_vars['errorMsg']): ?><div class="error"><?php echo ((is_array($_tmp=$this->_tpl_vars['errorMsg'])) ? $this->_run_mod_handler('translate', true, $_tmp) : translate($_tmp)); ?>
</div><?php endif; ?>
      <?php if ($this->_tpl_vars['infoMsg']): ?><div class="info"><?php echo ((is_array($_tmp=$this->_tpl_vars['infoMsg'])) ? $this->_run_mod_handler('translate', true, $_tmp) : translate($_tmp)); ?>
</div><?php endif; ?>
      </div>
    <?php endif; ?>
    <?php if ($this->_tpl_vars['previousRecord'] || $this->_tpl_vars['nextRecord']): ?>
    <div class="resultscroller">
      <?php if ($this->_tpl_vars['previousRecord']): ?><a href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo $this->_tpl_vars['previousRecord']; ?>
">&laquo; <?php echo translate(array('text' => 'Prev'), $this);?>
</a><?php endif; ?>
      #<?php echo $this->_tpl_vars['currentRecordPosition']; ?>
 <?php echo translate(array('text' => 'of'), $this);?>
 <?php echo $this->_tpl_vars['resultTotal']; ?>

      <?php if ($this->_tpl_vars['nextRecord']): ?><a href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo $this->_tpl_vars['nextRecord']; ?>
"><?php echo translate(array('text' => 'Next'), $this);?>
 &raquo;</a><?php endif; ?>
    </div>
    <?php endif; ?>

    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['coreMetadata'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<p><a href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
/Details#tabnav"><?php echo translate(array('text' => 'View MARC Record'), $this);?>
</a></p>
  </div>

	
  <div class="recordsubcontent">
        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "Record/".($this->_tpl_vars['subTemplate']), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  </div>

    <span class="Z3988" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['openURL'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"></span>
</div>

<div class="span-5 <?php if ($this->_tpl_vars['sidebarOnLeft']): ?>pull-18 sidebarOnLeft<?php else: ?>last<?php endif; ?>">
  <div class="sidegroup">
    <h4><?php echo translate(array('text' => 'Similar Items'), $this);?>
</h4>
    <?php if (is_array ( $this->_tpl_vars['similarRecords'] )): ?>
    <ul class="similar">
      <?php $_from = $this->_tpl_vars['similarRecords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['similar']):
?>
      <li>
        <?php if (is_array ( $this->_tpl_vars['similar']['format'] )): ?>
        <span class="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['similar']['format'][0])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)))) ? $this->_run_mod_handler('regex_replace', true, $_tmp, "/[^a-z0-9]/", "") : smarty_modifier_regex_replace($_tmp, "/[^a-z0-9]/", "")); ?>
">
        <?php else: ?>
        <span class="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['similar']['format'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)))) ? $this->_run_mod_handler('regex_replace', true, $_tmp, "/[^a-z0-9]/", "") : smarty_modifier_regex_replace($_tmp, "/[^a-z0-9]/", "")); ?>
">
        <?php endif; ?>
          <a href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo ((is_array($_tmp=$this->_tpl_vars['similar']['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['similar']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a>
        </span>
        <?php if ($this->_tpl_vars['similar']['author']): ?><br/><?php echo translate(array('text' => 'By'), $this);?>
: <?php echo ((is_array($_tmp=$this->_tpl_vars['similar']['author'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php endif; ?>
        <?php if ($this->_tpl_vars['similar']['publishDate']): ?> <?php echo translate(array('text' => 'Published'), $this);?>
: (<?php echo ((is_array($_tmp=$this->_tpl_vars['similar']['publishDate']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
)<?php endif; ?>
      </li>
      <?php endforeach; endif; unset($_from); ?>
    </ul>
    <?php else: ?>
      <p><?php echo translate(array('text' => 'Cannot find similar records'), $this);?>
</p>
    <?php endif; ?>
  </div>

  <?php if (is_array ( $this->_tpl_vars['editions'] )): ?>
  <div class="sidegroup">
    <h4><?php echo translate(array('text' => 'Other Editions'), $this);?>
</h4>
    <ul class="similar">
      <?php $_from = $this->_tpl_vars['editions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['edition']):
?>
      <li>
        <?php if (is_array ( $this->_tpl_vars['edition']['format'] )): ?>
          <span class="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['edition']['format'][0])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)))) ? $this->_run_mod_handler('regex_replace', true, $_tmp, "/[^a-z0-9]/", "") : smarty_modifier_regex_replace($_tmp, "/[^a-z0-9]/", "")); ?>
">
        <?php else: ?>
          <span class="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['edition']['format'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)))) ? $this->_run_mod_handler('regex_replace', true, $_tmp, "/[^a-z0-9]/", "") : smarty_modifier_regex_replace($_tmp, "/[^a-z0-9]/", "")); ?>
">
        <?php endif; ?>
        <a href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo ((is_array($_tmp=$this->_tpl_vars['edition']['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['edition']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a>
        </span>
        <?php echo ((is_array($_tmp=$this->_tpl_vars['edition']['edition'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>

        <?php if ($this->_tpl_vars['edition']['publishDate']): ?>(<?php echo ((is_array($_tmp=$this->_tpl_vars['edition']['publishDate']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
)<?php endif; ?>
      </li>
      <?php endforeach; endif; unset($_from); ?>
    </ul>
  </div>
  <?php endif; ?>
</div>

<div class="clear"></div>