<?
function topawn($rawrname)
{
   $topawn = array(
"Character" => 0,
//"Agility" => "Agility",
//"Armor" => "Armor",
//"Stamina" => "Stamina",
//"Defense Rating" => "DefenseRating",
//"Strength" => "Strength",
"Attack Power" => "Ap",
//"Hit Rating" => "HitRating"
//"Crit Rating" => "CritRating",
"Weapon Damage" => "Dps",
//"Haste Rating" => "HasteRating",
//"Expertise Rating" => "ExpertiseRating",
//"Dodge Rating" => "DodgeRating",
//"Health" => "Health",
"Resilience" => "ResilienceRating",
   );

   if (isset($topawn[$rawrname]))
      return $topawn[$rawrname];
   else
      return str_replace(" ","",$rawrname);
}

?>