// default

//
$.postJSON = function (url, data, callback) {
	$.post(url, data, callback, 'json');
};

$(function(){
	
	ingeniousOver($('.sponsor>a>img'), 'sfhover');
	ingeniousOver($('.largeButton>a>img'), 'sfhover');
	ingeniousOver($('#menu>ul>li'), 'menuhover');
	ingeniousOver($('#menu>ul>li'), 'flyout');	
	
});

function ingeniousOver(obj, cssClass){
	obj.each(function(){
		$(this).mouseover(function(){ $(this).addClass(cssClass); });
		$(this).mouseout(function(){ $(this).removeClass(cssClass); });
	});
}