(function($){  
  $.fn.cursor = function(options) {
    
    var defaults = {  
      over: "pointer",
      out: "default"
    };  
    var options = $.extend(defaults, options);  

    return this.each(function(){  
      $(this).hover(function(){
        switch(options.over){
          case "pointer": 
          case "hand":
            $(this).css("cursor", "pointer");
            $(this).css("cursor", "hand");
            break;
          default:
            $(this).css("cursor", options.over);
            break;
        }
      }, function(){
        switch(options.out){
          case "pointer":
          case "hand":
            $(this).css("cursor", "pointer");
            $(this).css("cursor", "hand");
            break;
          default:
            $(this).css("cursor", options.out);
            break;
        }
      });
    });
  };  
})(jQuery);