// InsertControl writes the HTML used to display the ActiveX Control.  
// The parameters are the URL of the map to be displayed, the center
// latitude and longitude values, and the // initial scale.
function InsertControl(url, w, h, nome)
{
    document.writeln('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab##version=8,0,0,0" width="'+w+'" height="'+h+'" id="'+nome+'" align="middle">');
    document.writeln('    <param name="allowScriptAccess" value="sameDomain" />');
	document.writeln('    <param name="movie" value="' + url + '" /><param name="quality" value="high" />');
	document.writeln('    <param name="wmode" value="transparent" />');
	document.writeln('    <param name="bgcolor" value="#ffffff" />');
    document.writeln('  <embed src="' + url + '" quality="high" wmode="transparent" bgcolor="#ffffff" width="'+w+'" height="'+h+'" name="'+nome+'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.writeln('</OBJECT>');
}



