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: 5000
			})
			.appendTo("body");
			
		$("<div><img src='http://www.sharppixeldesigns.com/ie_blocker/no-ie6.png' alt='' style='float: left;'/><p><br /><strong>Sorry! This site (and about 50% of the other sites online right now) does not support Internet Explorer 6.</strong><br /><br /><p><strong>Internet Explorer 6 is a security threat to people who actively browse the internet (not to mention it causes a lot of conflicts in coding). If you would like to surf the web worry-free, please download <a href='http://getfirefox.org'>Firefox.</a></strong><br /><br />If you'd like to see it, please <a href='http://getfirefox.org'>upgrade your browser.</a> If you are interested in my services, please <a href='mailto:michael@sharppixeldesigns.com'>email me</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");
	});		
}