jQuery.browser.version = jQuery.browser.msie && /msie 7\.0/i.test(navigator.userAgent) ? "7.0" :
        jQuery.browser.version;

//		navigator.userAgent.indexOf("MSIE 6")
var IE6 = (jQuery.browser.version == 6.0) ? true : false;
if(IE6){

	$(function(){
		
		$("<div>")
			.css({
				'position': 'absolute',
				'top': '0px',
				'left': '0px',
				backgroundColor: 'black',
				'opacity': '0.75',
				'width': '100%',
				'height': $(window).height(),
				zIndex: 5000
			})
			.appendTo("body");

			$("<div><p><br /><strong>Sorry! This page doesn't support Internet Explorer 6.</strong><br /><br />If you'd like to read our content please <a href='http://www.microsoft.com/windows/internet-explorer/worldwide-sites.aspx'>upgrade your browser</a></a>.</p>")
			.css({
				backgroundColor: 'white',
				'top': '50%',
				'left': '50%',
				marginLeft: -210,
				marginTop: -100,
				width: 410,
				paddingRight: 10,
				height: 200,
				'position': 'absolute',
				zIndex: 6000
			})
			.appendTo("body");
	});		
}