
jQuery(document).ready(function($){
/**
 * Disabled this functionality due to colorbox compatibility problem
 * for external links, open in new window
  $('a[href^=http]').click( function() {
    window.open(this.href);
    return false;	    
  });
 *
 */
}); 
;
jQuery(document).ready(function(){

	jQuery(".sf-menu li li").fadeTo(300, 0.9);

});

// IE fix for Jquery animation
jQuery.fn.fadeIn = function(speed, callback) {
     return this.animate({
          opacity: 'show' }, speed, function() {
               if (jQuery.browser.msie)
                    this.style.removeAttribute('filter');
               if (typeof callback == 'function')
                    callback();
     });
};

jQuery.fn.fadeOut = function(speed, callback) {
     return this.animate({
           opacity: 'hide' }, speed, function() {
               if (jQuery.browser.msie)
                    this.style.removeAttribute('filter');
               if (typeof callback == 'function') callback();
     });
};

jQuery.fn.fadeTo = function(speed,to,callback) {
     return this.animate({opacity: to }, speed, function() {
          if (to == 1 && jQuery.browser.msie)
               this.style.removeAttribute('filter');
          if (typeof callback == 'function') callback();
     });
}; ;

