// Requires the cross-browser sniffer.

function CrossPlatformFlash (_URL, _Width, _Height, _Version, _Transparent)
{
	if (!_Version) _Version =  "5,0,0,0";

	// 6,0,67,0
	if (is.ie4up)
	{
		document.write
		(
			"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'" +
            "codebase ='https://download.macromedia.com/pub/shockwave/" +
            "cabs/flash/swflash.cab#version=" + _Version + 
            "' width='" + _Width + 
            "' height='" + _Height + 
            "'>" +
				"<param name='movie' value='" + _URL + "'>" +
				"<param name='quality' value='high'>" +
				((_Transparent == true) ? "<param name='wmode' value='transparent'>" : "") +
			"<\/object>"
		);
	} else {
		document.write
		(
			"<object type='application/x-shockwave-flash' data='" + _URL + "' width='" + _Width + "' height='" + _Height + "'>" +
			"<param name='quality' value='high'>" +
			((_Transparent == true) ? "<param name='wmode' value='transparent'>" : "") +
			"<\/object>"
		);
	}
}
