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

	$(function(){
		
		$("<div>")
			.css({
				'position': 'absolute',
				'top': '0px',
				'left': '0px',
				backgroundColor: 'black',
				'width': '100%',
				'height': $(window).height(),
				zIndex: 5000
			})
			.appendTo("body");
			
		$("<div><img src='images/build/no-ie6.png' alt='' style='float: left;'/><p><br /><strong>Sorry! This page doesn't support Internet Explorer 6.</strong><br /><br />If you'd like to see my site content please <a href='http://getfirefox.org'>upgrade your browser</a>. If you can't upgrade or change your browser because your I.T. department doesnt allow you to, contact them and let them know google is going to stop support for this browser and they will be swamped with calls anyway, so they might as well fix it now. If all else fails <a href='http://feeds.feedburner.com/rethinkingcode'>subscribe to my RSS feed</a>.</p>")
			.css({
				backgroundColor: 'white',
				'top': '50%',
				'left': '50%',
				marginLeft: -210,
				marginTop: -100,
				width: 430,
				paddingRight: 10,
				height: 220,
				'position': 'absolute',
				zIndex: 6000
			})
			.appendTo("body");
	});		
}