
function getTalentID(name, num) {
	return false;
}

var i = 0;
var t = 0;
var b = 0;
var r = 0;
var tree=[], talent=[], rank=[], treeStart=[];
var classes = ["Druid", "Hunter", "Mage", "Paladin", "Priest", "Rogue", "Shaman", "Warlock", "Warrior"];

treeStart[t++]=0;

tree[b] = "Balance"; b++;
tree[b] = "Feral Combat"; b++;
tree[b] = "Restoration"; b++;

talent[i] = [0, "Starlight Wrath", 5, 1, 1]; i++;
talent[i] = [0, "Nature's Grasp", 1, 2, 1]; i++;
talent[i] = [0, "Improved Nature's Grasp", 4, 3, 1, [getTalentID("Nature's Grasp"),1]]; i++;
talent[i] = [0, "Control of Nature", 3, 1, 2]; i++; 
talent[i] = [0, "Focused Starlight", 2, 2, 2]; i++;
talent[i] = [0, "Improved Moonfire", 2, 3, 2]; i++;
talent[i] = [0, "Brambles", 3, 1, 3]; i++;
talent[i] = [0, "Insect Swarm", 1, 3, 3]; i++;
talent[i] = [0, "Nature's Reach", 2, 4, 3]; i++;
talent[i] = [0, "Vengeance", 5, 2, 4, [getTalentID("Focused Starlight"),2]]; i++;
talent[i] = [0, "Celestial Focus", 3, 3, 4]; i++;
talent[i] = [0, "Lunar Guidance", 3, 1, 5]; i++;
talent[i] = [0, "Nature's Grace", 1, 2, 5]; i++;
talent[i] = [0, "Moonglow", 3, 3, 5]; i++;
talent[i] = [0, "Moonfury", 5, 2, 6, [getTalentID("Nature's Grace"),1]]; i++;
talent[i] = [0, "Balance of Power", 2, 3, 6]; i++;
talent[i] = [0, "Dreamstate", 3, 1, 7]; i++;
talent[i] = [0, "Moonkin Form", 1, 2, 7]; i++;
talent[i] = [0, "Improved Faerie Fire", 3, 3, 7]; i++;
talent[i] = [0, "Wrath of Cenarius", 5, 2, 8]; i++;
talent[i] = [0, "Force of Nature", 1, 2, 9]; i++;

treeStart[t] = i;
t++;

//feral combat talents
talent[i] = [1, "Ferocity", 5, 2, 1]; i++;
talent[i] = [1, "Feral Aggression", 5, 3, 1]; i++;
talent[i] = [1, "Feral Instinct", 3, 1, 2]; i++;
talent[i] = [1, "Brutal Impact", 2, 2, 2]; i++;
talent[i] = [1, "Thick Hide", 3, 3, 2]; i++;
talent[i] = [1, "Feral Swiftness", 2, 1, 3]; i++;
talent[i] = [1, "Feral Charge", 1, 2, 3]; i++;
talent[i] = [1, "Sharpened Claws", 3, 3, 3]; i++;
talent[i] = [1, "Shredding Attacks", 2, 1, 4]; i++;
talent[i] = [1, "Predatory Strikes", 3, 2, 4]; i++;
talent[i] = [1, "Primal Fury", 2, 3, 4, [getTalentID("Sharpened Claws"),3]]; i++;
talent[i] = [1, "Savage Fury", 2, 1, 5]; i++;
talent[i] = [1, "Faerie Fire (Feral)", 1, 3, 5]; i++;
talent[i] = [1, "Nurturing Instinct", 2, 4, 5]; i++;
talent[i] = [1, "Heart of the Wild", 5, 2, 6, [getTalentID("Predatory Strikes"),3]]; i++;
talent[i] = [1, "Survival of the Fittest", 3, 3, 6]; i++;
talent[i] = [1, "Primal Tenacity", 3, 1, 7]; i++;
talent[i] = [1, "Leader of the Pack", 1, 2, 7]; i++;
talent[i] = [1, "Improved Leader of the Pack", 2, 3, 7, [getTalentID("Leader of the Pack"),1]]; i++;
talent[i] = [1, "Predatory Instincts", 5, 3, 8]; i++;
talent[i] = [1, "Mangle", 1, 2, 9, [getTalentID("Leader of the Pack"),1]]; i++;

treeStart[t] = i;
t++;

//restoration talents
talent[i] = [2, "Improved Mark of the Wild", 5, 2, 1]; i++;
talent[i] = [2, "Furor", 5, 3, 1]; i++;
talent[i] = [2, "Naturalist", 5, 1, 2]; i++;
talent[i] = [2, "Nature's Focus", 5, 2, 2]; i++;
talent[i] = [2, "Natural Shapeshifter", 3, 3, 2]; i++;
talent[i] = [2, "Intensity", 3, 1, 3]; i++;
talent[i] = [2, "Subtlety", 5, 2, 3]; i++;
talent[i] = [2, "Omen of Clarity", 1, 3, 3]; i++;
talent[i] = [2, "Tranquil Spirit", 5, 2, 4]; i++;
talent[i] = [2, "Improved Rejuvenation", 3, 3, 4]; i++;
talent[i] = [2, "Nature's Swiftness", 1, 1, 5, [getTalentID("Intensity"),3]]; i++;
talent[i] = [2, "Gift of Nature", 5, 2, 5]; i++;
talent[i] = [2, "Improved Tranquility", 2, 4, 5]; i++;
talent[i] = [2, "Empowered Touch", 2, 1, 6]; i++;
talent[i] = [2, "Improved Regrowth", 5, 3, 6, [getTalentID("Improved Rejuvenation"),3]]; i++;
talent[i] = [2, "Living Spirit", 3, 1, 7]; i++;
talent[i] = [2, "Swiftmend", 1, 2, 7, [getTalentID("Gift of Nature"),5]]; i++;
talent[i] = [2, "Natural Perfection", 3, 3, 7]; i++;
talent[i] = [2, "Empowered Rejuvenation", 5, 2, 8]; i++;
talent[i] = [2, "Tree of Life", 1, 2, 9, [getTalentID("Empowered Rejuvenation"),5]]; i++;

treeStart[t] = i;
t++;


//Balance Talents Begin

//Starlight Wrath - Balance 
rank[r] = [
"Reduces the cast time of your Wrath and Starfire spells by 0.1 sec.",
"Reduces the cast time of your Wrath and Starfire spells by 0.2 sec.",
"Reduces the cast time of your Wrath and Starfire spells by 0.3 sec.",
"Reduces the cast time of your Wrath and Starfire spells by 0.4 sec.",
"Reduces the cast time of your Wrath and Starfire spells by 0.5 sec."
		];
r++;		
		
//Nature's Grasp - Balance
rank[r] = [
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>1 min cooldown</span><br>While active, any time an enemy strikes the caster they have a 35% chance to become afflicted by Entangling Roots (Rank 1).  Only useable outdoors. 1 charge. Lasts 45 sec.\
		<br><br>&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: Entangling Roots (Rank 2)<br>\
		&nbsp;Rank 3: Entangling Roots (Rank 3)<br>\
		&nbsp;Rank 4: Entangling Roots (Rank 4)<br>\
		&nbsp;Rank 5: Entangling Roots (Rank 5)<br>\
		&nbsp;Rank 6: Entangling Roots (Rank 6)<br>\
		&nbsp;Rank 7: Entangling Roots (Rank 7)"
		];
r++;		

//Improved Nature's Grasp - Balance
rank[r] = [
"Increases the chance for your Nature's Grasp to entangle an enemy by 15%.",
"Increases the chance for your Nature's Grasp to entangle an enemy by 30%.",
"Increases the chance for your Nature's Grasp to entangle an enemy by 45%.",
"Increases the chance for your Nature's Grasp to entangle an enemy by 65%."
		];
r++;		
		
//Control of Nature - Balance
rank[r] = [
"Gives you a 40% chance to avoid interruption caused by damage while casting Entangling Roots and Cyclone.",
"Gives you a 70% chance to avoid interruption caused by damage while casting Entangling Roots and Cyclone.",
"Gives you a 100% chance to avoid interruption caused by damage while casting Entangling Roots and Cyclone."
		];
r++;		

//Focused Starlight - Balance 
rank[r] = [
"Increases the critical strike chance of your Wrath and Starfire spells by 2%.",
"Increases the critical strike chance of your Wrath and Starfire spells by 4%."
		];
r++;		

//Improved Moonfire - Balance
rank[r] = [
"Increases the damage and critical strike chance of your Moonfire spell by 5%.",
"Increases the damage and critical strike chance of your Moonfire spell by 10%."
		];
r++;		

//Brambles - Balance
rank[r] = [ 
"Increases damage caused by your Thorns and Entangling Roots spells by 25%.",
"Increases damage caused by your Thorns and Entangling Roots spells by 50%.",
"Increases damage caused by your Thorns and Entangling Roots spells by 75%."
		];
r++;		


//Insect Swarm - Balance
rank[r]=[
		"<span style=text-align:left;float:left;>50 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br>Instant cast<br>The enemy target is swarmed by insects, decreasing their chance to hit by 2% and causing 108 Nature damage over 12 sec.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 85 Mana, 192 Damage<br>\
		&nbsp;Rank 3: 110 Mana, 300 Damage<br>\
		&nbsp;Rank 4: 135 Mana, 432 Damage<br>\
		&nbsp;Rank 5: 155 Mana, 594 Damage<br>\
		&nbsp;Rank 6: 175 Mana, 792 Damage"
		];
r++;
	

//Nature's Reach - Balance
rank[r] = [
"Increases the range of your Balance spells and Faerie Fire (Feral) ability by 10%.",
"Increases the range of your Balance spells and Faerie Fire (Feral) ability by 20%."
		];
r++;		

//Vengeance - Balance
rank[r] = [
"Increases the critical strike damage bonus of your Starfire, Moonfire, and Wrath spells by 20%.",
"Increases the critical strike damage bonus of your Starfire, Moonfire, and Wrath spells by 40%.",
"Increases the critical strike damage bonus of your Starfire, Moonfire, and Wrath spells by 60%.",
"Increases the critical strike damage bonus of your Starfire, Moonfire, and Wrath spells by 80%.",
"Increases the critical strike damage bonus of your Starfire, Moonfire, and Wrath spells by 100%."
		];
r++;		

//Celestial Focus - Balance  
rank[r] = [
"Gives your Starfire spell a 5% chance to stun the target for 3 sec and increases the chance you'll resist spell interruption when casting your Wrath spell by 25%.",
"Gives your Starfire spell a 10% chance to stun the target for 3 sec and increases the chance you'll resist spell interruption when casting your Wrath spell by 50%.",
"Gives your Starfire spell a 15% chance to stun the target for 3 sec and increases the chance you'll resist spell interruption when casting your Wrath spell by 70%."
		];
r++;

//Lunar Guidance - Balance  
rank[r] = [
"Increases your spell damage and healing by 8% of your total Intellect.",
"Increases your spell damage and healing by 16% of your total Intellect.",
"Increases your spell damage and healing by 25% of your total Intellect."
		];
r++;

//Nature's Grace - Balance
rank[r] = [
		"All spell criticals grace you with a blessing of nature, reducing the casting time of your next spell by 0.5 sec."
		];
r++;		

//Moonglow - Balance
rank[r] = [
"Reduces the Mana cost of your Moonfire, Starfire, Wrath, Healing Touch, Regrowth and Rejuvenation spells by 3%.",
"Reduces the Mana cost of your Moonfire, Starfire, Wrath, Healing Touch, Regrowth and Rejuvenation spells by 6%.",
"Reduces the Mana cost of your Moonfire, Starfire, Wrath, Healing Touch, Regrowth and Rejuvenation spells by 9%."
		];		
r++;		

//Moonfury - Balance  			
rank[r] = [
"Increases the damage done by your Starfire, Moonfire and Wrath spells by 2%.",
"Increases the damage done by your Starfire, Moonfire and Wrath spells by 4%.",
"Increases the damage done by your Starfire, Moonfire and Wrath spells by 6%.",
"Increases the damage done by your Starfire, Moonfire and Wrath spells by 8%.",
"Increases the damage done by your Starfire, Moonfire and Wrath spells by 10%."
		];
r++;		


//Nature's Warrior - Balance  			
rank[r] = [
"Increases your chance to hit with all spells and reduces the chance you'll be hit by spells by 2%.",
"Increases your chance to hit with all spells and reduces the chance you'll be hit by spells by 4%."
		];
r++;


//Dreamstate - Balance  			
rank[r] = [
"Regenerate mana equal to 4% of your Intellect every 5 sec, even while casting.",
"Regenerate mana equal to 7% of your Intellect every 5 sec, even while casting.",
"Regenerate mana equal to 10% of your Intellect every 5 sec, even while casting."
		];
r++;


//Moonkin Form - Balance  
rank[r] = [
		"521 Mana<br><span style=text-align:left;float:left;>Instant cast</span><br>Transforms the Druid into Moonkin Form. While in this form the armor contribution from items is increased by 400%, attack power is increased by 150% of your level and all party members within 30 yards have their spell critical chance increased by 5%. Melee attacks in this form have a chance on hit to regenerate mana based on attack power. The Moonkin can only cast Balance and Remove Curse spells while shapeshifted.<br><br>The act of shapeshifting frees the caster of Polymorph and Movement Impairing effects."
		];
r++;


//Improved Faerie Fire - Balance  			
rank[r] = [
"Your Faerie Fire spell also increases the chance the target will be hit by melee and ranged attacks by 1%.",
"Your Faerie Fire spell also increases the chance the target will be hit by melee and ranged attacks by 2%.",
"Your Faerie Fire spell also increases the chance the target will be hit by melee and ranged attacks by 3%."
		];
r++;


//Twilight's Wrath - Balance  			
rank[r] = [
"Your Starfire spell gains an additional 4% and your Wrath gains an additional 2% of your bonus damage effects.",
"Your Starfire spell gains an additional 8% and your Wrath gains an additional 4% of your bonus damage effects.",
"Your Starfire spell gains an additional 12% and your Wrath gains an additional 6% of your bonus damage effects.",
"Your Starfire spell gains an additional 16% and your Wrath gains an additional 8% of your bonus damage effects.",
"Your Starfire spell gains an additional 20% and your Wrath gains an additional 10% of your bonus damage effects."
		];
r++;

//Force of Nature - Balance  
rank[r] = [
		"<span style=text-align:left;float:left;>284 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>3 min cooldown</span><br>Summons 3 treants to attack the enemy target for 30 sec."
		];
r++;






//Ferocity - Feral 
rank[r] = [
"Reduces the cost of your Maul, Swipe, Claw, Rake and Mangle abilities by 1 Rage or Energy.",
"Reduces the cost of your Maul, Swipe, Claw, Rake and Mangle abilities by 2 Rage or Energy.",
"Reduces the cost of your Maul, Swipe, Claw, Rake and Mangle abilities by 3 Rage or Energy.",
"Reduces the cost of your Maul, Swipe, Claw, Rake and Mangle abilities by 4 Rage or Energy.",
"Reduces the cost of your Maul, Swipe, Claw, Rake and Mangle abilities by 5 Rage or Energy."
		];
r++;

//Feral Aggression - Feral
rank[r] = [
"Increases the Attack Power reduction of your Demoralizing Roar by 8% and the damage caused by your Ferocious Bite by 3%.",
"Increases the Attack Power reduction of your Demoralizing Roar by 16% and the damage caused by your Ferocious Bite by 6%.",
"Increases the Attack Power reduction of your Demoralizing Roar by 24% and the damage caused by your Ferocious Bite by 9%.",
"Increases the Attack Power reduction of your Demoralizing Roar by 32% and the damage caused by your Ferocious Bite by 12%.",
"Increases the Attack Power reduction of your Demoralizing Roar by 40% and the damage caused by your Ferocious Bite by 15%."
		];
r++;

//Feral Instinct - Feral
rank[r] = [
"Increases threat caused in Bear and Dire Bear Form by 5% and reduces the chance enemies have to detect you while Prowling.",
"Increases threat caused in Bear and Dire Bear Form by 10% and reduces the chance enemies have to detect you while Prowling.",
"Increases threat caused in Bear and Dire Bear Form by 15% and reduces the chance enemies have to detect you while Prowling."
		];
r++;		

//Brutal Impact - Feral
rank[r] = [
"Increases the stun duration of your Bash and Pounce abilities by 0.5 sec.",
"Increases the stun duration of your Bash and Pounce abilities by 1 sec."
		];
r++;		

//Thick Hide - Feral 
rank[r] = [
"Increases your Armor contribution from items by 4%.",
"Increases your Armor contribution from items by 7%.",
"Increases your Armor contribution from items by 10%."
		];		
r++;		

//Feral Swiftness - Feral
rank[r] = [
"Increases your movement speed by 15% while outdoors in Cat Form and increases your chance to dodge while in Cat Form, Bear Form and Dire Bear Form by 2%.",
"Increases your movement speed by 30% while outdoors in Cat Form and increases your chance to dodge while in Cat Form, Bear Form and Dire Bear Form by 4%."
		];
r++;		

//Feral Charge - Feral 
rank[r] = [
		"<span style=text-align:left;float:left;>5 Rage</span><span style=text-align:right;float:right;>8-25 yd range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>15 sec cooldown</span><br>Requires Bear Form, Dire Bear Form<br>Causes you to charge an enemy, immobilizing and interrupting any spell being cast for 4 sec."
		];
r++;		

//Sharpened Claws - Feral  
rank[r] = [
"Increases your critical strike chance while in Bear, Dire Bear or Cat Form by 2%.",
"Increases your critical strike chance while in Bear, Dire Bear or Cat Form by 4%.",
"Increases your critical strike chance while in Bear, Dire Bear or Cat Form by 6%."
		];
r++;		

//Shredding Attacks - Feral 
rank[r] = [
"Reduces the energy cost of your Shred ability by 9 and the rage cost of your Lacerate ability by 1.",
"Reduces the energy cost of your Shred ability by 18 and the rage cost of your Lacerate ability by 2."
		];
r++;		

//Predatory Strikes - Feral  
rank[r] = [
"Increases your melee attack power in Cat, Bear, Dire Bear and Moonkin Forms by 50% of your level.",
"Increases your melee attack power in Cat, Bear, Dire Bear and Moonkin Forms by 100% of your level.",
"Increases your melee attack power in Cat, Bear, Dire Bear and Moonkin Forms by 150% of your level."
		];
r++;				
	
//Primal Fury - Feral 
rank[r] = [
"Gives you a 50% chance to gain an additional 5 Rage anytime you get a critical strike while in Bear and Dire Bear Form and your critical strikes from Cat Form abilities that add combo points have a 50% chance to add an additional combo point.",
"Gives you a 100% chance to gain an additional 5 Rage anytime you get a critical strike while in Bear and Dire Bear Form and your critical strikes from Cat Form abilities that add combo points have a 100% chance to add an additional combo point."
		];
r++;		

//Savage Fury - Feral 
rank[r] = [
		"Increases the damage caused by your Claw, Rake and Mangle (Cat) abilities by 10%.",
		"Increases the damage caused by your Claw, Rake and Mangle (Cat) abilities by 20%."		
		];
r++;		
		
//Faerie Fire (Feral) - Feral 

rank[r] = [
		"30 yd range<br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>6 sec cooldown</span><br>Requires Cat Form, Bear Form, Dire Bear Form<br>Decrease the armor of the target by 175 for 40 sec. While affected, the target cannot stealth or turn invisible.\
		<br><br>&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: -285 Armor<br>\
		&nbsp;Rank 3: -395 Armor<br>\
		&nbsp;Rank 4: -505 Armor<br>\
		&nbsp;Rank 5: -610 Armor"
		];
r++;

//Nurturing Instinct - Feral
rank[r]=[
"Increases your healing spells by up to 25% of your Strength.",
"Increases your healing spells by up to 50% of your Strength."
		];
r++;		


	
//Heart of the Wild - Feral
rank[r]=[
"Increases your Intellect by 4%. In addition, while in Bear or Dire Bear Form your Stamina is increased by 4% and while in Cat Form your attack power is increased by 2%.",
"Increases your Intellect by 8%. In addition, while in Bear or Dire Bear Form your Stamina is increased by 8% and while in Cat Form your attack power is increased by 4%.",
"Increases your Intellect by 12%. In addition, while in Bear or Dire Bear Form your Stamina is increased by 12% and while in Cat Form your attack power is increased by 6%.",
"Increases your Intellect by 16%. In addition, while in Bear or Dire Bear Form your Stamina is increased by 16% and while in Cat Form your attack power is increased by 8%.",
"Increases your Intellect by 20%. In addition, while in Bear or Dire Bear Form your Stamina is increased by 20% and while in Cat Form your attack power is increased by 10%."
		];
r++;

//Survival of the Fittest - Feral
rank[r]=[
"Increases all attributes by 1% and reduces the chance you'll be critically hit by melee attacks by 1%.",
"Increases all attributes by 2% and reduces the chance you'll be critically hit by melee attacks by 2%.",
"Increases all attributes by 3% and reduces the chance you'll be critically hit by melee attacks by 3%."
		];
r++;

//Primal Tenacity - Feral
rank[r]=[
"Increases your chance to resist Stun and Fear mechanics by 5%.",
"Increases your chance to resist Stun and Fear mechanics by 10%.",
"Increases your chance to resist Stun and Fear mechanics by 15%."
		];
r++;

//Leader of the Pack - Feral
rank[r]=[
"While in Cat, Bear or Dire Bear Form, the Leader of the Pack increases ranged and melee critical chance of all party members within 45 yards by 5%."
		];
r++;

//Improved Leader of the Pack - Feral
rank[r]=[
"Your Leader of the Pack ability also causes affected targets to have a 100% chance to heal themselves for 2% of their total health when they critically hit with a melee or ranged attack. The healing effect cannot occur more than once every 6 sec.",
"Your Leader of the Pack ability also causes affected targets to have a 100% chance to heal themselves for 4% of their total health when they critically hit with a melee or ranged attack. The healing effect cannot occur more than once every 6 sec."
		];
r++;

//Predatory Instincts - Feral
rank[r]=[
"While in Cat Form, Bear Form, or Dire Bear Form, increases your damage from melee critical strikes by 2% and your chance to avoid area effect attacks by 3%.",
"While in Cat Form, Bear Form, or Dire Bear Form, increases your damage from melee critical strikes by 4% and your chance to avoid area effect attacks by 6%.",
"While in Cat Form, Bear Form, or Dire Bear Form, increases your damage from melee critical strikes by 6% and your chance to avoid area effect attacks by 9%.",
"While in Cat Form, Bear Form, or Dire Bear Form, increases your damage from melee critical strikes by 8% and your chance to avoid area effect attacks by 12%.",
"While in Cat Form, Bear Form, or Dire Bear Form, increases your damage from melee critical strikes by 10% and your chance to avoid area effect attacks by 15%."
		];
r++;

//Mangle - Feral
rank[r]=[
"Mangle the target, inflicting damage and causing the target to take additional damage from bleed effects for 12 sec. This ability can be used in Cat Form or Dire Bear Form.\
		<br><br>&nbsp;Bear Form:<br>\
		&nbsp;20 Rage, Melee range, Instant, 6 sec cooldown<br>\
		&nbsp;115% normal damage plus x, and 30% additional damage from Shred and bleed effects for 12 sec.<br>\
		&nbsp;Rank 1: +86<br>\
		&nbsp;Rank 2: +121<br>\
		&nbsp;Rank 3: +155\
		<br><br>&nbsp;Cat Form:<br>\
		&nbsp;45 Energy, Melee range, Instant, Awards 1 combo point.<br>\
		&nbsp;160% damage plus x, and 30% additional damage from Shred and bleed effects for 12 sec.<br>\
		&nbsp;Rank 1: +158<br>\
		&nbsp;Rank 2: +205<br>\
		&nbsp;Rank 3: +264"


		];
r++;



		
//Improved Mark of the Wild - Restoration
rank[r]=[
"Increases the effects of your Mark of the Wild and Gift of the Wild spells by 7%.",
"Increases the effects of your Mark of the Wild and Gift of the Wild spells by 14%.",
"Increases the effects of your Mark of the Wild and Gift of the Wild spells by 21%.",
"Increases the effects of your Mark of the Wild and Gift of the Wild spells by 28%.",
"Increases the effects of your Mark of the Wild and Gift of the Wild spells by 35%."
		];
r++;		
		
//Furor - Restoration
rank[r]=[
"Gives you 20% chance to gain 10 Rage when you shapeshift into Bear and Dire Bear Form or 40 Energy when you shapeshift into Cat Form.",
"Gives you 40% chance to gain 10 Rage when you shapeshift into Bear and Dire Bear Form or 40 Energy when you shapeshift into Cat Form.",
"Gives you 60% chance to gain 10 Rage when you shapeshift into Bear and Dire Bear Form or 40 Energy when you shapeshift into Cat Form.",
"Gives you 80% chance to gain 10 Rage when you shapeshift into Bear and Dire Bear Form or 40 Energy when you shapeshift into Cat Form.",
"Gives you 100% chance to gain 10 Rage when you shapeshift into Bear and Dire Bear Form or 40 Energy when you shapeshift into Cat Form."
		];
r++;		

//Naturalist - Restoration
rank[r]=[
"Reduces the cast time of your Healing Touch spell by 0.1 sec and increases the damage you deal with physical attacks in all forms by 2%.",
"Reduces the cast time of your Healing Touch spell by 0.2 sec and increases the damage you deal with physical attacks in all forms by 4%.",
"Reduces the cast time of your Healing Touch spell by 0.3 sec and increases the damage you deal with physical attacks in all forms by 6%.",
"Reduces the cast time of your Healing Touch spell by 0.4 sec and increases the damage you deal with physical attacks in all forms by 8%.",
"Reduces the cast time of your Healing Touch spell by 0.5 sec and increases the damage you deal with physical attacks in all forms by 10%."
		];
r++;		
		
//Nature's Focus - Restoration 
rank[r]=[
"Gives you a 14% chance to avoid interruption caused by damage while casting the Healing Touch, Regrowth and Tranquility spells.",
"Gives you a 28% chance to avoid interruption caused by damage while casting the Healing Touch, Regrowth and Tranquility spells.",
"Gives you a 42% chance to avoid interruption caused by damage while casting the Healing Touch, Regrowth and Tranquility spells.",
"Gives you a 56% chance to avoid interruption caused by damage while casting the Healing Touch, Regrowth and Tranquility spells.",
"Gives you a 70% chance to avoid interruption caused by damage while casting the Healing Touch, Regrowth and Tranquility spells."
		];
r++;		
	
//Natural Shapeshifter - Balance 
rank[r] = [
"Reduces the mana cost of all shapeshifting by 10%.",
"Reduces the mana cost of all shapeshifting by 20%.",
"Reduces the mana cost of all shapeshifting by 30%."
		];		
r++;		
		
//Intensity - Restoration 
rank[r]=[
"Allows 10% of your Mana regeneration to continue while casting and causes your Enrage ability to instantly generate 4 rage.",
"Allows 20% of your Mana regeneration to continue while casting and causes your Enrage ability to instantly generate 7 rage.",
"Allows 30% of your Mana regeneration to continue while casting and causes your Enrage ability to instantly generate 10 rage."
		];
r++;

//Subtlety - Restoration 
rank[r]=[
"Reduces the threat generated by your spells by 4% and reduces the chance your spells will be dispelled by 6%.",
"Reduces the threat generated by your spells by 8% and reduces the chance your spells will be dispelled by 12%.",
"Reduces the threat generated by your spells by 12% and reduces the chance your spells will be dispelled by 18%.",
"Reduces the threat generated by your spells by 16% and reduces the chance your spells will be dispelled by 24%.",
"Reduces the threat generated by your spells by 20% and reduces the chance your spells will be dispelled by 30%."
		];
r++;
		
//Omen of Clarity - Balance 
rank[r] = [
		"120 Mana<br><span style=text-align:left;float:left;>Instant cast</span><br>Imbues the Druid with natural energy. Each of the Druid's melee attacks has a chance of causing the caster to enter a Clearcasting state. The Clearcasting state reduces the Mana, Rage or Energy cost of your next damage or healing spell or offensive ability by 100%. Lasts 30 min."
		];
r++;
		
//Tranquil Spirit - Restoration  
rank[r]=[
"Reduces the mana cost of your Healing Touch and Tranquility spells by 2%.",
"Reduces the mana cost of your Healing Touch and Tranquility spells by 4%.",
"Reduces the mana cost of your Healing Touch and Tranquility spells by 6%.",
"Reduces the mana cost of your Healing Touch and Tranquility spells by 8%.",
"Reduces the mana cost of your Healing Touch and Tranquility spells by 10%."
		];
r++;		
		
//Improved Rejuvenation - Restoration   
rank[r]=[
"Increases the effect of your Rejuvenation spell by 5%.",
"Increases the effect of your Rejuvenation spell by 10%.",
"Increases the effect of your Rejuvenation spell by 15%."
		];
r++;	
		
//Nature's Swiftness - Restoration   
rank[r]=[
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>When activated, your next Nature spell becomes an instant cast spell."
		];
r++;	


//Gift of Nature - Restoration 
rank[r]=[
"Increases the effect of all healing spells by 2%.",
"Increases the effect of all healing spells by 4%.",
"Increases the effect of all healing spells by 6%.",
"Increases the effect of all healing spells by 8%.",
"Increases the effect of all healing spells by 10%."
		];
r++;	


//Improved Tranquility - Restoration
rank[r]=[
"Reduces threat caused by Tranquility by 50%.",
"Reduces threat caused by Tranquility by 100%."
		];
r++;	


//Empowered Touch - Restoration
rank[r]=[
"Your Healing Touch spell gains an additional 10% of your bonus healing effects.",
"Your Healing Touch spell gains an additional 20% of your bonus healing effects."
		];
r++;	


//Improved Regrowth - Restoration 
rank[r]=[
"Increases the critical effect chance of your Regrowth spell by 10%.",
"Increases the critical effect chance of your Regrowth spell by 20%.",
"Increases the critical effect chance of your Regrowth spell by 30%.",
"Increases the critical effect chance of your Regrowth spell by 40%.",
"Increases the critical effect chance of your Regrowth spell by 50%."
		];
r++;

//Living Spirit - Restoration 
rank[r]=[
"Increases your total Spirit by 5%.",
"Increases your total Spirit by 10%.",
"Increases your total Spirit by 15%."
		];
r++;	

//Swiftmend - Restoration 
rank[r]=[
		"<span style=text-align:left;float:left;>379 Mana</span><span style=text-align:right;float:right;>40 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>15 sec cooldown</span><br>Consumes a Rejuvenation or Regrowth effect on a friendly target to instantly heal them an amount equal to 12 sec. of Rejuvenation or 18 sec. of Regrowth."
		];
r++;


//Natural Perfection - Restoration 
rank[r]=[
"Your critical strike chance with all spells is increased by 1% and critical strikes against you give you the Natural Perfection effect reducing all damage taken by 1%.  Stacks up to 3 times.  Lasts 8 sec.",
"Your critical strike chance with all spells is increased by 2% and critical strikes against you give you the Natural Perfection effect reducing all damage taken by 2%.  Stacks up to 3 times.  Lasts 8 sec.",
"Your critical strike chance with all spells is increased by 3% and critical strikes against you give you the Natural Perfection effect reducing all damage taken by 3%.  Stacks up to 3 times.  Lasts 8 sec."
		];
r++;

//Empowered Rejuvenation - Restoration 
rank[r]=[
"The bonus healing effects of your healing over time spells is increased by 4%.",
"The bonus healing effects of your healing over time spells is increased by 8%.",
"The bonus healing effects of your healing over time spells is increased by 12%.",
"The bonus healing effects of your healing over time spells is increased by 16%.",
"The bonus healing effects of your healing over time spells is increased by 20%."
		];
r++;

//Tree of Life - Restoration 
rank[r]=[
		"<span>663 Mana</span><br><span>Instant cast</span><br>Transforms the Druid into the Tree of Life Form.  While in this form you increase healing received by 25% of your total Spirit for all party members within 45 yards, your movement speed is reduced by 20%, and you can only cast Swiftmend, Innervate, Nature's Swiftness, Rebirth, poison removing and healing over time spells, but the mana cost of these spells is reduced by 20.<br><br>The act of shapeshifting frees the caster of Polymorph and Movement Impairing effects."
		];
r++;
	
//Restoration Talents End^^

tree[b] = "Beast Mastery"; b++;
tree[b] = "Marksmanship"; b++;
tree[b] = "Survival"; b++;

talent[i] = [0, "Improved Aspect of the Hawk", 5, 2, 1]; i++;
talent[i] = [0, "Endurance Training", 5, 3, 1]; i++;
talent[i] = [0, "Focused Fire", 2, 1, 2]; i++;
talent[i] = [0, "Improved Aspect of the Monkey", 3, 2, 2]; i++; 
talent[i] = [0, "Thick Hide", 3, 3, 2]; i++;
talent[i] = [0, "Improved Revive Pet", 2, 4, 2]; i++;
talent[i] = [0, "Pathfinding", 2, 1, 3]; i++;
talent[i] = [0, "Bestial Swiftness", 1, 2, 3]; i++;
talent[i] = [0, "Unleashed Fury", 5, 3, 3]; i++;
talent[i] = [0, "Improved Mend Pet", 2, 2, 4]; i++;
talent[i] = [0, "Ferocity", 5, 3, 4]; i++;
talent[i] = [0, "Spirit Bond", 2, 1, 5]; i++;
talent[i] = [0, "Intimidation", 1, 2, 5]; i++;
talent[i] = [0, "Bestial Discipline", 2, 4, 5]; i++;
talent[i] = [0, "Animal Handler", 2, 1, 6]; i++;
talent[i] = [0, "Frenzy", 5, 3, 6, [getTalentID("Ferocity"),5]]; i++;
talent[i] = [0, "Ferocious Inspiration", 3, 1, 7]; i++;
talent[i] = [0, "Bestial Wrath", 1, 2, 7, [getTalentID("Intimidation"),1]]; i++;
talent[i] = [0, "Catlike Reflexes", 3, 3, 7]; i++;
talent[i] = [0, "Serpent's Swiftness", 5, 3, 8]; i++;
talent[i] = [0, "The Beast Within", 1, 2, 9, [getTalentID("Bestial Wrath"),1]]; i++;

treeStart[t] = i;
t++;

//marksmanship talents
talent[i] = [1, "Improved Concussive Shot", 5, 2, 1]; i++;
talent[i] = [1, "Lethal Shots", 5, 3, 1]; i++;
talent[i] = [1, "Improved Hunter's Mark", 5, 2, 2]; i++;
talent[i] = [1, "Efficiency", 5, 3, 2]; i++;
talent[i] = [1, "Go for the Throat", 2, 1, 3]; i++;
talent[i] = [1, "Improved Arcane Shot", 5, 2, 3]; i++;
talent[i] = [1, "Aimed Shot", 1, 3, 3]; i++;
talent[i] = [1, "Rapid Killing", 2, 4, 3]; i++;
talent[i] = [1, "Improved Stings", 5, 2, 4]; i++;
talent[i] = [1, "Mortal Shots", 5, 3, 4, [getTalentID("Aimed Shot"),1]]; i++;
talent[i] = [1, "Concussive Barrage", 3, 1, 5]; i++;
talent[i] = [1, "Scatter Shot", 1, 2, 5]; i++;
talent[i] = [1, "Barrage", 3, 3, 5]; i++;
talent[i] = [1, "Combat Experience", 2, 1, 6]; i++;
talent[i] = [1, "Ranged Weapon Specialization", 5, 4, 6]; i++;
talent[i] = [1, "Careful Aim", 3, 1, 7]; i++;
talent[i] = [1, "Trueshot Aura", 1, 2, 7, [getTalentID("Scatter Shot"),1]]; i++;
talent[i] = [1, "Improved Barrage", 3, 3, 7, [getTalentID("Barrage"),3]]; i++;
talent[i] = [1, "Master Marksman", 5, 2, 8]; i++;
talent[i] = [1, "Silencing Shot", 1, 2, 9, [getTalentID("Master Marksman"),5]]; i++;

treeStart[t] = i;
t++;

//survival talents
talent[i] = [2, "Monster Slaying", 3, 1, 1]; i++;
talent[i] = [2, "Humanoid Slaying", 3, 2, 1]; i++;
talent[i] = [2, "Hawk Eye", 3, 3, 1]; i++;
talent[i] = [2, "Savage Strikes", 2, 4, 1]; i++;
talent[i] = [2, "Entrapment", 3, 1, 2]; i++;
talent[i] = [2, "Deflection", 5, 2, 2]; i++;
talent[i] = [2, "Improved Wing Clip", 3, 3, 2]; i++;
talent[i] = [2, "Clever Traps", 2, 1, 3]; i++;
talent[i] = [2, "Survivalist", 5, 2, 3]; i++;
talent[i] = [2, "Deterrence", 1, 3, 3]; i++;
talent[i] = [2, "Trap Mastery", 2, 1, 4]; i++;
talent[i] = [2, "Surefooted", 3, 2, 4]; i++;
talent[i] = [2, "Improved Feign Death", 2, 4, 4]; i++;
talent[i] = [2, "Survival Instincts", 2, 1, 5]; i++;
talent[i] = [2, "Killer Instinct", 3, 2, 5]; i++;
talent[i] = [2, "Counterattack", 1, 3, 5, [getTalentID("Deterrence"),1]]; i++;
talent[i] = [2, "Resourcefulness", 3, 1, 6]; i++;
talent[i] = [2, "Lightning Reflexes", 5, 3, 6]; i++;
talent[i] = [2, "Thrill of the Hunt", 3, 1, 7]; i++;
talent[i] = [2, "Wyvern Sting", 1, 2, 7, [getTalentID("Killer Instinct"),3]]; i++;
talent[i] = [2, "Expose Weakness", 3, 3, 7, [getTalentID("Lightning Reflexes"),5]]; i++;
talent[i] = [2, "Master Tactician", 5, 2, 8]; i++;
talent[i] = [2, "Readiness", 1, 2, 9, [getTalentID("Master Tactician"),5]]; i++;
//document.write("Was I="+i);
treeStart[t] = i;
t++;

//Beast Mastery Talents Begin

//Improved Aspect of the Hawk - Beast Mastery
rank[r] = [
"While Aspect of the Hawk is active, all normal ranged attacks have a 10% chance of increasing ranged attack speed by 3% for 12 sec.",
"While Aspect of the Hawk is active, all normal ranged attacks have a 10% chance of increasing ranged attack speed by 6% for 12 sec.",
"While Aspect of the Hawk is active, all normal ranged attacks have a 10% chance of increasing ranged attack speed by 9% for 12 sec.",
"While Aspect of the Hawk is active, all normal ranged attacks have a 10% chance of increasing ranged attack speed by 12% for 12 sec.",
"While Aspect of the Hawk is active, all normal ranged attacks have a 10% chance of increasing ranged attack speed by 15% for 12 sec."
		];
r++;		
		
//Endurance Training - Beast Mastery
rank[r] = [
"Increases the Health of your pets by 2% and your total health by 1%.",
"Increases the Health of your pets by 4% and your total health by 2%.",
"Increases the Health of your pets by 6% and your total health by 3%.",
"Increases the Health of your pets by 8% and your total health by 4%.",
"Increases the Health of your pets by 10% and your total health by 5%."
		];
r++;		

//Focused Fire - Beast Mastery
rank[r] = [
"All damage caused by you is increased by 1% while your pet is active and the critical strike chance of your Kill Command Ability is increased by 10%.",
"All damage caused by you is increased by 2% while your pet is active and the critical strike chance of your Kill Command Ability is increased by 20%."
		];
r++;		
		
//Improved Aspect of the Monkey - Beast Mastery
rank[r] = [
"Increases the Dodge bonus of your Aspect of the Monkey by 2%.",
"Increases the Dodge bonus of your Aspect of the Monkey by 4%.",
"Increases the Dodge bonus of your Aspect of the Monkey by 6%."
		];
r++;		

//Thick Hide - Beast Mastery
rank[r] = [
"Increases the armor rating of your pets by 7% and your armor contributions from items by 4%.",
"Increases the armor rating of your pets by 14% and your armor contributions from items by 7%.",
"Increases the armor rating of your pets by 20% and your armor contributions from items by 10%.",

		];
r++;		

//Improved Revive Pet - Beast Mastery
rank[r] = [
"Revive Pet's casting time is reduced by 3 sec, mana cost is reduced by 20%, and increases the health your pet returns with by an additional 15%.",
"Revive Pet's casting time is reduced by 6 sec, mana cost is reduced by 40%, and increases the health your pet returns with by an additional 30%."
		];
r++;		


//Pathfinding - Beast Mastery
rank[r] = [
"Increases the speed bonus of your Aspect of the Cheetah and Aspect of the Pack by 4%.",
"Increases the speed bonus of your Aspect of the Cheetah and Aspect of the Pack by 8%."
		];
r++;	

		
//Bestial Swiftness - Beast Mastery
rank[r] = [
"Increases the outdoor movement speed of your pets by 30%."
		];		
r++;		


//Unleashed Fury - Beast Mastery
rank[r] = [ 
"Increases the damage done by your pets by 4%.",
"Increases the damage done by your pets by 8%.",
"Increases the damage done by your pets by 12%.",
"Increases the damage done by your pets by 16%.",
"Increases the damage done by your pets by 20%."
		];
r++;		
	

//Improved Mend Pet - Beast Mastery
rank[r] = [ 
"Reduces the mana cost of your Mend Pet spell by 10% and gives the Mend Pet spell a 15% chance of cleansing 1 Curse, Disease, Magic or Poison effect from the pet each tick.",
"Reduces the mana cost of your Mend Pet spell by 20% and gives the Mend Pet spell a 50% chance of cleansing 1 Curse, Disease, Magic or Poison effect from the pet each tick."
		];
r++;	

//Ferocity - Beast Mastery
rank[r] = [
"Increases the critical strike chance of your pets by 2%.",
"Increases the critical strike chance of your pets by 4%.",
"Increases the critical strike chance of your pets by 6%.",
"Increases the critical strike chance of your pets by 8%.",
"Increases the critical strike chance of your pets by 10%."

		];
r++;		

//Spirit Bond - Beast Mastery 
rank[r] = [
"While your pet is active, you and your pet will regenerate 1% of total health every 10 sec.",
"While your pet is active, you and your pet will regenerate 2% of total health every 10 sec."
		];
r++;

//Intimidation - Beast Mastery
rank[r] = [
		"<span style=text-align:left;float:left;>202 Mana</span><span style=text-align:right;float:right;>100 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>1 min cooldown</span><br>Command your pet to intimidate the target on the next successful melee attack, causing a high amount of threat and stunning the target for 3 sec."
		];
r++;		

//Bestial Discipline - Beast Mastery
rank[r] = [
"Increases the Focus regeneration of your pets by 50%.",
"Increases the Focus regeneration of your pets by 100%."
		];
r++;		

//Animal Handler - Beast Mastery
rank[r] = [
"Increases your speed while mounted by 4% and your pet's chance to hit by 2%. The mounted movement speed increase does not stack with other effects.",
"Increases your speed while mounted by 8% and your pet's chance to hit by 4%. The mounted movement speed increase does not stack with other effects."
		];
r++;		

//Frenzy - Beast Mastery
rank[r] = [
"Gives your pet a 20% chance to gain a 30% attack speed increase for 8 sec after dealing a critical strike.",
"Gives your pet a 40% chance to gain a 30% attack speed increase for 8 sec after dealing a critical strike.",
"Gives your pet a 60% chance to gain a 30% attack speed increase for 8 sec after dealing a critical strike.",
"Gives your pet a 80% chance to gain a 30% attack speed increase for 8 sec after dealing a critical strike.",
"Gives your pet a 100% chance to gain a 30% attack speed increase for 8 sec after dealing a critical strike."

		];		
r++;		

//Ferocious Inspiration - Beast Mastery
rank[r] = [
"When your pet scores a critical hit, all party members have all damage increased by 1% for 10 sec.",
"When your pet scores a critical hit, all party members have all damage increased by 2% for 10 sec.",
"When your pet scores a critical hit, all party members have all damage increased by 3% for 10 sec."

		];		
r++;		

//Bestial Wrath - Beast Mastery			
rank[r] = [
		"<span style=text-align:left;float:left;>338 Mana</span><span style=text-align:right;float:right;>100 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>2 min cooldown</span><br>Send your pet into a rage causing 50% additional damage for 18 sec. While enraged, the beast cannot be stopped unless killed."
		];
r++;		

//Catlike Reflexes - Beast Mastery
rank[r] = [
"Increases your chance to dodge by 1% and your pet's chance to dodge by an additional 3%.",
"Increases your chance to dodge by 2% and your pet's chance to dodge by an additional 6%.",
"Increases your chance to dodge by 3% and your pet's chance to dodge by an additional 9%."
		];		
r++;

//Serpent's Swiftness - Beast Mastery
rank[r] = [
"Increases ranged combat attack speed by 4% and your pet's melee attack speed by 4%.",
"Increases ranged combat attack speed by 8% and your pet's melee attack speed by 8%.",
"Increases ranged combat attack speed by 12% and your pet's melee attack speed by 12%.",
"Increases ranged combat attack speed by 16% and your pet's melee attack speed by 16%.",
"Increases ranged combat attack speed by 20% and your pet's melee attack speed by 20%."
		];		
r++;

//The Beast Within - Beast Mastery
rank[r] = [
"When your pet is under the effects of Bestial Wrath, you also go into a rage causing 10% additional damage and reducing mana costs of all spells by 20% for 18 sec. While enraged, you do not feel pity or remorse or fear and you cannot be stopped unless killed."
		];		
r++;

//Improved Concussive Shot - Marksmanship
rank[r] = [
"Gives your Concussive Shot a 4% chance to stun the target for 3 sec.",
"Gives your Concussive Shot a 8% chance to stun the target for 3 sec.",
"Gives your Concussive Shot a 12% chance to stun the target for 3 sec.",
"Gives your Concussive Shot a 16% chance to stun the target for 3 sec.",
"Gives your Concussive Shot a 20% chance to stun the target for 3 sec."
		];
r++;		

//Lethal Shots - Marksmanship 
rank[r] = [
"Increases your critical strike chance with ranged weapons by 1%.",
"Increases your critical strike chance with ranged weapons by 2%.",
"Increases your critical strike chance with ranged weapons by 3%.",
"Increases your critical strike chance with ranged weapons by 4%.",
"Increases your critical strike chance with ranged weapons by 5%."
		];		
r++;		

//Improved Hunter's Mark - Marksmanship
rank[r] = [
"Causes 20% of your Hunter's Mark ability's base attack power to apply to melee attack power as well.",
"Causes 40% of your Hunter's Mark ability's base attack power to apply to melee attack power as well.",
"Causes 60% of your Hunter's Mark ability's base attack power to apply to melee attack power as well.",
"Causes 80% of your Hunter's Mark ability's base attack power to apply to melee attack power as well.",
"Causes 100% of your Hunter's Mark ability's base attack power to apply to melee attack power as well."
		];
r++;		

//Efficiency - Marksmanship
rank[r] = [
"Reduces the Mana cost of your Shots and Stings by 2%.",
"Reduces the Mana cost of your Shots and Stings by 4%.",
"Reduces the Mana cost of your Shots and Stings by 6%.",
"Reduces the Mana cost of your Shots and Stings by 8%.",
"Reduces the Mana cost of your Shots and Stings by 10%."
		];
r++;

//Go for the Throat - Marksmanship
rank[r] = [
"Your ranged critical hits cause your pet to generate 25 Focus.",
"Your ranged critical hits cause your pet to generate 50 Focus."
		];
r++;

//Improved Arcane Shot - Marksmanship
rank[r] = [
		"Reduces the cooldown of your Arcane Shot by 0.2 sec.",
		"Reduces the cooldown of your Arcane Shot by 0.4 sec.",
		"Reduces the cooldown of your Arcane Shot by 0.6 sec.",
		"Reduces the cooldown of your Arcane Shot by 0.8 sec.",
		"Reduces the cooldown of your Arcane Shot by 1 sec."
		];
r++;		

//Aimed Shot - Marksmanship 
rank[r] = [
		"<span style=text-align:left;float:left;>75 Mana</span><span style=text-align:right;float:right;>5-35 yd range</span><br><span style=text-align:left;float:left;>3 sec cast</span><BR><span style=text-align:left;float:left;>6 sec cooldown</span><br><br>Requires Ranged Weapon<br>An aimed shot that increases ranged damage by 870 and reduces healing done to that target by 50%. Lasts 10 sec.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 115 Mana, 125 Damage<br>\
		&nbsp;Rank 3: 160 Mana, 200 Damage<br>\
		&nbsp;Rank 4: 210 Mana, 330 Damage<br>\
		&nbsp;Rank 5: 260 Mana, 460 Damage<br>\
		&nbsp;Rank 6: 310 Mana, 600 Damage<br>\
		&nbsp;Rank 7: 370 Mana, 870 Damage"
		];
r++;		

//Rapid Killing - Marksmanship
rank[r] = [
		"Reduces the cooldown of your Rapid Fire ability by 1 min.  In addition, after killing an opponent that yields experience or honor, your next Aimed Shot, Arcane Shot or Auto Shot causes 10% additional damage.  Lasts 20 sec.",
		"Reduces the cooldown of your Rapid Fire ability by 2 min.  In addition, after killing an opponent that yields experience or honor, your next Aimed Shot, Arcane Shot or Auto Shot causes 20% additional damage.  Lasts 20 sec." 
		];
r++;		

//Improved Stings - Marksmanship
rank[r] = [
"Increases the damage done by your Serpent Sting and Wyvern Sting by 6%, increases the mana drained by your Viper Sting by 6%, and reduces the chance Stings will be dispelled by 6%.",
"Increases the damage done by your Serpent Sting and Wyvern Sting by 12%, increases the mana drained by your Viper Sting by 12%, and reduces the chance Stings will be dispelled by 12%.",
"Increases the damage done by your Serpent Sting and Wyvern Sting by 18%, increases the mana drained by your Viper Sting by 18%, and reduces the chance Stings will be dispelled by 18%.",
"Increases the damage done by your Serpent Sting and Wyvern Sting by 24%, increases the mana drained by your Viper Sting by 24%, and reduces the chance Stings will be dispelled by 24%.",
"Increases the damage done by your Serpent Sting and Wyvern Sting by 30%, increases the mana drained by your Viper Sting by 30%, and reduces the chance Stings will be dispelled by 30%."
		];
r++;		

//Mortal Shots - Marksmanship
rank[r] = [
"Increases your ranged weapon critical strike damage bonus by 6%.",
"Increases your ranged weapon critical strike damage bonus by 12%.",
"Increases your ranged weapon critical strike damage bonus by 18%.",
"Increases your ranged weapon critical strike damage bonus by 24%.",
"Increases your ranged weapon critical strike damage bonus by 30%."
		];
		
r++;		

//Concussive Barrage - Marksmanship

rank[r] = [
		"Your successful Auto Shot attacks have a 2% chance to Daze the target for 4 sec.",
		"Your successful Auto Shot attacks have a 4% chance to Daze the target for 4 sec.",
		"Your successful Auto Shot attacks have a 6% chance to Daze the target for 4 sec."		
			];
r++;		
		
//Scatter Shot - Marksmanship 
rank[r] = [
		"<span style=text-align:left;float:left;>202 Mana</span><span style=text-align:right;float:right;>15 yd range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>30 sec cooldown</span><br>Requires Ranged Weapon<br>A short-range shot that deals 50% weapon damage and disorients the target for 4 sec. Any damage caused will remove the effect. Turns off your attack when used."
		];
r++;		

//Barrage - Marksmanship
rank[r] = [
"Increases the damage done by your Multi-Shot and Volley spells by 4%.",
"Increases the damage done by your Multi-Shot and Volley spells by 8%.",
"Increases the damage done by your Multi-Shot and Volley spells by 12%."
		];
r++;


//Combat Experience - Marksmanship
rank[r] = [
		"Increases your total Agility by 1% and your total Intellect by 3%.",
		"Increases your total Agility by 2% and your total Intellect by 6%."
			];
r++;	
		
//Ranged Weapon Specialization - Marksmanship 
rank[r]=[
"Increases the damage you deal with ranged weapons by 1%.",
"Increases the damage you deal with ranged weapons by 2%.",
"Increases the damage you deal with ranged weapons by 3%.",
"Increases the damage you deal with ranged weapons by 4%.",
"Increases the damage you deal with ranged weapons by 5%."
		];
r++;			

//Careful Aim - Marksmanship 
rank[r]=[
"Increases your ranged attack power by an amount equal to 15% of your total Intellect.",
"Increases your ranged attack power by an amount equal to 30% of your total Intellect.",
"Increases your ranged attack power by an amount equal to 45% of your total Intellect."
		];
r++;		

//Trueshot Aura - Marksmanship 
rank[r]=[
		"Instant cast<br>Increases the attack power of party members within 45 yards by 50. Lasts until cancelled.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 425 Mana, 75 Attack Power<br>\
		&nbsp;Rank 3: 525 Mana, 100 Attack Power<br>\
		&nbsp;Rank 4: 620 Mana, 125 Attack Power"
		];
r++;		

//Improved Barrage - Marksmanship 
rank[r]=[
"Increases the critical strike chance of your Multi-Shot ability by 4% and gives you a 33% chance to avoid interruption caused by damage while channeling Volley.",
"Increases the critical strike chance of your Multi-Shot ability by 8% and gives you a 66% chance to avoid interruption caused by damage while channeling Volley.",
"Increases the critical strike chance of your Multi-Shot ability by 12% and gives you a 100% chance to avoid interruption caused by damage while channeling Volley."
		];
r++;		

//Master Marksman - Marksmanship 
rank[r]=[
"Increases your ranged attack power by 2%.",
"Increases your ranged attack power by 4%.",
"Increases your ranged attack power by 6%.",
"Increases your ranged attack power by 8%.",
"Increases your ranged attack power by 10%."
		];
r++;		

//Silencing Shot - Marksmanship 
rank[r]=[
		"<span style=text-align:left;float:left;>\
202 Mana</span><span style=text-align:right;float:right;>\
5-35 yd range</span><br><span style=text-align:left;float:left;>\
Instant Cast</span><span style=text-align:right;float:right;>\
20 sec cooldown</span><br>\
		A shot that deals 50% weapon damage and Silences the target for 3 sec."
		];
r++;		

//Monster Slaying - Survival
rank[r]=[
"Increases all damage caused against Beast, Giants and Dragonkin targets by 1% and increases critical damage caused against Beasts, Giants, and Dragonkin targets by an additional 1%.",
"Increases all damage caused against Beast, Giants and Dragonkin targets by 2% and increases critical damage caused against Beasts, Giants, and Dragonkin targets by an additional 2%.",
"Increases all damage caused against Beast, Giants and Dragonkin targets by 3% and increases critical damage caused against Beasts, Giants, and Dragonkin targets by an additional 3%."
		];
r++;		
		
//Humanoid Slaying - Survival
rank[r]=[
"Increases all damage caused against Humanoid targets by 1% and increases critical damage caused against Humanoid targets by an additional 1%.",
"Increases all damage caused against Humanoid targets by 2% and increases critical damage caused against Humanoid targets by an additional 2%.",
"Increases all damage caused against Humanoid targets by 3% and increases critical damage caused against Humanoid targets by an additional 3%."
		];
r++;

//Hawk Eye - Survival
rank[r]=[
"Increases the range of your ranged weapons by 2 yards.",
"Increases the range of your ranged weapons by 4 yards.",
"Increases the range of your ranged weapons by 6 yards."
		];
r++;

//Savage Strikes - Survival
rank[r]=[
"Increases the critical strike chance of Raptor Strike and Mongoose Bite by 10%.",
"Increases the critical strike chance of Raptor Strike and Mongoose Bite by 20%."
		];
r++;	

//Entrapment - Survival
rank[r]=[
"Gives your Immolation Trap, Frost Trap, Explosive Trap, and Snake Trap a 8% chance to entrap the target, preventing them from moving for 4 sec.",
"Gives your Immolation Trap, Frost Trap, Explosive Trap, and Snake Trap a 16% chance to entrap the target, preventing them from moving for 4 sec.",
"Gives your Immolation Trap, Frost Trap, Explosive Trap, and Snake Trap a 25% chance to entrap the target, preventing them from moving for 4 sec."
		];
r++;	

//Deflection - Survival
rank[r]=[
"Increases your Parry chance by 1%.",
"Increases your Parry chance by 2%.",
"Increases your Parry chance by 3%.",
"Increases your Parry chance by 4%.",
"Increases your Parry chance by 5%."
		];
r++;		
				
//Improved Wing Clip - Survival
rank[r]=[
"Gives your Wing Clip ability a 7% chance to immobilize the target for 5 sec.",
"Gives your Wing Clip ability a 14% chance to immobilize the target for 5 sec.",
"Gives your Wing Clip ability a 20% chance to immobilize the target for 5 sec."
		];
r++;		
				
//Clever Traps - Survival
rank[r]=[
"Increases the duration of Freezing and Frost trap effects by 15%, the damage of Immolation and Explosive trap effects by 15%, and the number of snakes summoned from Snake Traps by 15%.",
"Increases the duration of Freezing and Frost trap effects by 30%, the damage of Immolation and Explosive trap effects by 30%, and the number of snakes summoned from Snake Traps by 30%."
		];
r++;		
		
//Survivalist - Survival
rank[r]=[
"Increases total health by 2%.",
"Increases total health by 4%.",
"Increases total health by 6%.",
"Increases total health by 8%.",
"Increases total health by 10%."
		];
r++;		
		
//Deterrence - Survival
rank[r]=[
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>5 min cooldown</span><br>When activated, increases your Dodge and Parry chance by 25% for 10 sec."
		];
r++;		
		
//Trap Mastery - Survival 
rank[r]=[
"Decreases the chance enemies will resist trap effects by 5%.",
"Decreases the chance enemies will resist trap effects by 10%."
		];
r++;	
		
//Surefooted - Survival 
rank[r]=[
"Increases hit chance by 1% and increases the chance movement impairing effects will be resisted by an additional 5%.",
"Increases hit chance by 2% and increases the chance movement impairing effects will be resisted by an additional 10%.",
"Increases hit chance by 3% and increases the chance movement impairing effects will be resisted by an additional 15%."
		];
r++;	


//Improved Feign Death - Survival
rank[r]=[
"Reduces the chance your Feign Death ability will be resisted by 2%.",
"Reduces the chance your Feign Death ability will be resisted by 4%."
		];
r++;	

//Survival Instincts - Survival
rank[r]=[
"Reduces all damage taken by 2% and increases attack power by 2%.",
"Reduces all damage taken by 4% and increases attack power by 4%."
		];
r++;

//Killer Instinct - Survival
rank[r]=[
"Increases your critical strike chance with all attacks by 1%.",
"Increases your critical strike chance with all attacks by 2%.",
"Increases your critical strike chance with all attacks by 3%."
		];
r++;	


//Counterattack - Survival
rank[r]=[
		"<span style=text-align:left;float:left;>45 Mana</span><span style=text-align:right;float:right;>Melee range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>5 sec cooldown</span><br>A strike that becomes active after parrying an opponent's attack. This attack deals 40 damage and immobilizes the target for 5 sec. Counterattack cannot be blocked, dodged, or parried.<br><br>\
		&nbsp;Trainable Ranks Listed Below<br>\
		&nbsp;Rank 2: 65 Mana, 70 Damage<br>\
		&nbsp;Rank 3: 85 Mana, 110 Damage<br>\
		&nbsp;Rank 4: 110 Mana, 165 Damage"
		];
r++;	

//Resourcefulness - Survival
rank[r]=[
"Reduces the mana cost of all traps and melee abilities by 20% and reduces the cooldown of all traps by 2 sec.",
"Reduces the mana cost of all traps and melee abilities by 40% and reduces the cooldown of all traps by 4 sec.",
"Reduces the mana cost of all traps and melee abilities by 60% and reduces the cooldown of all traps by 6 sec."
		];
r++;	

//Lightning Reflexes - Survival
rank[r]=[
"Increases your Agility by 3%.",
"Increases your Agility by 6%.",
"Increases your Agility by 9%.",
"Increases your Agility by 12%.",
"Increases your Agility by 15%."
		];
r++;	

//Thrill of the Hunt - Survival
rank[r]=[
"Gives you a 33% chance to regain 40% of the mana cost of any shot when it critically hits.",
"Gives you a 66% chance to regain 40% of the mana cost of any shot when it critically hits.",
"Gives you a 100% chance to regain 40% of the mana cost of any shot when it critically hits."
		];
r++;

//Wyvern Sting - Survival
rank[r]=[
		"<span style=text-align:left;float:left;>115 Mana</span><span style=text-align:right;float:right;>8-35 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>2 min cooldown</span><br>A stinging shot that puts the target to sleep for 12 sec. Any damage will cancel the effect. When the target wakes up, the Sting causes 300 Nature damage over 12 sec. Only one Sting per Hunter can be active on the target at a time.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 155 Mana, 420 Damage<br>\
		&nbsp;Rank 3: 205 Mana, 600 Damage"
		];
r++;	
	
//Expose Weakness - Survival
rank[r]=[
"Your ranged criticals have a 33% chance to apply an Expose Weakness effect to the target. Expose Weakness increases the Attack Power of all attackers against that target by 25% of your Agility for 7 sec.",
"Your ranged criticals have a 66% chance to apply an Expose Weakness effect to the target. Expose Weakness increases the Attack Power of all attackers against that target by 25% of your Agility for 7 sec.",
"Your ranged criticals have a 100% chance to apply an Expose Weakness effect to the target. Expose Weakness increases the Attack Power of all attackers against that target by 25% of your Agility for 7 sec."
		];
r++;	
	
//Master Tactician - Survival
rank[r]=[
"Your successful ranged attacks have a 6% chance to increase your critical strike chance with all attacks by 2% for 8 sec.",
"Your successful ranged attacks have a 6% chance to increase your critical strike chance with all attacks by 4% for 8 sec.",
"Your successful ranged attacks have a 6% chance to increase your critical strike chance with all attacks by 6% for 8 sec.",
"Your successful ranged attacks have a 6% chance to increase your critical strike chance with all attacks by 8% for 8 sec.",
"Your successful ranged attacks have a 6% chance to increase your critical strike chance with all attacks by 10% for 8 sec."
		];
r++;	
	
//Readiness - Survival
rank[r]=[
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>5 min cooldown</span><br>When activated, this ability immediately finishes the cooldown on your other Hunter abilities."
		];
r++;	
		
//Survival Talents End^^

tree[b] = "Arcane"; b++;
tree[b] = "Fire"; b++;
tree[b] = "Frost"; b++;
//document.write("Hey my I="+i);

talent[i] = [0, "Arcane Subtlety", 2, 1, 1]; i++;
talent[i] = [0, "Arcane Focus", 5, 2, 1]; i++;
talent[i] = [0, "Improved Arcane Missiles", 5, 3, 1]; i++;
talent[i] = [0, "Wand Specialization", 2, 1, 2]; i++; 
talent[i] = [0, "Magic Absorption", 5, 2, 2]; i++;
talent[i] = [0, "Arcane Concentration", 5, 3, 2]; i++;
talent[i] = [0, "Magic Attunement", 2, 1, 3]; i++;
talent[i] = [0, "Arcane Impact", 3, 2, 3]; i++;
talent[i] = [0, "Arcane Fortitude", 1, 4, 3]; i++;
talent[i] = [0, "Improved Mana Shield", 2, 1, 4]; i++;
talent[i] = [0, "Improved Counterspell", 2, 2, 4]; i++;
talent[i] = [0, "Arcane Meditation", 3, 4, 4]; i++;
talent[i] = [0, "Improved Blink", 2, 1, 5]; i++;
talent[i] = [0, "Presence of Mind", 1, 2, 5]; i++;
talent[i] = [0, "Arcane Mind", 5, 4, 5]; i++;
talent[i] = [0, "Prismatic Cloak", 2, 1, 6]; i++;
talent[i] = [0, "Arcane Instability", 3, 2, 6, [getTalentID("Presence of Mind"),1]]; i++;
talent[i] = [0, "Arcane Potency", 3, 3, 6, [getTalentID("Arcane Concentration"),5]]; i++;
talent[i] = [0, "Empowered Arcane Missiles", 3, 1, 7]; i++;
talent[i] = [0, "Arcane Power", 1, 2, 7, [getTalentID("Arcane Instability"),3]]; i++;
talent[i] = [0, "Spell Power", 2, 3, 7]; i++;
talent[i] = [0, "Mind Mastery", 5, 2, 8]; i++;
talent[i] = [0, "Slow", 1, 2, 9]; i++;
treeStart[t] = i;
t++;

//fire talents
talent[i] = [1, "Improved Fireball", 5, 2, 1]; i++;
talent[i] = [1, "Impact", 5, 3, 1]; i++;
talent[i] = [1, "Ignite", 5, 1, 2]; i++;
talent[i] = [1, "Flame Throwing", 2, 2, 2]; i++;
talent[i] = [1, "Improved Fire Blast", 3, 3, 2]; i++;
talent[i] = [1, "Incinerate", 2, 1, 3]; i++;
talent[i] = [1, "Improved Flamestrike", 3, 2, 3]; i++;
talent[i] = [1, "Pyroblast", 1, 3, 3]; i++;
talent[i] = [1, "Burning Soul", 2, 4, 3]; i++;
talent[i] = [1, "Improved Scorch", 3, 1, 4]; i++;
talent[i] = [1, "Improved Fire Ward", 2, 2, 4]; i++;
talent[i] = [1, "Master of Elements", 3, 4, 4]; i++;
talent[i] = [1, "Playing with Fire", 3, 1, 5]; i++;
talent[i] = [1, "Critical Mass", 3, 2, 5]; i++;
talent[i] = [1, "Blast Wave", 1, 3, 5, [getTalentID("Pyroblast"),1]]; i++;
talent[i] = [1, "Blazing Speed", 2, 1, 6]; i++;
talent[i] = [1, "Fire Power", 5, 3, 6]; i++;
talent[i] = [1, "Pyromaniac", 3, 1, 7]; i++;
talent[i] = [1, "Combustion", 1, 2, 7, [getTalentID("Critical Mass"),3]]; i++;
talent[i] = [1, "Molten Fury", 2, 3, 7]; i++;
talent[i] = [1, "Empowered Fireball", 5, 3, 8]; i++;
talent[i] = [1, "Dragon's Breath", 1, 2, 9, [getTalentID("Combustion"),1]]; i++;

treeStart[t] = i;
t++;

//frost talents
talent[i] = [2, "Frost Warding", 2, 1, 1]; i++;
talent[i] = [2, "Improved Frostbolt", 5, 2, 1]; i++;
talent[i] = [2, "Elemental Precision", 3, 3, 1]; i++;
talent[i] = [2, "Ice Shards", 5, 1, 2]; i++;
talent[i] = [2, "Frostbite", 3, 2, 2]; i++;
talent[i] = [2, "Improved Frost Nova", 2, 3, 2]; i++;
talent[i] = [2, "Permafrost", 3, 4, 2]; i++;
talent[i] = [2, "Piercing Ice", 3, 1, 3]; i++;
talent[i] = [2, "Cold Snap", 1, 2, 3]; i++;
talent[i] = [2, "Improved Blizzard", 3, 4, 3]; i++;
talent[i] = [2, "Arctic Reach", 2, 1, 4]; i++;
talent[i] = [2, "Frost Channeling", 3, 2, 4]; i++;
talent[i] = [2, "Shatter", 5, 3, 4, [getTalentID("Improved Frost Nova"),2]]; i++;
talent[i] = [2, "Frozen Core", 3, 1, 5]; i++;
talent[i] = [2, "Ice Block", 1, 2, 5]; i++;
talent[i] = [2, "Improved Cone of Cold", 3, 3, 5]; i++;
talent[i] = [2, "Ice Floes", 2, 1, 6]; i++;
talent[i] = [2, "Winter's Chill", 5, 3, 6]; i++;
talent[i] = [2, "Ice Barrier", 1, 2, 7, [getTalentID("Ice Block"),1]]; i++;
talent[i] = [2, "Arctic Winds", 5, 3, 7]; i++;
talent[i] = [2, "Empowered Frostbolt", 5, 2, 8]; i++;
talent[i] = [2, "Summon Water Elemental", 1, 2, 9]; i++;

treeStart[t] = i;
t++;

//Arcane Talents Begin

//Arcane Subtlety - Arcane
rank[r] = [
		"Reduces your target's resistance to all your spells by 5 and reduces threat of Arcane spells by 20%.",
		"Reduces your target's resistance to all your spells by 10 and reduces threat of Arcane spells by 40%."
		];
r++;		
		
//Arcane Focus - Arcane
rank[r] = [
		"Reduces the chance that the opponent can resist your Arcane spells by 2%.",
		"Reduces the chance that the opponent can resist your Arcane spells by 4%.",
		"Reduces the chance that the opponent can resist your Arcane spells by 6%.",
		"Reduces the chance that the opponent can resist your Arcane spells by 8%.",
		"Reduces the chance that the opponent can resist your Arcane spells by 10%."
		];
r++;		

//Improved Arcane Missiles - Arcane
rank[r] = [
		"Gives you a 20% chance to avoid interruption caused by damage while channeling Arcane Missiles.",
		"Gives you a 40% chance to avoid interruption caused by damage while channeling Arcane Missiles.",
		"Gives you a 60% chance to avoid interruption caused by damage while channeling Arcane Missiles.",
		"Gives you a 80% chance to avoid interruption caused by damage while channeling Arcane Missiles.",
		"Gives you a 100% chance to avoid interruption caused by damage while channeling Arcane Missiles."
		];
r++;		
		
//Wand Specialization - Arcane	
rank[r] = [
		"Increases your damage with Wands by 13%.",
		"Increases your damage with Wands by 25%."
		];
r++;		

//Magic Absorption
rank[r] = [
		"Increases all resistances by 2 and causes all spells you fully resist to restore 1% of your total mana.  1 sec. cooldown.",
		"Increases all resistances by 4 and causes all spells you fully resist to restore 2% of your total mana.  1 sec. cooldown.",
		"Increases all resistances by 6 and causes all spells you fully resist to restore 3% of your total mana.  1 sec. cooldown.",
		"Increases all resistances by 8 and causes all spells you fully resist to restore 4% of your total mana.  1 sec. cooldown.",
		"Increases all resistances by 10 and causes all spells you fully resist to restore 5% of your total mana.  1 sec. cooldown."
		];
r++;		

//Arcane Concentration - Arcane	
rank[r] = [
	"Gives you a 2% chance of entering a Clearcasting state after any damage spell hits a target. The Clearcasting state reduces the mana cost of your next damage	spell by 100%.",
	"Gives you a 4% chance of entering a Clearcasting state after any damage spell hits a target. The Clearcasting state reduces the mana cost of your next damage spell by 100%.",
	"Gives you a 6% chance of entering a Clearcasting state after any damage spell hits a target. The Clearcasting state reduces the mana cost of your next damage spell by 100%.",
	"Gives you a 8% chance of entering a Clearcasting state after any damage spell hits a target. The Clearcasting state reduces the mana cost of your next damage spell by 100%.",
	"Gives you a 10% chance of entering a Clearcasting state after any damage spell hits a target. The Clearcasting state reduces the mana cost of your next damage spell by 100%."
		];
r++;		

//Improved Dampen Magic - Arcane
rank[r] = [
		"Increases the effect of your Amplify Magic and Dampen Magic spells by 25%.",
		"Increases the effect of your Amplify Magic and Dampen Magic spells by 50%."
		];
r++;		
		
//Arcane Impact - Arcane	
rank[r] = [
		"Increases the critical strike chance of your Arcane Explosion and Arcane Blast spells by an additional 2%.",
		"Increases the critical strike chance of your Arcane Explosion and Arcane Blast spells by an additional 4%.",
		"Increases the critical strike chance of your Arcane Explosion and Arcane Blast spells by an additional 6%."
		];		
r++;		

//Arcane Fortitude - Arcane		
rank[r] = [ 
		"Increases your armor by an amount equal to 50% of your Intellect."
		];
r++;	

//Improved Mana Shield - Arcane		
rank[r] = [
		"Decreases the mana lost per point of damage taken when Mana Shield is active by 10%.",
		"Decreases the mana lost per point of damage taken when Mana Shield is active by 20%."
		];
r++;		

//Improved Counterspell - Arcane	
rank[r] = [
		"Gives your Counterspell a 50% chance to silence the target for 4 sec.",
		"Gives your Counterspell a 100% chance to silence the target for 4 sec."
		];
r++;		

//Arcane Meditation - Arcane		
rank[r] = [
		"Allows 10% of your Mana regeneration to continue while casting.",
		"Allows 20% of your Mana regeneration to continue while casting.",
		"Allows 30% of your Mana regeneration to continue while casting."
		];
r++;	

//Improved Blink - Arcane	
rank[r] = [
		"Reduces the mana cost of your Blink spell by 25%.",
		"Reduces the mana cost of your Blink spell by 50%."
		];
r++;

//Presence of Mind - Arcane
rank[r] = [
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>When activated, your next Mage spell with a casting time less than 10 sec becomes an instant cast spell."
		];
r++;		

//Arcane Mind - Arcane		
rank[r] = [
		"Increases your total Intellect by 3%.",
		"Increases your total Intellect by 6%.",
		"Increases your total Intellect by 9%.",
		"Increases your total Intellect by 12%.",
		"Increases your total Intellect by 15%."
		];
r++;

//Prismatic Cloak - Arcane
rank[r]=[
"Reduces all damage taken by 2%.",
"Reduces all damage taken by 4%."
		];
r++;

//Arcane Instability - Arcane		
rank[r] = [
		"Increases your spell damage and critical strike chance by 1%.",
		"Increases your spell damage and critical strike chance by 2%.",
		"Increases your spell damage and critical strike chance by 3%."
		];		
r++;

//Arcane Potency - Arcane		
rank[r] = [
		"Increases the critical strike chance of any spell cast while Clearcasting by 10%.",
		"Increases the critical strike chance of any spell cast while Clearcasting by 20%.",
		"Increases the critical strike chance of any spell cast while Clearcasting by 30%."
		];		
r++;

//Empowered Arcane Missiles - Arcane
rank[r]=[
"Your Arcane Missiles spell gains an additional 15% of your bonus spell damage effects, but mana cost is increased by 2%.",
"Your Arcane Missiles spell gains an additional 30% of your bonus spell damage effects, but mana cost is increased by 4%.",
"Your Arcane Missiles spell gains an additional 45% of your bonus spell damage effects, but mana cost is increased by 6%."
		];
r++;

//Arcane Power - Arcane				
rank[r] = [
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>When activated, your spells deal 30% more damage while costing 30% more mana to cast. This effect lasts 15 sec."
		];
r++;		

//Spell Power - Arcane //New/Changed
rank[r]=[
"Increases critical strike damage bonus of all spells by 25%.",
"Increases critical strike damage bonus of all spells by 50%."
		];
r++;

//Mind Mastery - Arcane
rank[r]=[
"Increases spell damage by up to 5% of your total intellect.",
"Increases spell damage by up to 10% of your total intellect.",
"Increases spell damage by up to 15% of your total intellect.",
"Increases spell damage by up to 20% of your total intellect.",
"Increases spell damage by up to 25% of your total intellect."
		];
r++;


//Slow - Arcane				
rank[r] = [
		"<span style=text-align:left;float:left;>627 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><BR>Reduces target's movement speed by 50%, increases the time between ranged attacks by 50% and increases casting time by 50%. Lasts 15 sec. Slow can only affect one target at a time."
		];
r++;


//Improved Fireball - Fire	
rank[r] = [
			"Reduces the casting time of your Fireball spell by 0.1 sec.",
			"Reduces the casting time of your Fireball spell by 0.2 sec.",
			"Reduces the casting time of your Fireball spell by 0.3 sec.",
			"Reduces the casting time of your Fireball spell by 0.4 sec.",
			"Reduces the casting time of your Fireball spell by 0.5 sec."
		];
r++;



//Impact - Fire			
rank[r] = [
			"Gives your Fire spells a 2% chance to stun the target for 2 sec.",
			"Gives your Fire spells a 4% chance to stun the target for 2 sec.",
			"Gives your Fire spells a 6% chance to stun the target for 2 sec.",
			"Gives your Fire spells a 8% chance to stun the target for 2 sec.",
			"Gives your Fire spells a 10% chance to stun the target for 2 sec."
		];
r++;

//Ignite - Fire		
rank[r] = [
			"Your critical strikes from Fire damage spells cause the target to burn for an additional 8% of your spell's damage over 4 sec.",
			"Your critical strikes from Fire damage spells cause the target to burn for an additional 16% of your spell's damage over 4 sec.",
			"Your critical strikes from Fire damage spells cause the target to burn for an additional 24% of your spell's damage over 4 sec.",
			"Your critical strikes from Fire damage spells cause the target to burn for an additional 32% of your spell's damage over 4 sec.",
			"Your critical strikes from Fire damage spells cause the target to burn for an additional 40% of your spell's damage over 4 sec."
		];		
r++;		

//Flame Throwing - Fire	
rank[r] = [
			"Increases the range of your fire spells by 3 yards.",
			"Increases the range of your fire spells by 6 yards."
		];
r++;

//Improved Fire Blast - Fire	
rank[r] = [
			"Reduces the cooldown of your Fire Blast spell by 0.5 sec.",
			"Reduces the cooldown of your Fire Blast spell by 1 sec.",
			"Reduces the cooldown of your Fire Blast spell by 1.5 sec."
		];
r++;		


//Incinerate - Fire			
rank[r] = [
			"Increases the critical strike chance of your Fire Blast and Scorch spells by 2%.",
			"Increases the critical strike chance of your Fire Blast and Scorch spells by 4%."
		];
r++;		

//Improved Flamestrike - Fire		
rank[r] = [
			"Increases the critical strike chance of your Flamestrike spell by 5%.",
			"Increases the critical strike chance of your Flamestrike spell by 10%.",
			"Increases the critical strike chance of your Flamestrike spell by 15%."
		];
r++;		

//Pyroblast - Fire	
rank[r] = [
		"<span style=text-align:left;float:left;>125 Mana</span><span style=text-align:right;float:right;>35 yd range</span><br><span style=text-align:left;float:left;>6 sec cast</span><br>Hurls an immense fiery boulder that causes 148 to 195 Fire damage and an additional 56 Fire damage over 12 sec.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 150 Mana, 193-250 Damage, 72/12 sec<br>\
		&nbsp;Rank 3: 195 Mana, 270-343 Damage, 96/12 sec<br>\
		&nbsp;Rank 4: 240 Mana, 347-437 Damage, 124/12 sec<br>\
		&nbsp;Rank 5: 285 Mana, 427-536 Damage, 156/12 sec<br>\
		&nbsp;Rank 6: 335 Mana, 525-654 Damage, 188/12 sec<br>\
		&nbsp;Rank 7: 385 Mana, 625-776 Damage, 228/12 sec<br>\
		&nbsp;Rank 8: 440 Mana, 743-918 Damage, 268/12 sec<br>\
		&nbsp;Rank 9: 460 Mana, 877-1087 Damage, 324/12 sec"
		];		
r++;		



//Burning Soul - Fire
rank[r] = [
			"Gives your Fire spells a 35% chance to not lose casting time when you take damage and reduces the threat caused by your Fire spells by 5%.",
			"Gives your Fire spells a 70% chance to not lose casting time when you take damage and reduces the threat caused by your Fire spells by 10%."
		];
r++;		

//Improved Scorch - Fire	
rank[r] = [
			"Your Scorch spells have a 33% chance to cause your target to be vulnerable to Fire damage. This vulnerability increases the Fire damage dealt to your target by 3% and lasts 30 sec.  Stacks up to 5 times.",
			"Your Scorch spells have a 66% chance to cause your target to be vulnerable to Fire damage. This vulnerability increases the Fire damage dealt to your target by 3% and lasts 30 sec.  Stacks up to 5 times.",
			"Your Scorch spells have a 100% chance to cause your target to be vulnerable to Fire damage. This vulnerability increases the Fire damage dealt to your target by 3% and lasts 30 sec.  Stacks up to 5 times."
		];
r++;		

//Improved Fire Ward - Fire	
rank[r] = [
			"Causes your Fire Ward to have a 10% chance to reflect Fire spells while active.",
			"Causes your Fire Ward to have a 20% chance to reflect Fire spells while active."
		];
r++;		

//Master of Elements - Fire	
rank[r] = [
			"Your Fire and Frost spell criticals will refund 10% of their base mana cost.",
			"Your Fire and Frost spell criticals will refund 20% of their base mana cost.",
			"Your Fire and Frost spell criticals will refund 30% of their base mana cost."
		]; 
r++;

//Playing with Fire - Fire	
rank[r] = [
			"Increases all spell damage caused by 1% and all spell damage taken by 1%.",
			"Increases all spell damage caused by 2% and all spell damage taken by 2%.",
			"Increases all spell damage caused by 3% and all spell damage taken by 3%."
		]; 
r++;

//Critical Mass - Fire	
rank[r] = [
			"Increases the critical strike chance of your fire spells by 2%.",
			"Increases the critical strike chance of your fire spells by 4%.",
			"Increases the critical strike chance of your fire spells by 6%."
		];
r++;		

//Blast Wave - Fire	
rank[r] = [
			"215 Mana<br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>30 sec cooldown</span><br>A wave of flame radiates outward from the caster, damaging all enemies caught within the blast for 160 to 192 Fire damage, and dazing them for 6 sec.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 270 Mana, 201-241 Damage<br>\
		&nbsp;Rank 3: 355 Mana, 277-329 Damage<br>\
		&nbsp;Rank 4: 450 Mana, 365-433 Damage<br>\
		&nbsp;Rank 5: 545 Mana, 462-544 Damage<br>\
		&nbsp;Rank 6: 595 Mana, 640-754 Damage"
		]; 
r++;		

//Blazing Speed - Fire	
rank[r] = [
			"Gives you a 5% chance when hit by a melee or ranged attack to increase your movement speed by 50% and dispel all movement impairing effects. This effect lasts 8 sec.",
			"Gives you a 10% chance when hit by a melee or ranged attack to increase your movement speed by 50% and dispel all movement impairing effects. This effect lasts 8 sec."
		]; 
r++;

//Fire Power - Fire	
rank[r] = [
			"Increases the damage done by your fire spells by 2%.",
			"Increases the damage done by your fire spells by 4%.",
			"Increases the damage done by your fire spells by 6%.",
			"Increases the damage done by your fire spells by 8%.",
			"Increases the damage done by your fire spells by 10%."		
		]; 
r++;

//Pyromaniac - Fire	
rank[r] = [
			"Increases chance to critically hit and reduces the mana cost of all Fire spells by an additional 1%.",
			"Increases chance to critically hit and reduces the mana cost of all Fire spells by an additional 2%.",
			"Increases chance to critically hit and reduces the mana cost of all Fire spells by an additional 3%."			
		]; 
r++;
		
//Combustion - Fire
rank[r] = [
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>When activated, this spell causes each of your Fire damage spell hits to increase your critical strike chance with Fire damage spells by 10%. This effect lasts until you have caused 3 critical strikes with Fire spells."
		];
r++;
		
//Molten Fury - Fire	
rank[r] = [
			"Increases damage of all spells against targets with less than 20% health by 10%.",
			"Increases damage of all spells against targets with less than 20% health by 20%."
		]; 
r++;

//Empowered Fireball - Fire	
rank[r] = [
			"Your Fireball spell gains an additional 3% of your bonus spell damage effects.",
			"Your Fireball spell gains an additional 6% of your bonus spell damage effects.",
			"Your Fireball spell gains an additional 9% of your bonus spell damage effects.",
			"Your Fireball spell gains an additional 12% of your bonus spell damage effects.",
			"Your Fireball spell gains an additional 15% of your bonus spell damage effects."
		]; 
r++;

//Dragon's Breath - Fire

rank[r] = [
		"<span style=text-align:left;float:left;>475 Mana</span><BR><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>20 sec cooldown</span><br>Targets in a cone in front of the caster take 382 to 442 Fire damage and are Disoriented for 3 sec. Any direct damaging attack will revive targets. Turns off your attack when used.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 575 Mana, 463-536 Damage<br>\
		&nbsp;Rank 3: 660 Mana, 584-677 Damage<br>\
		&nbsp;Rank 4: 700 Mana, 680-790 Damage<br>"
		];
r++;










		
//Frost Warding - Frost
rank[r]=[
"Increases the armor and resistances given by your Frost Armor and Ice Armor spells by 15%. In addition, gives your Frost Ward a 10% chance to reflect Frost spells and effects while active.",
"Increases the armor and resistances given by your Frost Armor and Ice Armor spells by 30%. In addition, gives your Frost Ward a 20% chance to reflect Frost spells and effects while active."
		];
r++;				



//Improved Frost Bolt - Frost
rank[r]=[
			"Reduces the casting time of your Frostbolt spell by 0.1 sec.",
			"Reduces the casting time of your Frostbolt spell by 0.2 sec.",
			"Reduces the casting time of your Frostbolt spell by 0.3 sec.",
			"Reduces the casting time of your Frostbolt spell by 0.4 sec.",
			"Reduces the casting time of your Frostbolt spell by 0.5 sec."
			];
r++;			
			
//Elemental Focus
rank[r]=[
"Reduces the mana cost and chance targets resist your Frost and Fire spells by 1%.",
"Reduces the mana cost and chance targets resist your Frost and Fire spells by 2%.",
"Reduces the mana cost and chance targets resist your Frost and Fire spells by 3%."
		];
r++;				
		
//Ice Shards - Frost
rank[r]=[
"Increases the critical strike damage bonus of your Frost spells by 20%.",
"Increases the critical strike damage bonus of your Frost spells by 40%.",
"Increases the critical strike damage bonus of your Frost spells by 60%.",
"Increases the critical strike damage bonus of your Frost spells by 80%.",
"Increases the critical strike damage bonus of your Frost spells by 100%."
		];
r++;		

//Frostbite - Frost
rank[r]=[
"Gives your Chill effects a 5% chance to freeze the target for 5 sec.",
"Gives your Chill effects a 10% chance to freeze the target for 5 sec.",
"Gives your Chill effects a 15% chance to freeze the target for 5 sec."
		];
r++;	

//Improved Frost Nova - Frost
rank[r]=[
"Reduces the cooldown of your Frost Nova spell by 2 sec.",
"Reduces the cooldown of your Frost Nova spell by 4 sec."
		];
r++;				
		
//Permafrost - Frost
rank[r]=[
			"Increases the duration of your Chill effects by 1 sec and reduces the target's speed by an additional 4%.",
			"Increases the duration of your Chill effects by 2 sec and reduces the target's speed by an additional 7%.",
			"Increases the duration of your Chill effects by 3 sec and reduces the target's speed by an additional 10%."
		];
r++;		



//Piercing Ice - Frost
rank[r]=[
"Increases the damage done by your Frost spells by 2%.",
"Increases the damage done by your Frost spells by 4%.",
"Increases the damage done by your Frost spells by 6%."
		];
r++;		

//Cold Snap - Frost
rank[r]=[
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>10 min cooldown</span><br>When activated, this spell finishes the cooldown on all of your Frost spells you recently cast."
		];
r++;		

//Improved Blizzard - Frost
rank[r]=[
"Adds a chill effect to your Blizzard spell. This effect lowers the target's movement speed by 30%. Lasts 1.50 sec.",
"Adds a chill effect to your Blizzard spell. This effect lowers the target's movement speed by 50%. Lasts 1.50 sec.",
"Adds a chill effect to your Blizzard spell. This effect lowers the target's movement speed by 65%. Lasts 1.50 sec."
		];
r++;		

//Arctic Reach - Frost
rank[r]=[
"Increases the range of your Frostbolt and Blizzard spells and the radius of your Frost Nova and Cone of Cold spells by 10%.",
"Increases the range of your Frostbolt and Blizzard spells and the radius of your Frost Nova and Cone of Cold spells by 20%."
		];
r++;		
		

//Frost Channeling - Frost
rank[r]=[
"Reduces the mana cost of your frost spells by 5% and reduces the threat caused by your Frost spells by 4%.",
"Reduces the mana cost of your frost spells by 10% and reduces the threat caused by your Frost spells by 7%.",
"Reduces the mana cost of your frost spells by 15% and reduces the threat caused by your Frost spells by 10%."
		];
r++;		
		
//Shatter - Frost
rank[r]=[
"Increases the critical strike chance of all your spells against frozen targets by 10%.",
"Increases the critical strike chance of all your spells against frozen targets by 20%.",
"Increases the critical strike chance of all your spells against frozen targets by 30%.",
"Increases the critical strike chance of all your spells against frozen targets by 40%.",
"Increases the critical strike chance of all your spells against frozen targets by 50%."
		];
r++;

//Frozen Core - Frost
rank[r]=[
"Reduces the damage taken by Frost and Fire effects by 2%.",
"Reduces the damage taken by Frost and Fire effects by 4%.",
"Reduces the damage taken by Frost and Fire effects by 6%."
		];
r++;

//Ice Block - Frost
rank[r]=[
		"<span style=text-align:left;float:left;>15 Mana</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>5 min cooldown</span><br>You become encased in a block of ice, protecting you from all physical attacks and spells for 10 sec, but during that time you cannot attack, move or cast spells.  Also causes Hypothermia, preventing you from recasting Ice Block for 30 sec."
		];
r++;		
		
	
//Improved Cone of Cold - Frost
rank[r]=[
"Increases the damage dealt by your Cone of Cold spell by 15%.",
"Increases the damage dealt by your Cone of Cold spell by 25%.",
"Increases the damage dealt by your Cone of Cold spell by 35%."
		];
r++;	

//Ice Floes - Frost	
rank[r] = [
		"Reduces the cooldown of your Cone of Cold, Cold Snap, Ice Barrier and Ice Block spells by 10%.",
		"Reduces the cooldown of your Cone of Cold, Cold Snap, Ice Barrier and Ice Block spells by 20%."
		];
r++;

//Winter's Chill - Frost
rank[r]=[
"Gives your Frost damage spells a 20% chance to apply the Winter's Chill effect, which increases the chance a Frost spell will critically hit the target by 2% for 15 sec. Stacks up to 5 times.",
"Gives your Frost damage spells a 40% chance to apply the Winter's Chill effect, which increases the chance a Frost spell will critically hit the target by 2% for 15 sec. Stacks up to 5 times.",
"Gives your Frost damage spells a 60% chance to apply the Winter's Chill effect, which increases the chance a Frost spell will critically hit the target by 2% for 15 sec. Stacks up to 5 times.",
"Gives your Frost damage spells a 80% chance to apply the Winter's Chill effect, which increases the chance a Frost spell will critically hit the target by 2% for 15 sec. Stacks up to 5 times.",
"Gives your Frost damage spells a 100% chance to apply the Winter's Chill effect, which increases the chance a Frost spell will critically hit the target by 2% for 15 sec. Stacks up to 5 times."
		];
r++;

//Ice Barrier - Frost
rank[r]=[
		"<span style=text-align:left;float:left;>305 Mana</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>30 sec cooldown</span><br>Instantly shields you, absorbing 454 damage. Lasts 1 min. While the shield holds, spells will not be interrupted.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: Absorbs 568 Damage<br>\
		&nbsp;Rank 3: Absorbs 699 Damage<br>\
		&nbsp;Rank 4: Absorbs 842 Damage<br>\
		&nbsp;Rank 5: Absorbs 951 Damage<br>\
		&nbsp;Rank 6: Absorbs 1075 Damage"
		];
r++;	

//Arctic Winds - Frost
rank[r]=[
"Increases all Frost damage you cause by 1% and reduces the chance melee and ranged attacks will hit you by 1%.",
"Increases all Frost damage you cause by 2% and reduces the chance melee and ranged attacks will hit you by 2%.",
"Increases all Frost damage you cause by 3% and reduces the chance melee and ranged attacks will hit you by 3%.",
"Increases all Frost damage you cause by 4% and reduces the chance melee and ranged attacks will hit you by 4%.",
"Increases all Frost damage you cause by 5% and reduces the chance melee and ranged attacks will hit you by 5%."
		];
r++;

//Empowered Frostbolt - Frost
rank[r]=[
"Your Frostbolt spell gains an additional 2% of your bonus spell damage effects and an additional 1% chance to critically strike.",
"Your Frostbolt spell gains an additional 4% of your bonus spell damage effects and an additional 2% chance to critically strike.",
"Your Frostbolt spell gains an additional 6% of your bonus spell damage effects and an additional 3% chance to critically strike.",
"Your Frostbolt spell gains an additional 8% of your bonus spell damage effects and an additional 4% chance to critically strike.",
"Your Frostbolt spell gains an additional 10% of your bonus spell damage effects and an additional 5% chance to critically strike."
		];
r++;

//Summon Water Elemental - Frost
rank[r]=[
		"358 Mana<br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>3 min cooldown</span><br>Summon a Water Elemental to fight for the caster for 45 sec."
		];
r++;	
		
//Frost Talents End^^

tree[b] = "Holy"; b++;
tree[b] = "Protection"; b++;
tree[b] = "Retribution"; b++;

talent[i] = [0, "Divine Strength", 5, 2, 1]; i++;
talent[i] = [0, "Divine Intellect", 5, 3, 1]; i++;
talent[i] = [0, "Spiritual Focus", 5, 2, 2]; i++;
talent[i] = [0, "Improved Seal of Righteousness", 5, 3, 2]; i++; 
talent[i] = [0, "Healing Light", 3, 1, 3]; i++;
talent[i] = [0, "Aura Mastery", 1, 2, 3]; i++;
talent[i] = [0, "Improved Lay on Hands", 2, 3, 3]; i++;
talent[i] = [0, "Unyielding Faith", 2, 4, 3]; i++;
talent[i] = [0, "Illumination", 5, 2, 4]; i++;
talent[i] = [0, "Improved Blessing of Wisdom", 2, 3, 4]; i++;
talent[i] = [0, "Pure of Heart", 3, 1, 5]; i++;
talent[i] = [0, "Divine Favor", 1, 2, 5, [getTalentID("Illumination"),5]]; i++;
talent[i] = [0, "Sanctified Light", 3, 3, 5]; i++;
talent[i] = [0, "Purifying Power", 2, 1, 6]; i++;
talent[i] = [0, "Holy Power", 5, 3, 6]; i++;
talent[i] = [0, "Light's Grace", 3, 1, 7]; i++;
talent[i] = [0, "Holy Shock", 1, 2, 7, [getTalentID("Divine Favor"),1]]; i++;
talent[i] = [0, "Blessed Life", 3, 3, 7]; i++;
talent[i] = [0, "Holy Guidance", 5, 2, 8]; i++;
talent[i] = [0, "Divine Illumination", 1, 2, 9]; i++;

treeStart[t] = i;
t++;

//protection talents
talent[i] = [1, "Improved Devotion Aura", 5, 2, 1]; i++;
talent[i] = [1, "Redoubt", 5, 3, 1]; i++;
talent[i] = [1, "Precision", 3, 1, 2]; i++;
talent[i] = [1, "Guardian's Favor", 2, 2, 2]; i++;
talent[i] = [1, "Toughness", 5, 4, 2]; i++;
talent[i] = [1, "Blessing of Kings", 1, 1, 3]; i++;
talent[i] = [1, "Improved Righteous Fury", 3, 2, 3]; i++;
talent[i] = [1, "Shield Specialization", 3, 3, 3, [getTalentID("Redoubt"),5]]; i++;
talent[i] = [1, "Anticipation", 5, 4, 3]; i++;
talent[i] = [1, "Stoicism", 2, 1, 4]; i++;
talent[i] = [1, "Improved Hammer of Justice", 3, 2, 4]; i++;
talent[i] = [1, "Improved Concentration Aura", 3, 3, 4]; i++;
talent[i] = [1, "Spell Warding", 2, 1, 5]; i++;
talent[i] = [1, "Blessing of Sanctuary", 1, 2, 5]; i++;
talent[i] = [1, "Reckoning", 5, 3, 5]; i++;
talent[i] = [1, "Sacred Duty", 2, 1, 6]; i++;
talent[i] = [1, "One-Handed Weapon Specialization", 5, 3, 6]; i++;
talent[i] = [1, "Improved Holy Shield", 2, 1, 7, [i+1,1]]; i++;
talent[i] = [1, "Holy Shield", 1, 2, 7, [getTalentID("Blessing of Sanctuary"),1]]; i++;
talent[i] = [1, "Ardent Defender", 5, 3, 7]; i++;
talent[i] = [1, "Combat Expertise", 5, 3, 8]; i++;
talent[i] = [1, "Avenger's Shield", 1, 2, 9, [getTalentID("Holy Shield"),1]]; i++;

treeStart[t] = i;
t++;

//retribution talents
talent[i] = [2, "Improved Blessing of Might", 5, 2, 1]; i++;
talent[i] = [2, "Benediction", 5, 3, 1]; i++;
talent[i] = [2, "Improved Judgement", 2, 1, 2]; i++;
talent[i] = [2, "Improved Seal of the Crusader", 3, 2, 2]; i++;
talent[i] = [2, "Deflection", 5, 3, 2]; i++;
talent[i] = [2, "Vindication", 3, 1, 3]; i++;
talent[i] = [2, "Conviction", 5, 2, 3]; i++;
talent[i] = [2, "Seal of Command", 1, 3, 3]; i++;
talent[i] = [2, "Pursuit of Justice", 3, 4, 3]; i++;
talent[i] = [2, "Eye for an Eye", 2, 1, 4]; i++;
talent[i] = [2, "Improved Retribution Aura", 2, 3, 4]; i++;
talent[i] = [2, "Crusade", 3, 4, 4]; i++;
talent[i] = [2, "Two-Handed Weapon Specialization", 3, 1, 5]; i++;
talent[i] = [2, "Sanctity Aura", 1, 3, 5]; i++;
talent[i] = [2, "Improved Sanctity Aura", 2, 4, 5, [getTalentID("Sanctity Aura"),1]]; i++;
talent[i] = [2, "Vengeance", 5, 2, 6, [getTalentID("Conviction"),5]]; i++;
talent[i] = [2, "Sanctified Judgement", 3, 3, 6]; i++;
talent[i] = [2, "Sanctified Seals", 3, 1, 7]; i++;
talent[i] = [2, "Repentance", 1, 2, 7]; i++;
talent[i] = [2, "Divine Purpose", 3, 3, 7]; i++;
talent[i] = [2, "Fanaticism", 5, 2, 8, [getTalentID("Repentance"),1]]; i++;
talent[i] = [2, "Crusader Strike", 1, 2, 9]; i++;

treeStart[t] = i;
t++;


//Holy Talents Begin

//Divine Strength - Holy
rank[r] = [
"Increases your total Strength by 2%",
"Increases your total Strength by 4%",
"Increases your total Strength by 6%",
"Increases your total Strength by 8%",
"Increases your total Strength by 10%"
		];
r++;		
		
//Divine Intellect - Holy
rank[r] = [
"Increases your total Intellect by 2%.",
"Increases your total Intellect by 4%.",
"Increases your total Intellect by 6%.",
"Increases your total Intellect by 8%.",
"Increases your total Intellect by 10%."
		];
r++;		

//Spiritual Focus - Holy
rank[r] = [
"Gives your Flash of Light and Holy Light spells a 14% chance to not lose casting time when you take damage.",
"Gives your Flash of Light and Holy Light spells a 28% chance to not lose casting time when you take damage.",
"Gives your Flash of Light and Holy Light spells a 42% chance to not lose casting time when you take damage.",
"Gives your Flash of Light and Holy Light spells a 56% chance to not lose casting time when you take damage.",
"Gives your Flash of Light and Holy Light spells a 70% chance to not lose casting time when you take damage."
		];
r++;		
		
//Improved Seal of Righteousness - Holy
rank[r] = [
"Increases the damage done by your Seal of Righteousness and Judgement of Righteousness by 3%.",
"Increases the damage done by your Seal of Righteousness and Judgement of Righteousness by 6%.",
"Increases the damage done by your Seal of Righteousness and Judgement of Righteousness by 9%.",
"Increases the damage done by your Seal of Righteousness and Judgement of Righteousness by 12%.",
"Increases the damage done by your Seal of Righteousness and Judgement of Righteousness by 15%."
		];
r++;		

//Healing Light - Holy
rank[r] = [
"Increases the amount healed by your Holy Light and Flash of Light spells by 4%.",
"Increases the amount healed by your Holy Light and Flash of Light spells by 8%.",
"Increases the amount healed by your Holy Light and Flash of Light spells by 12%."
		];
r++;		

//Aura Mastery - Retribution 
rank[r]=[
		"Increases the radius of your Auras to 40 yards."
		];
r++;	

//Improved Lay on Hands - Holy
rank[r] = [
		"Gives the target of your Lay on Hands spell a 15% bonus to their armor value from items for 2 min. In addition, the cooldown for your Lay on Hands spell is reduced by 10 min.",
		"Gives the target of your Lay on Hands spell a 30% bonus to their armor value from items for 2 min. In addition, the cooldown for your Lay on Hands spell is reduced by 20 min."
		];		
r++;		


//Unyielding Faith - Holy
rank[r] = [ 
"Increases your chance to resist Fear and Disorient effects by an additional 5%.",
"Increases your chance to resist Fear and Disorient effects by an additional 10%."
		];
r++;		

//Illumination - Holy
rank[r] = [
"After getting a critical effect from your Flash of Light, Holy Light, or Holy Shock heal spell, gives you a 20% chance to gain Mana equal to 60% of the base cost of your spell.",
"After getting a critical effect from your Flash of Light, Holy Light, or Holy Shock heal spell, gives you a 40% chance to gain Mana equal to 60% of the base cost of your spell.",
"After getting a critical effect from your Flash of Light, Holy Light, or Holy Shock heal spell, gives you a 60% chance to gain Mana equal to 60% of the base cost of your spell.",
"After getting a critical effect from your Flash of Light, Holy Light, or Holy Shock heal spell, gives you a 80% chance to gain Mana equal to 60% of the base cost of your spell.",
"After getting a critical effect from your Flash of Light, Holy Light, or Holy Shock heal spell, gives you a 100% chance to gain Mana equal to 60% of the base cost of your spell."
		];
r++;		

//Improved Blessing of Wisdom - Holy 
rank[r] = [
"Increases the effect of your Blessing of Wisdom spell by 10%.",
"Increases the effect of your Blessing of Wisdom spell by 20%."
		];
r++;		

//Pure of Heart - Holy 
rank[r] = [
"Increases your resistance to Curse and Disease effects by 5%.",
"Increases your resistance to Curse and Disease effects by 10%.",
"Increases your resistance to Curse and Disease effects by 15%."
		];
r++;		

//Divine Favor - Holy 
rank[r] = [
		"88 Mana<br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>2 min cooldown</span><br>When activated, gives your next Flash of Light, Holy Light, or Holy Shock spell a 100% critical effect chance."
		];
r++;		

//Sanctified Light - Holy
rank[r] = [
		"Increases the critical strike chance of your Holy Light spell by 2%.",
		"Increases the critical strike chance of your Holy Light spell by 4%.",
		"Increases the critical strike chance of your Holy Light spell by 6%."		
		];
r++;		
		

//Purifying Power - Holy
rank[r] = [
		"Reduces the mana cost of your Cleanse, Purify, and Consecration spells by 5% and increases the critical strike chance of your Exorcism and Holy Wrath spells by 10%.",
		"Reduces the mana cost of your Cleanse, Purify, and Consecration spells by 10% and increases the critical strike chance of your Exorcism and Holy Wrath spells by 20%."
		];
r++;		


//Holy Power - Holy
rank[r] = [
"Increases the critical effect chance of your Holy spells by 1%.",
"Increases the critical effect chance of your Holy spells by 2%.",
"Increases the critical effect chance of your Holy spells by 3%.",
"Increases the critical effect chance of your Holy spells by 4%.",
"Increases the critical effect chance of your Holy spells by 5%."
		];
r++;		

//Light's Grace - Holy
rank[r] = [
"Gives your Holy Light spell a 33% chance to reduce the cast time of your next Holy Light spell by 0.5 sec. This effect lasts 15 sec.",
"Gives your Holy Light spell a 66% chance to reduce the cast time of your next Holy Light spell by 0.5 sec. This effect lasts 15 sec.",
"Gives your Holy Light spell a 100% chance to reduce the cast time of your next Holy Light spell by 0.5 sec. This effect lasts 15 sec."
		];
r++;		

//Holy Shock - Holy			
rank[r] = [
		"<span style=text-align:left;float:left;>225 Mana</span><span style=text-align:right;float:right;>20 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>15 sec cooldown</span><br>Blasts the target with Holy energy, causing 204 to 220 Holy damage to an enemy, or 204 to 220 healing to an ally.\
		<br><br>&nbsp;Trainable Ranks Listed Below<br>\
		&nbsp;Rank 2: 275 Mana, 279-302 Damage or Healing<br>\
		&nbsp;Rank 3: 325 Mana, 365-396 Damage or Healing<br>\
		&nbsp;Rank 4: 385 Mana, 452-488 Damage or Healing<br>\
		&nbsp;Rank 5: 435 Mana, 530-574 Damage or Healing"
		];
r++;		

//Blessed Life - Holy
rank[r] = [
"All attacks against you have a 4% chance to cause half damage.",
"All attacks against you have a 7% chance to cause half damage.",
"All attacks against you have a 10% chance to cause half damage."
		];
r++;		

//Holy Guidance - Holy
rank[r] = [
"Increases your spell damage and healing by 7% of your total Intellect.",
"Increases your spell damage and healing by 14% of your total Intellect.",
"Increases your spell damage and healing by 21% of your total Intellect.",
"Increases your spell damage and healing by 28% of your total Intellect.",
"Increases your spell damage and healing by 35% of your total Intellect."
		];
r++;	

//Divine Illumination - Holy			
rank[r] = [
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>Reduces the mana cost of all spells by 50% for 15 sec."
		];
r++;

//Improved Devotion Aura - Protection 
rank[r] = [
"Increases the armor bonus of your Devotion Aura by 8%.",
"Increases the armor bonus of your Devotion Aura by 16%.",
"Increases the armor bonus of your Devotion Aura by 24%.",
"Increases the armor bonus of your Devotion Aura by 32%.",
"Increases the armor bonus of your Devotion Aura by 40%."
		];
r++;		

//Redoubt - Protection
rank[r] = [
"Damaging melee and ranged attacks against you have a 10% chance to increase your chance to block by 6%.  Lasts 10 sec or 5 blocks.",
"Damaging melee and ranged attacks against you have a 10% chance to increase your chance to block by 12%.  Lasts 10 sec or 5 blocks.",
"Damaging melee and ranged attacks against you have a 10% chance to increase your chance to block by 18%.  Lasts 10 sec or 5 blocks.",
"Damaging melee and ranged attacks against you have a 10% chance to increase your chance to block by 24%.  Lasts 10 sec or 5 blocks.",
"Damaging melee and ranged attacks against you have a 10% chance to increase your chance to block by 30%.  Lasts 10 sec or 5 blocks."
		];
r++;

//Precision - Protection
rank[r] = [
"Increases your chance to hit with melee weapons and spells by 1%.",
"Increases your chance to hit with melee weapons and spells by 2%.",
"Increases your chance to hit with melee weapons and spells by 3%."
		];
r++;		

//Guardian's Favor - Protection 
rank[r] = [
"Reduces the cooldown of your Blessing of Protection by 60 sec and increases the duration of your Blessing of Freedom by 2 sec.",
"Reduces the cooldown of your Blessing of Protection by 120 sec and increases the duration of your Blessing of Freedom by 4 sec."
		];		
r++;		

//Toughness - Protection 
rank[r] = [
		"Increases your armor value from items by 2%.",
		"Increases your armor value from items by 4%.",
		"Increases your armor value from items by 6%.",
		"Increases your armor value from items by 8%.",
		"Increases your armor value from items by 10%."		
		];
r++;		

//Blessing of Kings - Retribution 
rank[r]=[
		"<span style=text-align:left;float:left;>177 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br>Instant cast<br>Places a Blessing on the friendly target, increasing total stats by 10% for 10 min. Players may only have one Blessing on them per Paladin at any one time."
		];
r++;	

//Improved Righteous Fury - Protection 
rank[r] = [
"While Righteous Fury is active, all damage taken is reduced by 2% and increases the amount of threat generated by your Righteous Fury spell by 16%.",
"While Righteous Fury is active, all damage taken is reduced by 4% and increases the amount of threat generated by your Righteous Fury spell by 33%.",
"While Righteous Fury is active, all damage taken is reduced by 6% and increases the amount of threat generated by your Righteous Fury spell by 50%."
		];
r++;		

//Shield Specialization - Protection 
rank[r] = [
"Increases the amount of damage absorbed by your shield by 10%.",
"Increases the amount of damage absorbed by your shield by 20%.",
"Increases the amount of damage absorbed by your shield by 30%."
		];
r++;		

//Anticipation - Protection
rank[r] = [
"Increases your Defense skill by 4.",
"Increases your Defense skill by 8.",
"Increases your Defense skill by 12.",
"Increases your Defense skill by 16.",
"Increases your Defense skill by 20.",
		];
r++;		

//Stoicism - Protection
rank[r] = [
"Increases your resistance to Stun effects by an additional 5% and reduces the chance your spells will be dispelled by an additional 15%.",
"Increases your resistance to Stun effects by an additional 10% and reduces the chance your spells will be dispelled by an additional 30%."
		];
r++;		

//Improved Hammer of Justice - Protection 
rank[r] = [
"Decreases the cooldown of your Hammer of Justice spell by 5 sec.",
"Decreases the cooldown of your Hammer of Justice spell by 10 sec.",
"Decreases the cooldown of your Hammer of Justice spell by 15 sec."
		];
r++;		

//Improved Concentration Aura - Protection
rank[r] = [
"Increases the effect of your Concentration Aura by an additional 5% and reduces the duration of any Silence or Interrupt effect used against an affected group member by 10%.  The duration reduction does not stack with any other effects.",
"Increases the effect of your Concentration Aura by an additional 10% and reduces the duration of any Silence or Interrupt effect used against an affected group member by 20%.  The duration reduction does not stack with any other effects.",
"Increases the effect of your Concentration Aura by an additional 15% and reduces the duration of any Silence or Interrupt effect used against an affected group member by 30%.  The duration reduction does not stack with any other effects."
		];
r++;		

//Spell Warding - Protection
rank[r] = [
"All spell damage taken is reduced by 2%.",
"All spell damage taken is reduced by 4%."
		];
r++;		

//Blessing of Sanctuary - Protection 
rank[r] = [
		"<span style=text-align:left;float:left;>60 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br>Instant cast<br>Places a Blessing on the friendly target, reducing damage dealt from all sources by up to 10 for 10 min.  In addition, when the target blocks a melee attack the attacker will take 14 Holy damage. Players may only have one Blessing on them per Paladin at any one time.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 85 Mana, 14 Damage Reduction, 21 Holy Damage<br>\
		&nbsp;Rank 3: 110 Mana, 19 Damage Reduction, 28 Holy Damage<br>\
		&nbsp;Rank 4: 135 Mana, 24 Damage Reduction, 35 Holy Damage<br>\
		&nbsp;Rank 5: 180 Mana, 80 Damage Reduction, 46 Holy Damage"
		];
r++;		

//Reckoning - Protection
rank[r] = [
		"Gives you a 2% chance after being hit by any damaging attack that the next 4 weapon swings within 8 sec will generate an additional attack.",
		"Gives you a 4% chance after being hit by any damaging attack that the next 4 weapon swings within 8 sec will generate an additional attack.",
		"Gives you a 6% chance after being hit by any damaging attack that the next 4 weapon swings within 8 sec will generate an additional attack.",
		"Gives you a 8% chance after being hit by any damaging attack that the next 4 weapon swings within 8 sec will generate an additional attack.",
		"Gives you a 10% chance after being hit by any damaging attack that the next 4 weapon swings within 8 sec will generate an additional attack."						
		];
r++;

//Sacred Duty - Protection
rank[r] = [
		"Increases your total Stamina by 3%, reduces the cooldown of your Divine Shield spell by 30 sec and reduces the attack speed penalty by 50%.",
		"Increases your total Stamina by 6%, reduces the cooldown of your Divine Shield spell by 60 sec and reduces the attack speed penalty by 100%."
		];
r++;

//One-Handed Weapon Specialization - Protection
rank[r]=[
"Increases all damage you deal when a one-handed melee weapon is equipped by 1%.",
"Increases all damage you deal when a one-handed melee weapon is equipped by 2%.",
"Increases all damage you deal when a one-handed melee weapon is equipped by 3%.",
"Increases all damage you deal when a one-handed melee weapon is equipped by 4%.",
"Increases all damage you deal when a one-handed melee weapon is equipped by 5%."
			];
r++;			

//Improved Holy Shield - Protection
rank[r] = [
		"Increases damage caused by your Holy Shield by 10% and increases the number of charges of your Holy Shield by 2.",
		"Increases damage caused by your Holy Shield by 20% and increases the number of charges of your Holy Shield by 4."
		];
r++;
			
//Holy Shield - Protection
rank[r] = [
		"135 Mana<br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>10 sec cooldown</span><br>Requires Shields<br>Increases chance to block by 30% for 10 sec and deals 59 Holy damage for each attack blocked while active. Damage caused by Holy Shield causes 35% additional threat. Each block expends a charge. 4 charges.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 175 Mana, 86 Holy Damage<br>\
		&nbsp;Rank 3: 215 Mana, 117 Holy Damage<br>\
		&nbsp;Rank 4: 280 Mana, 155 Holy Damage"
		];
r++;

//Ardent Defender - Protection
rank[r]=[
"When you have less than 35% health, all damage taken is reduced by 6%.",
"When you have less than 35% health, all damage taken is reduced by 12%.",
"When you have less than 35% health, all damage taken is reduced by 18%.",
"When you have less than 35% health, all damage taken is reduced by 24%.",
"When you have less than 35% health, all damage taken is reduced by 30%."
			];
r++;			
		
//Combat Expertise - Protection
rank[r]=[
"Increases your expertise by 1 and your total Stamina by 2%.",
"Increases your expertise by 2 and your total Stamina by 4%.",
"Increases your expertise by 3 and your total Stamina by 6%.",
"Increases your expertise by 4 and your total Stamina by 8%.",
"Increases your expertise by 5 and your total Stamina by 10%."
			];
r++;					
	
//Avenger's Shield - Protection
rank[r] = [
		"<span style=text-align:left;float:left;>500 Mana</span><span style=text-align:right;float:right;>8-30yd range</span><br><span style=text-align:left;float:left;>1 sec cast</span><span style=text-align:right;float:right;>30 sec cooldown</span><br>Hurls a holy shield at the enemy, dealing 270 to 330 Holy damage, dazing them and then jumping to nearby enemies. Affects 3 total targets. Lasts 6 sec.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 615 Mana, 370-452 Holy Damage<br>\
		&nbsp;Rank 3: 780 Mana, 494-602 Holy Damage"
		];
r++;	
		
//Improved Blessing of Might - Retribution
rank[r]=[
"Increases the attack power bonus of your Blessing of Might by 4%.",
"Increases the attack power bonus of your Blessing of Might by 8%.",
"Increases the attack power bonus of your Blessing of Might by 12%.",
"Increases the attack power bonus of your Blessing of Might by 16%.",
"Increases the attack power bonus of your Blessing of Might by 20%."
		];
r++;		
		
//Benediction - Retribution  
rank[r]=[
"Reduces the Mana cost of your Judgement and Seal spells by 3%.",
"Reduces the Mana cost of your Judgement and Seal spells by 6%.",
"Reduces the Mana cost of your Judgement and Seal spells by 9%.",
"Reduces the Mana cost of your Judgement and Seal spells by 12%.",
"Reduces the Mana cost of your Judgement and Seal spells by 15%."
		];
r++;		
		
//Improved Judgement - Retribution 
rank[r]=[
"Decreases the cooldown of your Judgement spell by 1 sec.",
"Decreases the cooldown of your Judgement spell by 2 sec."
		];
r++;		
		
//Improved Seal of the Crusader - Retribution  
rank[r]=[
		"In addition to the normal effect, your Judgement of the Crusader spell will also increase the critical strike chance of all attacks made against that target by an additional 1%.",
		"In addition to the normal effect, your Judgement of the Crusader spell will also increase the critical strike chance of all attacks made against that target by an additional 2%.",
		"In addition to the normal effect, your Judgement of the Crusader spell will also increase the critical strike chance of all attacks made against that target by an additional 3%."
		];
r++;		
		
//Deflection - Retribution
rank[r]=[
"Increases your Parry chance by 1%.",
"Increases your Parry chance by 2%.",
"Increases your Parry chance by 3%.",
"Increases your Parry chance by 4%.",
"Increases your Parry chance by 5%."
		];
r++;		
		
//Vindication - Retribution
rank[r]=[
"Gives the Paladin's damaging melee attacks a chance to reduce the target's attributes by 5% for 10 sec.",
"Gives the Paladin's damaging melee attacks a chance to reduce the target's attributes by 10% for 10 sec.",
"Gives the Paladin's damaging melee attacks a chance to reduce the target's attributes by 15% for 10 sec."
		];
r++;		
	
//Conviction - Retribution
rank[r]=[
		"Increases your chance to get a critical strike with melee weapons by 1%.",
		"Increases your chance to get a critical strike with melee weapons by 2%.",
		"Increases your chance to get a critical strike with melee weapons by 3%.",
		"Increases your chance to get a critical strike with melee weapons by 4%.",
		"Increases your chance to get a critical strike with melee weapons by 5%."				
		];
r++;	
		
//Seal of Command - Retribution
rank[r]=[
		"65 Mana<br>Instant cast<br>Gives the Paladin a chance to deal additional Holy damage equal to 70% of normal weapon damage. Only one Seal can be active on the Paladin at any one time. Lasts 30 sec.<br><br>Unleashing this Seal's energy will judge an enemy, instantly causing 68 to 73 Holy damage, 137 to 146 if the target is stunned or incapacitated.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 110 Mana, 97-105 / 194-209 Damage<br>\
		&nbsp;Rank 3: 140 Mana, 124-135 / 248-269 Damage<br>\
		&nbsp;Rank 4: 180 Mana, 154-168 / 309-336 Damage<br>\
		&nbsp;Rank 5: 210 Mana, 193-211 / 387-422 Damage<br>\
		&nbsp;Rank 6: 280 Mana, 228-252 / 456-504 Damage"
		];
r++;		
		
//Pursuit of Justice - Retribution
rank[r]=[
"Reduces the chance you'll be hit by spells by 1% and increases movement and mounted movement speed by 5%.  This does not stack with other movement speed increasing effects.",
"Reduces the chance you'll be hit by spells by 2% and increases movement and mounted movement speed by 10%.  This does not stack with other movement speed increasing effects.",
"Reduces the chance you'll be hit by spells by 3% and increases movement and mounted movement speed by 15%.  This does not stack with other movement speed increasing effects."
		];
r++;		
		
//Eye for an Eye - Retribution  
rank[r]=[
"All spell criticals against you cause 15% of the damage taken to the caster as well. The damage caused by Eye for an Eye will not exceed 50% of the Paladin's total health.",
"All spell criticals against you cause 30% of the damage taken to the caster as well. The damage caused by Eye for an Eye will not exceed 50% of the Paladin's total health."
		];
r++;		
		
//Improved Retribution Aura - Retribution  
rank[r]=[
"Increases the damage done by your Retribution Aura by 25%.",
"Increases the damage done by your Retribution Aura by 50%."
		];
r++;	

//Crusade - Retribution 
rank[r]=[
		"Increases all damage caused against Humanoids, Demons, Undead and Elementals by 1%.",
		"Increases all damage caused against Humanoids, Demons, Undead and Elementals by 2%.",
		"Increases all damage caused against Humanoids, Demons, Undead and Elementals by 3%."
		];
r++;

//Two-Handed Weapon Specialization - Retribution 
rank[r]=[
		"Increases the damage you deal with two-handed melee weapons by 2%.",
		"Increases the damage you deal with two-handed melee weapons by 4%.",
		"Increases the damage you deal with two-handed melee weapons by 6%."
		];
r++;	


//Sanctity Aura - Holy
rank[r] = [
		"Instant<br>Increases Holy damage done by party members within 30 yards by 10%. Players may only have one Aura on them per Paladin at any one time."
		];
r++;		

//Improved Sanctity Aura - Retribution 
rank[r]=[
		"The amount of damage caused by targets affected by Sanctity Aura is increased by 1%.",
		"The amount of damage caused by targets affected by Sanctity Aura is increased by 2%."
		];
r++;	

//Vengeance - Retribution  
rank[r]=[
"Gives you a 1% bonus to Physical and Holy damage you deal for 30 sec after dealing a critical strike from a weapon swing, spell or ability. This effect stacks up to 3 times",
"Gives you a 2% bonus to Physical and Holy damage you deal for 30 sec after dealing a critical strike from a weapon swing, spell or ability. This effect stacks up to 3 times",
"Gives you a 3% bonus to Physical and Holy damage you deal for 30 sec after dealing a critical strike from a weapon swing, spell or ability. This effect stacks up to 3 times",
"Gives you a 4% bonus to Physical and Holy damage you deal for 30 sec after dealing a critical strike from a weapon swing, spell or ability. This effect stacks up to 3 times",
"Gives you a 5% bonus to Physical and Holy damage you deal for 30 sec after dealing a critical strike from a weapon swing, spell or ability. This effect stacks up to 3 times"
		];
r++;	

//Sanctified Judgement - Retribution 
rank[r]=[
		"Gives your Judgement spell a 33% chance to return 50% of the mana cost of the judged seal.",
		"Gives your Judgement spell a 66% chance to return 50% of the mana cost of the judged seal.",
		"Gives your Judgement spell a 100% chance to return 50% of the mana cost of the judged seal."
		];
r++;	

//Sanctified Seals - Retribution 
rank[r]=[
		"Increases your chance to critically hit with all spells and melee attacks by 1% and reduces the chance your Seals will be dispelled by 33%.",
		"Increases your chance to critically hit with all spells and melee attacks by 2% and reduces the chance your Seals will be dispelled by 66%.",
		"Increases your chance to critically hit with all spells and melee attacks by 3% and reduces the chance your Seals will be dispelled by 100%."
		];
r++;

//Repentance - Protection
rank[r]=[
		"<span style=text-align:left;float:left;>60 Mana</span><span style=text-align:right;float:right;>20 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>1 min cooldown</span><br>Puts the enemy target in a state of meditation, incapacitating them for up to 6 sec. Any damage caused will awaken the target. Only works against Humanoids."
		];
r++;		

//Divine Purpose - Retribution 
rank[r]=[
		"Melee and ranged critical strikes against you cause 4% less damage.",
		"Melee and ranged critical strikes against you cause 7% less damage.",
		"Melee and ranged critical strikes against you cause 10% less damage."								
		];
r++;	

//Fanaticism - Retribution 
rank[r]=[
		"Increases the critical strike chance of all Judgements capable of a critical hit by 3% and reduces threat caused by all actions by 6% except when under the effects of Righteous Fury.",
		"Increases the critical strike chance of all Judgements capable of a critical hit by 6% and reduces threat caused by all actions by 12% except when under the effects of Righteous Fury.",
		"Increases the critical strike chance of all Judgements capable of a critical hit by 9% and reduces threat caused by all actions by 18% except when under the effects of Righteous Fury.",
		"Increases the critical strike chance of all Judgements capable of a critical hit by 12% and reduces threat caused by all actions by 24% except when under the effects of Righteous Fury.",
		"Increases the critical strike chance of all Judgements capable of a critical hit by 15% and reduces threat caused by all actions by 30% except when under the effects of Righteous Fury."								
		];
r++;	

//Crusader Strike - Retribution 
rank[r]=[
		"<span style=text-align:left;float:left;>236 Mana</span><span style=text-align:right;float:right;>5 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>6 sec cooldown</span><br>Requires Melee Weapon<br>An instant strike that causes weapon damage plus 40% of your Holy spell damage and refreshes all Judgements on the target."						
		];
r++;

//Retribution Talents End^^

tree[b] = "Discipline"; b++;
tree[b] = "Holy"; b++;
tree[b] = "Shadow"; b++;

talent[i] = [0, "Unbreakable Will", 5, 2, 1]; i++;
talent[i] = [0, "Wand Specialization", 5, 3, 1]; i++;
talent[i] = [0, "Silent Resolve", 5, 1, 2]; i++;
talent[i] = [0, "Improved Power Word: Fortitude", 2, 2, 2]; i++;
talent[i] = [0, "Improved Power Word: Shield", 3, 3, 2]; i++;
talent[i] = [0, "Martyrdom", 2, 4, 2]; i++; 
talent[i] = [0, "Absolution", 3, 1, 3]; i++;
talent[i] = [0, "Inner Focus", 1, 2, 3]; i++;
talent[i] = [0, "Meditation", 3, 3, 3]; i++;
talent[i] = [0, "Improved Inner Fire", 3, 1, 4]; i++;
talent[i] = [0, "Mental Agility", 5, 2, 4]; i++;
talent[i] = [0, "Improved Mana Burn", 2, 4, 4]; i++;
talent[i] = [0, "Mental Strength", 5, 2, 5]; i++;
talent[i] = [0, "Divine Spirit", 1, 3, 5, [getTalentID("Meditation"),3]]; i++;
talent[i] = [0, "Improved Divine Spirit", 2, 4, 5, [getTalentID("Divine Spirit"),1]]; i++;
talent[i] = [0, "Focused Power", 2, 1, 6]; i++;
talent[i] = [0, "Force of Will", 5, 3, 6]; i++;
talent[i] = [0, "Focused Will", 3, 1, 7]; i++;
talent[i] = [0, "Power Infusion", 1, 2, 7, [getTalentID("Mental Strength"),5]]; i++;
talent[i] = [0, "Reflective Shield", 5, 3, 7]; i++;
talent[i] = [0, "Enlightenment", 5, 2, 8]; i++;
talent[i] = [0, "Pain Suppression", 1, 2, 9]; i++;
treeStart[t] = i;
t++;

//holy talents
talent[i] = [1, "Healing Focus", 2, 1, 1]; i++;
talent[i] = [1, "Improved Renew", 3, 2, 1]; i++;
talent[i] = [1, "Holy Specialization", 5, 3, 1]; i++;
talent[i] = [1, "Spell Warding", 5, 2, 2]; i++;
talent[i] = [1, "Divine Fury", 5, 3, 2]; i++;
talent[i] = [1, "Holy Nova", 1, 1, 3]; i++;
talent[i] = [1, "Blessed Recovery", 3, 2, 3]; i++;
talent[i] = [1, "Inspiration", 3, 4, 3]; i++;
talent[i] = [1, "Holy Reach", 2, 1, 4]; i++;
talent[i] = [1, "Improved Healing", 3, 2, 4]; i++;
talent[i] = [1, "Searing Light", 2, 3, 4, [getTalentID("Divine Fury"),5]]; i++;
talent[i] = [1, "Healing Prayers", 2, 1, 5]; i++;
talent[i] = [1, "Spirit of Redemption", 1, 2, 5]; i++;
talent[i] = [1, "Spiritual Guidance", 5, 3, 5]; i++;
talent[i] = [1, "Surge of Light", 2, 1, 6]; i++; 
talent[i] = [1, "Spiritual Healing", 5, 3, 6]; i++;
talent[i] = [1, "Holy Concentration", 3, 1, 7]; i++; 
talent[i] = [1, "Lightwell", 1, 2, 7, [getTalentID("Spirit of Redemption"),1]]; i++;
talent[i] = [1, "Blessed Resilience", 3, 3, 7]; i++;
talent[i] = [1, "Empowered Healing", 5, 2, 8]; i++;
talent[i] = [1, "Circle of Healing", 1, 2, 9]; i++; 
treeStart[t] = i;
t++;

//shadow talents
talent[i] = [2, "Spirit Tap", 5, 2, 1]; i++;
talent[i] = [2, "Blackout", 5, 3, 1]; i++;
talent[i] = [2, "Shadow Affinity", 3, 1, 2]; i++;
talent[i] = [2, "Improved Shadow Word: Pain", 2, 2, 2]; i++;
talent[i] = [2, "Shadow Focus", 5, 3, 2]; i++;
talent[i] = [2, "Improved Psychic Scream", 2, 1, 3]; i++;
talent[i] = [2, "Improved Mind Blast", 5, 2, 3]; i++;
talent[i] = [2, "Mind Flay", 1, 3, 3]; i++;
talent[i] = [2, "Improved Fade", 2, 2, 4]; i++;
talent[i] = [2, "Shadow Reach", 2, 3, 4]; i++;
talent[i] = [2, "Shadow Weaving", 5, 4, 4]; i++;
talent[i] = [2, "Silence", 1, 1, 5, [getTalentID("Improved Psychic Scream"),2]]; i++;
talent[i] = [2, "Vampiric Embrace", 1, 2, 5]; i++;
talent[i] = [2, "Improved Vampiric Embrace", 2, 3, 5, [getTalentID("Vampiric Embrace"),1]]; i++;
talent[i] = [2, "Focused Mind", 3, 4, 5]; i++; 
talent[i] = [2, "Shadow Resilience", 2, 1, 6]; i++;
talent[i] = [2, "Darkness", 5, 3, 6]; i++;
talent[i] = [2, "Shadowform", 1, 2, 7, [getTalentID("Vampiric Embrace"),1]]; i++;
talent[i] = [2, "Shadow Power", 5, 3, 7]; i++;
talent[i] = [2, "Misery", 5, 3, 8]; i++; 
talent[i] = [2, "Vampiric Touch", 1, 2, 9, [getTalentID("Shadowform"),1]]; i++; 
treeStart[t] = i;
t++;


//Discipline Talents Begin

//Unbreakable Will - Discipline
rank[r] = [
		"Increases your chance to resist Stun, Fear, and Silence effects by an additional 3%.",
		"Increases your chance to resist Stun, Fear, and Silence effects by an additional 6%.",
		"Increases your chance to resist Stun, Fear, and Silence effects by an additional 9%.",
		"Increases your chance to resist Stun, Fear, and Silence effects by an additional 12%.",
		"Increases your chance to resist Stun, Fear, and Silence effects by an additional 15%."
		];

r++;		
		
		
//Wand Specialization - Discipline		
rank[r] = [
		"Increases your damage with Wands by 5%.",
		"Increases your damage with Wands by 10%.",
		"Increases your damage with Wands by 15%.",
		"Increases your damage with Wands by 20%.",
		"Increases your damage with Wands by 25%."
		];

r++;				
		
//Silent Resolve - Discipline
rank[r] = [
		"Reduces the threat generated by your Holy and Discipline spells by 4% and reduces the chance your spells will be dispelled by 4%.",
		"Reduces the threat generated by your Holy and Discipline spells by 8% and reduces the chance your spells will be dispelled by 8%.",
		"Reduces the threat generated by your Holy and Discipline spells by 12% and reduces the chance your spells will be dispelled by 12%.",
		"Reduces the threat generated by your Holy and Discipline spells by 16% and reduces the chance your spells will be dispelled by 16%.",
		"Reduces the threat generated by your Holy and Discipline spells by 20% and reduces the chance your spells will be dispelled by 20%."
		];

r++;		

//Improved Power Word: Fortitude - Discipline		
rank[r] = [
		"Increases the effect of your Power Word: Fortitude and Prayer of Fortitude spells by 15%.",
		"Increases the effect of your Power Word: Fortitude and Prayer of Fortitude spells by 30%."
		];

r++;		

//Improved Power Word: Shield - Discipline		
rank[r] = [
		"Increases the damage absorbed by your Power Word: Shield by 5%.",
		"Increases the damage absorbed by your Power Word: Shield by 10%.",
		"Increases the damage absorbed by your Power Word: Shield by 15%."
		];

r++;		

		
//Martyrdom - Discipline		
rank[r] = [
		"Gives you a 50% chance to gain the Focused Casting effect that lasts for 6 sec after being the victim of a melee or ranged critical strike. The Focused Casting effect prevents you from losing casting time when taking damage and increases resistance to Interrupt effects by 10%.",
		"Gives you a 100% chance to gain the Focused Casting effect that lasts for 6 sec after being the victim of a melee or ranged critical strike. The Focused Casting effect prevents you from losing casting time when taking damage and increases resistance to Interrupt effects by 20%."
		];

r++;		

//Absolution - Discipline 3
rank[r] = [
		"Reduces the mana cost of your Dispel Magic, Cure Disease, Abolish Disease and Mass Dispel spells by 5%.",
		"Reduces the mana cost of your Dispel Magic, Cure Disease, Abolish Disease and Mass Dispel spells by 10%.",
		"Reduces the mana cost of your Dispel Magic, Cure Disease, Abolish Disease and Mass Dispel spells by 15%."				
		];

r++;		

//Inner Focus - Discipline		
rank[r] = [
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>When activated, reduces the Mana cost of your next spell by 100% and increases its critical effect chance by 25% if it is capable of a critical effect."
		];

r++;		


//Meditation - Discipline
rank[r] = [
		"Allows 10% of your Mana regeneration to continue while casting.",
		"Allows 20% of your Mana regeneration to continue while casting.",
		"Allows 30% of your Mana regeneration to continue while casting.",
		];

r++;	


//Improved Inner Fire - Discipline		
rank[r] = [
		"Increases the Armor bonus of your Inner Fire spell by 10%.",
		"Increases the Armor bonus of your Inner Fire spell by 20%.",
		"Increases the Armor bonus of your Inner Fire spell by 30%."
		];

r++;		


//Mental Agility - Discipline		
rank[r] = [ 
		"Reduces the mana cost of your instant cast spells by 2%.",
		"Reduces the mana cost of your instant cast spells by 4%.",
		"Reduces the mana cost of your instant cast spells by 6%.",
		"Reduces the mana cost of your instant cast spells by 8%.",
		"Reduces the mana cost of your instant cast spells by 10%."
		];

r++;		

//Improved Mana Burn - Discipline		
rank[r] = [
		"Reduces the casting time of your Mana Burn spell by 0.5 sec.",
		"Reduces the casting time of your Mana Burn spell by 1.0 sec."
		];

r++;		


//Mental Strength - Discipline		
rank[r] = [
		"Increases your maximum Mana by 2%.",
		"Increases your maximum Mana by 4%.",
		"Increases your maximum Mana by 6%.",
		"Increases your maximum Mana by 8%.",
		"Increases your maximum Mana by 10%."
		];

r++;		


	
//Divine Spirit - Discipline				
rank[r] = [
			"<span style=text-align:left;float:left;>250 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br>Instant cast<br>Holy power infuses the target, increasing their Spirit by 17 for 30 min.<br><br>\
			&nbsp;Trainable Ranks Listed Below:<br>\
			&nbsp;Rank 2: 350 Mana, 23 Spirit<br>\
			&nbsp;Rank 3: 450 Mana, 33 Spirit<br>\
			&nbsp;Rank 4: 555 Mana, 40 Spirit<br>\
			&nbsp;Rank 5: 680 Mana, 50 Spirit"
		];

r++;		

//Improved Divine Spirit - Discipline				
rank[r] = [
			"Your Divine Spirit and Prayer of Spirit spells also increase the target's spell damage and healing by an amount equal to 5% of their total Spirit.",
			"Your Divine Spirit and Prayer of Spirit spells also increase the target's spell damage and healing by an amount equal to 10% of their total Spirit."
		];

r++;		
		
//Focused Power - Discipline 				
rank[r] = [
			"Your Smite, Mind Blast and Mass Dispel spells have an additional 2% chance to hit.  In addition, your Mass Dispel cast time is reduced by 0.5 sec.",
			"Your Smite, Mind Blast and Mass Dispel spells have an additional 4% chance to hit.  In addition, your Mass Dispel cast time is reduced by 1 sec."			
		];

r++;				


//Force of Will - Discipline		
rank[r] = [
		"Increases your spell damage by 1% and the critical strike chance of your offensive spells by 1%.",
		"Increases your spell damage by 2% and the critical strike chance of your offensive spells by 2%.",
		"Increases your spell damage by 3% and the critical strike chance of your offensive spells by 3%.",
		"Increases your spell damage by 4% and the critical strike chance of your offensive spells by 4%.",
		"Increases your spell damage by 5% and the critical strike chance of your offensive spells by 5%."
		];

r++;		


//Focused Will - Discipline		
rank[r] = [
		"After taking a critical hit you gain the Focused Will effect, reducing all damage taken by 1% and increasing healing effects on you by 4%.  Stacks up to 3 times.  Lasts 8 sec.",
		"After taking a critical hit you gain the Focused Will effect, reducing all damage taken by 3% and increasing healing effects on you by 7%.  Stacks up to 3 times.  Lasts 8 sec.",
		"After taking a critical hit you gain the Focused Will effect, reducing all damage taken by 5% and increasing healing effects on you by 10%.  Stacks up to 3 times.  Lasts 8 sec.",
		];

r++;		


//Power Infusion - Discipline				
rank[r] = [
			"<span style=text-align:left;float:left;>419 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>3 min cooldown</span><br>Infuses the target with power, increasing their spell damage and healing by 20%. Lasts 15 sec."
		];
r++;			
		
//Reflective Shield - Discipline		
rank[r] = [
		"Causes 10% of the damage absorbed by your Power Word: Shield to reflect back at the attacker. This damage causes no threat.",
		"Causes 20% of the damage absorbed by your Power Word: Shield to reflect back at the attacker. This damage causes no threat.",
		"Causes 30% of the damage absorbed by your Power Word: Shield to reflect back at the attacker. This damage causes no threat.",
		"Causes 40% of the damage absorbed by your Power Word: Shield to reflect back at the attacker. This damage causes no threat.",
		"Causes 50% of the damage absorbed by your Power Word: Shield to reflect back at the attacker. This damage causes no threat."								
		];

r++;

	

//Misery - Discipline 	
rank[r] = [
		"Increases your total Stamina, Intellect, and Spirit by 1%.",
		"Increases your total Stamina, Intellect, and Spirit by 2%.",
		"Increases your total Stamina, Intellect, and Spirit by 3%.",
		"Increases your total Stamina, Intellect, and Spirit by 4%.",						
		"Increases your total Stamina, Intellect, and Spirit by 5%."
		];

r++;


//Pain Suppression - Discipline				
rank[r] = [
			"<span style=text-align:left;float:left;>209 Mana</span><span style=text-align:right;float:right;>40 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>2 min cooldown</span><br>Instantly reduces a friendly target's threat by 5%, reduces all damage taken by 40% and increases resistance to Dispel mechanics by 65% for 8 sec."
		];
r++;			
	
		
//Healing Focus - Holy
	
rank[r] = [
			"Gives you a 35% chance to avoid interruption caused by damage while casting any healing spell.",
			"Gives you a 70% chance to avoid interruption caused by damage while casting any healing spell."
		];		

r++;				
		
		
//Improved Renew - Holy 
	
rank[r] = [
			"Increases the amount healed by your Renew spell by 5%.",
			"Increases the amount healed by your Renew spell by 10%.",
			"Increases the amount healed by your Renew spell by 15%."
		];		

r++;		
		
//Holy Specialization - Holy

rank[r] = [
			"Increases the critical effect chance of your Holy spells by 1%.",
			"Increases the critical effect chance of your Holy spells by 2%.",
			"Increases the critical effect chance of your Holy spells by 3%.",
			"Increases the critical effect chance of your Holy spells by 4%.",
			"Increases the critical effect chance of your Holy spells by 5%."
		];

r++;		


//Spell Warding - Holy
		
rank[r] = [
			"Reduces all spell damage taken by 2%.",
			"Reduces all spell damage taken by 4%.",
			"Reduces all spell damage taken by 6%.",
			"Reduces all spell damage taken by 8%.",
			"Reduces all spell damage taken by 10%."
		];

r++;	


//Divine Fury - Holy

rank[r] = [
			"Reduces the casting time of your Smite, Holy Fire, Heal and Greater Heal spells by 0.1 sec.",
			"Reduces the casting time of your Smite, Holy Fire, Heal and Greater Heal spells by 0.2 sec.",
			"Reduces the casting time of your Smite, Holy Fire, Heal and Greater Heal spells by 0.3 sec.",
			"Reduces the casting time of your Smite, Holy Fire, Heal and Greater Heal spells by 0.4 sec.",
			"Reduces the casting time of your Smite, Holy Fire, Heal and Greater Heal spells by 0.5 sec."
		];

r++;

//Holy Nova - Holy		
		
rank[r] = [
			"185 Mana<br><span style=text-align:left;float:left;>Instant cast</span><br>Causes an explosion of holy light around the caster, causing 29 to 34 Holy damage to all enemy targets within 10 yards and healing all party members within 10 yards for 54 to 63. These effects cause no threat.<br><br>\
			&nbsp;Trainable Ranks Listed Below:<br>\
			&nbsp;Rank 2: 290 Mana, 52-61 Damage, 89-101 Health<br>\
			&nbsp;Rank 3: 400 Mana, 79-92 Damage, 124-143 Health<br>\
			&nbsp;Rank 4: 520 Mana, 110-127 Damage, 165-192 Health<br>\
			&nbsp;Rank 5: 635 Mana, 146-168 Damage, 239-276 Health<br>\
			&nbsp;Rank 6: 750 Mana, 188-217 Damage, 307-356 Health<br>\
			&nbsp;Rank 7: 875 Mana, 244-283 Damage, 386-448 Health<br>"

		];

r++;


//Blessed Recovery - Holy	
		
rank[r] = [
			"After being struck by a melee or ranged critical hit, heal 8% of the damage taken over 6 sec.",
			"After being struck by a melee or ranged critical hit, heal 16% of the damage taken over 6 sec.",
			"After being struck by a melee or ranged critical hit, heal 25% of the damage taken over 6 sec."
		];

r++;	

//Inspiration - Holy 
		
rank[r] = [
			"Increases your target's armor by 8% for 15 sec after getting a critical effect from your Flash Heal, Heal, Greater Heal, Binding Heal, Prayer of Healing, or Circle of Healing spell.",
			"Increases your target's armor by 16% for 15 sec after getting a critical effect from your Flash Heal, Heal, Greater Heal, Binding Heal, Prayer of Healing, or Circle of Healing spell.",
			"Increases your target's armor by 25% for 15 sec after getting a critical effect from your Flash Heal, Heal, Greater Heal, Binding Heal, Prayer of Healing, or Circle of Healing spell."
		];

r++;		





//Holy Reach - Holy 

rank[r] = [
			"Increases the range of your Smite and Holy Fire spells and the radius of your Prayer of Healing, Holy Nova, and Circle of Healing spells by 10%.",
			"Increases the range of your Smite and Holy Fire spells and the radius of your Prayer of Healing, Holy Nova, and Circle of Healing spells by 20%."
		];

r++;		

//Improved Healing - Holy

rank[r] = [
			"Reduces the Mana cost of your Lesser Heal, Heal, and Greater Heal spells by 5%.",
			"Reduces the Mana cost of your Lesser Heal, Heal, and Greater Heal spells by 10%.",
			"Reduces the Mana cost of your Lesser Heal, Heal, and Greater Heal spells by 15%."
		];

r++;		

//Searing Light - Holy

rank[r] = [
			"Increases the damage of your Smite and Holy Fire spells by 5%.",
			"Increases the damage of your Smite and Holy Fire spells by 10%."
		];

r++;		




//Healing Prayers - Holy	
		
rank[r] = [
			"Reduces the Mana cost of your Prayer of Healing and Prayer of Mending spells by 10%.",
			"Reduces the Mana cost of your Prayer of Healing and Prayer of Mending spells by 20%."
		];

r++;

//Spirit of Redemption - Holy
		
rank[r] = [
			"Increases total Spirit by 5% and upon death, the priest becomes the Spirit of Redemption for 15 sec.  The Spirit of Redemption cannot move, attack, be attacked or targeted by any spells or effects.  While in this form, the priest can cast any healing spell free of cost.  When the effect ends, the priest dies."
		];

r++;		




//Spiritual Guidance - Holy
		
rank[r] = [
			"Increases spell damage and healing by up to 5% of your total Spirit.",
			"Increases spell damage and healing by up to 10% of your total Spirit.",
			"Increases spell damage and healing by up to 15% of your total Spirit.",
			"Increases spell damage and healing by up to 20% of your total Spirit.",
			"Increases spell damage and healing by up to 25% of your total Spirit."
		];

r++;

//Surge of Light - Holy
rank[r]=[
			"Your spell criticals have a 25% chance to cause your next Smite spell to be instant cast, cost no mana but be incapable of a critical hit. This effect lasts 10 sec.",
			"Your spell criticals have a 50% chance to cause your next Smite spell to be instant cast, cost no mana but be incapable of a critical hit. This effect lasts 10 sec."
			];
r++;	

//Spiritual Healing - Holy

rank[r] = [
			"Increases the amount healed by your healing spells by 2%.",
			"Increases the amount healed by your healing spells by 4%.",
			"Increases the amount healed by your healing spells by 6%.",
			"Increases the amount healed by your healing spells by 8%.",
			"Increases the amount healed by your healing spells by 10%."
		];		

r++;

//Holy Concentration - Holy

rank[r] = [
			"Gives you a 2% chance to enter a Clearcasting state after casting any Flash Heal, Binding Heal, or Greater Heal spell.  The Clearcasting state reduces the mana cost of your next Flash Heal, Binding Heal, or Greater Heal spell by 100%.",
			"Gives you a 4% chance to enter a Clearcasting state after casting any Flash Heal, Binding Heal, or Greater Heal spell.  The Clearcasting state reduces the mana cost of your next Flash Heal, Binding Heal, or Greater Heal spell by 100%.",
			"Gives you a 6% chance to enter a Clearcasting state after casting any Flash Heal, Binding Heal, or Greater Heal spell.  The Clearcasting state reduces the mana cost of your next Flash Heal, Binding Heal, or Greater Heal spell by 100%."			
		];		

r++;	


//Lightwell - Holy

rank[r] = [
			"<span style=text-align:left;float:left;>225 Mana</span><span style=text-align:right;float:right;>40 yd range</span><br><span style=text-align:left;float:left;>1.5 sec cast</span><span style=text-align:right;float:right;>6 min cooldown</span><br>Creates a holy Lightwell.  Members of your raid or party can click the Lightwell to restore 801 health over 6 sec. Any damage taken will cancel the effect.  Lightwell lasts for 3 min or 5 charges.<br><br>\
			&nbsp;Trainable Ranks Listed Below:<br>\
			&nbsp;Rank 2: 295 Mana, 1164 Health<br>\
			&nbsp;Rank 3: 365 Mana, 1599 Health<br>\
			&nbsp;Rank 4: 445 Mana, 2361 Health"
		];		

r++;	

//Blessed Resilience - Holy
		
rank[r] = [
			"Critical hits made against you have a 20% chance to to prevent you from being critically hit again for 6 sec.",
			"Critical hits made against you have a 40% chance to to prevent you from being critically hit again for 6 sec.",
			"Critical hits made against you have a 60% chance to to prevent you from being critically hit again for 6 sec."						
		];

r++;		

//Empowered Healing - Holy
rank[r]=[
			"Your Greater Heal spell gains an additional 4% and your Flash Heal and Binding Heal gains an additional 2% of your bonus healing effects.",
			"Your Greater Heal spell gains an additional 8% and your Flash Heal and Binding Heal gains an additional 4% of your bonus healing effects.",
			"Your Greater Heal spell gains an additional 12% and your Flash Heal and Binding Heal gains an additional 6% of your bonus healing effects.",
			"Your Greater Heal spell gains an additional 16% and your Flash Heal and Binding Heal gains an additional 8% of your bonus healing effects.",
			"Your Greater Heal spell gains an additional 20% and your Flash Heal and Binding Heal gains an additional 10% of your bonus healing effects."												
			];
r++;			
		
//Circle of Healing - Holy 
rank[r]=[
			"<span style=text-align:left;float:left;>300 Mana</span><span style=text-align:right;float:right;>40 yd range</span><br>Instant cast<br>Heals friendly target and that target's party members within 15 yards of the target for 250 to 274.<br><br>\
			&nbsp;Trainable Ranks Listed Below:<br>\
			&nbsp;Rank 2: 337 Mana, 292 to 323 Healing<br>\
			&nbsp;Rank 3: 375 Mana, 332 to 367 Healing<br>\
			&nbsp;Rank 4: 412 Mana, 376 to 415 Healing<br>\
			&nbsp;Rank 5: 450 Mana, 409 to 451 Healing<br>"
			];
r++;					
		
//Spirit Tap - Shadow
rank[r]=[
			"Gives you a 20% chance to gain a 100% bonus to your Spirit after killing a target that yields experience or honor.  For the duration, your Mana will regenerate at a 50% rate while casting. Lasts 15 sec.",
			"Gives you a 40% chance to gain a 100% bonus to your Spirit after killing a target that yields experience or honor.  For the duration, your Mana may regenerate at a 50% rate while casting. Lasts 15 sec.",
			"Gives you a 60% chance to gain a 100% bonus to your Spirit after killing a target that yields experience or honor.  For the duration, your Mana may regenerate at a 50% rate while casting. Lasts 15 sec.",
			"Gives you a 80% chance to gain a 100% bonus to your Spirit after killing a target that yields experience or honor.  For the duration, your Mana may regenerate at a 50% rate while casting. Lasts 15 sec.",
			"Gives you a 100% chance to gain a 100% bonus to your Spirit after killing a target that yields experience or honor.  For the duration, your Mana may regenerate at a 50% rate while casting. Lasts 15 sec."
			];
r++;			
			
//Blackout - Shadow
rank[r]=[
			"Gives your Shadow damage spells a 2% chance to stun the target for 3 sec.",
			"Gives your Shadow damage spells a 4% chance to stun the target for 3 sec.",
			"Gives your Shadow damage spells a 6% chance to stun the target for 3 sec.",
			"Gives your Shadow damage spells a 8% chance to stun the target for 3 sec.",
			"Gives your Shadow damage spells a 10% chance to stun the target for 3 sec."
		];

r++;		
		
//Shadow Affinity - Shadow
rank[r]=[
			"Reduces the threat generated by your Shadow spells by 8%.",
			"Reduces the threat generated by your Shadow spells by 16%.",
			"Reduces the threat generated by your Shadow spells by 25%."
		];

r++;		
		
//Improved Shadow Word: Pain - Shadow
rank[r]=[
			"Increases the duration of your Shadow Word: Pain spell by 3 sec.",
			"Increases the duration of your Shadow Word: Pain spell by 6 sec."
		];

r++;		
		
//Shadow Focus - Shadow
rank[r]=[
			"Reduces your target's chance to resist your Shadow spells by 2%.",
			"Reduces your target's chance to resist your Shadow spells by 4%.",
			"Reduces your target's chance to resist your Shadow spells by 6%.",
			"Reduces your target's chance to resist your Shadow spells by 8%.",
			"Reduces your target's chance to resist your Shadow spells by 10%."
		];

r++;		
		
//Improved Psychic Scream - Shadow
rank[r]=[
			"Reduces the cooldown of your Psychic Scream spell by 2 sec.",
			"Reduces the cooldown of your Psychic Scream spell by 4 sec."
		];

r++;		
		
//Improved Mind Blast - Shadow
rank[r]=[
			"Reduces the cooldown of your Mind Blast spell by 0.5 sec.",
			"Reduces the cooldown of your Mind Blast spell by 1 sec.",
			"Reduces the cooldown of your Mind Blast spell by 1.5 sec.",
			"Reduces the cooldown of your Mind Blast spell by 2 sec.",
			"Reduces the cooldown of your Mind Blast spell by 2.5 sec."
		];

r++;		
		
//Mind Flay - Shadow
rank[r]=[
			"<span style=text-align:left;float:left;>45 Mana</span><span style=text-align:right;float:right;>20 yd range</span><br>Channeled<br>Assault the target's mind with Shadow energy, causing 75 damage over 3 sec and slowing their movement speed by 50%.\
			<br><br>\
			&nbsp;Trainable Ranks Listed Below:<br>\
			&nbsp;Rank 2: 70 Mana, 126 Damage<br>\
			&nbsp;Rank 3: 100 Mana, 186 Damage<br>\
			&nbsp;Rank 4: 135 Mana, 261 Damage<br>\
			&nbsp;Rank 5: 165 Mana, 330 Damage<br>\
			&nbsp;Rank 6: 205 Mana, 426 Damage<br>\
			&nbsp;Rank 7: 230 Mana, 528 Damage"
		];

r++;		
		
//Improved Fade - Shadow
rank[r]=[
			"Decreases the cooldown of your Fade ability by 3 sec.",
			"Decreases the cooldown of your Fade ability by 6 sec."
		];

r++;		
		
//Shadow Reach - Shadow
rank[r]=[
			"Increases the range of your offensive Shadow spells by 10%.",
			"Increases the range of your offensive Shadow spells by 20%."
		];

r++;		
		
		
//Shadow Weaving - Shadow
rank[r]=[
			"Your Shadow damage spells have a 20% chance to cause your target to be vulnerable to Shadow damage. This vulnerability increases the Shadow damage dealt to your target by 2% and lasts 15 sec. Stacks up to 5 times.",
			"Your Shadow damage spells have a 40% chance to cause your target to be vulnerable to Shadow damage. This vulnerability increases the Shadow damage dealt to your target by 2% and lasts 15 sec. Stacks up to 5 times.",
			"Your Shadow damage spells have a 60% chance to cause your target to be vulnerable to Shadow damage. This vulnerability increases the Shadow damage dealt to your target by 2% and lasts 15 sec. Stacks up to 5 times.",
			"Your Shadow damage spells have a 80% chance to cause your target to be vulnerable to Shadow damage. This vulnerability increases the Shadow damage dealt to your target by 2% and lasts 15 sec. Stacks up to 5 times.",
			"Your Shadow damage spells have a 100% chance to cause your target to be vulnerable to Shadow damage. This vulnerability increases the Shadow damage dealt to your target by 2% and lasts 15 sec. Stacks up to 5 times."
		];

r++;				
		
//Silence - Shadow
rank[r]=[
			"<span style=text-align:left;float:left;>225 Mana</span><span style=text-align:right;float:right;>20 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>45 sec cooldown</span><br>Silences the target, preventing them from casting spells for 5 sec."
		];

r++;		
		

		
//Vampiric Embrace
rank[r]=[
			"<span style=text-align:left;float:left;>52 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>10 sec cooldown</span><br>Afflicts your target with Shadow energy that causes all party members to be healed for 15% of any Shadow damage you deal for 1 min."
		];

r++;		


//Improved Vampiric Embrace
rank[r]=[
			"Increases the percentage healed by Vampiric Embrace by an additional 5%.",
			"Increases the percentage healed by Vampiric Embrace by an additional 10%."
		];

r++;		
		
//Focused Mind - Shadow 
rank[r]=[
			"Reduces the mana cost of your Mind Blast, Mind Control and Mind Flay spells by 5%.",
			"Reduces the mana cost of your Mind Blast, Mind Control and Mind Flay spells by 10%.",
			"Reduces the mana cost of your Mind Blast, Mind Control and Mind Flay spells by 15%."
		];

r++;				
		
//Shadow Resilience
rank[r]=[
			"Reduces the chance you'll be critically hit by all spells by 2%.",
			"Reduces the chance you'll be critically hit by all spells by 4%."			
		];

r++;						
		
//Darkness - Shadoww
rank[r]=[
			"Increases your Shadow spell damage by 2%.",
			"Increases your Shadow spell damage by 4%.",
			"Increases your Shadow spell damage by 6%.",
			"Increases your Shadow spell damage by 8%.",
			"Increases your Shadow spell damage by 10%."
		];

r++;		
		
//Shadow Form - Shadoow
rank[r]=[
			"838 Mana<br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>1.5 sec cooldown</span><br>Assume a Shadowform, increasing your Shadow damage by 15% and reducing Physical damage done to you by 15%.  However, you may not cast Holy spells while in this form."
		];
r++;		
		
//Shadow Power - Shadoww
rank[r]=[
			"Increases the critical strike chance of your Mind Blast and Shadow Word: Death spells by 3%.",
			"Increases the critical strike chance of your Mind Blast and Shadow Word: Death spells by 6%.",
			"Increases the critical strike chance of your Mind Blast and Shadow Word: Death spells by 9%.",
			"Increases the critical strike chance of your Mind Blast and Shadow Word: Death spells by 12%.",
			"Increases the critical strike chance of your Mind Blast and Shadow Word: Death spells by 15%."												
		];

r++;				
		
		
//Misery - Shadow 
rank[r] = [
		"Your Shadow Word: Pain, Mind Flay and Vampiric Touch spells also cause the target to take an additional 1% spell damage.",
		"Your Shadow Word: Pain, Mind Flay and Vampiric Touch spells also cause the target to take an additional 2% spell damage.",
		"Your Shadow Word: Pain, Mind Flay and Vampiric Touch spells also cause the target to take an additional 3% spell damage.",
		"Your Shadow Word: Pain, Mind Flay and Vampiric Touch spells also cause the target to take an additional 4% spell damage.",
		"Your Shadow Word: Pain, Mind Flay and Vampiric Touch spells also cause the target to take an additional 5% spell damage."
		];

r++;				

//Vampiric Touch - Shadow 
rank[r]=[
			"<span style=text-align:left;float:left;>325 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br>1.5 sec cast<br>\
			Causes 450 Shadow damage over 15 sec to your target and causes all party members to gain mana equal to 5% of any Shadow spell damage you deal.\
			<br><br>\
			&nbsp;Trainable Ranks Listed Below:<br>\
			&nbsp;Rank 2: 400 Mana, 600 Damage<br>\
			&nbsp;Rank 3: 425 Mana, 650 Damage"
		];		
		
r++;		

//Shadow Talents End^^


tree[b] = "Assassination"; b++;
tree[b] = "Combat"; b++;
tree[b] = "Subtlety"; b++;

talent[i] = [0, "Improved Eviscerate", 3, 1, 1]; i++;
talent[i] = [0, "Remorseless Attacks", 2, 2, 1]; i++;
talent[i] = [0, "Malice", 5, 3, 1]; i++;
talent[i] = [0, "Ruthlessness", 3, 1, 2]; i++; 
talent[i] = [0, "Murder", 2, 2, 2]; i++;
talent[i] = [0, "Improved Backstab", 3, 4, 2]; i++;
talent[i] = [0, "Relentless Strikes", 1, 1, 3]; i++;
talent[i] = [0, "Improved Expose Armor", 2, 2, 3]; i++;
talent[i] = [0, "Lethality", 5, 3, 3, [getTalentID("Malice"),5]]; i++;
talent[i] = [0, "Vile Poisons", 5, 2, 4]; i++;
talent[i] = [0, "Improved Poisons", 5, 3, 4]; i++;
talent[i] = [0, "Fleet Footed", 2, 1, 5]; i++;
talent[i] = [0, "Cold Blood", 1, 2, 5]; i++;
talent[i] = [0, "Improved Kidney Shot", 3, 3, 5]; i++;
talent[i] = [0, "Quick Recovery", 2, 4, 5]; i++;
talent[i] = [0, "Seal Fate", 5, 2, 6, [getTalentID("Cold Blood"),1]]; i++;
talent[i] = [0, "Master Poisoner", 2, 3, 6]; i++;
talent[i] = [0, "Vigor", 1, 2, 7]; i++;
talent[i] = [0, "Deadened Nerves", 5, 3, 7]; i++;
talent[i] = [0, "Find Weakness", 5, 3, 8]; i++;
talent[i] = [0, "Mutilate", 1, 2, 9, [getTalentID("Vigor"),1]]; i++;

treeStart[t] = i;
t++;

//holy talents
talent[i] = [1, "Improved Gouge", 3, 1, 1]; i++;
talent[i] = [1, "Improved Sinister Strike", 2, 2, 1]; i++;
talent[i] = [1, "Lightning Reflexes", 5, 3, 1]; i++;
talent[i] = [1, "Improved Slice and Dice", 3, 1, 2]; i++;
talent[i] = [1, "Deflection", 5, 2, 2]; i++;
talent[i] = [1, "Precision", 5, 3, 2]; i++;
talent[i] = [1, "Endurance", 2, 1, 3]; i++;
talent[i] = [1, "Riposte", 1, 2, 3, [getTalentID("Deflection"),5]]; i++;
talent[i] = [1, "Improved Sprint", 2, 4, 3]; i++;
talent[i] = [1, "Improved Kick", 2, 1, 4]; i++;
talent[i] = [1, "Dagger Specialization", 5, 2, 4]; i++;
talent[i] = [1, "Dual Wield Specialization", 5, 3, 4, [getTalentID("Precision"),5]]; i++;
talent[i] = [1, "Mace Specialization", 5, 1, 5]; i++;
talent[i] = [1, "Blade Flurry", 1, 2, 5]; i++;
talent[i] = [1, "Sword Specialization", 5, 3, 5]; i++;
talent[i] = [1, "Fist Weapon Specialization", 5, 4, 5]; i++;
talent[i] = [1, "Blade Twisting", 2, 1, 6]; i++;
talent[i] = [1, "Weapon Expertise", 2, 2, 6, [getTalentID("Blade Flurry"),1]]; i++;
talent[i] = [1, "Aggression", 3, 3, 6]; i++;
talent[i] = [1, "Vitality", 2, 1, 7]; i++;
talent[i] = [1, "Adrenaline Rush", 1, 2, 7]; i++;
talent[i] = [1, "Nerves of Steel", 2, 3, 7]; i++;
talent[i] = [1, "Combat Potency", 5, 3, 8]; i++;
talent[i] = [1, "Surprise Attacks", 1, 2, 9, [getTalentID("Adrenaline Rush"),1]]; i++;

treeStart[t] = i;
t++;

//shadow talents
talent[i] = [2, "Master of Deception", 5, 2, 1]; i++;
talent[i] = [2, "Opportunity", 5, 3, 1]; i++;
talent[i] = [2, "Sleight of Hand", 2, 1, 2]; i++;
talent[i] = [2, "Dirty Tricks", 2, 2, 2]; i++;
talent[i] = [2, "Camouflage", 5, 3, 2]; i++;
talent[i] = [2, "Initiative", 3, 1, 3]; i++;
talent[i] = [2, "Ghostly Strike", 1, 2, 3]; i++;
talent[i] = [2, "Improved Ambush", 3, 3, 3]; i++;
talent[i] = [2, "Setup", 3, 1, 4]; i++;
talent[i] = [2, "Elusiveness", 2, 2, 4]; i++;
talent[i] = [2, "Serrated Blades", 3, 3, 4]; i++;
talent[i] = [2, "Heightened Senses", 2, 1, 5]; i++;
talent[i] = [2, "Preparation", 1, 2, 5]; i++;
talent[i] = [2, "Dirty Deeds", 2, 3, 5]; i++;
talent[i] = [2, "Hemorrhage", 1, 4, 5, [getTalentID("Serrated Blades"),3]]; i++;
talent[i] = [2, "Master of Subtlety", 3, 1, 6]; i++;
talent[i] = [2, "Deadliness", 5, 3, 6]; i++;
talent[i] = [2, "Enveloping Shadows", 3, 1, 7]; i++;
talent[i] = [2, "Premeditation", 1, 2, 7, [getTalentID("Preparation"),1]]; i++;
talent[i] = [2, "Cheat Death", 3, 3, 7]; i++;
talent[i] = [2, "Sinister Calling", 5, 2, 8, [getTalentID("Premeditation"),1]]; i++;
talent[i] = [2, "Shadowstep", 1, 2, 9]; i++;

treeStart[t] = i;
t++;


//Assassination Talents Begin

//Improved Eviscerate - Assassination
rank[r] = [
"Increases the damage done by your Eviscerate ability by 5%.",
"Increases the damage done by your Eviscerate ability by 10%.",
"Increases the damage done by your Eviscerate ability by 15%."
		];
r++;		
		
//Remorseless Attacks - Assassination
rank[r] = [
"After killing an opponent that yields experience or honor, gives you a 20% increased critical strike chance on your next Sinister Strike, Backstab, Mutilate, Hemorrhage, Ambush, or Ghostly Strike. Lasts 20 sec.",
"After killing an opponent that yields experience or honor, gives you a 40% increased critical strike chance on your next Sinister Strike, Backstab, Mutilate, Hemorrhage, Ambush, or Ghostly Strike. Lasts 20 sec."
		];
r++;		

//Malice - Assassination	
rank[r] = [
"Increases your critical strike chance by 1%.",
"Increases your critical strike chance by 2%.",
"Increases your critical strike chance by 3%.",
"Increases your critical strike chance by 4%.",
"Increases your critical strike chance by 5%."
		];
r++;		
		
//Ruthlessness - Assassination	
rank[r] = [
"Gives your melee finishing moves a 20% chance to add a combo point to your target.",
"Gives your melee finishing moves a 40% chance to add a combo point to your target.",
"Gives your melee finishing moves a 60% chance to add a combo point to your target."
		];
r++;		

//Murder - Assassination
rank[r] = [
"Increases all damage caused against Humanoid, Giant, Beast, and Dragonkin targets by 1%",
"Increases all damage caused against Humanoid, Giant, Beast, and Dragonkin targets by 2%"
		];
r++;		

//Improved Backstab - Assassination
rank[r] = [
"Increases the critical strike chance of your Backstab ability by 10%.",
"Increases the critical strike chance of your Backstab ability by 20%.",
"Increases the critical strike chance of your Backstab ability by 30%."
		];
r++;		
		
//Relentless Strikes - Assassination  	
rank[r] = [
"Your finishing moves have a 20% chance per combo point to restore 25 energy."
		];
r++;		


//Improved Expose Armor - Assassination	
rank[r] = [ 
"Increases the armor reduced by your Expose Armor ability by 25%.",
"Increases the armor reduced by your Expose Armor ability by 50%."
		];
r++;		

//Lethality - Assassination
rank[r] = [
"Increases the critical strike damage bonus of your Sinister Strike, Gouge, Backstab, Ghostly Strike, Mutilate, Shiv, and Hemorrhage abilites by 6%.",
"Increases the critical strike damage bonus of your Sinister Strike, Gouge, Backstab, Ghostly Strike, Mutilate, Shiv, and Hemorrhage abilites by 12%.",
"Increases the critical strike damage bonus of your Sinister Strike, Gouge, Backstab, Ghostly Strike, Mutilate, Shiv, and Hemorrhage abilites by 18%.",
"Increases the critical strike damage bonus of your Sinister Strike, Gouge, Backstab, Ghostly Strike, Mutilate, Shiv, and Hemorrhage abilites by 24%.",
"Increases the critical strike damage bonus of your Sinister Strike, Gouge, Backstab, Ghostly Strike, Mutilate, Shiv, and Hemorrhage abilites by 30%."
		];
r++;		

//Vile Poisons - Assassination
rank[r] = [
"Increases the damage dealt by your poisons and Envenom ability by 4% and gives your poisons an additional 8% chance to resist dispel effects.",
"Increases the damage dealt by your poisons and Envenom ability by 8% and gives your poisons an additional 16% chance to resist dispel effects.",
"Increases the damage dealt by your poisons and Envenom ability by 12% and gives your poisons an additional 24% chance to resist dispel effects.",
"Increases the damage dealt by your poisons and Envenom ability by 16% and gives your poisons an additional 32% chance to resist dispel effects.",
"Increases the damage dealt by your poisons and Envenom ability by 20% and gives your poisons an additional 40% chance to resist dispel effects."
		];
r++;		

//Improved Poisons - Assassination	
rank[r] = [
"Increases the chance to apply poisons to your target by 2%.",
"Increases the chance to apply poisons to your target by 4%.",
"Increases the chance to apply poisons to your target by 6%.",
"Increases the chance to apply poisons to your target by 8%.",
"Increases the chance to apply poisons to your target by 10%."
		];
r++;		

//Fleet Footed - Assassination	
rank[r] = [
"Increases your chance to resist movement impairing effects by 5% and increases your movement speed by 8%. This does not stack with other movement speed increasing effects.",
"Increases your chance to resist movement impairing effects by 10% and increases your movement speed by 15%. This does not stack with other movement speed increasing effects."
		];
r++;

//Cold Blood - Assassination
rank[r] = [
			"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>When activated, increases the critical strike chance of your next offensive ability by 100%."
		];
r++;		

//Improved Kidney Shot - Assassination
rank[r] = [
"While affected by your Kidney Shot ability, target receives an additional 3% damage from all sources.",
"While affected by your Kidney Shot ability, target receives an additional 6% damage from all sources.",
"While affected by your Kidney Shot ability, target receives an additional 9% damage from all sources."
		];
r++;		

//Quick Recovery - Assassination
rank[r] = [
"All healing effects on you are increased by 10%. In addition, your finishing moves cost 40% less Energy when they fail to hit.",
"All healing effects on you are increased by 20%. In addition, your finishing moves cost 80% less Energy when they fail to hit."
		];
r++;		

//Seal Fate - Assassination		
rank[r] = [
"Your critical strikes from abilities that add combo points have a 20% chance to add an additional combo point.",
"Your critical strikes from abilities that add combo points have a 40% chance to add an additional combo point.",
"Your critical strikes from abilities that add combo points have a 60% chance to add an additional combo point.",
"Your critical strikes from abilities that add combo points have a 80% chance to add an additional combo point.",
"Your critical strikes from abilities that add combo points have a 100% chance to add an additional combo point."
		];
r++;		

//Master Poisoner - Assassination
rank[r] = [
"Reduces the chance your poisons will be resisted by 5% and increases your chance to resist Poison effects by an additional 15%.",
"Reduces the chance your poisons will be resisted by 10% and increases your chance to resist Poison effects by an additional 30%."
		];
r++;		

//Vigor - Assassination
rank[r] = [
"Increases your maximum Energy by 10."
		];
r++;		

//Deadened Nerves - Assassination
rank[r] = [
"Decreases all physical damage taken by 1%.",
"Decreases all physical damage taken by 2%.",
"Decreases all physical damage taken by 3%.",
"Decreases all physical damage taken by 4%.",
"Decreases all physical damage taken by 5%."
		];
r++;		

//Find Weakness - Assassination
rank[r] = [
"Your finishing moves increase the damage of all offensive abilities by 2% for 10 sec.",
"Your finishing moves increase the damage of all offensive abilities by 4% for 10 sec.",
"Your finishing moves increase the damage of all offensive abilities by 6% for 10 sec.",
"Your finishing moves increase the damage of all offensive abilities by 8% for 10 sec.",
"Your finishing moves increase the damage of all offensive abilities by 10% for 10 sec."
		];
r++;		


//Mutilate - Assassination
rank[r] = [
			"<span style=text-align:left;float:left;>60 Energy</span><span style=text-align:right;float:right;>Melee range</span><br>Instant<br>Requires Daggers<br>Instantly attacks with both weapons for an additional 44 with each weapon. Damage is increased by 50% against Poisoned targets. Must be behind the target. Awards 2 combo points.<br><br>\
			&nbsp;Trainable Ranks Listed Below:<br>\
			&nbsp;Rank 2: 63 with each weapon<br>\
			&nbsp;Rank 3: 88 with each weapon<br>\
			&nbsp;Rank 4: 101 with each weapon"
		];
r++;		






//Improved Gouge - Combat
rank[r] = [
"Increases the effect duration of your Gouge ability by 0.5 sec.",
"Increases the effect duration of your Gouge ability by 1 sec.",
"Increases the effect duration of your Gouge ability by 1.5 sec."
		];
r++;		

//Improved Sinister Strike - Combat 
rank[r] = [
"Reduces the Energy cost of your Sinister Strike ability by 3.",
"Reduces the Energy cost of your Sinister Strike ability by 5."
		];
r++;		

//Lightning Reflexes - Combat
rank[r] = [
"Increases your Dodge chance by 1%.",
"Increases your Dodge chance by 2%.",
"Increases your Dodge chance by 3%.",
"Increases your Dodge chance by 4%.",
"Increases your Dodge chance by 5%."
		];
r++;		

//Improved Slice and Dice - Assassination
rank[r] = [
"Increases the duration of your Slice and Dice ability by 15%.",
"Increases the duration of your Slice and Dice ability by 30%.",
"Increases the duration of your Slice and Dice ability by 45%."

		];
r++;		
	
//Deflection - Combat	
rank[r] = [
"Increases your Parry chance by 1%.",
"Increases your Parry chance by 2%.",
"Increases your Parry chance by 3%.",
"Increases your Parry chance by 4%.",
"Increases your Parry chance by 5%."
		];
r++;		

//Precision - Combat 
rank[r] = [
"Increases your chance to hit with weapons by 1%.",
"Increases your chance to hit with weapons by 2%.",
"Increases your chance to hit with weapons by 3%.",
"Increases your chance to hit with weapons by 4%.",
"Increases your chance to hit with weapons by 5%."
		];
r++;		

//Endurance - Combat
rank[r] = [
"Reduces the cooldown of your Sprint and Evasion abilities by 45 sec",
"Reduces the cooldown of your Sprint and Evasion abilities by 1.5 min."
		];
r++;		

//Riposte - Combat
rank[r] = [
			"<span style=text-align:left;float:left;>10 Energy</span><span style=text-align:right;float:right;>Melee range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>6 sec cooldown</span><br>A strike that becomes active after parrying an opponent's attack. This attack deals 150% weapon damage and disarms the target for 6 sec."
		];
r++;		

//Improved Sprint - Combat
rank[r] = [
"Gives a 50% chance to remove all movement imparing effects when you activate your Sprint ability.",
"Gives a 100% chance to remove all movement imparing effects when you activate your Sprint ability."
		];
r++;		

//Improved Kick - Combat 
rank[r] = [
"Gives your Kick ability a 50% chance to silence the target for 2 sec.",
"Gives your Kick ability a 100% chance to silence the target for 2 sec."
		];
r++;		

//Dagger Specialization - Combat  
rank[r] = [
"Increases your chance to get a critical strike with Daggers by 1%.",
"Increases your chance to get a critical strike with Daggers by 2%.",
"Increases your chance to get a critical strike with Daggers by 3%.",
"Increases your chance to get a critical strike with Daggers by 4%.",
"Increases your chance to get a critical strike with Daggers by 5%."
		];
r++;		


//Dual Wield Specialization - Combat  
rank[r] = [
"Increases the damage done by your offhand weapon by 10%.",
"Increases the damage done by your offhand weapon by 20%.",
"Increases the damage done by your offhand weapon by 30%.",
"Increases the damage done by your offhand weapon by 40%.",
"Increases the damage done by your offhand weapon by 50%."
		];
r++;		

//Mace Specialization - Combat 
rank[r] = [
"Increases the damage dealt by your critical strikes with maces by 1%, and gives you a 1% chance to stun your target for 3 sec with a mace.",
"Increases the damage dealt by your critical strikes with maces by 2%, and gives you a 2% chance to stun your target for 3 sec with a mace.",
"Increases the damage dealt by your critical strikes with maces by 3%, and gives you a 3% chance to stun your target for 3 sec with a mace.",
"Increases the damage dealt by your critical strikes with maces by 4%, and gives you a 4% chance to stun your target for 3 sec with a mace.",
"Increases the damage dealt by your critical strikes with maces by 5%, and gives you a 6% chance to stun your target for 3 sec with a mace."
		];
r++;
		
//Blade Flurry - Combat  
rank[r]=[
			"25 Energy<br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>2 min cooldown</span><br>Increases your attack speed by 20%. In addition, attacks strike an additional nearby opponent. Lasts 15 sec."
			];
r++;			
			
//Sword Specialization - Combat
rank[r]=[
"Gives you a 1% chance to get an extra attack on the same target after dealing damage with your Sword.",
"Gives you a 2% chance to get an extra attack on the same target after dealing damage with your Sword.",
"Gives you a 3% chance to get an extra attack on the same target after dealing damage with your Sword.",
"Gives you a 4% chance to get an extra attack on the same target after dealing damage with your Sword.",
"Gives you a 5% chance to get an extra attack on the same target after dealing damage with your Sword."
		];
r++;		
		
//Fist Weapon Specialization - Combat 
rank[r]=[
"Increases your chance to get a critical strike with Fist Weapons by 1%.",
"Increases your chance to get a critical strike with Fist Weapons by 2%.",
"Increases your chance to get a critical strike with Fist Weapons by 3%.",
"Increases your chance to get a critical strike with Fist Weapons by 4%.",
"Increases your chance to get a critical strike with Fist Weapons by 5%."
		];
r++;

//Blade Twisting - Combat 
rank[r]=[
"Gives your Sinister Strike, Backstab, Gouge and Shiv abilities a 10% chance to Daze the target for 8 sec.",
"Gives your Sinister Strike, Backstab, Gouge and Shiv abilities a 20% chance to Daze the target for 8 sec."
];
r++;
		
//Weapon Expertise - Combat 
rank[r]=[
"Increases your expertise by 5.",
"Increases your expertise by 10."
		];
r++;		
		
//Aggression - Combat 
rank[r]=[
"Increases the damage of your Sinister Strike, Backstab, and Eviscerate abilities by 2%.",
"Increases the damage of your Sinister Strike, Backstab, and Eviscerate abilities by 4%.",
"Increases the damage of your Sinister Strike, Backstab, and Eviscerate abilities by 6%."
		];
r++;		

//Vitality - Combat 
rank[r]=[
"Increases your total Stamina by 2% and your total Agility by 1%.",
"Increases your total Stamina by 4% and your total Agility by 2%."
		];
r++;
		
//Adrenaline Rush - Combat  
rank[r]=[
			"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>5 min cooldown</span><br>Increases your Energy regeneration rate by 100% for 15 sec."
		];
r++;		

//Nerves of Steel - Combat 
rank[r]=[
"Increases your chance to resist Stun and Fear effects by an additional 5%.",
"Increases your chance to resist Stun and Fear effects by an additional 10%."
		];
r++;

//Combat Potency - Combat 
rank[r]=[
"Gives your successful off-hand melee attacks a 20% chance to generate 3 Energy.",
"Gives your successful off-hand melee attacks a 20% chance to generate 6 Energy.",
"Gives your successful off-hand melee attacks a 20% chance to generate 9 Energy.",
"Gives your successful off-hand melee attacks a 20% chance to generate 12 Energy.",
"Gives your successful off-hand melee attacks a 20% chance to generate 15 Energy."
		];
r++;

//Surprise Attack - Combat
rank[r] = [
			"Your finishing moves can no longer be dodged, and the damage dealt by your Sinister Strike, Backstab, Shiv and Gouge abilities is increased by 10%."
		];
r++;		








		
//Master of Deception - Subtlety
rank[r]=[
"Reduces the chance enemies have to detect you while in Stealth mode.",
"Reduces the chance enemies have to detect you while in Stealth mode. More effective than Master of Deception (Rank 1).",
"Reduces the chance enemies have to detect you while in Stealth mode. More effective than Master of Deception (Rank 2).",
"Reduces the chance enemies have to detect you while in Stealth mode. More effective than Master of Deception (Rank 3).",
"Reduces the chance enemies have to detect you while in Stealth mode. More effective than Master of Deception (Rank 4)."
		];
r++;		

//Opportunity - Subtlety
rank[r]=[
"Increases the damage dealt when striking from behind with your Backstab, Garrote, Mutilate, and Ambush abilities by 4%.",
"Increases the damage dealt when striking from behind with your Backstab, Garrote, Mutilate, and Ambush abilities by 8%.",
"Increases the damage dealt when striking from behind with your Backstab, Garrote, Mutilate, and Ambush abilities by 12%.",
"Increases the damage dealt when striking from behind with your Backstab, Garrote, Mutilate, and Ambush abilities by 16%.",
"Increases the damage dealt when striking from behind with your Backstab, Garrote, Mutilate, and Ambush abilities by 20%."
		];
r++;		
		
//Sleight of Hand - Subtlety 
rank[r]=[
"Reduces the chance you are critically hit by melee and ranged attacks by 1% and increases the threat reduction of your Feint ability by 10%.",
"Reduces the chance you are critically hit by melee and ranged attacks by 2% and increases the threat reduction of your Feint ability by 20%."
		];
r++;				
		
//Dirty Tricks - Subtlety
rank[r]=[
"Increases the range of your Blind and Sap abilities by 2 yards and reduces the energy cost of your Blind and Sap abilities by 25%.",
"Increases the range of your Blind and Sap abilities by 5 yards and reduces the energy cost of your Blind and Sap abilities by 50%."

		];
r++;		

//Camouflage - Subtlety 
rank[r]=[
"Increases your speed while stealthed by 3% and reduces the cooldown of your Stealth ability by 1 sec.",
"Increases your speed while stealthed by 6% and reduces the cooldown of your Stealth ability by 2 sec.",
"Increases your speed while stealthed by 9% and reduces the cooldown of your Stealth ability by 3 sec.",
"Increases your speed while stealthed by 12% and reduces the cooldown of your Stealth ability by 4 sec.",
"Increases your speed while stealthed by 15% and reduces the cooldown of your Stealth ability by 5 sec."
		];
r++;		
		
	
//Initiative - Subtlety 
rank[r]=[
"Gives you a 25% chance to add an additional combo point to your target when using your Ambush, Garrote, or Cheap Shot ability.",
"Gives you a 50% chance to add an additional combo point to your target when using your Ambush, Garrote, or Cheap Shot ability.",
"Gives you a 75% chance to add an additional combo point to your target when using your Ambush, Garrote, or Cheap Shot ability."
		];
r++;		
		
//Ghostly Strike - Subtlety
rank[r]=[
			"<span style=text-align:left;float:left;>40 Energy</span><span style=text-align:right;float:right;>5 yd range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>20 sec cooldown</span><br><span style='text-align:left;float:left;'>Requires Melee Weapon</span><br>A strike that deals 125% weapon damage and increases your chance to dodge by 15% for 7 sec. Awards 1 combo point."
		];
r++;		
		
//Improved Ambush - Subtlety
rank[r]=[
"Increases the critical strike chance of your Ambush ability by 15%.",
"Increases the critical strike chance of your Ambush ability by 30%.",
"Increases the critical strike chance of your Ambush ability by 45%."
		];
r++;
		
//Setup - Subtlety 
rank[r]=[
"Gives you a 15% chance to add a combo point to your target after dodging their attack or fully resisting one of their spells.",
"Gives you a 30% chance to add a combo point to your target after dodging their attack or fully resisting one of their spells.",
"Gives you a 45% chance to add a combo point to your target after dodging their attack or fully resisting one of their spells."
		];
r++;		
		
//Elusiveness - Subtlety 
rank[r]=[
"Reduces the cooldown of your Vanish and Blind abilities by 45 sec.",
"Reduces the cooldown of your Vanish and Blind abilities by 1.5 min.",
"Reduces the cooldown of your Evasion, Vanish, and Blind abilities by 1.3 min."
		];
r++;		
		
//Serrated Blades - Subtlety
rank[r]=[
"Causes your attacks to ignore 186 of your target's Armor and increases the damage dealt by your Rupture ability by 10%.  The amount of Armor reduced increases with your level.",
"Causes your attacks to ignore 373 of your target's Armor and increases the damage dealt by your Rupture ability by 20%.  The amount of Armor reduced increases with your level.",
"Causes your attacks to ignore 560 of your target's Armor and increases the damage dealt by your Rupture ability by 30%.  The amount of Armor reduced increases with your level."
		];
r++;				
		
//Heightened Senses - Subtlety
rank[r]=[
"Increases your Stealth detection and reduces the chance you are hit by spells and ranged attacks by 2%.",
"Increases your Stealth detection and reduces the chance you are hit by spells and ranged attacks by 4%. More effective than Heightened Senses (Rank 1)."
		];
r++;			
		
//Preparation - Subtlety 
rank[r]=[
			"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>10 min cooldown</span><br>When activated, this ability immediately finishes the cooldown on your Evasion, Sprint, Vanish, Cold Blood, Adrenaline Rush and Premeditation abilities."
		];
r++;		
	
//Dirty Deeds - Subtlety 
rank[r]=[
			"Reduces the Energy Cost of your Cheap Shot and Garrote abilities by 10. Additionally, your special abilities cause 10% more damage against targets below 35% health.",
			"Reduces the Energy Cost of your Cheap Shot and Garrote abilities by 20. Additionally, your special abilities cause 20% more damage against targets below 35% health."
		];
r++;	
		
//Hemorrhage - Subtlety 
rank[r]=[
			"<span style=text-align:left;float:left;>35 Energy</span><span style=text-align:right;float:right;>Melee range</span><br>Instant<br>Requires Melee Weapon<br>An instant strike that deals 125% weapon damage and causes the target to hemorrhage, increasing any Physical damage dealt to the target by up to 11. Lasts 10 charges or 15 sec. Awards 1 combo point.<br><br>\
			&nbsp;Trainable Ranks Listed Below:<br>\
			&nbsp;Rank 2: 18 Damage<br>\
			&nbsp;Rank 3: 25 Damage<br>\
			&nbsp;Rank 4: 36 Damage"
		];
r++;		
		
//Master of Subtlety - Subtlety
rank[r]=[
"Attacks made while stealthed and for 6 seconds after breaking stealth cause an additional 4% damage.",
"Attacks made while stealthed and for 6 seconds after breaking stealth cause an additional 7% damage.",
"Attacks made while stealthed and for 6 seconds after breaking stealth cause an additional 10% damage."		];
r++;				
		
		
//Deadliness - Subtlety
rank[r]=[
"Increases your Attack Power by 2%.",
"Increases your Attack Power by 4%.",
"Increases your Attack Power by 6%.",
"Increases your Attack Power by 8%.",
"Increases your Attack Power by 10%."
		];
r++;		
		
//Enveloping Shadows - Subtlety
rank[r]=[
"Increases your chance to avoid area of effect attacks by an additional 5%.",
"Increases your chance to avoid area of effect attacks by an additional 10%.",
"Increases your chance to avoid area of effect attacks by an additional 15%."
		];
r++;				
	
//Premeditation - Subtlety 
rank[r]=[
			"30 yd range<br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>2 min cooldown</span><br><span style=color:eb0504>Requires Stealth</span><br>When used, adds 2 combo points to your target. You must add to or use those combo points within 10 sec or the combo points are lost."
		];
r++;	
	
//Cheat Death - Subtlety
rank[r]=[
"You have a 33% chance to completely avoid any damaging attack that would otherwise kill you and reduce all damage taken by 90% for 3 sec.  This effect cannot occur more than once per minute.",
"You have a 66% chance to completely avoid any damaging attack that would otherwise kill you and reduce all damage taken by 90% for 3 sec.  This effect cannot occur more than once per minute.",
"You have a 100% chance to completely avoid any damaging attack that would otherwise kill you and reduce all damage taken by 90% for 3 sec.  This effect cannot occur more than once per minute."
		];
r++;	
		
//Sinister Calling - Subtlety
rank[r]=[
"Increases your total Agility by 3%.",
"Increases your total Agility by 6%.",
"Increases your total Agility by 9%.",
"Increases your total Agility by 12%.",
"Increases your total Agility by 15%."
		];
r++;			

//Shadowstep - Subtlety 
rank[r]=[
			"<span style=text-align:left;float:left;>10 Energy</span><span style=text-align:right;float:right;>25 yd range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>30 sec cooldown</span><br>Attempts to step through the shadows and reappear behind your enemy.  The damage of your next ability is increased by 20% and the threat caused is reduced by 50%.  Lasts 10 sec."
		];
r++;			
		
		
//Subtlety Talents End^^

tree[b] = "Elemental"; b++;
tree[b] = "Enhancement"; b++;
tree[b] = "Restoration"; b++;


talent[i] = [0, "Convection", 5, 2, 1]; i++;
talent[i] = [0, "Concussion", 5, 3, 1]; i++;
talent[i] = [0, "Earth's Grasp", 2, 1, 2]; i++;
talent[i] = [0, "Elemental Warding", 3, 2, 2]; i++; 
talent[i] = [0, "Call of Flame", 3, 3, 2]; i++;
talent[i] = [0, "Elemental Focus", 1, 1, 3]; i++;
talent[i] = [0, "Reverberation", 5, 2, 3]; i++;
talent[i] = [0, "Call of Thunder", 5, 3, 3]; i++;
talent[i] = [0, "Improved Fire Nova Totem", 2, 1, 4]; i++;
talent[i] = [0, "Eye of the Storm", 3, 2, 4]; i++;
talent[i] = [0, "Elemental Devastation", 3, 4, 4]; i++;
talent[i] = [0, "Storm Reach", 2, 1, 5]; i++;
talent[i] = [0, "Elemental Fury", 1, 2, 5]; i++;
talent[i] = [0, "Unrelenting Storm", 5, 4, 5]; i++;
talent[i] = [0, "Elemental Precision", 3, 1, 6]; i++;
talent[i] = [0, "Lightning Mastery", 5, 3, 6, [getTalentID("Call of Thunder"),5]]; i++;
talent[i] = [0, "Elemental Mastery", 1, 2, 7, [getTalentID("Elemental Fury"),1]]; i++;
talent[i] = [0, "Elemental Shields", 3, 3, 7]; i++;
talent[i] = [0, "Lightning Overload", 5, 2, 8]; i++;
talent[i] = [0, "Totem of Wrath", 1, 2, 9, [getTalentID("Lightning Overload"),5]]; i++;

treeStart[t] = i;
t++;

//enhancement talents
talent[i] = [1, "Ancestral Knowledge", 5, 2, 1]; i++;
talent[i] = [1, "Shield Specialization", 5, 3, 1]; i++;
talent[i] = [1, "Guardian Totems", 2, 1, 2]; i++;
talent[i] = [1, "Thundering Strikes", 5, 2, 2]; i++;
talent[i] = [1, "Improved Ghost Wolf", 2, 3, 2]; i++;
talent[i] = [1, "Improved Lightning Shield", 3, 4, 2]; i++;
talent[i] = [1, "Enhancing Totems", 2, 1, 3]; i++;
talent[i] = [1, "Shamanistic Focus", 1, 3, 3]; i++;
talent[i] = [1, "Anticipation", 5, 4, 3]; i++;
talent[i] = [1, "Flurry", 5, 2, 4, [getTalentID("Thundering Strikes"),5]]; i++;
talent[i] = [1, "Toughness", 5, 3, 4]; i++;
talent[i] = [1, "Improved Weapon Totems", 2, 1, 5]; i++;
talent[i] = [1, "Spirit Weapons", 1, 2, 5]; i++;
talent[i] = [1, "Elemental Weapons", 3, 3, 5]; i++;
talent[i] = [1, "Mental Quickness", 3, 1, 6]; i++; 
talent[i] = [1, "Weapon Mastery", 5, 4, 6]; i++;
talent[i] = [1, "Dual Wield Specialization", 3, 1, 7, [i+1,1]]; i++;
talent[i] = [1, "Dual Wield", 1, 2, 7, [getTalentID("Spirit Weapons"),1]]; i++;
talent[i] = [1, "Stormstrike", 1, 3, 7, [getTalentID("Elemental Weapons"),3]]; i++;
talent[i] = [1, "Unleashed Rage", 5, 2, 8]; i++;  
talent[i] = [1, "Shamanistic Rage", 1, 2, 9]; i++;

treeStart[t] = i;
t++;

//restoration talents
talent[i] = [2, "Improved Healing Wave", 5, 2, 1]; i++;
talent[i] = [2, "Tidal Focus", 5, 3, 1]; i++;
talent[i] = [2, "Improved Reincarnation", 2, 1, 2]; i++;
talent[i] = [2, "Ancestral Healing", 3, 2, 2]; i++;
talent[i] = [2, "Totemic Focus", 5, 3, 2]; i++;
talent[i] = [2, "Nature's Guidance", 3, 1, 3]; i++;
talent[i] = [2, "Healing Focus", 5, 2, 3]; i++;
talent[i] = [2, "Totemic Mastery", 1, 3, 3]; i++;
talent[i] = [2, "Healing Grace", 3, 4, 3]; i++;
talent[i] = [2, "Restorative Totems", 5, 2, 4]; i++;
talent[i] = [2, "Tidal Mastery", 5, 3, 4]; i++;
talent[i] = [2, "Healing Way", 3, 1, 5]; i++;
talent[i] = [2, "Nature's Swiftness", 1, 3, 5]; i++;
talent[i] = [2, "Focused Mind", 3, 4, 5]; i++;
talent[i] = [2, "Purification", 5, 3, 6]; i++;
talent[i] = [2, "Mana Tide Totem", 1, 2, 7, [getTalentID("Restorative Totems"),5]]; i++;
talent[i] = [2, "Nature's Guardian", 5, 3, 7]; i++;
talent[i] = [2, "Nature's Blessing", 3, 2, 8]; i++;
talent[i] = [2, "Improved Chain Heal", 2, 3, 8]; i++;
talent[i] = [2, "Earth Shield", 1, 2, 9, [getTalentID("Nature's Blessing"),3]]; i++;

treeStart[t] = i;
t++;


//Elemental Talents Begin

//Convection - Elemental
rank[r] = [
"Reduces the mana cost of your Shock, Lightning Bolt and Chain Lightning spells by 2%.",
"Reduces the mana cost of your Shock, Lightning Bolt and Chain Lightning spells by 4%.",
"Reduces the mana cost of your Shock, Lightning Bolt and Chain Lightning spells by 6%.",
"Reduces the mana cost of your Shock, Lightning Bolt and Chain Lightning spells by 8%.",
"Reduces the mana cost of your Shock, Lightning Bolt and Chain Lightning spells by 10%."
		];
r++;		
		
//Concussion - Elemental
rank[r] = [
"Increases the damage done by your Lightning Bolt, Chain Lightning and Shock spells by 1%.",
"Increases the damage done by your Lightning Bolt, Chain Lightning and Shock spells by 2%.",
"Increases the damage done by your Lightning Bolt, Chain Lightning and Shock spells by 3%.",
"Increases the damage done by your Lightning Bolt, Chain Lightning and Shock spells by 4%.",
"Increases the damage done by your Lightning Bolt, Chain Lightning and Shock spells by 5%."
		];
r++;		

//Improved Stoneclaw Totem - Elemental
rank[r] = [
"Increases the health of your Stoneclaw Totem by 25% and the radius of your Earthbind Totem by 10%.",
"Increases the health of your Stoneclaw Totem by 50% and the radius of your Earthbind Totem by 20%."
		];
r++;		
		
//Elemental Warding - Elemental
rank[r] = [
"Reduces damage taken from Fire, Frost and Nature effects by 4%.",
"Reduces damage taken from Fire, Frost and Nature effects by 7%.",
"Reduces damage taken from Fire, Frost and Nature effects by 10%."
		];
r++;				
		
//Call of Flame - Elemental
rank[r] = [
"Increases the damage done by your Fire Totems by 5%.",
"Increases the damage done by your Fire Totems by 10%.",
"Increases the damage done by your Fire Totems by 15%."
		];
r++;		

//Elemental Focus - Elemental
rank[r] = [
"After landing a critical strike with a Fire, Frost, or Nature damage spell, you enter a Clearcasting state.  The Clearcasting state reduces the mana cost of your next 2 damage spells by 40%."
		];		
r++;		

//Reverberation - Elemental
rank[r] = [
"Reduces the cooldown of your Shock spells by 0.2 sec.",
"Reduces the cooldown of your Shock spells by 0.4 sec.",
"Reduces the cooldown of your Shock spells by 0.6 sec.",
"Reduces the cooldown of your Shock spells by 0.8 sec.",
"Reduces the cooldown of your Shock spells by 1 sec."
		];
r++;		

//Call of Thunder - Elemental
rank[r] = [ 
"Increases the critical strike chance of your Lightning Bolt and Chain Lightning spells by an additional 1%.",
"Increases the critical strike chance of your Lightning Bolt and Chain Lightning spells by an additional 2%.",
"Increases the critical strike chance of your Lightning Bolt and Chain Lightning spells by an additional 3%.",
"Increases the critical strike chance of your Lightning Bolt and Chain Lightning spells by an additional 4%.",
"Increases the critical strike chance of your Lightning Bolt and Chain Lightning spells by an additional 6%."
		];
r++;		

//Improved Fire Nova Totem - Elemental
rank[r] = [
"Reduces the delay before your Fire Nova Totem activates by 1 sec. and decreases the threat generated by your Magma Totem by 25%.",
"Reduces the delay before your Fire Nova Totem activates by 2 sec. and decreases the threat generated by your Magma Totem by 50%."
		];
r++;		

//Eye of the Storm - Elemental
rank[r] = [
"Gives you a 33% chance to gain the Focused Casting effect that lasts for 6 sec after being the victim of a melee or ranged critical strike. The Focused Casting effect prevents you from losing casting time on Shaman spells when taking damage.",
"Gives your a 66% chance to gain the Focused Casting effect that lasts for 6 sec after being the victim of a melee or ranged critical strike. The Focused Casting effect prevents you from losing casting time on Shaman spells when taking damage.",
"Gives your a 100% chance to gain the Focused Casting effect that lasts for 6 sec after being the victim of a melee or ranged critical strike. The Focused Casting effect prevents you from losing casting time on Shaman spells when taking damage."
		];
r++;		

//Elemental Fury - Elemental 
rank[r] = [
"Your offensive spell crits will increase your chance to get a critical strike with melee attacks by 3% for 10 sec.",
"Your offensive spell crits will increase your chance to get a critical strike with melee attacks by 6% for 10 sec.",
"Your offensive spell crits will increase your chance to get a critical strike with melee attacks by 9% for 10 sec."
		];
r++;		

//Elemental Fury - Elemental 
rank[r] = [
"Increases the range of your Lightning Bolt and Chain Lightning spells by 3 yards.",
"Increases the range of your Lightning Bolt and Chain Lightning spells by 6 yards."
		];
r++;		

//Elemental Fury - Elemental 
rank[r] = [
"Increases the critical strike damage bonus of your Searing, Magma, and Fire Nova Totems and your Fire, Frost, and Nature spells by 100%."
		];
r++;		

//Unrelenting Storm - Elemental 
rank[r] = [
"Regenerate mana equal to 2% of your Intellect every 5 sec, even while casting.",
"Regenerate mana equal to 4% of your Intellect every 5 sec, even while casting.",
"Regenerate mana equal to 6% of your Intellect every 5 sec, even while casting.",
"Regenerate mana equal to 8% of your Intellect every 5 sec, even while casting.",
"Regenerate mana equal to 10% of your Intellect every 5 sec, even while casting."
		];
r++;		

//Elemental Precision - Elemental 
rank[r] = [
"Increases your chance to hit with Fire, Frost, and Nature spells by 2% and reduces the threat caused by Fire, Frost, and Nature spells by 4%.",
"Increases your chance to hit with Fire, Frost, and Nature spells by 4% and reduces the threat caused by Fire, Frost, and Nature spells by 7%.",
"Increases your chance to hit with Fire, Frost, and Nature spells by 6% and reduces the threat caused by Fire, Frost, and Nature spells by 10%."
		];
r++;		

//Lightning Mastery - Elemental  
rank[r] = [
"Reduces the cast time of your Lightning Bolt and Chain Lightning spells by 0.1 sec.",
"Reduces the cast time of your Lightning Bolt and Chain Lightning spells by 0.2 sec.",
"Reduces the cast time of your Lightning Bolt and Chain Lightning spells by 0.3 sec.",
"Reduces the cast time of your Lightning Bolt and Chain Lightning spells by 0.4 sec.",
"Reduces the cast time of your Lightning Bolt and Chain Lightning spells by 0.5 sec."
		];
r++;		

//Elemental Mastery - Elemental				
rank[r] = [
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>When activated, this spell gives your next Fire, Frost, or Nature damage spell a 100% critical strike chance and reduces the mana cost by 100%."
		];
r++;		

//Elemental Shards - Elemental  
rank[r] = [
"Reduces the chance you will be critically hit by melee and ranged attacks by 2%.",
"Reduces the chance you will be critically hit by melee and ranged attacks by 4%.",
"Reduces the chance you will be critically hit by melee and ranged attacks by 6%."
		];
r++;		

//Lightning Overload - Elemental
rank[r] = [
"Gives your Lightning Bolt and Chain Lightning spells a 4% chance to cast a second, similar spell on the same target at no additional cost that causes half damage and no threat.",
"Gives your Lightning Bolt and Chain Lightning spells a 8% chance to cast a second, similar spell on the same target at no additional cost that causes half damage and no threat.",
"Gives your Lightning Bolt and Chain Lightning spells a 12% chance to cast a second, similar spell on the same target at no additional cost that causes half damage and no threat.",
"Gives your Lightning Bolt and Chain Lightning spells a 16% chance to cast a second, similar spell on the same target at no additional cost that causes half damage and no threat.",
"Gives your Lightning Bolt and Chain Lightning spells a 20% chance to cast a second, similar spell on the same target at no additional cost that causes half damage and no threat."
		];
r++;	

//Totem of Wrath - Elemental
rank[r] = [
	"147 Mana<br>Instant cast<br>Tools: Fire Totem<br>Summons a Totem of Wrath with 5 health at the feet of the caster. The totem increases the chance to hit and critically hit with spells by 3% to all party members if they are within 20 yards. Lasts 2 min."
		];
r++;	

//Ancestral Knowledge - Enhancement
rank[r] = [
"Increases your maximum Mana by 1%.",
"Increases your maximum Mana by 2%.",
"Increases your maximum Mana by 3%.",
"Increases your maximum Mana by 4%.",
"Increases your maximum Mana by 5%."
		];
r++;		

//Shield Specialization - Enhancement 
rank[r] = [
"Increases your chance to block attacks with a shield by 1% and increases the amount blocked by 5%.",
"Increases your chance to block attacks with a shield by 2% and increases the amount blocked by 10%.",
"Increases your chance to block attacks with a shield by 3% and increases the amount blocked by 15%.",
"Increases your chance to block attacks with a shield by 4% and increases the amount blocked by 20%.",
"Increases your chance to block attacks with a shield by 5% and increases the amount blocked by 25%."
		];
r++;

//Improved Stoneskin Totem - Enhancement
rank[r] = [
"Increases the amount of damage reduced by your Stoneskin Totem and Windwall Totem by 10% and reduces the cooldown of your Grounding Totem by 1 sec.",
"Increases the amount of damage reduced by your Stoneskin Totem and Windwall Totem by 20% and reduces the cooldown of your Grounding Totem by 2 sec."
		];
r++;		

//Thundering Strikes - Enhancement 
rank[r] = [
"Improves your chance to get a critical strike with your weapon attacks by 1%.",
"Improves your chance to get a critical strike with your weapon attacks by 2%.",
"Improves your chance to get a critical strike with your weapon attacks by 3%.",
"Improves your chance to get a critical strike with your weapon attacks by 4%.",
"Improves your chance to get a critical strike with your weapon attacks by 5%."
		];		
r++;		

//Improved Ghost Wolf - Enhancement 
rank[r] = [

"Reduces the cast time of your Ghost Wolf spell by 1 sec.",
"Reduces the cast time of your Ghost Wolf spell by 2 sec."
		];
r++;		

//Improved Lightning Shield - Enhancement
rank[r] = [
"Increases the damage done by your Lightning Shield orbs by 5%.",
"Increases the damage done by your Lightning Shield orbs by 10%.",
"Increases the damage done by your Lightning Shield orbs by 15%."
		];
r++;		

//Improved Strength of Earth Totem - Enhancement	
rank[r] = [

"Increases the effect of your Strength of Earth and Grace of Air Totems by 8%.",
"Increases the effect of your Strength of Earth and Grace of Air Totems by 15%."
		];
r++;		

//Shamanistic Focus - Enhancement  
rank[r] = [
"After landing a melee critical strike, you enter a Focused state. The Focused state reduces the mana cost of your next Shock spell by 60%."
		];
r++;		

//Anticipation - Enhancement 
rank[r] = [
"Increases your chance to dodge by an additional 1%.",
"Increases your chance to dodge by an additional 2%",
"Increases your chance to dodge by an additional 3%",
"Increases your chance to dodge by an additional 4%",
"Increases your chance to dodge by an additional 5%"
		];
r++;		

//Flurry - Enhancement
rank[r] = [
"Increases your attack speed by 10% for your next 3 swings after dealing a critical strike.",
"Increases your attack speed by 15% for your next 3 swings after dealing a critical strike.",
"Increases your attack speed by 20% for your next 3 swings after dealing a critical strike.",
"Increases your attack speed by 25% for your next 3 swings after dealing a critical strike.",
"Increases your attack speed by 30% for your next 3 swings after dealing a critical strike."
		];
r++;		

//Toughness - Enhancement 
rank[r]=[
"Increases your armor value from items by 2%.",
"Increases your armor value from items by 4%.",
"Increases your armor value from items by 6%.",
"Increases your armor value from items by 8%.",
"Increases your armor value from items by 10%."
		];
r++;		

//Improved Rockbiter Weapon - Enhancement  
rank[r] = [
"Increases the melee attack power bonus of your Windfury Totem by 15% and increases the damage caused by your Flametongue Totem by 6%",
"Increases the melee attack power bonus of your Windfury Totem by 30% and increases the damage caused by your Flametongue Totem by 12%"
		];
r++;

//Spirit Weapons - Enhancement
rank[r]=[
"Gives a chance to parry enemy melee attacks and reduces the threat generated by your melee attacks by 30%."
			];
r++;			

//Elemental Weapons - Enhancement 

rank[r] = [
"Increases the damage caused by your Rockbiter Weapon by 7%, your Windfury Weapon effect by 13% and increases the damage caused by your Flametongue Weapon and Frostbrand Weapon by 5%.",
"Increases the damage caused by your Rockbiter Weapon by 14%, your Windfury Weapon effect by 27% and increases the damage caused by your Flametongue Weapon and Frostbrand Weapon by 10%.",
"Increases the damage caused by your Rockbiter Weapon by 20%, your Windfury Weapon effect by 40% and increases the damage caused by your Flametongue Weapon and Frostbrand Weapon by 15%."
		];
r++;
	
//Mental Quickness - Enhancement
rank[r]=[
"Reduces the mana cost of your instant cast spells by 2% and increases your spell damage and healing by an amount equal to 10% of your attack power.",
"Reduces the mana cost of your instant cast spells by 4% and increases your spell damage and healing by an amount equal to 20% of your attack power..",
"Reduces the mana cost of your instant cast spells by 6% and increases your spell damage and healing by an amount equal to 30% of your attack power.."
		];
r++;		
			
//Weapon Mastery - Enhancement
rank[r]=[
"Increases the damage you deal with all weapons by 2%.",
"Increases the damage you deal with all weapons by 4%.",
"Increases the damage you deal with all weapons by 6%.",
"Increases the damage you deal with all weapons by 8%.",
"Increases the damage you deal with all weapons by 10%."
		];
r++;		

//Dual Wield Specialization - Enhancement
rank[r]=[
"Increases your chance to hit while dual wielding by an additional 2%.",
"Increases your chance to hit while dual wielding by an additional 4%.",
"Increases your chance to hit while dual wielding by an additional 6%."
		];
r++;		

//Dual Wield - Enhancement
rank[r]=[
"Allows one-hand and off-hand weapons to be equipped in the off-hand."
		];
r++;		

//Stormstrike - Enhancement 
rank[r]=[
		"<span style=text-align:left;float:left;>236 Mana</span><span style=text-align:right;float:right;>Melee Range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>10 sec cooldown</span><br><span style=text-align:left;float:left;>Requires Melee Weapon</span><BR>Instantly attack with both weapons. In addition, the next 2 sources of Nature damage dealt to the target are increased by 20%. Lasts 12 sec."
		];
r++;		
			
//Unleashed Rage - Enhancement 

rank[r] = [
"Causes your critical hits with melee attacks to increase all party members' attack power by 2% if within 20 yards of the Shaman. Lasts 10 sec.",
"Causes your critical hits with melee attacks to increase all party members' attack power by 4% if within 20 yards of the Shaman. Lasts 10 sec.",
"Causes your critical hits with melee attacks to increase all party members' attack power by 6% if within 20 yards of the Shaman. Lasts 10 sec.",
"Causes your critical hits with melee attacks to increase all party members' attack power by 8% if within 20 yards of the Shaman. Lasts 10 sec.",
"Causes your critical hits with melee attacks to increase all party members' attack power by 10% if within 20 yards of the Shaman. Lasts 10 sec."

		];
r++;						

//Shamanistic Rage - Enhancement 
rank[r]=[
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>2 min cooldown</span><br>Reduces all damage taken by 30% and gives your successful melee attacks a chance to regenerate mana equal to 15% of your attack power.  Lasts 30 sec."
		];
r++;		

//Improved Healing Wave - Restoration 
rank[r]=[
"Reduces the casting time of your Healing Wave spell by 0.1 sec.",
"Reduces the casting time of your Healing Wave spell by 0.2 sec.",
"Reduces the casting time of your Healing Wave spell by 0.3 sec.",
"Reduces the casting time of your Healing Wave spell by 0.4 sec.",
"Reduces the casting time of your Healing Wave spell by 0.5 sec."
		];
r++;		
		
//Tidal Focus - Restoration 
rank[r]=[
"Reduces the Mana cost of your healing spells by 1%.",
"Reduces the Mana cost of your healing spells by 2%.",
"Reduces the Mana cost of your healing spells by 3%.",
"Reduces the Mana cost of your healing spells by 4%.",
"Reduces the Mana cost of your healing spells by 5%."
		];
r++;		
		
//Improved Reincarnation - Restoration 
rank[r]=[
"Reduces the cooldown of your Reincarnation spell by 10 min and increases the amount of health and mana you reincarnate with by an additional 10%.",
"Reduces the cooldown of your Reincarnation spell by 20 min and increases the amount of health and mana you reincarnate with by an additional 20%."
		];
r++;		
		
//Ancestral Healing - Restoration 
rank[r]=[
"Increases your target's armor value by 8% for 15 sec after getting a critical effect from one of your healing spells.",
"Increases your target's armor value by 16% for 15 sec after getting a critical effect from one of your healing spells.",
"Increases your target's armor value by 25% for 15 sec after getting a critical effect from one of your healing spells."
		];
r++;		
		
//Totemic Focus - Restoration
rank[r]=[
"Reduces the Mana cost of your totems by 5%.",
"Reduces the Mana cost of your totems by 10%.",
"Reduces the Mana cost of your totems by 15%.",
"Reduces the Mana cost of your totems by 20%.",
"Reduces the Mana cost of your totems by 25%."
		];
r++;		
		
//Nature's Guidance - Restoration      
rank[r]=[
"Increases your chance to hit with melee attacks and spells by 1%",
"Increases your chance to hit with melee attacks and spells by 2%",
"Increases your chance to hit with melee attacks and spells by 3%"
		];
r++;		
	
//Healing Focus - Restoration  
rank[r]=[
"Gives you a 14% chance to avoid interruption caused by damage while casting any Shaman healing spell.",
"Gives you a 28% chance to avoid interruption caused by damage while casting any Shaman healing spell.",
"Gives you a 42% chance to avoid interruption caused by damage while casting any Shaman healing spell.",
"Gives you a 56% chance to avoid interruption caused by damage while casting any Shaman healing spell.",
"Gives you a 70% chance to avoid interruption caused by damage while casting any Shaman healing spell."
		];
r++;		
		
//Improved Healing Stream Totem - Restoration 
rank[r]=[
"The radius of your totems that affect friendly targets is increased to 30 yd."
		];
r++;		

//Tidal Mastery - Restoration 
rank[r]=[
"Reduces the threat generated by your healing spells by 5%.",
"Reduces the threat generated by your healing spells by 10%.",
"Reduces the threat generated by your healing spells by 15%."
		];
r++;	

//Improved Mana Spring Totem - Restoration  
rank[r]=[
"Increases the effect of your Mana Spring and Healing Stream Totems by 5%.",
"Increases the effect of your Mana Spring and Healing Stream Totems by 10%.",
"Increases the effect of your Mana Spring and Healing Stream Totems by 15%.",
"Increases the effect of your Mana Spring and Healing Stream Totems by 20%.",
"Increases the effect of your Mana Spring and Healing Stream Totems by 25%."
		];
r++;	

		
//Tidal Mastery - Restoration 
rank[r]=[
"Increases the critical effect chance of your healing and lightning spells by 1%.",
"Increases the critical effect chance of your healing and lightning spells by 2%.",
"Increases the critical effect chance of your healing and lightning spells by 3%.",
"Increases the critical effect chance of your healing and lightning spells by 4%.",
"Increases the critical effect chance of your healing and lightning spells by 5%."
		];
r++;	
		
//Purification - Restoration  
rank[r]=[
"Your Healing Wave spells have a 33% chance to increase the effect of subsequent Healing Wave spells on that target by 6% for 15 sec. This effect will stack up to 3 times.",
"Your Healing Wave spells have a 66% chance to increase the effect of subsequent Healing Wave spells on that target by 6% for 15 sec. This effect will stack up to 3 times.",
"Your Healing Wave spells have a 100% chance to increase the effect of subsequent Healing Wave spells on that target by 6% for 15 sec. This effect will stack up to 3 times."
		];
r++;

//Nature's Swiftness - Restoration
rank[r]=[
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>When activated, your next Nature spell with a casting time less then 10 sec becomes an instant cast spell."
		];
r++;	

//Focused Mind - Restoration  
rank[r]=[
"Reduces the duration of any Silence or Interrupt effects used against the Shaman by 5%. This effect does not stack with other similar effects.",
"Reduces the duration of any Silence or Interrupt effects used against the Shaman by 10%. This effect does not stack with other similar effects.",
"Reduces the duration of any Silence or Interrupt effects used against the Shaman by 15%. This effect does not stack with other similar effects."
		];
r++;	

//Purification - Restoration  
rank[r]=[
"Increases the effectiveness of your healing spells by 2%.",
"Increases the effectiveness of your healing spells by 4%.",
"Increases the effectiveness of your healing spells by 6%.",
"Increases the effectiveness of your healing spells by 8%.",
"Increases the effectiveness of your healing spells by 10%."
		];
r++;	


//Mana Tide Totem - Restoration 
rank[r]=[
		"88 Mana<br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>5 min cooldown</span><br>Tools: Water Totem<br>Summons a Mana Tide Totem with 5 health at the feet of the caster for 12 sec that restores 6% of total mana every 3 seconds to group members within 20 yards."
		];
r++;	


//Nature's Guardian - Restoration  
rank[r]=[
"Whenever a damaging attack is taken that reduces you below 30% health, you have a 10% chance to heal 10% of your total health and reduce your threat level on that target. 5 second cooldown.",
"Whenever a damaging attack is taken that reduces you below 30% health, you have a 20% chance to heal 10% of your total health and reduce your threat level on that target. 5 second cooldown.",
"Whenever a damaging attack is taken that reduces you below 30% health, you have a 30% chance to heal 10% of your total health and reduce your threat level on that target. 5 second cooldown.",
"Whenever a damaging attack is taken that reduces you below 30% health, you have a 40% chance to heal 10% of your total health and reduce your threat level on that target. 5 second cooldown.",
"Whenever a damaging attack is taken that reduces you below 30% health, you have a 50% chance to heal 10% of your total health and reduce your threat level on that target. 5 second cooldown."
		];
r++;	
		
//Nature's Blessing - Restoration  
rank[r]=[
"Increases your spell damage and healing by an amount equal to 10% of your Intellect.",
"Increases your spell damage and healing by an amount equal to 20% of your Intellect.",
"Increases your spell damage and healing by an amount equal to 30% of your Intellect."
		];
r++;			
		
//Improved Chain Heal - Restoration  
rank[r]=[
"Increases the amount healed by your Chain Heal spell by 10%.",
"Increases the amount healed by your Chain Heal spell by 20%."
		];
r++;					
		
//Earth Shield - Restoration 
rank[r]=[
		"<span style=text-align:left;float:left;>600 Mana</span><span style=text-align:right;float:right;>40 yd range</span><br>Instant Cast<br>Protects the target with an earthen shield, giving a 30% chance of ignoring spell interruption when damaged and causing melee attacks to heal the shielded target for 150. This effect can only occur once every few seconds. 10 charges. Lasts 10 min. Earth Shield can only be placed on one target at a time and only one Elemental Shield can be active on a target at a time.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 745 Mana, Heals for 205<br>\
		&nbsp;Rank 3: 900 Mana, Heals for 270"
				];
r++;			
		
//Restoration Talents End^^

tree[b] = "Affliction"; b++;
tree[b] = "Demonology"; b++;
tree[b] = "Destruction"; b++;

//rank
//horizontal position
//vertical position
talent[i] = [0, "Suppression", 5, 2, 1]; i++;
talent[i] = [0, "Improved Corruption", 5, 3, 1]; i++;
talent[i] = [0, "Improved Curse of Weakness", 2, 1, 2]; i++;
talent[i] = [0, "Improved Drain Soul", 2, 2, 2]; i++; 
talent[i] = [0, "Improved Life Tap", 2, 3, 2]; i++;
talent[i] = [0, "Soul Siphon", 2, 4, 2]; i++;
talent[i] = [0, "Improved Curse of Agony", 2, 1, 3]; i++;
talent[i] = [0, "Fel Concentration", 5, 2, 3]; i++;
talent[i] = [0, "Amplify Curse", 1, 3, 3]; i++;
talent[i] = [0, "Grim Reach", 2, 1, 4]; i++;
talent[i] = [0, "Nightfall", 2, 2, 4]; i++;
talent[i] = [0, "Empowered Corruption", 3, 4, 4]; i++;
talent[i] = [0, "Shadow Embrace", 5, 1, 5]; i++;
talent[i] = [0, "Siphon Life", 1, 2, 5]; i++;
talent[i] = [0, "Curse of Exhaustion", 1, 3, 5, [getTalentID("Amplify Curse"),1]]; i++;
talent[i] = [0, "Shadow Mastery", 5, 2, 6, [getTalentID("Siphon Life"),1]]; i++;
talent[i] = [0, "Contagion", 5, 2, 7]; i++;
talent[i] = [0, "Dark Pact", 1, 3, 7]; i++;
talent[i] = [0, "Improved Howl of Terror", 2, 1, 8]; i++;
talent[i] = [0, "Malediction", 3, 3, 8]; i++;
talent[i] = [0, "Unstable Affliction", 1, 2, 9, [getTalentID("Contagion"),5]]; i++;

treeStart[t] = i;
t++;

//demonology talents
talent[i] = [1, "Improved Healthstone", 2, 1, 1]; i++;
talent[i] = [1, "Improved Imp", 3, 2, 1]; i++;
talent[i] = [1, "Demonic Embrace", 5, 3, 1]; i++;
talent[i] = [1, "Improved Health Funnel", 2, 1, 2]; i++;
talent[i] = [1, "Improved Voidwalker", 3, 2, 2]; i++;
talent[i] = [1, "Fel Intellect", 3, 3, 2]; i++;
talent[i] = [1, "Improved Succubus", 3, 1, 3]; i++;
talent[i] = [1, "Fel Domination", 1, 2, 3]; i++;
talent[i] = [1, "Fel Stamina", 3, 3, 3]; i++;
talent[i] = [1, "Demonic Aegis", 3, 4, 3]; i++;
talent[i] = [1, "Master Summoner", 2, 2, 4, [getTalentID("Fel Domination"),1]]; i++;
talent[i] = [1, "Unholy Power", 5, 3, 4]; i++;
talent[i] = [1, "Improved Enslave Demon", 2, 1, 5]; i++;
talent[i] = [1, "Demonic Sacrifice", 1, 2, 5]; i++;
talent[i] = [1, "Master Conjuror", 2, 4, 5]; i++;
talent[i] = [1, "Mana Feed", 3, 1, 6]; i++;
talent[i] = [1, "Master Demonologist", 5, 3, 6, [getTalentID("Unholy Power"),5]]; i++;
talent[i] = [1, "Demonic Resilience", 3, 1, 7]; i++;
talent[i] = [1, "Soul Link", 1, 2, 7, [getTalentID("Demonic Sacrifice"),1]]; i++;
talent[i] = [1, "Demonic Knowledge", 3, 3, 7]; i++;
talent[i] = [1, "Demonic Tactics", 5, 2, 8]; i++;
talent[i] = [1, "Summon Felguard", 1, 2, 9]; i++;

treeStart[t] = i;
t++;

//destruction talents
talent[i] = [2, "Improved Shadow Bolt", 5, 2, 1]; i++;
talent[i] = [2, "Cataclysm", 5, 3, 1]; i++;
talent[i] = [2, "Bane", 5, 2, 2]; i++;
talent[i] = [2, "Aftermath", 5, 3, 2]; i++;
talent[i] = [2, "Improved Firebolt", 2, 1, 3]; i++;
talent[i] = [2, "Improved Lash of Pain", 2, 2, 3]; i++;
talent[i] = [2, "Devastation", 5, 3, 3]; i++;
talent[i] = [2, "Shadowburn", 1, 4, 3]; i++;
talent[i] = [2, "Intensity", 2, 1, 4]; i++;
talent[i] = [2, "Destructive Reach", 2, 2, 4]; i++;
talent[i] = [2, "Improved Searing Pain", 3, 4, 4]; i++;
talent[i] = [2, "Pyroclasm", 2, 1, 5, [getTalentID("Intensity"),2]]; i++;
talent[i] = [2, "Improved Immolate", 5, 2, 5]; i++;
talent[i] = [2, "Ruin", 1, 3, 5, [getTalentID("Devastation"),5]]; i++;
talent[i] = [2, "Nether Protection", 3, 1, 6]; i++;
talent[i] = [2, "Emberstorm", 5, 3, 6]; i++;
talent[i] = [2, "Backlash", 3, 1, 7]; i++; 
talent[i] = [2, "Conflagrate", 1, 2, 7, [getTalentID("Improved Immolate"),5]]; i++;
talent[i] = [2, "Soul Leech", 3, 3, 7]; i++;
talent[i] = [2, "Shadow and Flame", 5, 2, 8]; i++;
talent[i] = [2, "Shadowfury", 1, 2, 9, [getTalentID("Shadow and Flame"),5]]; i++;

treeStart[t] = i;
t++;


//Affliction Talents Begin

//Suppression - Affliction
rank[r] = [
"Reduces the chance for enemies to resist your Affliction spells by 2%.",
"Reduces the chance for enemies to resist your Affliction spells by 4%.",
"Reduces the chance for enemies to resist your Affliction spells by 6%.",
"Reduces the chance for enemies to resist your Affliction spells by 8%.",
"Reduces the chance for enemies to resist your Affliction spells by 10%."
		];
r++;		
		
//Improved Corruption - Affliction
rank[r] = [
"Reduces the casting time of your Corruption spell by 0.4 sec.",
"Reduces the casting time of your Corruption spell by 0.8 sec.",
"Reduces the casting time of your Corruption spell by 1.2 sec.",
"Reduces the casting time of your Corruption spell by 1.6 sec.",
"Reduces the casting time of your Corruption spell by 2 sec."
		];
r++;		

//Improved Curse of Weakness - Affliction
rank[r] = [
"Increases the effect of your Curse of Weakness by 10%.",
"Increases the effect of your Curse of Weakness by 20%."
		];
r++;		
		
//Improved Drain Soul - Affliction
rank[r] = [
"Returns 7% of your maximum mana if the target is killed by you while you drain its soul. In addition, your Affliction spells generate 5% less threat.",
"Returns 15% of your maximum mana if the target is killed by you while you drain its soul. In addition, your Affliction spells generate 10% less threat."
		];
r++;		

//Improved Life Tap - Affliction
rank[r] = [
"Increases the amount of Mana awarded by your Life Tap spell by 10%.",
"Increases the amount of Mana awarded by your Life Tap spell by 20%."
		];
r++;		

//Soul Siphon - Affliction
rank[r] = [
"Increases the amount drained by your Drain Life spell by an additional 2% for each Affliction effect on the target, up to a maximum of 24% additional effect.",
"Increases the amount drained by your Drain Life spell by an additional 4% for each Affliction effect on the target, up to a maximum of 60% additional effect."
		];
r++;		
		
//Improved Curse of Agony - Affliction
rank[r] = [
"Increases the damage done by your Curse of Agony by 5%.",
"Increases the damage done by your Curse of Agony by 10%."
		];		
r++;		


//Fel Concentration - Affliction
rank[r] = [ 
"Gives you a 14% chance to avoid interruption caused by damage while channeling the Drain Life, Drain Mana, or Drain Soul spell.",
"Gives you a 28% chance to avoid interruption caused by damage while channeling the Drain Life, Drain Mana, or Drain Soul spell.",
"Gives you a 42% chance to avoid interruption caused by damage while channeling the Drain Life, Drain Mana, or Drain Soul spell.",
"Gives you a 56% chance to avoid interruption caused by damage while channeling the Drain Life, Drain Mana, or Drain Soul spell.",
"Gives you a 70% chance to avoid interruption caused by damage while channeling the Drain Life, Drain Mana, or Drain Soul spell."
		];
r++;		


//Amplify Curse - Affliction
rank[r] = [
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>Increases the effect of your next Curse of Doom or Curse of Agony by 50%, or your next Curse of Exhaustion by 20%. Lasts 30 sec."
		];
r++;		

//Grim Reach - Affliction
rank[r] = [
"Increases the range of your Affliction spells by 10%.",
"Increases the range of your Affliction spells by 20%."
		];
r++;		

//Nightfall - Affliction	
rank[r] = [
"Gives your Corruption and Drain Life spells a 2% chance to cause you to enter a Shadow Trance state after damaging the opponent. The Shadow Trance state reduces the casting time of your next Shadow Bolt spell by 100%.",
"Gives your Corruption and Drain Life spells a 4% chance to cause you to enter a Shadow Trance state after damaging the opponent. The Shadow Trance state reduces the casting time of your next Shadow Bolt spell by 100%."
		];
r++;		

//Empowered Corruption - Affliction
rank[r] = [
"Your Corruption spell gains an additional 12% of your bonus spell damage effects.",
"Your Corruption spell gains an additional 24% of your bonus spell damage effects.",
"Your Corruption spell gains an additional 36% of your bonus spell damage effects."
		];
r++;		

//Shadow Embrace
rank[r] = [
"Your Corruption, Curse of Agony, Siphon Life and Seed of Corruption spells also cause the Shadow Embrace effect, which reduces physical damage caused by 1%.",
"Your Corruption, Curse of Agony, Siphon Life and Seed of Corruption spells also cause the Shadow Embrace effect, which reduces physical damage caused by 2%.",
"Your Corruption, Curse of Agony, Siphon Life and Seed of Corruption spells also cause the Shadow Embrace effect, which reduces physical damage caused by 3%.",
"Your Corruption, Curse of Agony, Siphon Life and Seed of Corruption spells also cause the Shadow Embrace effect, which reduces physical damage caused by 4%.",
"Your Corruption, Curse of Agony, Siphon Life and Seed of Corruption spells also cause the Shadow Embrace effect, which reduces physical damage caused by 5%."
		];
r++;

//Siphon Life - Affliction
rank[r] = [
		"<span style=text-align:left;float:left;>140 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br>Instant cast<br>Transfers 15 health from the target to the caster every 3 sec. Lasts 30 sec.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 190 Mana, 22 Health<br>\
		&nbsp;Rank 3: 250 Mana, 33 Health<br>\
		&nbsp;Rank 4: 310 Mana, 45 Health<br>\
		&nbsp;Rank 5: 350 Mana, 52 Health<br>\
		&nbsp;Rank 6: 410 Mana, 63 Health"
		];
r++;		

//Curse of Exhaustion - Affliction
rank[r] = [
		"<span style=text-align:left;float:left;>156 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br>Instant cast<br>Reduces the target's movement speed by 30% for 12 sec. Only one Curse per Warlock can be active on any one target."
		];		
r++;		

//Shadow Mastery - Affliction
rank[r] = [
"Increases the damage dealt or life drained by your Shadow spells by 2%.",
"Increases the damage dealt or life drained by your Shadow spells by 4%.",
"Increases the damage dealt or life drained by your Shadow spells by 6%.",
"Increases the damage dealt or life drained by your Shadow spells by 8%.",
"Increases the damage dealt or life drained by your Shadow spells by 10%."
		];
r++;

//Contagion - Affliction
rank[r] = [
"Increases the damage of Curse of Agony, Corruption and Seed of Corruption by 1% and reduces the chance your Affliction spells will be dispelled by an additional 6%.",
"Increases the damage of Curse of Agony, Corruption and Seed of Corruption by 2% and reduces the chance your Affliction spells will be dispelled by an additional 12%.",
"Increases the damage of Curse of Agony, Corruption and Seed of Corruption by 3% and reduces the chance your Affliction spells will be dispelled by an additional 18%.",
"Increases the damage of Curse of Agony, Corruption and Seed of Corruption by 4% and reduces the chance your Affliction spells will be dispelled by an additional 24%.",
"Increases the damage of Curse of Agony, Corruption and Seed of Corruption by 5% and reduces the chance your Affliction spells will be dispelled by an additional 30%."
		];
r++;


//Dark Pact - Affliction
rank[r] = [
		"30 yd range<br>Instant<br>Drains 305 of your pet's Mana, returning 100% to you.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 440 Mana<br>\
		&nbsp;Rank 3: 545 Mana<br>\
		&nbsp;Rank 4: 700 Mana"
		];
r++;

//Improved Howl of Terror - Affliction
rank[r] = [
"Reduces the casting time of your Howl of Terror spell by 0.8 sec.",
"Reduces the casting time of your Howl of Terror spell by 1.5 sec."
		];
r++;

//Malediction - Affliction
rank[r] = [
"Increases the damage bonus effect of your Curse of Shadows and Curse of the Elements spells by an additional 1%.",
"Increases the damage bonus effect of your Curse of Shadows and Curse of the Elements spells by an additional 2%.",
"Increases the damage bonus effect of your Curse of Shadows and Curse of the Elements spells by an additional 3%."
		];
r++;

//Unstable Affliction - Demonology 
rank[r]=[
		"<span style=text-align:left;float:left;>270 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br>1.5 sec cast<br>Shadow energy slowly destroys the target, causing 660 damage over 18 sec. In addition, if the Unstable Affliction is dispelled it will cause 990 damage to the dispeller and silence them for 5 sec.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 330 Mana, 840 DoT, 1260 damage to dispeller<br>\
		&nbsp;Rank 3: 400 Mana, 1050 DoT, 1575 damage to dispeller"
			];
r++;	

















//Improved Healthstone - Demonology
rank[r] = [
"Increases the amount of Health restored by your Healthstone by 10%.",
"Increases the amount of Health restored by your Healthstone by 20%."
		];
r++;		

//Improved Imp - Demonology
rank[r] = [
"Increases the effect of your Imp's Firebolt, Fire Shield, and Blood Pact spells by 10%.",
"Increases the effect of your Imp's Firebolt, Fire Shield, and Blood Pact spells by 20%.",
"Increases the effect of your Imp's Firebolt, Fire Shield, and Blood Pact spells by 30%."
		];
r++;

//Demonic Embrace - Demonology
rank[r] = [
"Increases your total Stamina by 3% but reduces your total Spirit by 1%.",
"Increases your total Stamina by 6% but reduces your total Spirit by 2%.",
"Increases your total Stamina by 9% but reduces your total Spirit by 3%.",
"Increases your total Stamina by 12% but reduces your total Spirit by 4%.",
"Increases your total Stamina by 15% but reduces your total Spirit by 5%."
		];
r++;		

//Improved Health Funnel - Demonology
rank[r] = [
"Increases the amount of Health transfered by your Health Funnel spell by 10% and reduces the initial health cost by 10%.",
"Increases the amount of Health transfered by your Health Funnel spell by 20% and reduces the initial health cost by 20%."
		];		
r++;		

//Improved Voidwalker - Demonology
rank[r] = [

"Increases the effectiveness of your Voidwalker's Torment, Consume Shadows, Sacrifice and Suffering spells by 10%.",
"Increases the effectiveness of your Voidwalker's Torment, Consume Shadows, Sacrifice and Suffering spells by 20%.",
"Increases the effectiveness of your Voidwalker's Torment, Consume Shadows, Sacrifice and Suffering spells by 30%."
		];
r++;		

//Fel Intellect - Demonology
rank[r] = [
"Increases the Intellect of your Imp, Voidwalker, Succubus, Felhunter and Felguard by 5% and increases your maximum mana by 1%.",
"Increases the Intellect of your Imp, Voidwalker, Succubus, Felhunter and Felguard by 10% and increases your maximum mana by 2%.",
"Increases the Intellect of your Imp, Voidwalker, Succubus, Felhunter and Felguard by 15% and increases your maximum mana by 3%."
		];
r++;		

//Improved Succubus - Demonology
rank[r] = [
"Increases the effect of your Succubus' Lash of Pain and Soothing Kiss spells by 10%, and increases the duration of your Succubus' Seduction and Lesser Invisibility spells by 10%.",
"Increases the effect of your Succubus' Lash of Pain and Soothing Kiss spells by 20%, and increases the duration of your Succubus' Seduction and Lesser Invisibility spells by 20%.",
"Increases the effect of your Succubus' Lash of Pain and Soothing Kiss spells by 30%, and increases the duration of your Succubus' Seduction and Lesser Invisibility spells by 30%."
		];
r++;		

//Fel Domination - Demonology
rank[r] = [
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>15 min cooldown</span><br>Your next Imp, Voidwalker, Succubus, Felhunter or Felguard Summon spell has its casting time reduced by 5.5 sec and its Mana cost reduced by 50%."
		];
r++;		

//Fel Stamina - Demonology
rank[r] = [
"Increases the Stamina of your Imp, Voidwalker, Succubus, Felhunter and Felguard by 5% and increases your maximum health by 1%.",
"Increases the Stamina of your Imp, Voidwalker, Succubus, Felhunter and Felguard by 10% and increases your maximum health by 2%.",
"Increases the Stamina of your Imp, Voidwalker, Succubus, Felhunter and Felguard by 15% and increases your maximum health by 3%."
		];
r++;		

//Demonic Aegis - Demonology 
rank[r] = [
"Increases the effectiveness of your Demon Armor and Fel Armor spells by 10%.",
"Increases the effectiveness of your Demon Armor and Fel Armor spells by 20%.",
"Increases the effectiveness of your Demon Armor and Fel Armor spells by 30%."
		];
r++;		
		
//Master Summoner - Demonology 
rank[r] = [
"Reduces the casting time of your Imp, Voidwalker, Succubus, Felhunter and Felguard Summoning spells by 2 sec and the Mana cost by 20%.",
"Reduces the casting time of your Imp, Voidwalker, Succubus, Felhunter and Felguard Summoning spells by 4 sec and the Mana cost by 40%."
		];
r++;		

//Unholy Power - Demonology 
rank[r] = [
"Increases the damage done by your Voidwalker, Succubus, Felhunter and Felguard's melee attacks and your Imp's Firebolt by 4%.",
"Increases the damage done by your Voidwalker, Succubus, Felhunter and Felguard's melee attacks and your Imp's Firebolt by 8%.",
"Increases the damage done by your Voidwalker, Succubus, Felhunter and Felguard's melee attacks and your Imp's Firebolt by 12%.",
"Increases the damage done by your Voidwalker, Succubus, Felhunter and Felguard's melee attacks and your Imp's Firebolt by 16%.",
"Increases the damage done by your Voidwalker, Succubus, Felhunter and Felguard's melee attacks and your Imp's Firebolt by 20%."
		];
r++;

//Improved Enslave Demon - Demonology

rank[r] = [
"Reduces the Attack Speed and Casting Speed penalty of your Enslave Demon spell by 5% and reduces the resist chance by 5%.",
"Reduces the Attack Speed and Casting Speed penalty of your Enslave Demon spell by 10% and reduces the resist chance by 10%."
		];
r++;
		
//Demonic Sacrifice - Demonology 
rank[r]=[
		"100 yd range<br>Instant<br>When activated, sacrifices your summoned demon to grant you an effect that lasts 30 min. The effect is canceled if any Demon is summoned.<br><br>Imp: Increases your Fire damage by 15%.<br><br>Voidwalker: Restores 2% of total Health every 4 sec.<br><br>Succubus: Increases your Shadow damage by 15%.<br><br>Felhunter: Restores 3% of total Mana every 4 sec.<br><br>Felguard: Increases your Shadow damage by 10% and restores 2% of total mana every 4 sec."
			];
r++;			
			
//Master Conjuror - Demonology
rank[r]=[
"Increases the bonus Fire damage from Firestones and the Firestone effect by 15% and increases the spell critical strike rating bonus of your Spellstone by 15%.",
"Increases the bonus Fire damage from Firestones and the Firestone effect by 30% and increases the spell critical strike rating bonus of your Spellstone by 30%."
		];
r++;		

//Mana Feed - Demonology
rank[r]=[
"When you gain mana from Drain Mana or Life Tap spells, your pet gains 33% of the mana you gain",
"When you gain mana from Drain Mana or Life Tap spells, your pet gains 66% of the mana you gain",
"When you gain mana from Drain Mana or Life Tap spells, your pet gains 100% of the mana you gain"
		];
r++;				
		
//Master Demonologist - Demonology 
rank[r]=[
"Grants both the Warlock and the summoned demon an effect as long as that demon is active.<br><br>Imp - Reduces threat caused by 4%.<br><br>Voidwalker - Reduces physical damage taken by 2%.<br><br>Succubus - Increases all damage caused by 2%.<br><br>Felhunter - Increases all resistances by .2 per level.<br><br>Felguard - Increases all damage caused by 1% and all resistances by .1 per level.",
"Grants both the Warlock and the summoned demon an effect as long as that demon is active.<br><br>Imp - Reduces threat caused by 8%.<br><br>Voidwalker - Reduces physical damage taken by 4%.<br><br>Succubus - Increases all damage caused by 4%.<br><br>Felhunter - Increases all resistances by .4 per level.<br><br>Felguard - Increases all damage caused by 2% and all resistances by .2 per level.",
"Grants both the Warlock and the summoned demon an effect as long as that demon is active.<br><br>Imp - Reduces threat caused by 12%.<br><br>Voidwalker - Reduces physical damage taken by 6%.<br><br>Succubus - Increases all damage caused by 6%.<br><br>Felhunter - Increases all resistances by .6 per level.<br><br>Felguard - Increases all damage caused by 3% and all resistances by .3 per level.",
"Grants both the Warlock and the summoned demon an effect as long as that demon is active.<br><br>Imp - Reduces threat caused by 16%.<br><br>Voidwalker - Reduces physical damage taken by 8%.<br><br>Succubus - Increases all damage caused by 8%.<br><br>Felhunter - Increases all resistances by .8 per level.<br><br>Felguard - Increases all damage caused by 4% and all resistances by .4 per level.",
"Grants both the Warlock and the summoned demon an effect as long as that demon is active.<br><br>Imp - Reduces threat caused by 20%.<br><br>Voidwalker - Reduces physical damage taken by 10%.<br><br>Succubus - Increases all damage caused by 10%.<br><br>Felhunter - Increases all resistances by 1 per level.<br><br>Felguard - Increases all damage caused by 5% and all resistances by .5 per level."
		];
r++;	

//Demonic Resilience - Demonology 
rank[r]=[
"Reduces the chance you'll be critically hit by melee and spells by 1% and reduces all damage your summoned demon takes by 5%.",
"Reduces the chance you'll be critically hit by melee and spells by 2% and reduces all damage your summoned demon takes by 10%.",
"Reduces the chance you'll be critically hit by melee and spells by 3% and reduces all damage your summoned demon takes by 15%."
		];
r++;
		
//Soul Link - Demonology
rank[r]=[
		"<span style=text-align:left;float:left;>418 Mana</span><span style=text-align:right;float:right;>100 yd range</span><br>Instant cast<br>When active, 20% of all damage taken by the caster is taken by your Imp, Voidwalker, Succubus, Felhunter, Felguard, or enslaved demon instead.  That damage cannot be prevented.  In addition, both the demon and master will inflict 5% more damage.  Lasts as long as the demon is active and controlled."
		];
r++;		
		
//Demonic Knowledge - Demonology 
rank[r]=[
"Increases your spell damage by an amount equal to 5% of the total of your active demon's Stamina plus Intellect.",
"Increases your spell damage by an amount equal to 10% of the total of your active demon's Stamina plus Intellect.",
"Increases your spell damage by an amount equal to 15% of the total of your active demon's Stamina plus Intellect."
		];
r++;		


//Demonic Tactics - Demonology 
rank[r]=[
"Increases melee and spell critical strike chance for you and your summoned demon by 1%.",
"Increases melee and spell critical strike chance for you and your summoned demon by 2%.",
"Increases melee and spell critical strike chance for you and your summoned demon by 3%.",
"Increases melee and spell critical strike chance for you and your summoned demon by 4%.",
"Increases melee and spell critical strike chance for you and your summoned demon by 5%."
		];
r++;	

//Summon Felguard - Demonology 
rank[r]=[
	"<span style=text-align:left;float:left;>2092 Mana</span><BR><span style=text-align:left;float:left;>10 sec cast</span><br>Reagents: Soul Shard<BR>Summons a Felguard under the command of the Warlock."
		];
r++;















		
//Improved Shadow Bolt - Destruction  
rank[r]=[
"Your Shadow Bolt critical strikes increase Shadow damage dealt to the target by 4% until 4 non-periodic damage sources are applied. Effect lasts a maximum of 12 sec.",
"Your Shadow Bolt critical strikes increase Shadow damage dealt to the target by 8% until 4 non-periodic damage sources are applied. Effect lasts a maximum of 12 sec.",
"Your Shadow Bolt critical strikes increase Shadow damage dealt to the target by 12% until 4 non-periodic damage sources are applied. Effect lasts a maximum of 12 sec.",
"Your Shadow Bolt critical strikes increase Shadow damage dealt to the target by 16% until 4 non-periodic damage sources are applied. Effect lasts a maximum of 12 sec.",
"Your Shadow Bolt critical strikes increase Shadow damage dealt to the target by 20% until 4 non-periodic damage sources are applied. Effect lasts a maximum of 12 sec."
		];
r++;		
		
//Cataclysm - Destruction
rank[r]=[
"Reduces the Mana cost of your Destruction spells by 1%.",
"Reduces the Mana cost of your Destruction spells by 2%.",
"Reduces the Mana cost of your Destruction spells by 3%.",
"Reduces the Mana cost of your Destruction spells by 4%.",
"Reduces the Mana cost of your Destruction spells by 5%."
		];
r++;		
		
//Bane - Destruction
rank[r]=[
"Reduces the casting time of your Shadow Bolt and Immolate spells by 0.1 sec and your Soul Fire spell by 0.4 sec.",
"Reduces the casting time of your Shadow Bolt and Immolate spells by 0.2 sec and your Soul Fire spell by 0.8 sec.",
"Reduces the casting time of your Shadow Bolt and Immolate spells by 0.3 sec and your Soul Fire spell by 1.2 sec.",
"Reduces the casting time of your Shadow Bolt and Immolate spells by 0.4 sec and your Soul Fire spell by 1.6 sec.",
"Reduces the casting time of your Shadow Bolt and Immolate spells by 0.5 sec and your Soul Fire spell by 2.0 sec."
		];
r++;		
		
//Aftermath - Destruction
rank[r]=[
"Gives your Destruction spells a 2% chance to daze the target for 5 sec.",
"Gives your Destruction spells a 4% chance to daze the target for 5 sec.",
"Gives your Destruction spells a 6% chance to daze the target for 5 sec.",
"Gives your Destruction spells a 8% chance to daze the target for 5 sec.",
"Gives your Destruction spells a 10% chance to daze the target for 5 sec."
		];
r++;		
		
//Improved Firebolt - Destruction
rank[r]=[
"Reduces the casting time of your Imp's Firebolt spell by 0.25 sec.",
"Reduces the casting time of your Imp's Firebolt spell by 0.5 sec."
		];
r++;		
		
//Improved Lash of Pain - Destruction
rank[r]=[
"Reduces the cooldown of your Succubus' Lash of Pain spell by 3 sec.",
"Reduces the cooldown of your Succubus' Lash of Pain spell by 6 sec."
		];
r++;		
		
//Devastation - Destruction
rank[r]=[
"Increases the critical strike chance of your Destruction spells by 1%.",
"Increases the critical strike chance of your Destruction spells by 2%.",
"Increases the critical strike chance of your Destruction spells by 3%.",
"Increases the critical strike chance of your Destruction spells by 4%.",
"Increases the critical strike chance of your Destruction spells by 5%."
		];
r++;		
		
//Shadowburn - Destruction 
rank[r]=[
		"<span style=text-align:left;float:left;>105 Mana</span><span style=text-align:right;float:right;>20 yd range</span><br><span style=text-align:left;float:left;>Instant cast</span><span style=text-align:right;float:right;>15 sec cooldown</span><br>Reagents: Soul Shard<br>Instantly blasts the target for 91 to 104 Shadow damage. If the target dies within 5 secs of Shadowburn, and yields experience or honor, the caster gains a Soul Shard.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 130 Mana, 123-140 Damage<br>\
		&nbsp;Rank 3: 190 Mana, 196-221 Damage<br>\
		&nbsp;Rank 4: 245 Mana, 274-307 Damage<br>\
		&nbsp;Rank 5: 305 Mana, 365-408 Damage<br>\
		&nbsp;Rank 6: 365 Mana, 468-520 Damage<br>\
		&nbsp;Rank 7: 435 Mana, 538-599 Damage<br>\
		&nbsp;Rank 8: 515 Mana, 597-665 Damage"
		];
r++;		
		
//Intensity - Destruction
rank[r]=[
"Gives you a 35% chance to resist interruption caused by damage while casting or channeling any Destruction spell.",
"Gives you a 70% chance to resist interruption caused by damage while casting or channeling any Destruction spell."
		];
r++;		
		
//Destructive Reach - Destruction  
rank[r]=[
"Increases the range of your Destruction spells by 10% and reduces threat caused by Destruction spells by 5%.",
"Increases the range of your Destruction spells by 20% and reduces threat caused by Destruction spells by 10%."
		];
r++;	
		
//Improved Searing Pain - Destruction   
rank[r]=[
"Increases the critical strike chance of your Searing Pain spell by 4%.",
"Increases the critical strike chance of your Searing Pain spell by 7%.",
"Increases the critical strike chance of your Searing Pain spell by 10%."
		];
r++;	


//Pyroclasm - Destruction
rank[r]=[
"Gives your Rain of Fire, Hellfire, and Soul Fire spells a 13% chance to stun the target for 3 sec.",
"Gives your Rain of Fire, Hellfire, and Soul Fire spells a 26% chance to stun the target for 3 sec."
		];
r++;	


//Improved Immolate - Destruction 
rank[r]=[
"Increases the initial damage of your Immolate spell by 5%.",
"Increases the initial damage of your Immolate spell by 10%.",
"Increases the initial damage of your Immolate spell by 15%.",
"Increases the initial damage of your Immolate spell by 20%.",
"Increases the initial damage of your Immolate spell by 25%."
		];
r++;	


//Ruin - Destruction  
rank[r]=[
"Increases the critical strike damage bonus of your Destruction spells by 100%."
		];
r++;	


//Nether Protection - Destruction 
rank[r]=[
"After being hit with a Shadow or Fire spell, you have a 10% chance to become immune to Shadow and Fire spells for 4 sec.",
"After being hit with a Shadow or Fire spell, you have a 20% chance to become immune to Shadow and Fire spells for 4 sec.",
"After being hit with a Shadow or Fire spell, you have a 30% chance to become immune to Shadow and Fire spells for 4 sec."
		];
r++;

//Emberstorm - Destruction 
rank[r]=[
"Increases the damage done by your Fire spells by 2%.",
"Increases the damage done by your Fire spells by 4%.",
"Increases the damage done by your Fire spells by 6%.",
"Increases the damage done by your Fire spells by 8%.",
"Increases the damage done by your Fire spells by 10%."
		];
r++;	

//Backlash - Destruction //New/Changed
rank[r]=[
"Increases your critical strike chance with spells by an additional 1% and gives you a 8% chance when hit by a physical attack to reduce the cast time of your next Shadow Bolt or Incinerate spell by 100%. This effect lasts 8 sec and will not occur more than once every 8 seconds.",
"Increases your critical strike chance with spells by an additional 2% and gives you a 16% chance when hit by a physical attack to reduce the cast time of your next Shadow Bolt or Incinerate spell by 100%. This effect lasts 8 sec and will not occur more than once every 8 seconds.",
"Increases your critical strike chance with spells by an additional 3% and gives you a 25% chance when hit by a physical attack to reduce the cast time of your next Shadow Bolt or Incinerate spell by 100%. This effect lasts 8 sec and will not occur more than once every 8 seconds."
		];
r++;

//Conflagrate - Destruction 
rank[r]=[

		"<span style=text-align:left;float:left;>165 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>Instant Cast</span><span style=text-align:right;float:right;>10 sec cooldown</span><br>Ignites a target that is already afflicted by Immolate, dealing 249 to 316 Fire damage and consuming the Immolate spell.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 200 Mana, 326-407 Damage<br>\
		&nbsp;Rank 3: 230 Mana, 395-491 Damage<br>\
		&nbsp;Rank 4: 255 Mana, 455-566 Damage<br>\
		&nbsp;Rank 5: 280 Mana, 521-648 Damage<br>\
		&nbsp;Rank 6: 305 Mana, 579-721 Damage"
		];
r++;	

//Soul Leech - Destruction 
rank[r]=[
"Gives your Shadow Bolt, Shadowburn, Soul Fire, Incinerate, Searing Pain and Conflagrate spells a 10% chance to return health equal to 20% of the damage caused.",
"Gives your Shadow Bolt, Shadowburn, Soul Fire, Incinerate, Searing Pain and Conflagrate spells a 20% chance to return health equal to 20% of the damage caused.",
"Gives your Shadow Bolt, Shadowburn, Soul Fire, Incinerate, Searing Pain and Conflagrate spells a 30% chance to return health equal to 20% of the damage caused."
		];
r++;

//Shadow and Flame - Destruction 
rank[r]=[
"Your Shadow Bolt and Incinerate spells gain an additional 4% of your bonus spell damage effects.",
"Your Shadow Bolt and Incinerate spells gain an additional 8% of your bonus spell damage effects.",
"Your Shadow Bolt and Incinerate spells gain an additional 12% of your bonus spell damage effects.",
"Your Shadow Bolt and Incinerate spells gain an additional 16% of your bonus spell damage effects.",
"Your Shadow Bolt and Incinerate spells gain an additional 20% of your bonus spell damage effects."
		];
r++;

//Shadowfury - Demonology 
rank[r]=[
		"<span style=text-align:left;float:left;>440 Mana</span><span style=text-align:right;float:right;>30 yd range</span><br><span style=text-align:left;float:left;>0.5 sec cast</span><span style=text-align:right;float:right;>20 sec cooldown</span><br>Shadowfury is unleashed, causing 357 to 422 Shadow damage and stunning all enemies within 8 yds for 2 sec.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;Rank 2: 545 Mana, 476-565 Damage<br>\
		&nbsp;Rank 3: 710 Mana, 612-728 Damage<br>"
		];
r++;	

		
//Destruction Talents End^^

tree[b] = "Arms"; b++;
tree[b] = "Fury"; b++;
tree[b] = "Protection"; b++;

talent[i] = [0, "Improved Heroic Strike", 3, 1, 1]; i++;
talent[i] = [0, "Deflection", 5, 2, 1]; i++;
talent[i] = [0, "Improved Rend", 3, 3, 1]; i++;
talent[i] = [0, "Improved Charge", 2, 1, 2]; i++; 
talent[i] = [0, "Iron Will", 5, 2, 2]; i++;
talent[i] = [0, "Improved Thunder Clap", 3, 3, 2]; i++;
talent[i] = [0, "Improved Overpower", 2, 1, 3]; i++;
talent[i] = [0, "Anger Management", 1, 2, 3]; i++;
talent[i] = [0, "Deep Wounds", 3, 3, 3]; i++;
talent[i] = [0, "Two-Handed Weapon Specialization", 5, 2, 4]; i++;
talent[i] = [0, "Impale", 2, 3, 4, [getTalentID("Deep Wounds"),3]]; i++;
talent[i] = [0, "Poleaxe Specialization", 5, 1, 5]; i++; 
talent[i] = [0, "Death Wish", 1, 2, 5]; i++;
talent[i] = [0, "Mace Specialization", 5, 3, 5]; i++;
talent[i] = [0, "Sword Specialization", 5, 4, 5]; i++;
talent[i] = [0, "Improved Intercept", 2, 1, 6]; i++;
talent[i] = [0, "Improved Hamstring", 3, 3, 6]; i++;
talent[i] = [0, "Improved Disciplines", 3, 4, 6]; i++;
talent[i] = [0, "Blood Frenzy", 2, 1, 7]; i++;
talent[i] = [0, "Mortal Strike", 1, 2, 7, [getTalentID("Death Wish"),1]]; i++;
talent[i] = [0, "Second Wind", 2, 3, 7]; i++;
talent[i] = [0, "Improved Mortal Strike", 5, 2, 8, [getTalentID("Mortal Strike"),1]]; i++;
talent[i] = [0, "Endless Rage", 1, 2, 9]; i++;

treeStart[t] = i;
t++;

//fury talents
talent[i] = [1, "Booming Voice", 5, 2, 1]; i++;
talent[i] = [1, "Cruelty", 5, 3, 1]; i++;
talent[i] = [1, "Improved Demoralizing Shout", 5, 2, 2]; i++;
talent[i] = [1, "Unbridled Wrath", 5, 3, 2]; i++;
talent[i] = [1, "Improved Cleave", 3, 1, 3]; i++;
talent[i] = [1, "Piercing Howl", 1, 2, 3]; i++;
talent[i] = [1, "Blood Craze", 3, 3, 3]; i++;
talent[i] = [1, "Commanding Presence", 5, 4, 3]; i++;
talent[i] = [1, "Dual Wield Specialization", 5, 1, 4]; i++;
talent[i] = [1, "Improved Execute", 2, 2, 4]; i++;
talent[i] = [1, "Enrage", 5, 3, 4]; i++;
talent[i] = [1, "Improved Slam", 2, 1, 5]; i++;
talent[i] = [1, "Sweeping Strikes", 1, 2, 5]; i++;
talent[i] = [1, "Weapon Mastery", 2, 4, 5]; i++;
talent[i] = [1, "Improved Berserker Rage", 2, 1, 6]; i++;
talent[i] = [1, "Flurry", 5, 3, 6, [getTalentID("Enrage"),5]]; i++;
talent[i] = [1, "Precision", 3, 1, 7]; i++;
talent[i] = [1, "Bloodthirst", 1, 2, 7, [getTalentID("Sweeping Strikes"),1]]; i++;
talent[i] = [1, "Improved Whirlwind", 2, 3, 7]; i++;
talent[i] = [1, "Improved Berserker Stance", 5, 3, 8]; i++;
talent[i] = [1, "Rampage", 1, 2, 9, [getTalentID("Bloodthirst"),1]]; i++;

treeStart[t] = i;
t++;

//protection talents
talent[i] = [2, "Improved Bloodrage", 2, 1, 1]; i++;
talent[i] = [2, "Tactical Mastery", 3, 2, 1]; i++;
talent[i] = [2, "Anticipation", 5, 3, 1]; i++;
talent[i] = [2, "Shield Specialization", 5, 2, 2]; i++;
talent[i] = [2, "Toughness", 5, 3, 2]; i++;
talent[i] = [2, "Last Stand", 1, 1, 3]; i++;
talent[i] = [2, "Improved Shield Block", 1, 2, 3, [getTalentID("Shield Specialization"),5]]; i++;
talent[i] = [2, "Improved Revenge", 3, 3, 3]; i++;
talent[i] = [2, "Defiance", 3, 4, 3]; i++;
talent[i] = [2, "Improved Sunder Armor", 3, 1, 4]; i++;
talent[i] = [2, "Improved Disarm", 3, 2, 4]; i++;
talent[i] = [2, "Improved Taunt", 2, 3, 4]; i++;
talent[i] = [2, "Improved Shield Wall", 2, 1, 5]; i++;
talent[i] = [2, "Concussion Blow", 1, 2, 5]; i++;
talent[i] = [2, "Improved Shield Bash", 2, 3, 5]; i++;
talent[i] = [2, "Shield Mastery", 3, 1, 6]; i++;
talent[i] = [2, "One-Handed Weapon Specialization", 5, 3, 6]; i++;
talent[i] = [2, "Improved Defensive Stance", 3, 1, 7]; i++;
talent[i] = [2, "Shield Slam", 1, 2, 7, [getTalentID("Concussion Blow"),1]]; i++;
talent[i] = [2, "Focused Rage", 3, 3, 7]; i++;
talent[i] = [2, "Vitality", 5, 2, 8]; i++;
talent[i] = [2, "Devastate", 1, 2, 9]; i++;

treeStart[t] = i;
t++;



//Arms Talents Begin

//Improved Heroic Strike - Arms
rank[r] = [
"Reduces the cost of your Heroic Strike ability by 1 rage point.",
"Reduces the cost of your Heroic Strike ability by 2 rage points.",
"Reduces the cost of your Heroic Strike ability by 3 rage points."
		];
r++;		
		
//Deflection - Arms
rank[r] = [
"Increases your Parry chance by 1%.",
"Increases your Parry chance by 2%.",
"Increases your Parry chance by 3%.",
"Increases your Parry chance by 4%.",
"Increases your Parry chance by 5%."
		];
r++;		

//Improved Rend - Arms
rank[r] = [
"Increases the bleed damage done by your Rend ability by 25%.",
"Increases the bleed damage done by your Rend ability by 50%.",
"Increases the bleed damage done by your Rend ability by 75%."
		];
r++;		
		
//Improved Charge - Arms 
rank[r] = [
"Increases the amount of rage generated by your Charge ability by 3.",
"Increases the amount of rage generated by your Charge ability by 6."
		];
r++;		



//Iron Will - Protection
rank[r]=[
"Increases your chance to resist Stun and Charm effects by an additional 3%.",
"Increases your chance to resist Stun and Charm effects by an additional 6%.",
"Increases your chance to resist Stun and Charm effects by an additional 9%.",
"Increases your chance to resist Stun and Charm effects by an additional 12%.",
"Increases your chance to resist Stun and Charm effects by an additional 15%."
		];
r++;		

//Improved Thunder Clap - Arms
rank[r] = [
"Reduces the cost of your Thunder Clap ability by 1 rage point and increases the damage by 40% and the slowing effect by an additional 4%.",
"Reduces the cost of your Thunder Clap ability by 2 rage points and increases the damage by 70% and the slowing effect by an additional 7%.",
"Reduces the cost of your Thunder Clap ability by 4 rage points and increases the damage by 100% and the slowing effect by an additional 10%."
		];
r++;		
		
//Improved Overpower - Arms
rank[r] = [
"Increases the critical strike chance of your Overpower ability by 25%.",
"Increases the critical strike chance of your Overpower ability by 50%."
		];		
r++;		


//Anger Management - Arms	
rank[r] = [ 
"Generates 1 rage per 3 seconds."
		];
r++;		


//Deep Wounds - Arms
rank[r] = [
"Your critical strikes cause the opponent to bleed, dealing 20% of your melee weapon's average damage over 12 sec.",
"Your critical strikes cause the opponent to bleed, dealing 40% of your melee weapon's average damage over 12 sec.",
"Your critical strikes cause the opponent to bleed, dealing 60% of your melee weapon's average damage over 12 sec."
		];
r++;		

//Two-Handed Weapon Specialization - Arms
rank[r] = [
"Increases the damage you deal with two-handed melee weapons by 1%.",
"Increases the damage you deal with two-handed melee weapons by 2%.",
"Increases the damage you deal with two-handed melee weapons by 3%.",
"Increases the damage you deal with two-handed melee weapons by 4%.",
"Increases the damage you deal with two-handed melee weapons by 5%."
		];
r++;		

//Impale - Arms	
rank[r] = [
"Increases the critical strike damage bonus of your abilities in Battle, Defensive, and Berserker stance by 10%.",
"Increases the critical strike damage bonus of your abilities in Battle, Defensive, and Berserker stance by 20%."
		];
r++;		

//Axe Specialization - Arms
rank[r] = [
"Increases your chance to get a critical strike with Axes and Polearms by 1%.",
"Increases your chance to get a critical strike with Axes and Polearms by 2%.",
"Increases your chance to get a critical strike with Axes and Polearms by 3%.",
"Increases your chance to get a critical strike with Axes and Polearms by 4%.",
"Increases your chance to get a critical strike with Axes and Polearms by 5%."
		];
r++;		

//Death Wish - Arms
rank[r]=[
		"10 Rage<br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>3 min cooldown</span><br>When activated, increases your physical damage by 20% and makes you immune to Fear effects, but increases all damage taken by 5%. Lasts 30 sec."
			];
r++;	

//Mace Specialization - Arms	
rank[r] = [
"Gives your melee attacks a chance to stun your target for 3 sec and generate 7 rage when using a Mace.",
"Gives your melee attacks a chance to stun your target for 3 sec and generate 7 rage when using a Mace. More effective than Mace Specialization (Rank 1).",
"Gives your melee attacks a chance to stun your target for 3 sec and generate 7 rage when using a Mace. More effective than Mace Specialization (Rank 2).",
"Gives your melee attacks a chance to stun your target for 3 sec and generate 7 rage when using a Mace. More effective than Mace Specialization (Rank 3).",
"Gives your melee attacks a chance to stun your target for 3 sec and generate 7 rage when using a Mace. More effective than Mace Specialization (Rank 4)."
		];		
r++;		

//Sword Specialization - Arms				
rank[r] = [
"Gives you a 1% chance to get an extra attack on the same target after hitting your target with your Sword.",
"Gives you a 2% chance to get an extra attack on the same target after hitting your target with your Sword.",
"Gives you a 3% chance to get an extra attack on the same target after hitting your target with your Sword.",
"Gives you a 4% chance to get an extra attack on the same target after hitting your target with your Sword.",
"Gives you a 5% chance to get an extra attack on the same target after hitting your target with your Sword."
		];
r++;		


//Improved Intercept - Arms
rank[r]=[
"Reduces the cooldown of your Intercept ability by 5 sec.",
"Reduces the cooldown of your Intercept ability by 10 sec."
		];
r++;	




//Improved Hamstring - Arms	
rank[r] = [
"Gives your Hamstring ability a 5% chance to immobilize the target for 5 sec.",
"Gives your Hamstring ability a 10% chance to immobilize the target for 5 sec.",
"Gives your Hamstring ability a 15% chance to immobilize the target for 5 sec."
		];
r++;

//Improved Disciplines - Arms	
rank[r] = [
"Reduces the cooldown of your Retaliation, Recklessness and Shield Wall abilities by 4 min and increases their duration by 2 sec.",
"Reduces the cooldown of your Retaliation, Recklessness and Shield Wall abilities by 7 min and increases their duration by 4 sec.",
"Reduces the cooldown of your Retaliation, Recklessness and Shield Wall abilities by 10 min and increases their duration by 6 sec."

		];
r++;

//Blood Frenzy - Arms
rank[r] = [
"Your Rend and Deep Wounds abilities also increase all melee damage caused to that target by 2%.",
"Your Rend and Deep Wounds abilities also increase all melee damage caused to that target by 4%."
		];
r++;

//Mortal Strike - Arms
rank[r] = [
		"<span style=text-align:left;float:left;>30 Rage</span><span style=text-align:right;float:right;>Melee range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>6 sec cooldown</span><br>Requires Melee Weapon<br>A vicious strike that deals weapon damage plus 85 and wounds the target, reducing the effectiveness of any healing by 50% for 10 sec.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;&nbsp;Rank 2: +110 Damage<br>\
		&nbsp;&nbsp;Rank 3: +135 Damage<br>\
		&nbsp;&nbsp;Rank 4: +160 Damage<br>\
		&nbsp;&nbsp;Rank 5: +185 Damage<br>\
		&nbsp;&nbsp;Rank 6: +210 Damage"
		];		
r++;


//Second Wind - Arms
rank[r] = [
"Whenever you are struck by a Stun or Immobilize effect you will generate 10 rage and 5% of your total health over 10 sec.",
"Whenever you are struck by a Stun or Immobilize effect you will generate 20 rage and 10% of your total health over 10 sec."
		];
r++;

//Improved Mortal Strike - Arms	
rank[r] = [
"Reduces the cooldown of your Mortal Strike ability by 0.2 sec and increases the damage it causes by 1%.",
"Reduces the cooldown of your Mortal Strike ability by 0.4 sec and increases the damage it causes by 2%.",
"Reduces the cooldown of your Mortal Strike ability by 0.6 sec and increases the damage it causes by 3%.",
"Reduces the cooldown of your Mortal Strike ability by 0.8 sec and increases the damage it causes by 4%.",
"Reduces the cooldown of your Mortal Strike ability by 1 sec and increases the damage it causes by 5%."
		];
r++;


//Endless Rage - Arms
rank[r] = [
				"You generate 25% more rage from damage dealt."
];		
r++;












//Booming Voice - Fury
rank[r] = [
"Increases the area of effect and duration of your Battle Shout, Demoralizing Shout, and Commanding Shout by 10%.",
"Increases the area of effect and duration of your Battle Shout, Demoralizing Shout, and Commanding Shout by 20%.",
"Increases the area of effect and duration of your Battle Shout, Demoralizing Shout, and Commanding Shout by 30%.",
"Increases the area of effect and duration of your Battle Shout, Demoralizing Shout, and Commanding Shout by 40%.",
"Increases the area of effect and duration of your Battle Shout, Demoralizing Shout, and Commanding Shout by 50%."
		];
r++;		

//Cruelty - Fury
rank[r] = [
"Increases your chance to get a critical strike with melee weapons by 1%.",
"Increases your chance to get a critical strike with melee weapons by 2%.",
"Increases your chance to get a critical strike with melee weapons by 3%.",
"Increases your chance to get a critical strike with melee weapons by 4%.",
"Increases your chance to get a critical strike with melee weapons by 5%."
		];
r++;

//Improved Demoralizing Shout - Fury	
rank[r] = [
"Increases the melee attack power reduction of your Demoralizing Shout by 8%.",
"Increases the melee attack power reduction of your Demoralizing Shout by 16%.",
"Increases the melee attack power reduction of your Demoralizing Shout by 24%.",
"Increases the melee attack power reduction of your Demoralizing Shout by 32%.",
"Increases the melee attack power reduction of your Demoralizing Shout by 40%."
		];
r++;		

//Unbridled Wrath - Fury
rank[r] = [
"Gives you a chance to generate an additional rage point when you deal melee damage with a weapon.",
"Gives you a chance to generate an additional rage point when you deal melee damage with a weapon.  Effect occurs more often than Unbridled Wrath (Rank 1).",
"Gives you a chance to generate an additional rage point when you deal melee damage with a weapon.  Effect occurs more often than Unbridled Wrath (Rank 2).",
"Gives you a chance to generate an additional rage point when you deal melee damage with a weapon.  Effect occurs more often than Unbridled Wrath (Rank 3).",
"Gives you a chance to generate an additional rage point when you deal melee damage with a weapon.  Effect occurs more often than Unbridled Wrath (Rank 4)."
		];		
r++;		

//Improved Cleave - Fury
rank[r] = [

"Increases the bonus damage done by your Cleave ability by 40%.",
"Increases the bonus damage done by your Cleave ability by 80%.",
"Increases the bonus damage done by your Cleave ability by 120%."
		];
r++;		

//Piercing Howl - Fury
rank[r] = [
		"10 Rage<br>Instant<br>Causes all enemies near the warrior to be dazed, reducing movement speed by 50% for 6 sec."
		];
r++;		

//Blood Craze - Fury	
rank[r] = [
"Regenerates 1% of your total health over 6 sec after being the victim of a critical strike.",
"Regenerates 2% of your total health over 6 sec after being the victim of a critical strike.",
"Regenerates 3% of your total health over 6 sec after being the victim of a critical strike."
		];
r++;		

//Commanding Presence - Fury (ex. Improved Battle Shout)
rank[r] = [
"Increases the melee attack power bonus of your Battle Shout and the health bonus of your Commanding Shout by 5%.",
"Increases the melee attack power bonus of your Battle Shout and the health bonus of your Commanding Shout by 10%.",
"Increases the melee attack power bonus of your Battle Shout and the health bonus of your Commanding Shout by 15%.",
"Increases the melee attack power bonus of your Battle Shout and the health bonus of your Commanding Shout by 20%.",
"Increases the melee attack power bonus of your Battle Shout and the health bonus of your Commanding Shout by 25%."
		];
r++;		

//Dual Wield Specialization - Fury
rank[r] = [
"Increases the damage done by your offhand weapon by 5%.",
"Increases the damage done by your offhand weapon by 10%.",
"Increases the damage done by your offhand weapon by 15%.",
"Increases the damage done by your offhand weapon by 20%.",
"Increases the damage done by your offhand weapon by 25%."
		];
r++;		

//Improved Execute - Fury
rank[r] = [
"Reduces the Rage cost of your Execute ability by 2.",
"Reduces the Rage cost of your Execute ability by 5."
		];
r++;		

//Enrage - Fury
rank[r] = [
"Gives you a 5% melee damage bonus for 12 sec up to a maximum of 12 swings after being the victim of a critical strike.",
"Gives you a 10% melee damage bonus for 12 sec up to a maximum of 12 swings after being the victim of a critical strike.",
"Gives you a 15% melee damage bonus for 12 sec up to a maximum of 12 swings after being the victim of a critical strike.",
"Gives you a 20% melee damage bonus for 12 sec up to a maximum of 12 swings after being the victim of a critical strike.",
"Gives you a 25% melee damage bonus for 12 sec up to a maximum of 12 swings after being the victim of a critical strike."
		];
r++;

//Improved Slam - Fury

rank[r] = [
"Decreases the casting time of your Slam ability by 0.5 sec.",
"Decreases the casting time of your Slam ability by 1 sec."
		];
r++;
		
//Sweeping Strikes - Fury	
rank[r] = [
		"30 Rage<br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>30 sec cooldown</span><br>Requires Melee Weapon<br>Requires Battle Stance, Berserker Stance<br>Your next 10 melee weapon swings strike an additional nearby opponent."
		];
r++;			
			

//Weapon Mastery - Fury
rank[r] = [
"Reduces the chance for your attacks to be dodged by 1% and reduces the duration of all Disarm effects used against you by 25%.",
"Reduces the chance for your attacks to be dodged by 2% and reduces the duration of all Disarm effects used against you by 50%."
		];
r++;	
		
//Improved Berserker Rage - Fury
rank[r]=[
"The Berserker Rage ability will generate 5 rage when used.",
"The Berserker Rage ability will generate 10 rage when used."
		];
r++;		
		
//Flurry - Fury
rank[r]=[
"Increases your attack speed by 5% for your next 3 swings after dealing a melee critical strike.",
"Increases your attack speed by 10% for your next 3 swings after dealing a melee critical strike.",
"Increases your attack speed by 15% for your next 3 swings after dealing a melee critical strike.",
"Increases your attack speed by 20% for your next 3 swings after dealing a melee critical strike.",
"Increases your attack speed by 25% for your next 3 swings after dealing a melee critical strike."
		];
r++;		
		
//Precision - Fury
rank[r]=[
"Increases your chance to hit with melee weapons by 1%.",
"Increases your chance to hit with melee weapons by 2%.",
"Increases your chance to hit with melee weapons by 3%."
		];
r++;				
		
//Bloodthirst - Fury
rank[r]=[
		"<span style=text-align:left;float:left;>30 Rage</span><span style=text-align:right;float:right;>Melee range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>6 sec cooldown</span><br>Instantly attack the target causing 217 damage. In addition, the next 5 successful melee attacks will restore 10 health. This effect lasts 8 sec. Damage is based on your attack power.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;&nbsp;Rank 2: 13 Health<br>\
		&nbsp;&nbsp;Rank 3: 17 Health<br>\
		&nbsp;&nbsp;Rank 4: 20 Health<br>\
		&nbsp;&nbsp;Rank 5: 25 Health<br>\
		&nbsp;&nbsp;Rank 6: 30 Health"
		];
r++;	

//Improved Whirlwind - Fury
rank[r]=[
"Reduces the cooldown of your Whirlwind ability by 1 sec.",
"Reduces the cooldown of your Whirlwind ability by 2 sec."
		];
r++;				

			

//Improved Berserker Stance - Fury
rank[r]=[
"Increases attack power by 2% and reduces threat caused by 2% while in Berserker Stance.",
"Increases attack power by 4% and reduces threat caused by 4% while in Berserker Stance.",
"Increases attack power by 6% and reduces threat caused by 6% while in Berserker Stance.",
"Increases attack power by 8% and reduces threat caused by 8% while in Berserker Stance.",
"Increases attack power by 10% and reduces threat caused by 10% while in Berserker Stance."
		];
r++;				

//Rampage - Fury
rank[r]=[
		"20 Rage<br>Instant<br>Warrior goes on a rampage, increasing attack power by 30 and causing most successful melee attacks to increase attack power by an additional 30. This effect will stack up to 5 times. Lasts 30 sec. This ability can only be used after scoring a critical hit.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;&nbsp;Rank 2: +40 Attack Power<br>\
		&nbsp;&nbsp;Rank 3: +50 Attack Power"
		];
r++;
		
//Improved Bloodrage - Protection
rank[r]=[
"Increases the instant rage generated by your Bloodrage ability by 3.",
"Increases the instant rage generated by your Bloodrage ability by 6."
		];
r++;


//Tactical Mastery - Protection
rank[r] = [
"You retain up to an additional 5 of your rage points when you change stances. Also greatly increases the threat generated by your Bloodthirst and Mortal Strike abilities when you are in Defensive Stance.",
"You retain up to an additional 10 of your rage points when you change stances. Also greatly increases the threat generated by your Bloodthirst and Mortal Strike abilities when you are in Defensive Stance (More effective than Rank 1).",
"You retain up to an additional 15 of your rage points when you change stances. Also greatly increases the threat generated by your Bloodthirst and Mortal Strike abilities when you are in Defensive Stance (More effective than Rank 2)."
];
r++;			
	
//Anticipation - Protection
rank[r]=[
"Increases your Defense skill by 4.",
"Increases your Defense skill by 8.",
"Increases your Defense skill by 12.",
"Increases your Defense skill by 16.",
"Increases your Defense skill by 20."
		];
r++;		
		
		

//Shield Specialization - Protection
rank[r]=[
"Increases your chance to block attacks with a shield by 1% and has a 20% chance to generate 1 rage when a block occurs.",
"Increases your chance to block attacks with a shield by 2% and has a 40% chance to generate 1 rage when a block occurs.",
"Increases your chance to block attacks with a shield by 3% and has a 60% chance to generate 1 rage when a block occurs.",
"Increases your chance to block attacks with a shield by 4% and has a 80% chance to generate 1 rage when a block occurs.",
"Increases your chance to block attacks with a shield by 5% and has a 100% chance to generate 1 rage when a block occurs."
		];
r++;		
		
//Toughness - Protection
rank[r]=[
"Increases your armor value from items by 2%.",
"Increases your armor value from items by 4%.",
"Increases your armor value from items by 6%.",
"Increases your armor value from items by 8%.",
"Increases your armor value from items by 10%."
		];
r++;		
		

		
//Last Stand - Protection
rank[r]=[
		"<span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>8 min cooldown</span><br>When activated, this ability temporarily grants you 30% of your maximum hit points for 20 sec. After the effect expires, the hit points are lost."
		];
r++;		
		
//Improved Shield Block - Protection
rank[r]=[
"Allows your Shield Block ability to block an additional attack, and increases the duration by 1 sec."
		];
r++;		
		
//Improved Revenge - Protection
rank[r]=[
"Gives your Revenge ability a 15% chance to stun the target for 3 sec.",
"Gives your Revenge ability a 30% chance to stun the target for 3 sec.",
"Gives your Revenge ability a 45% chance to stun the target for 3 sec."
		];
r++;		
		
//Defiance - Protection
rank[r]=[
"Increases the threat generated by your attacks by 5% while in Defensive Stance and increases your expertise by 2.",
"Increases the threat generated by your attacks by 10% while in Defensive Stance and increases your expertise by 4.",
"Increases the threat generated by your attacks by 15% while in Defensive Stance and increases your expertise by 6."
		];
r++;		
		
//Improved Sunder Armor - Protection
rank[r]=[
"Reduces the cost of your Sunder Armor ability by 1 rage point.",
"Reduces the cost of your Sunder Armor ability by 2 rage points.",
"Reduces the cost of your Sunder Armor ability by 3 rage points."
		];
r++;	
		
//Improved Disarm - Protection
rank[r]=[
"Increases the duration of your Disarm ability by 1 secs.",
"Increases the duration of your Disarm ability by 2 secs.",
"Increases the duration of your Disarm ability by 3 secs."
		];
r++;	


//Improved Taunt - Protection
rank[r]=[
"Reduces the cooldown of your Taunt ability by 1 sec.",
"Reduces the cooldown of your Taunt ability by 2 sec."
		];
r++;	

//Improved Shield Wall - Protection
rank[r]=[
"Increases the effect duration of your Shield Wall ability by 3 secs.",
"Increases the effect duration of your Shield Wall ability by 5 secs."
		];
r++;	


//Concussion Blow - Protection
rank[r]=[
		"<span style=text-align:left;float:left;>15 Rage</span><span style=text-align:right;float:right;>Melee Range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>45 sec cooldown</span><br>Requires Melee Weapon<br>Stuns the opponent for 5 sec."
		];
r++;	

//Improved Shield Bash - Protection
rank[r]=[
"Gives your Shield Bash ability a 50% chance to silence the target for 3 sec.",
"Gives your Shield Bash ability a 100% chance to silence the target for 3 sec."
		];
r++;	

//Shield Mastery - Protection
rank[r]=[
"Increases the amount of damage absorbed by your shield by 10%.",
"Increases the amount of damage absorbed by your shield by 20%.",
"Increases the amount of damage absorbed by your shield by 30%."
		];
r++;


//One-Handed Weapon Specialization - Protection
rank[r]=[
"Increases the damage you deal with One-Handed Melee weapons by 2%.",
"Increases the damage you deal with One-Handed Melee weapons by 4%.",
"Increases the damage you deal with One-Handed Melee weapons by 6%.",
"Increases the damage you deal with One-Handed Melee weapons by 8%.",
"Increases the damage you deal with One-Handed Melee weapons by 10%."
		];
r++;	

//Improved Defensive Stance - Protection
rank[r]=[
"Reduces all spell damage taken while in Defensive Stance by 2%.",
"Reduces all spell damage taken while in Defensive Stance by 4%.",
"Reduces all spell damage taken while in Defensive Stance by 6%.",
"Reduces all spell damage taken while in Defensive Stance by 8%.",
"Reduces all spell damage taken while in Defensive Stance by 10%."
		];
r++;	

//Shield Slam - Protection
rank[r]=[
		"<span style=text-align:left;float:left;>20 Rage</span><span style=text-align:right;float:right;>Melee Range</span><br><span style=text-align:left;float:left;>Instant</span><span style=text-align:right;float:right;>6 sec cooldown</span><br>Requires Shields<br>Slam the target with your shield, causing 225 to 235 damage, modified by your shield block value, and dispels 1 magic effect on the target. Also causes a high amount of threat.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;&nbsp;Rank 2: 264-276 Damage<br>\
		&nbsp;&nbsp;Rank 3: 303-317 Damage<br>\
		&nbsp;&nbsp;Rank 4: 342-358 Damage<br>\
		&nbsp;&nbsp;Rank 5: 381-399 Damage<br>\
		&nbsp;&nbsp;Rank 6: 420-440 Damage"
		];
r++;	

//Improved Defensive Stance - Protection
rank[r]=[
"Reduces the rage cost of all your offensive abilities by 1.",
"Reduces the rage cost of all your offensive abilities by 2.",
"Reduces the rage cost of all your offensive abilities by 3.",
"Reduces the rage cost of all your offensive abilities by 4.",
"Reduces the rage cost of all your offensive abilities by 5."
		];
r++;	

//Vitality - Protection
rank[r]=[
"Increases your total Stamina by 1% and your total Strength by 2%.",
"Increases your total Stamina by 2% and your total Strength by 4%.",
"Increases your total Stamina by 3% and your total Strength by 6%.",
"Increases your total Stamina by 4% and your total Strength by 8%.",
"Increases your total Stamina by 5% and your total Strength by 10%."
		];
r++;	
		
//Devastate - Protection
rank[r]=[
		"<span style=text-align:left;float:left;>15 Rage</span><span style=text-align:right;float:right;>Melee Range</span><br>Instant<br>Requires One-Handed Melee Weapon<br>Sunder the target's armor causing the Sunder Armor effect.  In addition, causes 50% of weapon damage plus 15 for each application of Sunder Armor on the target.  The Sunder Armor effect can stack up to 5 times.<br><br>\
		&nbsp;Trainable Ranks Listed Below:<br>\
		&nbsp;&nbsp;Rank 2: +25 Damage<br>\
		&nbsp;&nbsp;Rank 3: +35 Damage"
		];
r++;			
		
//Protection Talents End^^


