function content_5501b99a242075_63080083($_smarty_tpl)
    {
        if (!is_callable('smarty_function_resizeImg')) {
            include '/home/heresthebiz/public_html/Modules/DOM/uber_src/server/Smarty-3.1.8/libs/plugins/function.resizeImg.php';
        }
        $_smarty_tpl->tpl_vars["cover_width"] = new Smarty_variable($_smarty_tpl->tpl_vars['total_width']->value * 0.3, null, 0);
        ?>
<div id = "book_v0">
	<div id = "cover">
        <?php 
        echo smarty_function_resizeImg(array('pad' => 20, 'align' => "c", 'parent_height' => $_smarty_tpl->tpl_vars['total_height']->value, 'parent_width' => $_smarty_tpl->tpl_vars['cover_width']->value, 'src' => $_smarty_tpl->tpl_vars['img_url']->value), $_smarty_tpl);
        ?>

    </div>
    <div id = "info">
        <div id = "descriptionBack"></div>
        <div class = "verdana" id = "description"> 
            <span id = "txt"> <?php 
        echo $_smarty_tpl->tpl_vars['description']->value;
        ?>
 </span>
        </div>
        <div id = "text">
            <span class = "verdana" id = "txt0"><?php 
        echo $_smarty_tpl->tpl_vars['title']->value;
        ?>
</span>
            <span class = "verdana" id = "txt1"><?php 
        echo $_smarty_tpl->tpl_vars['published']->value;
        ?>
</span>
        </div>
        <div id = "buttons">
            <!--<a href="" onclick="$('a.fancybox').eq(0).trigger('click'); return false;"><div class = "button" >Look Inside</div></a>-->
            <a href = "excerpt.php?book_id=<?php 
        echo $_smarty_tpl->tpl_vars['id']->value + 1;
        ?>
" ><div class = "button" >Excerpt</div></a>
           <a href = "reviews.php?book_id=<?php 
        echo $_smarty_tpl->tpl_vars['id']->value + 1;
        ?>
" ><div class = "button" >Reviews</div></a>
             <?php 
        if (count($_smarty_tpl->tpl_vars['buy_the_book_arr']->value) > 1) {
            ?>
                <div id = "buyBook">
                    <select onchange="location = this.options[this.selectedIndex].value;">
                        <option value="">--Buy--</option>
                        <?php 
            $_smarty_tpl->tpl_vars['foo'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['foo']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['buy_the_book_arr']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['foo']->key => $_smarty_tpl->tpl_vars['foo']->value) {
                $_smarty_tpl->tpl_vars['foo']->_loop = true;
                ?>
                            <option value="<?php 
                echo $_smarty_tpl->tpl_vars['foo']->value['url'];
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['foo']->value['vendor'];
                ?>
</option>
                        <?php 
            }
            ?>
                    </select>
                 </div>
             <?php 
        }
        ?>
    	</div>
    </div>
</div>
<?php 
    }
    function content_4ff31d31991c90_27356328($_smarty_tpl)
    {
        if (!is_callable('smarty_function_resizeImg')) {
            include '/Volumes/Data/wilmer/personal/Modules/DOM/uber_src/com/Smarty-3.1.8/libs/plugins/function.resizeImg.php';
        }
        $_smarty_tpl->tpl_vars["cover_width"] = new Smarty_variable($_smarty_tpl->tpl_vars['total_width']->value * 0.3, null, 0);
        ?>
<div id = "book_v0">
	<div id = "cover">
        <?php 
        echo smarty_function_resizeImg(array('pad' => 20, 'align' => "c", 'parent_height' => $_smarty_tpl->tpl_vars['total_height']->value, 'parent_width' => $_smarty_tpl->tpl_vars['cover_width']->value, 'src' => "global/images/cover.jpg"), $_smarty_tpl);
        ?>

    </div>
    <div id = "info">
        <div id = "descriptionBack"></div>
        <div class = "verdana" id = "description"> 
            <span id = "txt"> <?php 
        echo $_smarty_tpl->tpl_vars['description']->value;
        ?>
 </span>
        </div>
        <div id = "text">
            <span class = "verdana" id = "txt0"><?php 
        echo $_smarty_tpl->tpl_vars['title']->value;
        ?>
</span>
            <span class = "verdana" id = "txt1"><?php 
        echo $_smarty_tpl->tpl_vars['published']->value;
        ?>
</span>
        </div>
        <div id = "buttons">
    		<a href = "http://www.google.com" ><div class = "button" >Look Inside</div></a>
            <a href = "http://www.google.com" ><div class = "button" >Excerpt</div></a>
           <a href = "http://www.google.com" ><div class = "button" >Review</div></a>
             <?php 
        if (count($_smarty_tpl->tpl_vars['buy_the_book_arr']->value) > 1) {
            ?>
                <div id = "buyBook">
                    <select onchange="location = this.options[this.selectedIndex].value;">
                        <option value="">--Buy--</option>
                        <?php 
            $_smarty_tpl->tpl_vars['foo'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['foo']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['buy_the_book_arr']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['foo']->key => $_smarty_tpl->tpl_vars['foo']->value) {
                $_smarty_tpl->tpl_vars['foo']->_loop = true;
                ?>
                            <option value="<?php 
                echo $_smarty_tpl->tpl_vars['foo']->value['url'];
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['foo']->value['vendor'];
                ?>
</option>
                        <?php 
            }
            ?>
                    </select>
                 </div>
             <?php 
        }
        ?>
    	</div>
    </div>
</div>
<?php 
    }