var arrGood,arrServer,arrPrice;
var unit='USD';
var paypal,egold,google,checked;
var ip='211.21.45.48'
kfmail='goldicq@gmail.com';
skmail='goldicq@gmail.com';
announce='Rappelz Rupees back in stock, buy it now!!';
livechat='';
paypal='';
egold='';
google='';
checked=0;
arrGood = new Array(9);
arrGood[0] = new Array(49,'10M');
arrGood[1] = new Array(50,'20M');
arrGood[2] = new Array(51,'30M');
arrGood[3] = new Array(52,'50M');
arrGood[4] = new Array(53,'80M');
arrGood[5] = new Array(304,'100M');
arrGood[6] = new Array(305,'200M');
arrGood[7] = new Array(306,'300M');
arrGood[8] = new Array(307,'500M');
arrServer = new Array(13);
arrServer[0] = new Array(57,'Bahamut');
arrServer[1] = new Array(58,'Lydian');
arrServer[2] = new Array(59,'Pantera(PVP)');
arrServer[3] = new Array(103,'Salamander');
arrServer[4] = new Array(104,'Tortus');
arrServer[5] = new Array(105,'Yeti');
arrServer[6] = new Array(205,'Tanda');
arrServer[7] = new Array(206,'Bastet-DE');
arrServer[8] = new Array(207,'Horus-DE');
arrServer[9] = new Array(210,'Phonix[Neu]-DE');
arrServer[10] = new Array(212,'Kentauros-FR');
arrServer[11] = new Array(214,'Lordlei(non-PK)-FR');
arrServer[12] = new Array(216,'Pyroxia-FR');
arrPrice= new Array(117);
arrPrice[0] = new Array(49,57,'4.80');
arrPrice[1] = new Array(49,58,'4.80');
arrPrice[2] = new Array(49,59,'4.80');
arrPrice[3] = new Array(49,205,'4.80');
arrPrice[4] = new Array(49,103,'4.80');
arrPrice[5] = new Array(49,104,'4.80');
arrPrice[6] = new Array(49,105,'4.80');
arrPrice[7] = new Array(49,206,'10.51');
arrPrice[8] = new Array(49,207,'10.51');
arrPrice[9] = new Array(49,210,'17.02');
arrPrice[10] = new Array(49,212,'17.02');
arrPrice[11] = new Array(49,214,'17.02');
arrPrice[12] = new Array(49,216,'17.02');
arrPrice[13] = new Array(50,57,'9.60');
arrPrice[14] = new Array(50,58,'9.60');
arrPrice[15] = new Array(50,59,'9.60');
arrPrice[16] = new Array(50,205,'9.60');
arrPrice[17] = new Array(50,103,'9.60');
arrPrice[18] = new Array(50,104,'9.60');
arrPrice[19] = new Array(50,105,'9.60');
arrPrice[20] = new Array(50,206,'21.02');
arrPrice[21] = new Array(50,207,'21.02');
arrPrice[22] = new Array(50,210,'34.03');
arrPrice[23] = new Array(50,212,'34.03');
arrPrice[24] = new Array(50,214,'34.03');
arrPrice[25] = new Array(50,216,'34.03');
arrPrice[26] = new Array(51,57,'14.40');
arrPrice[27] = new Array(51,58,'14.40');
arrPrice[28] = new Array(51,59,'14.40');
arrPrice[29] = new Array(51,205,'14.40');
arrPrice[30] = new Array(51,103,'14.40');
arrPrice[31] = new Array(51,104,'14.40');
arrPrice[32] = new Array(51,105,'14.40');
arrPrice[33] = new Array(51,206,'31.52');
arrPrice[34] = new Array(51,207,'31.52');
arrPrice[35] = new Array(51,210,'51.04');
arrPrice[36] = new Array(51,212,'51.04');
arrPrice[37] = new Array(51,214,'51.04');
arrPrice[38] = new Array(51,216,'51.04');
arrPrice[39] = new Array(52,57,'24.00');
arrPrice[40] = new Array(52,58,'24.00');
arrPrice[41] = new Array(52,59,'24.00');
arrPrice[42] = new Array(52,205,'24.00');
arrPrice[43] = new Array(52,103,'24.00');
arrPrice[44] = new Array(52,104,'24.00');
arrPrice[45] = new Array(52,105,'24.00');
arrPrice[46] = new Array(52,206,'52.52');
arrPrice[47] = new Array(52,207,'52.52');
arrPrice[48] = new Array(52,210,'85.04');
arrPrice[49] = new Array(52,212,'85.04');
arrPrice[50] = new Array(52,214,'85.04');
arrPrice[51] = new Array(52,216,'85.04');
arrPrice[52] = new Array(53,57,'38.39');
arrPrice[53] = new Array(53,58,'38.39');
arrPrice[54] = new Array(53,59,'38.39');
arrPrice[55] = new Array(53,205,'38.39');
arrPrice[56] = new Array(53,103,'38.39');
arrPrice[57] = new Array(53,104,'38.39');
arrPrice[58] = new Array(53,105,'38.39');
arrPrice[59] = new Array(53,206,'84.03');
arrPrice[60] = new Array(53,207,'84.03');
arrPrice[61] = new Array(53,210,'136.02');
arrPrice[62] = new Array(53,212,'136.02');
arrPrice[63] = new Array(53,214,'136.02');
arrPrice[64] = new Array(53,216,'136.02');
arrPrice[65] = new Array(304,57,'47.99');
arrPrice[66] = new Array(304,58,'47.99');
arrPrice[67] = new Array(304,59,'47.99');
arrPrice[68] = new Array(304,205,'47.99');
arrPrice[69] = new Array(304,103,'47.99');
arrPrice[70] = new Array(304,104,'47.99');
arrPrice[71] = new Array(304,105,'47.99');
arrPrice[72] = new Array(304,206,'104.99');
arrPrice[73] = new Array(304,207,'104.99');
arrPrice[74] = new Array(304,210,'169.99');
arrPrice[75] = new Array(304,212,'169.99');
arrPrice[76] = new Array(304,214,'169.99');
arrPrice[77] = new Array(304,216,'169.99');
arrPrice[78] = new Array(305,57,'95.92');
arrPrice[79] = new Array(305,58,'95.92');
arrPrice[80] = new Array(305,59,'95.92');
arrPrice[81] = new Array(305,205,'95.92');
arrPrice[82] = new Array(305,103,'95.92');
arrPrice[83] = new Array(305,104,'95.92');
arrPrice[84] = new Array(305,105,'95.92');
arrPrice[85] = new Array(305,206,'209.77');
arrPrice[86] = new Array(305,207,'209.77');
arrPrice[87] = new Array(305,210,'339.63');
arrPrice[88] = new Array(305,212,'339.63');
arrPrice[89] = new Array(305,214,'339.63');
arrPrice[90] = new Array(305,216,'339.63');
arrPrice[91] = new Array(306,57,'143.80');
arrPrice[92] = new Array(306,58,'143.80');
arrPrice[93] = new Array(306,59,'143.80');
arrPrice[94] = new Array(306,205,'143.80');
arrPrice[95] = new Array(306,103,'143.80');
arrPrice[96] = new Array(306,104,'143.80');
arrPrice[97] = new Array(306,105,'143.80');
arrPrice[98] = new Array(306,206,'314.33');
arrPrice[99] = new Array(306,207,'314.33');
arrPrice[100] = new Array(306,210,'509.45');
arrPrice[101] = new Array(306,212,'509.45');
arrPrice[102] = new Array(306,214,'509.45');
arrPrice[103] = new Array(306,216,'509.45');
arrPrice[104] = new Array(307,57,'239.43');
arrPrice[105] = new Array(307,58,'239.43');
arrPrice[106] = new Array(307,59,'239.43');
arrPrice[107] = new Array(307,205,'239.43');
arrPrice[108] = new Array(307,103,'239.43');
arrPrice[109] = new Array(307,104,'239.43');
arrPrice[110] = new Array(307,105,'239.43');
arrPrice[111] = new Array(307,206,'522.83');
arrPrice[112] = new Array(307,207,'522.83');
arrPrice[113] = new Array(307,210,'849.08');
arrPrice[114] = new Array(307,212,'849.08');
arrPrice[115] = new Array(307,214,'849.08');
arrPrice[116] = new Array(307,216,'849.08');
function pp(){
var forms=document.forms;
var i;
for(i=0;i0)
{
for (var i=0; i0 && typeof(serverObj)=="object")
{
for(var i=serverObj.length;i>0;i--){
serverObj.remove(i-1);
}
for (var i=0; i0;i--){
goodObj.remove(i-1);
}
for (var i=0; i0 && typeof(GoodObj)=="object")
{
if (GoodObj.selectedIndex>-1)
{
goodId = GoodObj.options[GoodObj.selectedIndex].value;
}else{
goodId = GoodObj.options[0].value;
}
for (var i=0; igoodId && arrPrice[i][1]>serverId)
{
break;
}
}
if (price !=10000)
{
priceObj.value = price;
disPriceObj.value = unit +" "+ price;
}else{
priceObj.value = defaultPrice;
disPriceObj.value = unit +" "+ defaultPrice;
}
}
}
function LoadPrice(goodName,serverObj,priceObj,disPriceObj){
var goodId;
var serverId;
var price,defaultPrice;
defaultPrice =10000;
price =10000;
goodId = GetGoodId(goodName);
if (goodId>0 && typeof(serverObj)=="object")
{
if (serverObj.selectedIndex>-1)
{
serverId = serverObj.options[serverObj.selectedIndex].value;
}else{
serverId = serverObj.options[0].value;
}
defaultPrice =10000;
price =10000;
for (var i=0; igoodId && arrPrice[i][1]>serverId)
{
break;
}
}
if (price !=10000)
{
priceObj.value = price;
disPriceObj.value = unit +" "+ price;
}else{
priceObj.value = defaultPrice;
disPriceObj.value = unit +" "+ defaultPrice;
}
}
}