// JavaScript Document
jQuery.noConflict();
(function($) {	
		  
function mainmenu(){
$(" #nav ul ").css({display: "none"}); // Opera Fix
$(" #nav li").hover(function(){
		$(this).find('ul:first').css({visibility: "visible",display: "none"}).show(600);
		},function(){
		$(this).find('ul:first').css({visibility: "hidden"});
		});
}

function imagemenu()
{
	  $("img#home")
        .mouseover(function() { 
            $(this).attr("src", "image/homeover.jpg");
        })
        .mouseout(function() {
            $(this).attr("src", "image/home.jpg");
        });
		
		 $("img#angkasa")
        .mouseover(function() { 
            $(this).attr("src", "image/angkasaover.jpg");
        })
        .mouseout(function() {
            $(this).attr("src", "image/angkasa.jpg");
        });
		
		 $("img#promotions")
        .mouseover(function() { 
            $(this).attr("src", "image/promotionsover.jpg");
        })
        .mouseout(function() {
            $(this).attr("src", "image/promotions.jpg");
        });
		
		 $("img#reservation")
        .mouseover(function() { 
            $(this).attr("src", "image/reservationover.jpg");
        })
        .mouseout(function() {
            $(this).attr("src", "image/reservation.jpg");
        });
		
		 $("img#gallery")
        .mouseover(function() { 
            $(this).attr("src", "image/galleryover.jpg");
        })
        .mouseout(function() {
            $(this).attr("src", "image/gallery.jpg");
        });
		
		 $("img#contact")
        .mouseover(function() { 
            $(this).attr("src", "image/contactover.jpg");
        })
        .mouseout(function() {
            $(this).attr("src", "image/contact.jpg");
        });

}

 
 $(document).ready(function(){					
	mainmenu();
	imagemenu();
});
 
})(jQuery);
