You need to wrap your code in document ready, because your image has to be loaded onto the page before the events get to register. $(function(){})
like this:
$(function(){
$("#image").rotate({
bind:
{
mouseover : function() {
$(this).rotate({animateTo:180})
},
mouseout : function() {
$(this).rotate({animateTo:0})
}
}
});
});