$(document).ready(
	function ()	{
		if ($.browser.msie) _fixPNG();
		
//		$("a.box").wrap("<div id='boxLinkOuter'><div id='boxLinkMiddle'><div id='boxLinkInner'></div></div></div>");
		


		
		$('#partners a img').hover(
			function() {
				$src = $(this).attr('src').replace('-off.gif','.gif');
				$(this).attr('src',$src);
			},
			function() {
				$src = $(this).attr('src').replace('.gif','-off.gif');
				$(this).attr('src',$src);
			}
		);


		
		$('img.imgLink').hover(
			function() {
				$("span.linkText").append($(this).attr("title"));
			},
			function() {
				$("span.linkText").empty().append("&nbsp;");
			}
		);
		
/*		$flsh = $('#splash_flash div div').text();
		$('#splash_flash div div').text('');
		
		$('#splash_flash div div').flash(
			{ src: $flsh, width: 960, height: 284 },
			{ update: false }
		);

		$('div.slow').innerfade({
			speed: 'slow',
			timeout: 3200,
			type: 'random',
			containerheight: '80px'
		});

		$('div.fast').innerfade({
			speed: 'slow',
			timeout: 2100,
			type: 'random',
			containerheight: '80px'
		});
*/	
	}
);

function _fixPNG() {
	var images = $('img[@src*="png"]'), png;
	images.each(
		function() {
			png = this.src;
			this.src = '/media/images/1x1.gif';
			this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + png + "')";
		}
	);
}

