//output the single player for displaying EarthCam Network Cams
function camViewer(camUrl,camWidth,camHeight,resizeWidth,resizeHeight)
{
var flashOutput;
flashOutput = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ' +
 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" '+
 'width="'+resizeWidth+'" height="'+resizeHeight+'" '+
 'id="metro_cam_player_01" '+
 'align="middle">'+
 '<param name="allowScriptAccess" value="sameDomain" />'+
 '<param name="movie" value="http://www.earthcam.com/swf/dotcom_live_viewer_'+camWidth+'x'+camHeight+'.swf?'+camUrl+',50,1000" />'+
 '<param name="quality" value="high" />'+
 '<param name="bgcolor" value="#000000" />'+
'<embed src="http://www.earthcam.com/swf/dotcom_live_viewer_'+camWidth+'x'+camHeight+'.swf?'+camUrl+',50,1000" '+
 'quality="high" bgcolor="#000000" width="'+resizeWidth+'" height="'+resizeHeight+'" '+
 'name="metro_cam_player_01" align="middle" '+
 'allowScriptAccess="sameDomain" type="application/x-shockwave-flash" '+
 'pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
'</object>';

document.write(flashOutput);
}