
//Created by Jesse Yang on 4/24/2006, modified on 3/23/2009

function RunLoStart(xmlfile, flashfile)
{
	
	var str ='';
	
	str += '<OBJECT id="eCardTest" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="100%" width="100%" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>';
	str += '<PARAM NAME="_cx" VALUE="26220">';
	str += '<PARAM NAME="_cy" VALUE="13494">';
	str += '<PARAM NAME="FlashVars" VALUE="xmldoc='+ xmlfile +'">';
	str += '<PARAM NAME="Movie" VALUE="' + flashfile + '">';
	str += '<PARAM NAME="Src" VALUE="' + flashfile + '">';
	str += '<PARAM NAME="WMode" VALUE="Window">';
	str += '<PARAM NAME="Play" VALUE="-1">';
	str += '<PARAM NAME="Loop" VALUE="0">';
	str += '<PARAM NAME="Quality" VALUE="High">';
	str += '<PARAM NAME="SAlign" VALUE="">';
	str += '<PARAM NAME="Menu" VALUE="0">';
	str += '<PARAM NAME="Base" VALUE="">';
	str += '<PARAM NAME="AllowScriptAccess" VALUE="sameDomain">';
	str += '<PARAM NAME="Scale" VALUE="ShowAll">';
	str += '<PARAM NAME="DeviceFont" VALUE="0">';
	str += '<PARAM NAME="EmbedMovie" VALUE="0">';
	str += '<PARAM NAME="BGColor" VALUE="">';
	str += '<PARAM NAME="SWRemote" VALUE="">';
	str += '<PARAM NAME="MovieData" VALUE="">';
	str += '<PARAM NAME="SeamlessTabbing" VALUE="1">';
	str += '<PARAM NAME="Profile" VALUE="0">';
	str += '<PARAM NAME="ProfileAddress" VALUE="">';
	str += '<PARAM NAME="ProfilePort" VALUE="0">';
	str += '<EMBED  FlashVars="xmldoc=' + xmlfile +'"  src="'+ flashfile +'" loop=false menu=false 	quality=best bgcolor=#FFFFFF  WIDTH="100%" HEIGHT="100%" NAME="eCardTest" ALIGN="middle" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>'; 
	str += '</OBJECT>';	
	
	//alert(str)
	
	document.write(str);
}
	
	
	
	



