"+cal_details+"<\\/div><\\/div>");
doc.write('<\\/body><\\/html>');
doc.close();
info_window.focus();
}
function tab_show(tab_num)
{
if (tab_num == null) return;
var elList, i;
i=0;
// update all tabs.
while (document.getElementById("tab"+i) && i<100)
{
if (i == tab_num)
{
// If the tab is the new active tab, activate it.
document.getElementById("tab"+i).className += " active";
document.getElementById("tab_area"+i).style.display=""
document.getElementById("tab"+i).blur();
}
else
{
// Otherwise, make sure the tab is deactivated.
removename (document.getElementById("tab"+i),"active");
document.getElementById("tab_area"+i).style.display="none"
}
i++;
}
}
p1
my %help_text_map = ("cal_title" => "help_cal_title",
"cal_link" => "help_cal_link",
"cal_details" => "help_cal_details",
"cal_password" => "help_new_cal_password",
"current_cal_password" => "help_current_cal_password",
"change_cal_password" => "help_change_cal_password",
"selectable_calendars" => "help_cal_selectable_calendars",
"cal_background_calendars" => "help_cal_background_calendars",
"help_remote_background_calendars" => "help_remote_background_calendars",
"background_events_display_style" => "help_cal_background_events_display_style",
"calendar_events_display_style" => "help_calendar_events_display_style",
"list_background_calendars_together" => "help_cal_list_background_calendars_together",
"default_number_of_months" => "help_cal_number_of_months",
"max_months" => "help_cal_max_months",
"gmtime_diff" => "help_cal_gmtime_diff",
"date_format" => "help_cal_date_format",
"week_start_day" => "help_cal_week_start_day",
"new_calendars_automatically_selectable" => "help_cal_new_calendars_automatically_selectable",
"allow_remote_calendar_requests" => "help_cal_allow_remote_calendar_requests",
"remote_calendar_requests_password" => "help_remote_calendar_requests_password",
"preload_event_details" => "help_cal_preload_event_details",
"popup_window_size" => "help_cal_popup_window_size",
"custom_stylesheet" => "help_cal_custom_stylesheet",
"custom_template" => "help_cal_custom_template",
);
my $help_text_javascript = "";
foreach $key (keys %help_text_map)
{
my $help_text=<
$lang{$help_text_map{$key}}
p1
$help_text =~ s/\n/\\n/g;
$help_text =~ s/"/\\"/g;
$help_text =~ s/'/\\'/g;
$help_text =~ s/\//\\\//g;
$help_text_javascript .=<