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 style='padding:15px;'><p style='margin-bottom:15px;font-weight:bold;font-size:16px;line-height:20px;'>We're sorry, but Internet Explorer 6<br/>can't handle A Better Opinion!</p><p style='margin-bottom:5px;'>Please <a href='http://www.microsoft.com/windows/internet-explorer/default.aspx'>click here</a> to upgrade to Internet Explorer 8 for free:</p><p>You can also use Mozilla's Firefox, which is <a href='http://www.mozilla.com/firefox'>available here</a> for free.</p>")
			.css({
				backgroundColor: 'white',
				'top': '50%',
				'left': '50%',
				marginLeft: -210,
				marginTop: -100,
				width: 410,
				paddingRight: 10,
				height: 200,
				'position': 'absolute',
				zIndex: 6000
			})
			.appendTo("body");
	});		
}