var IE6 = (navigator.userAgent.indexOf("MSIE 6")>=0) ? true : false;
if(IE6){
	$(function(){
		$("<div>")
			.css({
				'position': 'absolute',
				'top': '0px',
				'left': '0px',
				backgroundColor: 'black',
				'opacity': '1',
				'width': '100%',
				'height': $(window).height(),
				zIndex: 9990
			})
			.appendTo("body");
		$("<div><img src='js/ieblocker/no-ie6.png' alt='' style='float: left;'/><p class='sorry'><br /><br /><strong>Why are you using a damned ancient and buggy browser like IE 6 ??</strong><br /><br />If you'd like to see my works please <a href='http://getfirefox.org'>upgrade your browser.</a> <br><br>Andrea Lai</p>")
			.css({
				backgroundColor: 'white',
				'top': '50%',
				'left': '50%',
				marginLeft: -210,
				marginTop: -100,
				width: 410,
				paddingRight: 10,
				height: 200,
				'position': 'absolute',
				zIndex: 9999
			})
			.appendTo("body");
		$("#container").detach();
	});		
}
