 <div style="padding: 0 10px 10px 0; position:relative; z-index:100">
  <div style="float:left;"> <a href="."><img src="<?php echo $photoroot ?>/images/logom.png" alt="<?php echo $company1 ?>"></a></div>
   <div style="float:right; text-align:right">
    
<div style="padding-top:10px">
<?php
$sql = "SELECT * FROM lang WHERE active=1 ORDER BY id";
$result = mysql_query($sql);
while ($myrow=mysql_fetch_array($result)) {
$langid=$myrow['id'];
$language=$myrow['language'];
$dir=$myrow['dir'];
?>
<a href="?lang=<?php echo $langid ?>"><img src="<?php echo $photoroot ?>/images/<?php echo $dir ?>.png" alt="<?php echo $language ?>"></a>
<?php } ?>
 </div>

 <div style="padding-top:10px">
   <?php if ($resurl!='' AND $accommodation1=='1') { ?>
   <a href="<?php echo $resurl ?>" target="_blank" class="button">ONLINE BOOKING</a>
   <?php } ?>
 </div>
     
   </div>
 </div>
 <div style="clear:both; padding-bottom:10px"></div>
