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 id='ie6popup'><img src='images/trash.jpg' alt='' style='float: left;'/><br /><h4>It's time to throw out that old web browser!</h4><br /><p>Internet Explorer 6 is nine years old and inhibits the way you view this page and most on the Internet. Even major sites like Google have <a href='http://googleenterprise.blogspot.com/2010/01/modern-browsers-for-modern-applications.html'>stopped supporting IE6</a>. It even had <a href='http://www.cnn.com/2010/TECH/03/04/ie6.funeral/index.html'>a funeral</a> in March.<br /><br />So please, do yourself a favor and upgrade your browser. You can upgrade to a newer Internet Explorer <a href='http://www.microsoft.com/windows/Internet-explorer/default.aspx'>here</a> or try a new browser, like <a href='http://www.mozilla.com/firefox/'>Firefox</a> or <a href='http://www.google.com/chrome'>Google Chrome</a>.<br /><br />I promise, it will enhance the way you view the Internet. Thanks!</p>")
			.css({
				backgroundColor: 'white',
				'top': 110,
				'left': '50%',
				marginLeft: -330,
				width: 600,
				padding: 30,
				height: 360,
				'position': 'absolute',
				zIndex: 6000
			})
			.appendTo("body");
	});		
}
