request.element.isStatic = 0;
//detailLink = cgi.script_name;
//dailyLink = cgi.script_name;
//weeklyListLink = cgi.script_name;
//weeklyGridLink = cgi.script_name;
//monthlyListLink = cgi.script_name;
//monthlyGridLink = cgi.script_name;
//nextPrevLink = cgi.script_name;
//addNewEventLink = cgi.script_name;
dailyLink = "";
weeklyListLink = "";
weeklyGridLink = "";
monthlyListLink = "";
monthlyGridLink = "";
nextPrevLink = "";
calAppConfig = Application.ptCalendar2.getAppConfig();
addNewEventLink = "";
if( structKeyExists(calAppConfig, "new_event_url") and len(calAppConfig.new_event_url) )
addNewEventLink = calAppConfig.new_event_url;
pageMap = Application.ptCalendar2.calendarService.getCalPageMap();
//if( structKeyExists(pageMap, "detailPage") and len(pageMap.detailPage) )
//detailLink = pageMap.detailPage;
if( structKeyExists(pageMap, "dailyPage") and len(pageMap.dailyPage) )
dailyLink = pageMap.dailyPage;
if( structKeyExists(pageMap, "weeklyListPage") and len(pageMap.weeklyListPage) )
weeklyListLink = pageMap.weeklyListPage;
if( structKeyExists(pageMap, "weeklyGridPage") and len(pageMap.weeklyGridPage) )
weeklyGridLink = pageMap.weeklyGridPage;
if( structKeyExists(pageMap, "monthlyListPage") and len(pageMap.monthlyListPage) )
monthlyListLink = pageMap.monthlyListPage;
if( structKeyExists(pageMap, "monthlyGridPage") and len(pageMap.monthlyGridPage) )
monthlyGridLink = pageMap.monthlyGridPage;