// Should someone else actually look at this code: Yes, I know document.write is fugly beyond belief, but currently I'm doing this on a dozen or so websites, so deal.
// -Paul W Sweeney esq. Year of our Lord 2006 AD.
// 
// "As it was in the beginning, as it is, and ever shall be, IE sucks without end."
function ie6_flashfix(path, width, height, trans) {	
	if(trans==1) {
		var transparent= ['	<param name="wmode" value="transparent">','wmode="transparent"'];
	}
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + width + '" height="' + height + '">');
	document.write('	<param name="movie" value="' + path + '">');
	document.write('	<param name="quality" value="high">');
	if (trans) document.write(transparent[0]);
	document.write('	<embed src="' + path + '" ');
	if (trans) document.write(transparent[1]); 
	document.write(' quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
	document.write("</object>");
}