<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>\r
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>\r
</head>\r
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>\r
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>\r
</head>\r