    $.fn.hasEvent = function(A, F, E) {
        var L = 0;
        var T = typeof A;
        var V = false;
        E = E ? E : this;
        A = (T == 'string') ? $.trim(A) : A;
        if(T == 'function') F = A, A = null;
        if(F == E) delete(F);
        var S = E.data('events');
        for (e in S) if (S.hasOwnProperty(e)) L++;
        if(L < 1) return V = false;
        if(A && !F) {
            return V = S.hasOwnProperty(A);
        } else
        if(A && S.hasOwnProperty(A) && F) {
            $.each(S[A], function(i, r) {
                if(V == false && r.handler == F) V = true;
            });
            return V;
        } else
        if(!A && F) {
            $.each(S, function(i, s) {
                if(V == false) {$.each(s, function(k, r) {
                    if(V == false && r.handler == F) V = true;
                });}
            });
        }
        return V;
    }
    $.extend($, {hasEvent: $.fn.hasEvent});

jQuery(document).ready(function(){
	hide_status_bar();
});

function hide_status_bar(){	
	jQuery("a[href]").each(function(){
		var rel = jQuery(this).prop('rel');
		if ((!rel.match(/^shadowbox/i)) && (!rel.match(/^lightbox/i)) && (!rel.match(/^prettyphoto/i)) ) { 
			var hr = jQuery(this).attr('href');
			var h = hr.replace(' ','');
			h=h.toLowerCase();
			switch(h){
				case 'javascript:void(0);':
				case 'javascript:void(0)':
					jQuery(this).removeAttr('href');
					jQuery(this).css('cursor','pointer');
					break;
				default:
					// as a onclick?
					if (jQuery(this).hasEvent('click')){
					
					} else {
						jQuery(this).removeAttr('href');
						jQuery(this).css('cursor','pointer');
						jQuery(this).click(function(){
							var target = jQuery(this).attr('target');
							switch(target){
								case '_self':
									self.location.href = hr;
									break;
								case '_blank':
									window.open(hr, '_blank');
									break;
								case '_top':
									top.location.href = hr;
									break;
								case '_parent':
									parent.location.href = hr;
									break;
								default:
									location.href = hr;
									break;
							}
						});
					}
					break;
			}
		}
	});
};
