if (document.images)
{
   b1               = new Image();
   b1.src           = "images/b_1_big.jpg";
   
   b2               = new Image();
   b2.src           = "images/b_2_big.jpg";

   b3               = new Image();
   b3.src           = "images/b_3_big.jpg";

   b4               = new Image();
   b4.src           = "images/b_4_big.jpg";

   b5               = new Image();
   b5.src           = "images/b_5_big.jpg";

   b6               = new Image();
   b6.src           = "images/b_6_big.jpg";

   b7               = new Image();
   b7.src           = "images/b_7_big.jpg";

   b8               = new Image();
   b8.src           = "images/b_8_big.jpg";


}


var b_name_t = new Array();
var b_aka_t = new Array();
var bio_t = new Array();
var pic_t = new Array();



b_name_t[0] = '<b>Name:</b> Thomas Depung';
b_name_t[1] = '<b>Name:</b> Aphrodite Jones';
b_name_t[2] = '<b>Name:</b> Raymond Williams';
b_name_t[3] = '<b>Name:</b> Odie Raglin';
b_name_t[4] = '<b>Name:</b> Ira Williams';
b_name_t[5] = '<b>Name:</b> Francena Depung';
b_name_t[6] = '<b>Name:</b> Kevin Maxey';
b_name_t[7] = '<b>Name:</b> Jade';

b_aka_t[0] = '<b>AKA:</b> "Tommy D."';
b_aka_t[1] = '<b>AKA:</b> "AJ"';
b_aka_t[2] = '<b>AKA:</b> "Taff"';
b_aka_t[3] = '<b>AKA:</b> "Triple D"';
b_aka_t[4] = '<b>AKA:</b> "Rocket"';
b_aka_t[5] = '<b>AKA:</b> "L.A."';
b_aka_t[6] = '<b>AKA:</b> "Medicine Man"';
b_aka_t[7] = '<b>AKA:</b> Red Doberman';

bio_t[0] = 'The irrepressible leader of Bad Boyz, Tommy D. is admired by every member of the crew. A certified bounty hunter for more than seven years, Tommy D. is a bail bondsman with a high success rate. When it comes to capturing fugitives, Tommy D. uses brains, muscle, and a no-nonsense approach. With a language all his own, an urban mix of hip-hop poetry and gibberish--Tommy D. has endeared himself to his viewers and the multiracial community he serves.';
bio_t[1] = "With seven best selling crime books under her belt, Aphrodite Jones has become a internationally recognized authority on true crime.  For over a decade, Jones has provided TV commentary and insight into the psychological profiles of criminals and victims on such shows as <i>The Today Show, MSNBC Investigates,  Catherine Crier Live, American Justice,  America's Most Wanted, The CBS Early Show,  Crime Files, CNN Newsstand, The Abrams Report, Live with Paula Zahn, Geraldo at Large, Inside Edition, Extra!,  The New Detectives, Montel Williams,  Medical Detectives, Primetime Justice with Nancy Grace, The Big Idea with Donny Deutsch, and The O'Reilly Factor.</i>";
bio_t[2] = 'Taff originally joined Bad Boyz as a cameraman, but on the very first takedown he filmed, he tossed aside the camera and jumped on the skip before the rest of the team could get out of the SUV. Having a background in jujitsu, judo, and karate, Taff admits he gets a "high" from the dangerous work he does. Having moved to the United States from Wales, Raymond Williams brings a British accent and a British sense of humor to the team. Taff has a background in commercial and sports diving. He was awarded the Platinum Pro Award in the 1990s by <i>Skin Diver Magazine</i> which honors the top 1% or 300 top divers in the world. He is an accomplished scuba diver instruction/trainer. Taff' + "'" + 's works include world wide filming assignments. He specializes in underwater documentaries. As a world-class videographer, Taff uses his camera as a weapon, but carries a gun just in case. <a href="http://www.scubaguru.net">www.scubaguru.net</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.frontsight.com/">http://www.frontsight.com/</a>';
bio_t[3] = 'Triple D. has been a bounty hunter for over three years, using his size and strength to tackle and intimidate skips. When Odie gets his adrenaline pumping, people tend to listen, and his massive size certainly helps in times of trouble. Having been in some close calls himself, Triple D knows the streets and can handle the action. Since joining Bad Boyz, Odie has become philosophical about life: "it`s all a big choice," he says, "if bad things happen , it`s up to you to make things straight, otherwise, you`ll suffer the consequences."';
bio_t[4] = 'A former track star, Ira Williams is light on his feet. He earned his nickname by being the fastest member of the team, and Rocket is known for "having everyone' + "'" + 's back". A bounty hunter for over three years, Ira Williams enjoys the chase, the rush, and the capture of a fugitive. While his good looks make him appealing to the ladies, Rocket is one tough guy who should be taken seriously: "Day or night, asleep or awake, it don' + "'" + 't matter, cause we' + "'" + 're on our way."';
bio_t[5] = 'A bail bonds agent and certified bounty hunter, L.A. must hide her perfect figure under a bulletproof vest--a requirement for everyone on the Bad Boyz team. Licensed to carry a concealed weapon, L.A. acts as a decoy at times, promoting good values to those she brings back to jail. As the wife of Tommy D., she helps operate the business and specializes in handling frantic female fugitives. Underneath it all, L.A. is a loving wife and mother who has a direct and open style in dealing with people.';
bio_t[6] = 'Kevin is a navy veteran who has spent a large portion of his life abroad in Europe and the Philippines. After getting out of the service he started breeding and training various breeds of guard dogs including Doberman, Rottweiler, and German Shepherds. His handling skills have become invaluable to the team when going into the inner-city slums and the country-side meth labs.';
bio_t[7] = "Jade is a 3 year old bitch, trained in advanced techniques of criminal takedown. Jade is the fourth generation in a line trained by Medicine Man. Jade weighs in at 100 lbs and measures 36 inches from head to toe. Jade's favorite meal is Kibbles N' Skips.";


pic_t[0] = '<img src="images/b_1_big.jpg" width="220" height="271" border="0">';
pic_t[1] = '<img src="images/b_2_big.jpg" width="220" height="271" border="0">';
pic_t[2] = '<img src="images/b_3_big.jpg" width="220" height="271" border="0">';
pic_t[3] = '<img src="images/b_4_big.jpg" width="220" height="271" border="0">';
pic_t[4] = '<img src="images/b_5_big.jpg" width="220" height="271" border="0">';
pic_t[5] = '<img src="images/b_6_big.jpg" width="220" height="271" border="0">';
pic_t[6] = '<img src="images/b_7_big.jpg" width="220" height="271" border="0">';
pic_t[7] = '<img src="images/b_8_big.jpg" width="220" height="271" border="0">';

          
          
function change_t(which)
{
    if( which==0)
    {
          b_name.innerHTML = b_name_t[0];
          b_aka.innerHTML = b_aka_t[0];
          bio.innerHTML = bio_t[0];
          b_pic.innerHTML = pic_t[0];
    }
    else if( which==1)
    {
          b_name.innerHTML = b_name_t[1];
          b_aka.innerHTML = b_aka_t[1];
          bio.innerHTML = bio_t[1];
          b_pic.innerHTML = pic_t[1];
    }
    else if( which==2)
    {
          b_name.innerHTML = b_name_t[2];
          b_aka.innerHTML = b_aka_t[2];
          bio.innerHTML = bio_t[2];
          b_pic.innerHTML = pic_t[2];
    }
    else if( which==3)
    {
          b_name.innerHTML = b_name_t[3];
          b_aka.innerHTML = b_aka_t[3];
          bio.innerHTML = bio_t[3];
          b_pic.innerHTML = pic_t[3];
    }
    else if( which==4)
    {
          b_name.innerHTML = b_name_t[4];
          b_aka.innerHTML = b_aka_t[4];
          bio.innerHTML = bio_t[4];
          b_pic.innerHTML = pic_t[4];
    }
    else if( which==5)
    {
          b_name.innerHTML = b_name_t[5];
          b_aka.innerHTML = b_aka_t[5];
          bio.innerHTML = bio_t[5];
          b_pic.innerHTML = pic_t[5];
    }
    else if( which==6)
    {
          b_name.innerHTML = b_name_t[6];
          b_aka.innerHTML = b_aka_t[6];
          bio.innerHTML = bio_t[6];
          b_pic.innerHTML = pic_t[6];
    }
    else if( which==7)
    {
          b_name.innerHTML = b_name_t[7];
          b_aka.innerHTML = b_aka_t[7];
          bio.innerHTML = bio_t[7];
          b_pic.innerHTML = pic_t[7];
    }

}


function getValue(varname)
{
  // First, we load the URL into a variable
  var url = window.location.href;
  
  // Next, split the url by the ?
  var qparts = url.split("?");

  // Check that there is a querystring, return "" if not
  if (qparts.length == 0)
  {
    return "";
  }

  // Then find the querystring, everything after the ?
  var query = qparts[1];

  // Split the query string into variables (separates by &s)
  var vars;
  vars = query.split("&");

  // Initialize the value with "" as default
  var value = "";

  // Iterate through vars, checking each one for varname
  for (i=0;i<vars.length;i++)
  {
    // Split the variable by =, which splits name and value
    var parts = vars[i].split("=");
    
    // Check if the correct variable
    if (parts[0] == varname)
    {
      // Load value into variable
      value = parts[1];

      // End the loop
      break;
    }
  }
  
  // Convert escape code
  value = unescape(value);

  // Convert "+"s to " "s
  value.replace(/\+/g," ");

  // Return the value
  return value;
}