function camViewer(ec_url,ec_buffer,camWidth,camHeight,audio)
{
	if (typeof(audio) == 'undefined')
		audio = 0;
		
	//var buffer = "2";
	var base_url = "rtmp://63.229.55.125/fecnetwork";
	var full_url = "http://earthcam.com/swf/streaming/streaming_simple.swf?"+base_url+","+ec_url+","+ec_buffer+",yes,,yes,0,,,"+audio;
	
	var flashOutput;
	flashOutput = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ' +
	 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,115" '+
	 'width="'+camWidth+'" height="'+camHeight+'" '+
	 'id="metro_cam_player_01" '+
	 'align="middle">'+
	 '<param name="allowScriptAccess" value="sameDomain" />'+
	 '<param name="movie" value="'+full_url+'" />'+
	 '<param name="quality" value="high" />'+
	 '<param name="bgcolor" value="#000000" />'+
	 '<param name="allowFullScreen" value="true" /> '+
	'<embed src="'+full_url+'" '+
	 'quality="high" bgcolor="#000000" width="'+camWidth+'" height="'+camHeight+'" '+
	 'name="metro_cam_player_01" align="middle" '+
	 'allowFullScreen="true" '+
	 'allowScriptAccess="sameDomain" type="application/x-shockwave-flash" '+
	 'pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
	'</object>';


	document.write(flashOutput);
}

var ec_url="bostonaq1.flv";
var ec_buffer="2";
var audio = 1;
var camW='320';
var camH='240';
camViewer(ec_url,ec_buffer,camW,camH,audio);