jQuery.fn.delay = function(time, callback){
    // Empty function:
    jQuery.fx.step.delay = function(){};
    // Return meaningless animation, (will be added to queue)
    return this.animate({delay:1}, time, callback);
}


// On Style

jQuery.fn.jpNavOn = (function() {

jQuery(this).css({color:"#000000"}).addClass("navOpen");
jQuery('a',this).css({color:"#000000"}).addClass("navOpen");

});

// Off Style

jQuery.fn.jpNavOff = (function() {


jQuery(this).css({color:"#696969"}).removeClass("navOpen");
jQuery('> a',this).css({color:"#696969"}).removeClass("navOpen");
});



// Roller Func


jQuery.fn.jpNavRoll = (function() {


jQuery(this).mouseover(function(){

jQuery(this).jpNavOn();
      
    }).mouseout(function(){
    
   jQuery(this).jpNavOff();
     
    });

});

jQuery.fn.jpNavRollOn = (function() {


jQuery(this).mouseover(function(){

jQuery(this).jpNavOn();
      
    }).mouseout(function(){
    
   jQuery(this).jpNavOn();

     
    });

});