if(isIe())
{
	if(getIeVersion()<=6)
	{
		var div, text, iframe;
		div=document.createElement("div");
		div.style.position="absolute";
		div.style.pixelTop=5;
		div.style.pixelLeft=5;
		div.style.pixelWidth=document.body.clientWidth - 15;
		div.style.pixelHeight=document.body.clientHeight - 15;
		div.style.zIndex=9;
		div.style.border="10 solid rgb(255,255,255)";
		div.style.backgroundColor="rgb(100,0,0)";
		div.style.color="rgb(255,255,255)";
		text=document.createElement("div");
		text.style.border="10 solid rgb(255,255,255)";
		text.style.textAlign="center";
		text.appendChild(document.createTextNode("You are using an old, out of date, crappy version of Internet Explorer."));
		text.appendChild(document.createElement("br"));
		text.appendChild(document.createTextNode("I refuse to support such a piece."));
		text.appendChild(document.createElement("br"));
		text.appendChild(document.createTextNode("You HAVE to upgrade to a browser made this decade!"));
		text.style.position="absolute";
		div.appendChild(text);

		iframe=document.createElement("iframe");
		iframe.src="http://ie6countdown.com/";
		iframe.style.width="100%";
		iframe.style.pixelHeight=250;
		text.appendChild(iframe);

		document.body.insertBefore(div,document.body.firstChild);

		text.style.pixelLeft=div.clientWidth/2 - text.clientWidth/2;
		text.style.pixelTop=div.clientHeight/2 - text.clientHeight/2;
	}
}

function isIe()
{
	var ua=window.navigator.userAgent;
	return ua.indexOf("MSIE")>0;
}

function getIeVersion()
{
	var ua=window.navigator.userAgent;
	ua=ua.substr(ua.indexOf("MSIE"),ua.length);
	ua=ua.substr(5, ua.indexOf(";")-5);
	return parseFloat(ua);
}

// <!--[if lt IE 7]> <div style=' clear: both; height: 59px; padding:0 0 0 15px; position: relative;'> <a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://www.ie6countdown.com/images/upgrade.jpg" border="0" height="42" width="820" alt="" /></a></div> <![endif]--> 
