<script>
    var newcurr = '<?=$newcurr?>',
        baseurl ='<?=$baseurl?>',
        nexturl = '<?=$nexturl?>',
        newcurr ='<?=$newcurr?>',
        prevurl = '<?=$prevurl?>';
</script>


<?include ('blocks/pgtextnav.phtml')?>
<div>
<?=$pagehtml?>
</div>
<?include ('blocks/pgtextnav.phtml')?>
   