I would like to embed a SWF without needing to pass a height and width so that the SWF is embeded with whatever dimensions it is when it is published.

function loadSwfToDiv(swf_url, div_id, ww, hh)
	var flashvars = {};
	var params = {};
	params.wmode = "transparent";
	var attributes = {};
	swfobject.embedSWF(swf_url, div_id, ww , hh, "9.0.0", false, flashvars, params, attributes);