var language = "en";
var t = 0;
var raid = new Array;
/*reserved, name, lockout, abbr*/
raid[t] = [0, "Blackwing Lair", 7, "bwl"]; t++;
raid[t] = [0, "Molten Core", 7, "mc"]; t++;
raid[t] = [0, "Temple of Ahn&#146;Qiraj", 7, "aq40"]; t++;
raid[t] = [0, "Naxxramas", 7, "nax"]; t++;
raid[t] = [0, "Onyxia", 5, "ony"]; t++;
raid[t] = [0, "Zul&#146;Gurub", 3, "zg"]; t++;
raid[t] = [0, "Ruins of Ahn&#146;Qiraj", 3, "aq20"]; t++;
raid[t] = [0, "Magtheridon", 7, "mag"]; t++;
raid[t] = [0, "Gruul&#146;s Lair", 7, "gruul"]; t++;
raid[t] = [0, "CoT: Battle for Mount Hyjal", 7, "cot"]; t++;
raid[t] = [0, "Tempest Keep: The Eye", 7, "tempest"]; t++;
raid[t] = [0, "Coilfang Reservoir: Serpentshrine Cavern", 7, "coilfang"]; t++;
raid[t] = [0, "Karazhan", 7, "karazhan"]; t++;
raid[t] = [0, "Black Temple", 7, "blacktemple"]; t++;
raid[t] = [0, "Zul&#146;Aman", 3, "za"]; t++;
raid[t] = [0, "Vault of Archavon", 7, "arc"]; t++;
raid[t] = [0, "Chamber of Aspects (Sartharion)", 7, "sar"]; t++;
raid[t] = [0, "The Eye of Eternity (Malygos)", 7, "mal"]; t++;
raid[t] = [0, "Sunwell Plateau", 7, "sunwell"]; 


var monthArrayName = new Array;
monthArrayName[1] = "January";
monthArrayName[2] = "February";
monthArrayName[3] = "March";
monthArrayName[4] = "April";
monthArrayName[5] = "May";
monthArrayName[6] = "June";
monthArrayName[7] = "July";
monthArrayName[8] = "August";
monthArrayName[9] = "September";
monthArrayName[10] = "October";
monthArrayName[11] = "November";
monthArrayName[12] = "December";

var weekdayName = new Array;
weekdayName[0] = "Monday";
weekdayName[1] = "Tuesday";
weekdayName[2] = "Wednesday";
weekdayName[3] = "Thursday";
weekdayName[4] = "Friday";
weekdayName[5] = "Saturday";
weekdayName[6] = "Sunday";

var textpreviousmonth = "Previous Month";
var textnextmonth = "Next Month";

var textresettime = "Reset Time";

var threeAM = "4:00AM";
var eightAM = "8:00AM";

var textmaintenance = "Every 7 days";

var sameLockout = "Instances on the same raid lockout";
var more = "more...";

var legendnote = "Note: icons on the calendar denote days when instances are reset";

var raidtext1 = "All raid instances, regardless of difficulty, reset at a certain realm time on certain days, regardless of when players were actually saved to the instance. The reset times are as follows:";

var raids = "<p><div style='padding-left:20px;'>\
All raids <strong>not</strong> mentioned below reset every Wednesday during the weekly maintenance. Only those listed below are on a different reset timer.<br>\
<b style='color:#ffe400;'>" + raid[4][1] +  "</b>: <span style='color:#ffffff;'>Every 5 Days at 4:00AM</span><br>\
<b style='color:#ffe400;'>" + raid[5][1] +  "</b>: <span style='color:#ffffff;'>Every 3 Days at 4:00AM</span><br>\
<b style='color:#ffe400;'>" + raid[6][1] +  "<small style='color:#ffe400;'>(20-man)</small></b>: <span style='color:#ffffff;'>Every 3 Days at 4:00AM</span><br>\
</div><p>";

var raidtext2 = "Resets occur at 4:00AM or during weekly maintenance. <p>\
As the reset time approaches, players inside instances will be informed of the impending reset every hour on the hour. 15 minutes before the reset, the reminders become more frequent. Once the reset time is reached, all players in the \
instance will be ported to their bind point. <br><br>\
You can access your saved raid status at any time via <b>/raidinfo</b>, and you will be informed of your status regarding an instance when you zone into the dungeon.";