$(document).ready(function() {
   // -- Menu popouts (top menu)
    $('.homeMenu > ul > li').hover(
        function() {
            $(this).find('ul').stop()
                .css({
                    display: 'block',
                    opacity: 0,
                    top: "10px",
                    left: "0px"
                })
                .animate({
                    opacity: 1,
                    top: "31px",
                    left: "0px"
                }, 200);    
        }, function() {
            $(this).find('ul')
                .stop().css({
                    display: 'none',
                    opacity: 0,
                    top: "-999em"
                });
        });

    $('.homeMenu1 > ul > li').hover(
        function() {
            $(this).find('ul').stop()
                .css({
                    display: 'block',
                    opacity: 0,
                    top: "-10px",
                    left: "295px"
                })
                .animate({
                    opacity: 1,
                    top: "0px",
                    left: "295px"
                }, 200);    
        }, function() {
            $(this).find('ul')
                .stop().css({
                    display: 'none',
                    opacity: 0,
                    top: "-999em"
                });
        });

	$('.homeMenu2 > ul > li').hover(
        function() {
            $(this).find('ul').stop()
                .css({
                    display: 'block',
					position: 'absolute',
                    opacity: 0,
                    top: "-30px",
                    left: "0px"
                })
                .animate({
                    opacity: 1,
                    top: "-11px",
                    left: "0px"
                }, 200);    
        }, function() {
            $(this).find('ul')
                .stop().css({
                    display: 'none',
                    opacity: 0,
                    top: "-999em"
                });
        });
});
