﻿$(document).ready(function() {
	if (areaId == 4) {
		// full day names
		Calendar._DN = new Array
		("Søndag",
		"Mandag",
		"Tirsdag",
		"Onsdag",
		"Torsdag",
		"Fredag",
		"Lørdag",
		"Søndag");

		// short day names
		Calendar._SDN = new Array
		("Søn",
		"Man",
		"Tir",
		"Ons",
		"Tor",
		"Fre",
		"Lør",
		"Søn");

		// full month names
		Calendar._MN = new Array
		("Januar",
		"Februar",
		"Marts",
		"April",
		"Maj",
		"Juni",
		"Juli",
		"August",
		"September",
		"Oktober",
		"November",
		"December");

		// short month names
		Calendar._SMN = new Array
		("Jan",
		"Feb",
		"Mar",
		"Apr",
		"Maj",
		"Jun",
		"Jul",
		"Aug",
		"Sep",
		"Okt",
		"Nov",
		"Dec");

		// tooltips
		Calendar._TT = {};
		Calendar._TT["INFO"] = "Om Kalenderen";

		Calendar._TT["ABOUT"] =
		"DHTML Date/Time Selector\n" +
		"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
		"For den seneste version besøg: http://www.dynarch.com/projects/calendar/\n"; +
		"Distribueret under GNU LGPL. Se http://gnu.org/licenses/lgpl.html for detajler." +
		"\n\n" +
		"Valg af dato:\n" +
		"- Brug \xab, \xbb knapperne for at vælge år\n" +
		"- Brug " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " knapperne for at vælge måned\n" +
		"- Hold knappen på musen nede på knapperne ovenfor for hurtigere valg.";
		Calendar._TT["ABOUT_TIME"] = "\n\n" +
		"Valg af tid:\n" +
		"- Klik på en vilkårlig del for større værdi\n" +
		"- eller Shift-klik for for mindre værdi\n" +
		"- eller klik og træk for hurtigere valg.";

		Calendar._TT["PREV_YEAR"] = "Ét år tilbage (hold for menu)";
		Calendar._TT["PREV_MONTH"] = "Én måned tilbage (hold for menu)";
		Calendar._TT["GO_TODAY"] = "Gå til i dag";
		Calendar._TT["NEXT_MONTH"] = "Én måned frem (hold for menu)";
		Calendar._TT["NEXT_YEAR"] = "Ét år frem (hold for menu)";
		Calendar._TT["SEL_DATE"] = "Vælg dag";
		Calendar._TT["DRAG_TO_MOVE"] = "Træk vinduet";
		Calendar._TT["PART_TODAY"] = " (i dag)";

		// the following is to inform that "%s" is to be the first day of week
		// %s will be replaced with the day name.
		Calendar._TT["DAY_FIRST"] = "Vis %s først";

		// This may be locale-dependent. It specifies the week-end days, as an array
		// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
		// means Monday, etc.
		Calendar._TT["WEEKEND"] = "0,6";

		Calendar._TT["CLOSE"] = "Luk";
		Calendar._TT["TODAY"] = "I dag";
		Calendar._TT["TIME_PART"] = "(Shift-)klik eller træk for at ændre værdi";

		// date formats
		Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y";
		Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";

		Calendar._TT["WK"] = "Uge";
		Calendar._TT["TIME"] = "Tid:";
	} else if (areaId == 5) {
		// full day names
		Calendar._DN = new Array
		("Sunday",
		 "Monday",
		 "Tuesday",
		 "Wednesday",
		 "Thursday",
		 "Friday",
		 "Saturday",
		 "Sunday");

		// short day names
		Calendar._SDN = new Array
		("Sun",
		 "Mon",
		 "Tue",
		 "Wed",
		 "Thu",
		 "Fri",
		 "Sat",
		 "Sun");

		// First day of the week. "0" means display Sunday first, "1" means display
		// Monday first, etc.
		Calendar._FD = 0;

		// full month names
		Calendar._MN = new Array
		("January",
		 "February",
		 "March",
		 "April",
		 "May",
		 "June",
		 "July",
		 "August",
		 "September",
		 "October",
		 "November",
		 "December");

		// short month names
		Calendar._SMN = new Array
		("Jan",
		 "Feb",
		 "Mar",
		 "Apr",
		 "May",
		 "Jun",
		 "Jul",
		 "Aug",
		 "Sep",
		 "Oct",
		 "Nov",
		 "Dec");

		// tooltips
		Calendar._TT = {};
		Calendar._TT["INFO"] = "About the calendar";

		Calendar._TT["ABOUT"] =
		"DHTML Date/Time Selector\n" +
		"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
		"For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
		"Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
		"\n\n" +
		"Date selection:\n" +
		"- Use the \xab, \xbb buttons to select year\n" +
		"- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" +
		"- Hold mouse button on any of the above buttons for faster selection.";
		Calendar._TT["ABOUT_TIME"] = "\n\n" +
		"Time selection:\n" +
		"- Click on any of the time parts to increase it\n" +
		"- or Shift-click to decrease it\n" +
		"- or click and drag for faster selection.";

		Calendar._TT["PREV_YEAR"] = "Prev. year (hold for menu)";
		Calendar._TT["PREV_MONTH"] = "Prev. month (hold for menu)";
		Calendar._TT["GO_TODAY"] = "Go Today";
		Calendar._TT["NEXT_MONTH"] = "Next month (hold for menu)";
		Calendar._TT["NEXT_YEAR"] = "Next year (hold for menu)";
		Calendar._TT["SEL_DATE"] = "Select date";
		Calendar._TT["DRAG_TO_MOVE"] = "Drag to move";
		Calendar._TT["PART_TODAY"] = " (today)";

		// the following is to inform that "%s" is to be the first day of week
		// %s will be replaced with the day name.
		Calendar._TT["DAY_FIRST"] = "Display %s first";

		// This may be locale-dependent.  It specifies the week-end days, as an array
		// of comma-separated numbers.  The numbers are from 0 to 6: 0 means Sunday, 1
		// means Monday, etc.
		Calendar._TT["WEEKEND"] = "0,6";

		Calendar._TT["CLOSE"] = "Close";
		Calendar._TT["TODAY"] = "Today";
		Calendar._TT["TIME_PART"] = "(Shift-)Click or drag to change value";

		// date formats
		Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
		Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";

		Calendar._TT["WK"] = "wk";
		Calendar._TT["TIME"] = "Time:";
	} else if (areaId == 6) {
		// full day names
		Calendar._DN = new Array
		("Sonntag",
		 "Montag",
		 "Dienstag",
		 "Mittwoch",
		 "Donnerstag",
		 "Freitag",
		 "Samstag",
		 "Sonntag");


		// short day names
		Calendar._SDN = new Array
		("So",
		 "Mo",
		 "Di",
		 "Mi",
		 "Do",
		 "Fr",
		 "Sa",
		 "So");

		// full month names
		Calendar._MN = new Array
		("Januar",
		 "Februar",
		 "M\u00e4rz",
		 "April",
		 "Mai",
		 "Juni",
		 "Juli",
		 "August",
		 "September",
		 "Oktober",
		 "November",
		 "Dezember");

		// short month names
		Calendar._SMN = new Array
		("Jan",
		 "Feb",
		 "M\u00e4r",
		 "Apr",
		 "May",
		 "Jun",
		 "Jul",
		 "Aug",
		 "Sep",
		 "Okt",
		 "Nov",
		 "Dez");

		// tooltips
		Calendar._TT = {};
		Calendar._TT["INFO"] = "\u00DCber dieses Kalendarmodul";

		Calendar._TT["ABOUT"] =
		"DHTML Date/Time Selector\n" +
		"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this ;-)
		"For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
		"Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
		"\n\n" +
		"Datum ausw\u00e4hlen:\n" +
		"- Benutzen Sie die \xab, \xbb Buttons um das Jahr zu w\u00e4hlen\n" +
		"- Benutzen Sie die " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " Buttons um den Monat zu w\u00e4hlen\n" +
		"- F\u00fcr eine Schnellauswahl halten Sie die Maustaste \u00fcber diesen Buttons fest.";
		Calendar._TT["ABOUT_TIME"] = "\n\n" +
		"Zeit ausw\u00e4hlen:\n" +
		"- Klicken Sie auf die Teile der Uhrzeit, um diese zu erh\u00F6hen\n" +
		"- oder klicken Sie mit festgehaltener Shift-Taste um diese zu verringern\n" +
		"- oder klicken und festhalten f\u00fcr Schnellauswahl.";

		Calendar._TT["TOGGLE"] = "Ersten Tag der Woche w\u00e4hlen";
		Calendar._TT["PREV_YEAR"] = "Voriges Jahr (Festhalten f\u00fcr Schnellauswahl)";
		Calendar._TT["PREV_MONTH"] = "Voriger Monat (Festhalten f\u00fcr Schnellauswahl)";
		Calendar._TT["GO_TODAY"] = "Heute ausw\u00e4hlen";
		Calendar._TT["NEXT_MONTH"] = "N\u00e4chst. Monat (Festhalten f\u00fcr Schnellauswahl)";
		Calendar._TT["NEXT_YEAR"] = "N\u00e4chst. Jahr (Festhalten f\u00fcr Schnellauswahl)";
		Calendar._TT["SEL_DATE"] = "Datum ausw\u00e4hlen";
		Calendar._TT["DRAG_TO_MOVE"] = "Zum Bewegen festhalten";
		Calendar._TT["PART_TODAY"] = " (Heute)";

		// the following is to inform that "%s" is to be the first day of week
		// %s will be replaced with the day name.
		Calendar._TT["DAY_FIRST"] = "Woche beginnt mit %s ";

		// This may be locale-dependent.  It specifies the week-end days, as an array
		// of comma-separated numbers.  The numbers are from 0 to 6: 0 means Sunday, 1
		// means Monday, etc.
		Calendar._TT["WEEKEND"] = "0,6";

		Calendar._TT["CLOSE"] = "Schlie\u00dfen";
		Calendar._TT["TODAY"] = "Heute";
		Calendar._TT["TIME_PART"] = "(Shift-)Klick oder Festhalten und Ziehen um den Wert zu \u00e4ndern";

		// date formats
		Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y";
		Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";

		Calendar._TT["WK"] = "wk";
		Calendar._TT["TIME"] = "Zeit:";

	}
});

