function appendParameter(p_args, p_name, p_value) {
	if (p_args == "")
		return p_name+"="+escape(p_value);
	else
		return p_args+"&"+p_name+"="+escape(p_value);
}
var args = "";

args = appendParameter(args, "appName", "kingdomadvisors"); // login account name

args = appendParameter(args, "streamName", "MYM_Intro_150k1, 600, MYM_Intro_400k1, 900, MYM_Intro_700k1");

//args = appendParameter(args, "streamName", "MYM_Intro_400k1"); //name of the FLV file to play
args = appendParameter(args, "serverName", "flash.streamingmediahosting.com");
args = appendParameter(args, "skinName", "flvplayer_skin");
args = appendParameter(args, "autoPlay", "false");
args = appendParameter(args, "autoRewind", "true");
args = appendParameter(args, "bufferTime", "2");

// define width and height here first:
document.write('<object width="478" height="356" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="FLVPlayer" align="" /> ');
document.write('<param name="movie" value="flvplayer.swf?'+args+'" /> ');
document.write('<param name="salign" value="lt" /> ');
document.write('<param name="quality" value="high" /> ');
document.write('<param name="scale" value="noscale" /> ');
document.write('<param name="bgcolor" value="#ffffff" /> ');
// define width and height here second:
document.write('<embed width="478" height="356" src="flvplayer.swf?'+args+'" quality="high" scale="noscale" bgcolor="#ffffff" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ');
document.write('</object>');