if (arrayData['AIP'][11]['CALENDAR']['MODE'] == 'day') {var tmpStrContent='';var tmpDate=new Date(arrayData['AIP'][11]['CALENDAR']['DATAFIRST']);var divId='CAL_'+tmpDate.getDate()+'_'+(tmpDate.getMonth()+1)+'_'+tmpDate.getFullYear();tmpStrContent+=\"<table bgcolor='#ffffff' width='100%' height='100%' style='border:0px;' CELLSPACING='0' CELLPADDING='0' border='0'><tr><td><table style='border:0px;' CELLSPACING='0' CELLPADDING='0' border='0'><tr><td ><div class='boxgray'><table   valign='top' align='center' style='border:0px;' CELLSPACING='0' CELLPADDING='0' border='0'><tr valign='top'><td rowspan='2'><span style='font-size:26px;'>\"+tmpDate.getDate()+\"</span></td><td>\"+dojo.date.format(tmpDate, {datePattern:'eeee', selector:'dateOnly', locale:'it_it'})+\"</td></tr><tr><td>\"+dojo.date.format(tmpDate, {datePattern:'MMMM yyyy', selector:'dateOnly', locale:'it_it'})+\"</td></tr></table></div></td></tr></table><div dojoType='contentPane' id='\"+divId+\"' widgetId='\"+divId+\"'></div>\";dojo.widget.byId('CALENDARMAIN').setContent(tmpStrContent);furoros.Runmodule('11','REFRESH_CALENDAR_MAIN_DAY','APP',tmpDate.getDate()+':'+(tmpDate.getMonth()+1)+':'+tmpDate.getFullYear());}