var i = 0;
var t = 0;
var nlclass = "deathknight";
var nlclassPatch = "deathknight";

nltree[i] = "Blood"; i++;
nltree[i] = "Frost"; i++;
nltree[i] = "Unholy"; i++;

i = 0;

//Blood talents
nltalent[i] = ["Butchery"]; i++;
nltalent[i] = ["Subversion"]; i++;
nltalent[i] = ["Blade Barrier"]; i++;
nltalent[i] = ["Bladed Armor"]; i++;
nltalent[i] = ["Scent of Blood"]; i++;
nltalent[i] = ["Two-Handed Weapon Specialization"]; i++;
nltalent[i] = ["Rune Tap"]; i++;
nltalent[i] = ["Dark Conviction"]; i++;
nltalent[i] = ["Death Rune Mastery"]; i++;
nltalent[i] = ["Improved Rune Tap"]; i++;
nltalent[i] = ["Spell Deflection"]; i++;
nltalent[i] = ["Vendetta"]; i++;
nltalent[i] = ["Bloody Strikes"]; i++;
nltalent[i] = ["Veteran of the Third War"]; i++;
nltalent[i] = ["Mark of Blood"]; i++;
nltalent[i] = ["Bloody Vengeance"]; i++;
nltalent[i] = ["Abomination's Might"]; i++;
nltalent[i] = ["Bloodworms"]; i++;
nltalent[i] = ["Hysteria"]; i++;
nltalent[i] = ["Blood Aura"]; i++;
nltalent[i] = ["Improved Death Strike"]; i++; //UPDATED 3.1.0
nltalent[i] = ["Sudden Doom"]; i++;
nltalent[i] = ["Vampiric Blood"]; i++;
nltalent[i] = ["Will of the Necropolis"]; i++;
nltalent[i] = ["Heart Strike"]; i++;
nltalent[i] = ["Might of Mograine"]; i++;
nltalent[i] = ["Blood Gorged"]; i++;
nltalent[i] = ["Dancing Rune Weapon"]; i++;
treeStartStop[t] = i -1;
t++;

//Frost talents
nltalent[i] = ["Improved Icy Touch"]; i++;
nltalent[i] = ["Runic Power Mastery"]; i++; //UPDATED 3.1.0
nltalent[i] = ["Toughness"]; i++;
nltalent[i] = ["Icy Reach"]; i++;
nltalent[i] = ["Black Ice"]; i++;
nltalent[i] = ["Nerves of Cold Steel"]; i++;
nltalent[i] = ["Icy Talons"]; i++;
nltalent[i] = ["Lichborne"]; i++;
nltalent[i] = ["Annihilation"]; i++;
nltalent[i] = ["Killing Machine"]; i++;
nltalent[i] = ["Chill of the Grave"]; i++;
nltalent[i] = ["Endless Winter"]; i++;
nltalent[i] = ["Frigid Dreadplate"]; i++;
nltalent[i] = ["Glacier Rot"]; i++;
nltalent[i] = ["Deathchill"]; i++;
nltalent[i] = ["Improved Icy Talons"]; i++;
nltalent[i] = ["Merciless Combat"]; i++
nltalent[i] = ["Rime"]; i++;
nltalent[i] = ["Chilblains"]; i++;
nltalent[i] = ["Hungering Cold"]; i++;
nltalent[i] = ["Improved Frost Presence"]; i++;
nltalent[i] = ["Blood of the North"]; i++;
nltalent[i] = ["Unbreakable Armor"]; i++;
nltalent[i] = ["Acclimation"]; i++;
nltalent[i] = ["Frost Strike"]; i++;
nltalent[i] = ["Guile of Gorefiend"]; i++;
nltalent[i] = ["Tundra Stalker"]; i++;
nltalent[i] = ["Howling Blast"]; i++;
treeStartStop[t] = i -1;
t++;

//Unholy talents
nltalent[i] = ["Vicious Strikes"]; i++;
nltalent[i] = ["Virulence"]; i++;
nltalent[i] = ["Anticipation"]; i++;
nltalent[i] = ["Epidemic"]; i++;
nltalent[i] = ["Morbidity"]; i++;
nltalent[i] = ["Unholy Command"]; i++;
nltalent[i] = ["Ravenous Dead"]; i++;
nltalent[i] = ["Outbreak"]; i++;
nltalent[i] = ["Necrosis"]; i++;
nltalent[i] = ["Corpse Explosion"]; i++;
nltalent[i] = ["On a Pale Horse"]; i++;
nltalent[i] = ["Blood-Caked Blade"]; i++;
nltalent[i] = ["Night of the Dead"]; i++;
nltalent[i] = ["Unholy Blight"]; i++;
nltalent[i] = ["Impurity"]; i++;
nltalent[i] = ["Dirge"]; i++;
nltalent[i] = ["Magic Suppression"]; i++;
nltalent[i] = ["Reaping"]; i++;
nltalent[i] = ["Master of Ghouls"]; i++;
nltalent[i] = ["Desecration"]; i++;
nltalent[i] = ["Anti-Magic Zone"]; i++;
nltalent[i] = ["Improved Unholy Presence"]; i++;
nltalent[i] = ["Ghoul Frenzy"]; i++;
nltalent[i] = ["Crypt Fever"]; i++;
nltalent[i] = ["Bone Shield"]; i++;
nltalent[i] = ["Wandering Plague"]; i++;
nltalent[i] = ["Ebon Plaguebringer"]; i++;
nltalent[i] = ["Scourge Strike"]; i++;
nltalent[i] = ["Rage of Rivendare"]; i++;
nltalent[i] = ["Summon Gargoyle"]; i++;
jsLoaded=true;//needed for ajax script loading
