/*
Author: Chris West
Created: March 5, 2010
Required: JXtension 1.1 +
*/
(function()
{
	var code = '<style type="text/css">'
		+ '.fadingCornerHolder{font-size:0pt; height:6px; width:6px;}';
	var images = ["topLeft", "top", "topRight", "left", "right", "bottomLeft",
		"bottom", "bottomRight"];
	var PATH = "http://gotochriswest.com/images/borders/round_fade-";
	var ie6 = JX.browser == "Internet Explorer" && JX.browserVersion < 7;
	for(var i = 0; i < 8; i++)
	{
		code += ".fading" + images[i].toProperCase() + "{";
		if(images[i] != "left" && images[i] != "right")
			code += " height:6px;";
		if(images[i] != "top" && images[i] != "bottom")
			code += " width:6px;";
		if(ie6)
			code += "filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"
				+ PATH + images[i] + ".png', sizingMethod=scale);";
		else
			code += "background-image:url('" + PATH + images[i] + ".png');";
		code += "}";
	}
	code += '</style>';
	document.write(code);
})();