 <div style="position:absolute; top:150px; left:27px; width:145px; z-index:10">
 
  <ul id="navimenu" class="dropdownmenu">
  
  <li><a href="." <?php if ($page == 'index.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagehome ?></a> </li> 
  <li> <a href="location.php" <?php if ($page == 'location.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagelocation ?></a> </li> 
       
  <li> 
  <a href="accommodation.php" rel="menu1r" <?php if ($page == 'accommodation.php' OR $page == 'room.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pageaccommodation ?></a>  

<div id="menu1r" class="menu dropdownbox">
 <?php 
	$sql16 = "SELECT * FROM rooms WHERE publish='yes' AND publisha='yes' ORDER BY priority";
	$result16 = mysql_query($sql16);
	while ($myrow=mysql_fetch_array($result16)) {
	$roomid=$myrow['id'];
	$room=$myrow['name'];
	$room_en=$myrow['name_en'];
	$room_de=$myrow['name_de'];
	$room_fr=$myrow['name_fr'];
    $room_it=$myrow['name_it'];
    $room_es=$myrow['name_es'];
    $room_ru=$myrow['name_ru'];
?>
<?php include 'includes/lang.php';?>
<div class="divlinks"><a href="room.php?rid=<?php echo $roomid ?>" class="navilinks"><?php echo $room ?></a> </div>
<?php } ?> 
 </div>

</li>
        
  <li><a href="facilities.php" <?php if ($page == 'facilities.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagefacilities ?></a> </li> 
        
          <li><a href="contact.php" <?php if ($page == 'contact.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagecontact ?></a> </li>
          
   </ul>
   </div>   
       
       
<div style="position:absolute; top:18px; right:18px; width:180px; z-index:10">
<ul id="navimenu" class="dropdownmenu">
            
			<?php if ($resurl!='') { ?>
        <li><a href="<?php echo $resurl ?>" class="navigationr">/<?php echo $textbutton2 ?></a> </li> 
        <?php } ?>
           
     
        <li><a href="gallery.php" <?php if ($page == 'gallery.php') { ?>class="navactiver"<?php } else {?>class="navigationr"<?php } php?>><?php echo $pagephotos ?></a> </li> 
            <?php 
			$sql20 = "SELECT * FROM panoramas";
			$result20 = mysql_query($sql20);
			$nu_row20 = mysql_num_rows($result20);
?>

        <?php if  ($nu_row20>0) {?>
        <li><a href="#dialog" name="modal" class="navigationr"><?php echo $pagepan ?></a> </li> 
     <?php } ?>  
   
 <?php 
			$sql27 = "SELECT * FROM prices";
			$result27 = mysql_query($sql27);
			$nu_row27 = mysql_num_rows($result27);
            $sql28 = "SELECT * FROM terms WHERE publish='yes'";
			$result28 = mysql_query($sql28);
			$nu_row28 = mysql_num_rows($result28);
?>

        <?php 
	if  ($nu_row27+$nu_row28>0) {
	?> 
      <li><a href="rates.php" <?php if ($page == 'rates.php') { ?>class="navactiver"<?php } else {?>class="navigationr"<?php } php?>><?php echo $pageterms ?></a></li>
     <?php } ?>  
       
            <?php 
			$sql23 = "SELECT * FROM specials WHERE publish='yes'";
			$result23 = mysql_query($sql23);
			$nu_row23 = mysql_num_rows($result23);
?>
        <?php if  ($nu_row23>0) {?>
        <li><a href="specials.php" <?php if ($page == 'specials.php') { ?>class="navactiver"<?php } else {?>class="navigationr"<?php } php?>><?php echo $pagespecials ?></a> </li>  
        <?php } ?>
        
    <?php if  ($guestbook1=='1') { ?>
     <li><a href="guestbook.php" <?php if ($page == 'guestbook.php') { ?>class="navactiver"<?php } else {?>class="navigationr"<?php } php?>><?php echo $pagereviews ?></a> </li> 
     <?php } ?>
     
       <li><a href="links.php" <?php if ($page == 'links.php') { ?>class="navactiver"<?php } else {?>class="navigationr"<?php } php?>><?php echo $pagelinks ?></a> </li>
        
         <script language="JavaScript">
function WinOpen1() {
open("http://www.olympicvillas.com/webcam/index.php","Window1","width=660,height=520"); 
}</script>
       <li><a href="#" onClick="WinOpen1()" class="navigationr">LIVE WEB CAM</a> </li> 
     <!--info -->
 <?php 
			$sql30 = "SELECT * FROM infocategories WHERE level='1' AND publish='yes' ORDER BY priority";
			$result30 = mysql_query($sql30);
			while ($myrow=mysql_fetch_array($result30)) {
			$catid1=$myrow['id'];
			$category1=$myrow['category'];
	        $category1_en=$myrow['category_en'];
	        $category1_de=$myrow['category_de'];
	        $category1_fr=$myrow['category_fr'];
            $category1_it=$myrow['category_it'];
            $category1_es=$myrow['category_es'];
            $category1_ru=$myrow['category_ru'];
?>
<?php include 'includes/lang.php';?> 

             <?php 
			$sql31 = "SELECT * FROM infocategories WHERE parent='$catid1' AND publish='yes'";
			$result31 = mysql_query($sql31);
			$nu_row31 = mysql_num_rows($result31);
?>
        <?php if  ($nu_row31>0) {?>
        
        <!--subcategories -->
<li>
<a href="#" rel="menu<?php echo $catid1 ?>" <?php if ($catid == $catid1 OR $parent == $catid1 AND $page == 'info.php') { ?>class="navactiver"<?php } else {?>class="navigationr"<?php } php?>><?php echo $category1 ?></a> 

<div id="menu<?php echo $catid1 ?>" class="menu dropdownbox">
 <?php 
	$sql32 = "SELECT * FROM infocategories WHERE parent='$catid1' AND publish='yes' ORDER BY priority";
	$result32 = mysql_query($sql32);
	while ($myrow=mysql_fetch_array($result32)) {
	$catids=$myrow['id'];
	$category=$myrow['category'];
	$category_en=$myrow['category_en'];
	$category_de=$myrow['category_de'];
	$category_fr=$myrow['category_fr'];
    $category_it=$myrow['category_it'];
    $category_es=$myrow['category_es'];
    $category_ru=$myrow['category_ru'];
	$parent=$myrow['parent'];
?>
<?php include 'includes/lang.php';?>
<div class="divlinks"><a href="info.php?catid=<?php echo $catids ?>" class="navilinks"><?php echo $category ?></a></div>
 <?php } ?> 
 </div>
 
 </li> 
<!--end -->  
        
        <?php }else{?>
        
<li>
        <?php if ($catid == $catid1 AND $page == 'info.php') { ?>
        <a href="info.php?catid=<?php echo $catid1 ?>" class="navactiver"><?php echo $category1 ?></a> 
        <?php } else {?>
        <a href="info.php?catid=<?php echo $catid1 ?>" class="navigationr"><?php echo $category1 ?></a> 
        <?php } ?>
</li>
        
        <?php } ?>
		
     <?php } ?>  
     <!--end info -->

     </ul>
     </div>