var IE6 = (navigator.userAgent.indexOf("MSIE 6")>=0) ? true : false;
if(IE6){

	$(function(){
		
		$("<div>")
			.css({
				'position': 'absolute',
				'top': '0px',
				'left': '0px',
				backgroundColor: '#7085a4',
				'opacity': '0.8',
				'width': '100%',
				'height': '150%',
				zIndex: 2
			})
			.appendTo("body");
		$("<div><p>Sorry!</p><p>This site doesn't support Internet Explorer 6.</p><p>Principally because IE6 is an antiquated bug-ridden pile of junk dating from 2001 - any idea how long that is in 'internet years?' <br />As such, it offers little support for contemporary W3C 'web standards' guidelines or the advanced features which are supported in newer browsers, including IE8 - plus IE6 has serious security issues.<br />Even sites such as Google and YouTube are dropping support for IE6, as reported on the <a href='http://news.bbc.co.uk/1/hi/technology/8488751.stm'>BBC's News </a>website in January 2010. <br />If you'd like to view this site 'properly,' please upgrade your browser to something more modern such as <a href='http://getfirefox.org'>FireFox</a> or a newer version of <a href='http://www.microsoft.com/windows/internet-explorer/'>Internet Explorer</a> <br /></p>")
			.css({
				backgroundColor: '#fff',
				border: '15px solid #7085a4',
				'text-align': 'left',
				'font-weight': 'bold',
				'top': '10%',
				'left': '50%',
				marginLeft: -260,
				marginTop: -50,
				width: 520,
				padding: 30,
				'position': 'absolute',
				zIndex: 3
			})
			.appendTo("body");
	});		
}
