function flashplayer(url,image, width, height, start, swf_url)
{
	/*document.write('<OBJECT id=flashplayer \n');
	document.write('	height=' + height + '\n');
	document.write('	hspace=5\n');
	document.write('	width=' + width + '\n');
	document.write('	align=left \n');
	document.write('	classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 \n');
	document.write('	name=flashplayer\n');
	//document.write('	type="application/x-shockwave-flash"\n');
	document.write('	codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">\n');
	document.write('	<PARAM NAME="allowScriptAccess" VALUE="sameDomain">\n');
	document.write('	<PARAM NAME="movie" VALUE="' + swf_url + 'swf/flvplayer.swf?file=' + url + '&image=' + image + '&autoplay=' + start + '">\n');
	document.write('	<PARAM NAME="loop" VALUE="false">\n');
	document.write('	<PARAM NAME="menu" VALUE="false">\n');
	document.write('	<PARAM NAME="quality" VALUE="high">\n');
	document.write('	<PARAM NAME="scale" VALUE="noscale">\n');
	document.write('	<PARAM NAME="salign" VALUE="lt">\n');
	document.write('	<PARAM NAME="allowscriptaccess" VALUE="always">\n');
	document.write('	<PARAM NAME="allowfullscreen" VALUE="true">\n');
	document.write('	<PARAM NAME="bgcolor" VALUE="#000000">\n');*/
	document.write('	<embed src="' + swf_url + 'swf/flvplayer.swf?file=' + url + '&image=' + image + '&autoplay=' + start + '" \n');
	document.write('		id="flashplayer" \n');
	//document.write('		loop="false" \n');
	//document.write('		menu="false" \n');
	document.write('		quality="high" \n');
	//document.write('		scale="noscale" \n');
	//document.write('		salign="lt" \n');
	document.write('		width=' + width + ' \n');
	//document.write('		align="left"\n');
	//document.write('		hspace="5"\n');
	document.write('		allowscriptaccess="always"\n');
	document.write('		allowfullscreen="true"\n');
	document.write('		height=' + height + '\n');
	document.write('		name="flashplayer" \n');
	//document.write('		align="middle" \n');
	//document.write('		bgcolor="#000000" \n');
	//document.write('		allowScriptAccess="sameDomain" \n');
	//document.write('		type="application/x-shockwave-flash"\n');
	document.write('		pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
	document.write('	</embed>\n');
	//document.write('</OBJECT>\n');
}

function flashplayer2(url,image, width, height, start, swf_url)
{
	var s1 = new SWFObject(swf_url+"swf/player-viral.swf","ply",width,height,"9","#FFFFFF");
		s1.addParam("allowfullscreen","true");
		s1.addParam("allowscriptaccess","always");
		s1.addParam("flashvars","file="+url+"&image="+image);
		s1.write(url);
}

function flashplayer3(url,image, width, height, start, swf_url)
{
	document.write('<embed src="http://www.tocdhost.com/swf/player-viral.swf"');
	document.write('height=' + height);
	document.write('width=' + width);
	document.write('allowscriptaccess="always"');
	document.write('allowfullscreen="true"');
	document.write("flashvars='state=PLAYING&file="+url+"&image="+image+"&plugins=viral-1d'/>");
}

/*<embed src='http://www.tocdhost.com/swf/player-viral.swf' 
	height='532' 
	width='640' 
	allowscriptaccess='always' 
	allowfullscreen='true' 		
	flashvars='state=PLAYING&file=http%3A%2F%2Fwww.tocdhost.com%2F..%2Fvideo%2Farticle%2FEarthToAmerica_BlueManGroup.flv&
	plugins=viral-1d'/>*/

function mediaplayer(url, width, height, start)
{
	document.write('<OBJECT id="mediaPlayer" width="' + width + '" height="' + height + '" align="left"\n');
	document.write('	classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"\n');
	document.write('	codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"\n');
	document.write('	standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">\n');
	document.write('	<param name="fileName" value="' + url + '">\n');
	document.write('	<param name="animationatStart" value="true">\n');
	document.write('	<param name="transparentatStart" value="false">\n');
	document.write('	<param name="autoStart" value="' + start + '">\n');
	document.write('	<param name="showControls" value="true">\n');
	document.write('	<param name="loop" value="false">\n');
	document.write('	<EMBED type="application/x-mplayer2"\n');
	document.write('		pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"\n');
	document.write('		id="mediaPlayer" name="mediaPlayer"\n');
	document.write('		bgcolor="darkblue" showcontrols="true"\n');
	document.write('		showdisplay="0" animationatStart="true"\n');
	document.write('		transparentatStart="false"\n');
	document.write('		width="' + width + '"\n');
	document.write('		height="' + height + '"\n');
	//document.write('		align="left"\n');
	document.write('		src="' + url + '"\n');
	document.write('		autostart="' + start + '"\n');
	document.write('		loop="false">\n');
	document.write('	</EMBED>\n');
	document.write('</OBJECT>\n');
}
