/**
 * jQuery pdNav plugin (Praxisdienst Navigation)
 * Version 0.1  (31.03.2009)
 * @requires jQuery v1.1.4+
 *
 * Markup:
 *   <ul id="list">
 *     <li>
 *       <a href="[link]">linktext</a>
 *       <div class="dropdownBox">mycontent/div>
 *     </li>
 *   </ul>
 *
 * Usage: 
 *   $("#listitems").pdnav();
 */
(function($) {

  $.fn.pdnav = function(options) {

    var settings = {
         interval: 50,
         sensitivity: 4,
         over: show,
         timeout: 250,
         out: hide
    };
      
	function show(){
		$(this).addClass("hovering");
	}
	
	function hide(){
    	$(this).removeClass("hovering");
	}  
	
	$(this).hoverIntent(settings)
  
  };
  
})(jQuery);