﻿var xmlHttp;
window.onload = function(){
   GetPackages();
   Show('liPackages');
}

function createXMLHttpRequestPL()
{
  if(window.activeXObject)
   {
     xmlHttp=new ActiveXObject("Mircrosoft ActiveX");
   }
   else if(window.XMLHttpRequest)
   {
     xmlHttp=new XMLHttpRequest();
   }
}


function GetPackages()
{
  
  document.getElementById('divPackages').innerHTML="Loading...";
  createXMLHttpRequestPL();
  var GameCode=document.getElementById('hfGameCode').value;
  if(GameCode!=null && GameCode!="")
  {
//   var url="/PackagesDispose.aspx?GameCode="+GameCode+"&"+new Date().toLocaleTimeString();
//   xmlHttp.onreadystatechange=Packages;
//   xmlHttp.open("GET",url,true);
//   xmlHttp.send(null);
   var div = document.getElementById('divPackages');
   div.innerHTML = '<div align=\"center\">Loading...</div>';
   $.ajax({
    url : '/PackagesDispose.aspx?rd=' + Math.random(),
    type : 'get',
    data : 'GameCode=' + GameCode,
    dataType : 'html',
    success : function(data){
        div.innerHTML = data;
        GetLevelProduct();
    }
   });
  }
}

function Packages(text)
{
  var div=document.getElementById('divPackages');
  if(xmlHttp.readyState!=4)
   {
      div.innerHTML="<div align=\"center\">Loading...</div>";
      return;
   }
   var text=xmlHttp.responseText;
   div.innerHTML=text;
   GetLevelProduct();
}

function GetProfession()
{
    //createXMLHttpRequestPL();
  var GameCode=document.getElementById('hfGameCode').value;
  if(GameCode!=null && GameCode!="")
  {
//   var url="/ProfessionDispose.aspx?GameCode="+GameCode+"&"+new Date().toLocaleTimeString();
//   xmlHttp.onreadystatechange=Profession;
//   xmlHttp.open("GET",url,true);
//   xmlHttp.send(null);
    var div = document.getElementById('divPackages');
    div.innerHTML="<div align=\"center\">Loading...</div>";
    $.ajax({
        url : '/ProfessionDispose.aspx?rd=' + Math.random(),
        type : 'get',
        data : 'GameCode=' + GameCode,
        dataType : 'html',
        success : function(data){
            div.innerHTML = data;
        }
    });
  }
}
  
  function Profession(){
    var div=document.getElementById('divPackages');
      if(xmlHttp.readyState!=4)
       {
          div.innerHTML="<div align=\"center\">Loading...</div>";
          return;
       }
       var text=xmlHttp.responseText;
       div.innerHTML=text;
}


function GetHonor()
{
  //createXMLHttpRequestPL();
  var GameCode=document.getElementById('hfGameCode').value;
  if(GameCode!=null && GameCode!="") {
    var div = document.getElementById('divPackages');
    div.innerHTML = '<div align=\"center\">Loading...</div>';
    $.ajax({
        url : '/HonorDispose.aspx?rd=' + Math.random(),
        type : 'get',
        data : 'GameCode=' + GameCode,
        dataType : 'html',
        success : function(data){
            div.innerHTML = data;
        }
    });
  }
//   var url="/HonorDispose.aspx?GameCode="+GameCode+"&"+new Date().toLocaleTimeString();
//   xmlHttp.onreadystatechange=Honor;
//   xmlHttp.open("GET",url,true);
//   xmlHttp.send(null);

}
function Honor()
{
  var div=document.getElementById('divPackages');
  if(xmlHttp.readyState!=4)
   {
      div.innerHTML="<div align=\"center\">Loading...</div>";
      return;
   }
   var text=xmlHttp.responseText;
   div.innerHTML=text;
}

function GetArena()
{
 // createXMLHttpRequestPL();
  var GameCode=document.getElementById('hfGameCode').value;
  if(GameCode!=null && GameCode!="")
  {
//   var url="/ArenaDispose.aspx?GameCode="+GameCode+"&"+new Date().toLocaleTimeString();
//   xmlHttp.onreadystatechange=Arena;
//   xmlHttp.open("GET",url,true);
//   xmlHttp.send(null);
    var div = document.getElementById('divPackages');
    div.innerHTML="<div align=\"center\">Loading...</div>";
    $.ajax({
        url : '/ArenaDispose.aspx?rd=' + Math.random(),
        type : 'get',
        data : 'GameCode=' + GameCode,
        dataType : 'html',
        success : function(data){
            div.innerHTML = data;
        }
    });
  }
}

function Arena()
{
 var div=document.getElementById('divPackages');
  if(xmlHttp.readyState!=4)
   {
      div.innerHTML="<div align=\"center\">Loading...</div>";
      return;
   }
   var text=xmlHttp.responseText;
   div.innerHTML=text;
}

function Show(id)
{
//alert(id);
 if(id =='liPackages'){
    document.getElementById('PlCharacter').innerHTML= "<p>Thsale PowerLeveling is forever committed to serving MMORPG players all over the World by providing the best gaming services for our customers, taking care of the grinding of the game. We let our customers get the Maximum out of the game, storm ahead of your friends &amp; enemies with all the game has to offer - Be The Best!</p><p>Tired of the Grind? Why bother? Leave everyone else behind as they struggle through to level 80. Watch as they make their way up to your level! Thsale PowerLeveling simply get you to level 80 faster than anyone else! Why get ganked at level 70?!</p></DIV>"
    document.getElementById('lblDisclaimer').innerHTML="<span class='font_Small'><p>We Do Not touch any of your existing items or gold. </p> <p>We Do Not use bots or any type of automated programs to play your character. 3 real people each taking an 8 hour shift will play your account 24 hours a day until the desired level is reached.</p><p>We Do Not respond to incoming tells by fellow players to maintain the anonymity &amp; confidentiality of your character (and our service). </p><p>All Items and Gold acquired during the Power leveling service are left on your account as a bonus. We hope to do the best job so you can recommend to your friends.</p><p>Please change your password after completion of the powerleveling service to complete the safe transaction, allowing you peace of mind and freeing us from responsibility.<br></p></span>";
     document.getElementById("divTextB").innerHTML="<a href='/PLindex.aspx?GameCode=013'>WOW Powerleveling US</a>";
 }
if(id =='liProfession'){
    document.getElementById('PlCharacter').innerHTML =  "<p>Thsale PowerLeveling is forever committed to serving MMORPG players all over the World by providing the best gaming services for our customers, taking care of the grinding of the game. We let our customers get the Maximum out of the game, storm ahead of your friends &amp; enemies with all the game has to offer - Be The Best!</p><p>Tired of the Grind? Why bother? Leave everyone else behind as they struggle through to level 80. Watch as they make their way up to your level! Thsale PowerLeveling simply get you to level 80 faster than anyone else! Why get ganked at level 70?!</p></DIV>";
    document.getElementById('lblDisclaimer').innerHTML="" ;
 }
if(id =='liHonor'){
      document.getElementById('PlCharacter').innerHTML= "<p>With the launch of Season 5 on December 16th. Blizzard released new PvP gear, but unlike the past they didn't release honor weapons this time around. Only honor armor. Unfortunately the top ranking arena and honor gear requires a decent amount of arena rating & points now, not just honor. There is no other way available to obtain the high quality PvP gear yet. Only arena points, personal and team ratings.</p><p>Full S5: 15600 arena points, 2150 personal/team rating and 367,600 honor points for the full S5 set. Which means even the top arena players  have to maintain a high rating for 4-5 months to achieve full S5 Gear. In other words, S5 is no longer 10 games a day at the end of the week like Pre-Wotlk.<br />Honor System: Now rewards gamers for time spent playing, instead of there skill. Meaning more time must be spent to obtain honor.</p><p>Thsale.com offers arena & honor leveling services to  rack up the points for  you so may focus on other, more important things in games and in Real World. With our  honor & arena service, you can now get best  pvp gear you desire with out spending 10 hours a day 7 days a week!!!</p><p>Note: <br /> 1.) Some services may need to be pre-order due the Limitation of spot available.<br /> 2.) Some services may be longer then the quoted time, depending on your realms queue times <br />3.) Some services require the basic PvP gear be for we can offer advance PvP leveling service. I.E., an order for 2,200 arena rating doesn't work so well in BC greens. . . If you chose an order that requires the basic PvP gear but do not have the it, we will offer you a leveling <br />service at a discounted price!</p>"
      document.getElementById('lblDisclaimer').innerHTML="<span class='font_Small'> <p> We Do NOT remove your pre-existing items and gold. </p> <p>We Do NOT respond to incoming tells by fellow players to maintain the confidentiality of your character.</p><p>We WILL be in constant queue for all Battlegrounds. Despite your Battleground preference, we will enter the Battleground which we feel will gain the most honor but if your goal is to farm for Marks of Honor instead, please order one of our Marks of Honor service packages (you will still gain a considerable amount of honor points as well). </p><p>After completion of the PvP Honor Farming service, please change your password as we are no longer responsible for it.</p></span>" ;
       document.getElementById("divTextB").innerHTML="<a href='/PLindex.aspx?GameCode=013'>WOW Powerleveling US</a>";
 }
if(id =='liArena'){
    document.getElementById('PlCharacter').innerHTML ="<p>WoW Arena leveling service is unlike any other farming or grinding service we offer. In order to be successful in the new World of Warcraft Arena system, one cannot just put hours on end, farming or grinding arena points like the PvP Honor system. The arena system uses a rating system that can punish you for losing to teams worse than you, which essentially discourages grinding. That is why we did not release an Arena Leveling service so quickly like other websites that treat the Arena system as another grind.</p><p>With the new personal rating requirements for almost every s4 arena gear and the Guardian BG honor gear, this season will be the most difficult and competitive of them all. Thsale hardcore arena players have been studying around the clock, dueling, watching videos, and training to give you the best possible WoW Arena service, and with that, we are now ready to offer our customers the PvP Arena Personal Rating and PVP Arena Points service! </p>";
    document.getElementById('lblDisclaimer').innerHTML="<span class='font_Small'> <p> We Do Not touch any of your existing items or gold. </p> <p>We Do Not respond to incoming tells by fellow players to maintain the anonymity &amp; confidentiality of your character (and our service).</p><p>Please change your password after completion of the powerleveling service to complete the safe transaction, allowing you peace of mind and freeing us from responsibility.</p> </span>" ;
        document.getElementById("divTextB").innerHTML="<a href='/PLindex.aspx?GameCode=013'>WOW Powerleveling US</a>";
 }  
//alert( document.getElementById('PlCharacter').text ); 
document.getElementById('liPackages').style.color='Black';
document.getElementById('liProfession').style.color='Black';
document.getElementById('liHonor').style.color='Black';
document.getElementById('liArena').style.color='Black';
document.getElementById(id).style.color="white";
document.getElementById('bgliArena').className="";
document.getElementById('bgliProfession').className="";
document.getElementById('bgliPackages').className="";
document.getElementById('bgliHonor').className="";
var tempid='bg'+id;
document.getElementById(tempid).className="current";
return;
}
