   $(document).ready(function(){
               setTimeout("dropdown()", 1000);
});

$(function(){
$("#menu1 a").rotate({ 
   bind: 
     { 
        mouseover : function() { 
            $("#rocket1").rotate({angle:0, animateTo:180})
        },
        mouseout : function() { 
            $("#rocket1").rotate({angle:180, animateTo:360})
            
        }
     } 
   
});

$("#menu2 a").rotate({ 
   bind: 
     { 
        mouseover : function() { 
            $("#rocket2").rotate({angle:0, animateTo:180})
        },
        mouseout : function() { 
            $("#rocket2").rotate({angle:180, animateTo:360})
            
        }
     } 
   
});

$("#menu3 a").rotate({ 
   bind: 
     { 
        mouseover : function() { 
            $("#rocket3").rotate({angle:0, animateTo:180})
        },
        mouseout : function() { 
            $("#rocket3").rotate({angle:180, animateTo:360})
            
        }
     } 
   
});

$("#menu4 a").rotate({ 
   bind: 
     { 
        mouseover : function() { 
            $("#rocket4").rotate({angle:0, animateTo:180})
        },
        mouseout : function() { 
            $("#rocket4").rotate({angle:180, animateTo:360})
            
        }
     } 
   
});

$("#menu5 a").rotate({ 
   bind: 
     { 
        mouseover : function() { 
            $("#rocket5").rotate({angle:0, animateTo:180})
        },
        mouseout : function() { 
            $("#rocket5").rotate({angle:180, animateTo:360})
            
        }
     } 
   
});
});

//function animation(){

 //     $("#banner_wrapper").animate({backgroundPosition:"(50% 0px)"},{duration:500, easing:'easeOutQuad'});
//      setTimeout("dropdown()",1000);  
//}

function dropdown(){
$("#dropdown").animate({top: "+30px"},{queue: 1000, duration:500, easing:'easeOutSine'});
}


$(function() {
        $('#featured a').lightBox({fixedNavigation:true});
});

$(function(){
	$('.portfolio_image a').lightBox({fixedNavigation:true});
});

