//----------------------------------------------------------------------------------
// Author: Richard Chong
//----------------------------------------------------------------------------------


	// JavaScript Document
	var swf_path = "images/swf_display.swf";
	var swf_width = "700";
	var swf_height = "330";
	var embedswf = "";
	var swf_id = swf_path.substring(0, (swf_path.length-4));
	embedswf += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
	embedswf += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"';
	embedswf += 'width="'+swf_width+'" height="'+swf_height+'" id="'+swf_id+'" align="middle">';
	embedswf += '<param name="allowScriptAccess" value="sameDomain" />';
	embedswf += '<param name="movie" value="'+swf_path+'" />';
	embedswf += '<param name="quality" value="high" />';
	embedswf += '<param name="wmode" value="transparent" />';
	embedswf += '<param name="bgcolor" value="#000000" />';
	embedswf += '<embed src="'+swf_path+'"';
	embedswf += 'quality="high"';
	embedswf += 'wmode="transparent"';
	embedswf += 'bgcolor="#000000"';
	embedswf += 'width="'+swf_width+'"';
	embedswf += 'height="'+swf_height+'"';
	embedswf += 'name="'+swf_id+'"';
	embedswf += 'align="middle"';
	embedswf += 'allowscriptaccess="sameDomain"';
	embedswf += 'type="application/x-shockwave-flash"';
	embedswf += 'pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	embedswf += '</object>';
	//Now output the Flash embedding
	document.write(embedswf);