<div id="supersized" style="position: fixed; top:0; left:0; width: 100%; height: 100%; border:0; margin:0; padding:0; z-index:0">
<?php if ($page=='location.php' AND $map!='') { ?>
<?php echo $map ?>
<?php }else{?>
<img src="<?php echo $photopath ?><?php echo $pid ?>.jpg" width="100%" height="100%" alt="">
<?php } ?>
</div>