<!--

function flv ( vfile , pfile , w , h ) {

	if (navigator.userAgent.indexOf("Win") >= 0) {

		if (navigator.userAgent.indexOf("MSIE 6") >= 0) {
		
			document.write('<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="' + w + '" height="' + h + '">');
			document.write('<param name="movie" value="player-viral.swf" />');
			document.write('<param name="allowfullscreen" value="false" />');
			document.write('<param name="allowscriptaccess" value="always" />');
			document.write('<param name="menu" value="false" />');
			document.write('<param name="flashvars" value="file=' + vfile + '&image=' + pfile + '" />');
			document.write('<p><a href="http://get.adobe.com/flashplayer">Get Flash</a> to see this player.</p>');
			document.write('</object>');

		} else {
		
			document.write('<object type="application/x-shockwave-flash" data="player-viral.swf" width="' + w + '" height="' + h + '">');
			document.write('<param name="movie" value="player-viral.swf" />');
			document.write('<param name="allowfullscreen" value="false" />');
			document.write('<param name="allowscriptaccess" value="always" />');
			document.write('<param name="menu" value="false" />');
			document.write('<param name="flashvars" value="file=' + vfile + '&image=' + pfile + '" />');
			document.write('<p><a href="http://get.adobe.com/flashplayer">Get Flash</a> to see this player.</p>');
			document.write('</object>');
					
		}

	} else if (navigator.userAgent.indexOf("Mac") >= 0) {

		document.write('<object type="application/x-shockwave-flash" data="player-viral.swf" width="' + w + '" height="' + h + '">');
		document.write('<param name="movie" value="player-viral.swf" />');
		document.write('<param name="allowfullscreen" value="false" />');
		document.write('<param name="allowscriptaccess" value="always" />');
		document.write('<param name="menu" value="false" />');
		document.write('<param name="flashvars" value="file=' + vfile + '&image=' + pfile + '" />');
		document.write('<p><a href="http://get.adobe.com/flashplayer">Get Flash</a> to see this player.</p>');
		document.write('</object>');
	}
}

function flv2 ( vfile , pfile , w , h ) {

	var mov = new SWFObject("mediaplayer.swf","mediaplayer",w,h,"8");
	mov.addVariable("file",vfile);
	mov.addVariable("image",pfile);
	mov.addVariable("width",w);
	mov.addVariable("height",h);
	mov.write("flv");
	
}

function flv3 ( vfile , pfile , w , h , player) {

	var so = new SWFObject(player,'mpl',w,h,'9');
	so.addParam('allowscriptaccess','always');
	so.addParam('wmode','transparent');
	so.addParam('allowfullscreen','true');
	so.addParam('flashvars','file='+ vfile +'&stretching=fill&duration=27&image=' + pfile + '&plugins=gapro&gapro.accountid=UA-4011032-2');
	so.write('jwplayer');


}

//-->
