function loadFlash(DivID, path, width, height, autostart, transparent) {
	var CLSID = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
	var ih = ''
	ih = '<object id="obj' + DivID + '" classid="' + CLSID + '" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' + width + '" height="' + height +'">'
	ih += '<param name="movie" value="' + path + '">'
	ih += '<param name="autoStart" value="' + autostart + '">'
	ih += '<param name="quality" value="high">'
	ih += '<param name="Play" value="1">'
	if (transparent) {
		ih += '<param name="wmode" value="transparent">'
	}
	
	ih += '<EMBED id="emb' + DivID + '" src="' + path + '" quality=high WIDTH="' + width + '" HEIGHT="' + height + '"'
	if (transparent) {
		ih += ' wmode="transparent"'
	}
	ih += ' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>'
	ih += '</object>'
	document.getElementById(DivID).innerHTML = ih
}

function getFlashObj(DivID) {
	if (navigator.appName.indexOf("Microsoft Internet") == -1) {
		if (document.embeds && document.getElementById('emb' + DivID)) {
			return document.getElementById('emb' + DivID);
		}
	} else {
		return document.getElementById('obj' + DivID);
	}
}
