$(function(){
    
	if(isIE6()) {
		
		$('body').addClass('IE6');
		$('#Container').fixPNGs();
		
	}
	
	/*
	$('#NavBar li.MainElement').ie6hover();
	$('#NavBar li.MainElement').extHover('body');
	*/
    
});

$.fn.fixPNGs = function() {
	
	// Supersleight plugin
	$(this).supersleight({
		'shim': "/img/blank.gif"
	});
	
}

/* 
 * http://gregwolejko.com/ie-detection-in-javascript/
 *	Author: Greg Wolejko
 *
 *	"Method that I proposed is based only on the version of JavaScript implemented in particular browser 
 *	and that won't change."
*/

function isIE6(){ return $.browser.msie && $.browser.version=="6.0"; }

