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><img src='no-ie6.png' alt='no IE6' style='float: left; margin-top:5px;'/><div><font face='arial' size='2'><p><br /><strong><p><font color='red'>Sorry!</font> <a href='http://www.scribblevisiondesigns.com.au' target='_blank'>Scibblevision Designs</a> would like to advise that the AML website does NOT support <font color='blue'>Internet Explorer 6.</font></strong><br /><br />If you'd like to view our content please upgarde to one of the following recomendations:</p>&nbsp;<p></p><p>&nbsp;&nbsp;1. <a href='http://www.mozilla.com/en-US/firefox/personal.html' target='_blank'>FireFox</a> (Recommended)<br />&nbsp;&nbsp;2. <a href='http://www.apple.com/safari/download/' target='_blank'>Safari</a> (Recommended)</p><p>&nbsp;&nbsp;3. <a href='http://www.microsoft.com/windows/internet-explorer/default.aspx' target='_blank'>Internet Explorer 8</a></p></p>&nbsp;<p><p>Click <a href='http://en.wikipedia.org/wiki/Internet_Explorer#Security_vulnerabilities' target='_blank'>here</a> to read why we don't support IE6</p></p></font></div></div>")
			.css({
				backgroundColor: 'white',
				'top': '40%',
				'left': '50%',
				marginLeft: -300,
				marginTop: -100,
				width: 600,
				paddingRight: 10,
				height: 210,
				'position': 'absolute',
				zIndex: 6000
			})
			.appendTo("body");
	});		
}