var svCalendar = function(cal ) {
  cal.cfg.setProperty("DATE_FIELD_DELIMITER", "-");
  cal.cfg.setProperty("MDY_DAY_POSITION", 3);
  cal.cfg.setProperty("MDY_MONTH_POSITION", 2);
  cal.cfg.setProperty("MDY_YEAR_POSITION", 1);
  cal.cfg.setProperty("MD_DAY_POSITION", 1);
  cal.cfg.setProperty("MD_MONTH_POSITION", 2);
  cal.cfg.setProperty("MONTHS_SHORT",   ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"]);
  cal.cfg.setProperty("MONTHS_LONG",    ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"]);
  cal.cfg.setProperty("WEEKDAYS_1CHAR", ["S", "M", "T", "O", "T", "F", "L"]);
  cal.cfg.setProperty("WEEKDAYS_SHORT", ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö"]);
  cal.cfg.setProperty("WEEKDAYS_MEDIUM",["Sön", "Mån", "Tid", "Ond", "Tor", "Fre", "Lör"]);
  cal.cfg.setProperty("WEEKDAYS_LONG",  ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag" ]);
  cal.cfg.setProperty("SHOW_WEEK_HEADER", true);
  cal.cfg.setProperty("START_WEEKDAY", 1);

  YAHOO.widget.DateMath.WEEK_ONE_JAN_DATE = 4;
}