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': $(document).height(),
				zIndex: 5000
			})
			.appendTo("body");
			
		$("<div><img src='/storage/no-ie6.png' alt='' style='float: left;'/><p><br /><strong>Sorry! This page no longer supports Internet Explorer 6.</strong><br /><br />Very old browsers break this page. If youÕd like to read my content please either subscribe to my <a href='http://www.yellowswanphoto.com/journal/rss.xml'>PHOTO BLOG FEED</a> or <a href='http://www.yellowswanphoto.com/drinking-with-arok/rss.xml'>Drinking with Arok</a> (my blog about tasty cocktails) or <a href='http://firefox.com'>upgrade your browser.</a></p>")
			.css({
				backgroundColor: 'gray',
				'top': '50%',
				'left': '50%',
				marginLeft: -210,
				marginTop: -100,
				width: 410,
				paddingRight: 10,
				height: 200,
				'position': 'absolute',
				zIndex: 6000
			})
			.appendTo("body");
	});		
}

