#set ($monthNameList = $CommonFunctions.getCalendarMonths($currentUserId)) #set ($dayOfWeeks = $CommonFunctions.getDaysOfWeek($currentUserId,"SHORT")) var g_months = new Array(); #foreach ($monthName in $monthNameList) #if ($velocityCount < 13) g_months[$velocityCount - 1] = "$monthName"; #end #end var g_daysOfWeek = new Array(); #foreach ($dayOfWeek in $dayOfWeeks) g_daysOfWeek[$velocityCount - 1] = "$dayOfWeek"; #end g_locale = "$languageCountryCode"; g_locale = g_locale.toUpperCase(); initCalControl(g_months,g_daysOfWeek,g_locale);