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

	$(function(){
		
		$("<div>")
			.css({
				'position': 'absolute',
				'top': '0px',
				'left': '0px',
				backgroundColor: 'black',
				'opacity': '0.85',
				'width': '100%',
				'height': $(window).height(),
				zIndex: 5000

			})
			.appendTo("body");
			
		$("<div><!--<img src='/_web/_shared/ie7-blocker/no-ie6.png' alt='' style='float: left;'/>--><p><strong>Internet Explorer Conflict</strong><br />To get the best possible experience using our website we recommend that you  <a href='http://windows.microsoft.com/en-US/internet-explorer/downloads/ie'>upgrade to a newer version</a> or use a different web browser. A list of the most popular web browsers can be found below.</p> <p>Internet Explorer 8+<br />FireFox <em>- any version</em><br />Safari <em>- any version</em><br />Chrome <em>- any version</em><br />Opera <em>- any version</em>.</p><p>If you are using IE8 or IE9 and experiencing difficulties, please be sure that you have your compatibility mode turned off. Click the icon indicated in the screen shot below.</p><p><img src='/_web/_shared/ie7-blocker/compatibility-mode-button.gif'/></p>")
			.css({
				backgroundColor: 'white',
				'top': '30%',
				'left': '30%',
				marginLeft: -210,
				marginTop: -100,
				width: 940,
				padding: 30,
				height: 400,
				'position': 'absolute',
				zIndex: 6000
			})
			.appendTo("body");
	});		
}
