fires when a chart is ready for external method calls
$$("map").attachEvent("onMapReady",function(){ // your code here });