// social media mouseover stuff

					
$(document).ready(function() {

	jQuery.preloadImages = function()
	{
		for(var i = 0; i<arguments.length; i++)
		{
			jQuery("<img>").attr("src", arguments[i]);
		}
	}
						   
	$.preloadImages("images/twitter_over.png",
					"images/linked-in_over.png",
					"images/facebook_over.png");
	
	$(".footer img").hover(function() {
		this.src = this.src.replace("_up","_over");
	}, function() {
		this.src = this.src.replace("_over","_up");
	});
	
	if (jQuery.browser.msie && parseInt(jQuery.browser.version, 10) < 7 && parseInt(jQuery.browser.version, 10) > 4) {
		$('img').each(function() {
			if ($(this).attr('src').match("png$"))
			{
				$(this).css('filter',"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + $(this).attr('src') + "', sizingMethod='scale')");
				$(this).attr('src','images/blank.gif');
			};
		});
	};
	
});


