var div = $j(document.createElement("div"));
div.attr("id", "FXstreetCalendar");
div.append("<form id='csv' style='display:none' method='post' action='http://xml.fxstreet.com/ecopro/syndicate/csv.aspx' target='exportframe'><textarea id='historyjson' name='json'></textarea></form>");
div.append("<iframe name='exportframe' style='display:none'></iframe>");
var table = $j(document.createElement("table"));
table.attr("id", "fxec_calendartable");
table.attr("cellspacing", "0");
table.append("<caption></caption>");
var thead = $j(document.createElement("thead"));
var tr = $j(document.createElement("tr"));
tr.append("	<th id='fxec_thtime'> GMT</th>");
tr.append("	<th id='fxec_thevent'>Country/Event</th>");
tr.append("	<th id='fxec_thactual'>Actual</th>");
tr.append("	<th id='fxec_thconsensus'>Cons.</th>");
tr.append("	<th id='fxec_thprevious'>Previous</th>");
tr.append("	<th id='fxec_thvolatility'>Vol.</th>");
tr.append("	<th id='fxec_thhastxitxa'></th>");
thead.append(tr);
table.append(thead);
table.append("<tbody id='fxecocal_fxstreetcalendar'></tbody>");
div.append(table);
$j('#fxec_content').append(div);var fxec_params = {  key:'ff969c0f-709e-4086-afb3-d2afe1e9665f', clientIP:'38.107.191.101', protocol:'http', external:'1', dataserver:'xml.fxstreet.com/ecopro/data/', contentserver:'xml.fxstreet.com/ecopro/syndicate/', websynchannelbase:'/EconomicCalendarPro', view:'current', hoursbefore:'48', pastevents:'10', r1:'', r2:'', hides:'', countries:'', culture:'en-us', timezone:'UTC', clientid:'fxstreetcalendar', verbose:'false', timezoneoffset:'', colspan:'7', datepickerlang:'en', datepickerfirstday:'0'};