var IE6 = (navigator.userAgent.indexOf("MSIE 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: 9000
			})
			.appendTo("body");
		*/	
		
		 $("body")
			.css({
				'position': 'relative',
				'top': '0px',
				zIndex: 9000
			})
			.appendTo("body");
		
		
		$("<div><img src='/js/no-ie6.png' alt='' style='float: left; height: 100px'/><p style='color: #000 !important;'><br /><strong style='font-size:16px;'>Sorry! This page doesn't support Internet Explorer 6.</strong><br /><br />Internet Explorer 6 was released in 2001 and is light-years old. It can contain exploits and malious code without you knowing.<br />If you'd like to read our content please <a href='http://getfirefox.org'>upgrade your browser</a> to use Firefox or update Internet Explorer to version 7 or 8, Or consult your system admin.<br />You may continue to use Internet Explorer 6 but this message will be constantly active until you upgrade.</p><style type='text/css'>body {padding-top: 100px;}</style>")
			.css({
				backgroundColor: 'white',
				'top': '0',
				'left': '0',
				marginLeft: 0,
				marginTop: 0,
				width: '100%',
				paddingRight: 10,
				height: 100,
				'position': 'absolute',
				zIndex: 9500
			})
			.appendTo("body");
	});		
}
