var arrGood,arrServer,arrPrice; var unit='USD'; var paypal,egold,google,checked; var ip='127.0.0.1'; kfmail='sale@virgolds.com'; skmail='paypal@jiandangame.com'; livechat=''; announce=''; advertisement=''; paypal='1'; egold='1'; google='1'; checked=0; arrGood = new Array(12); arrGood[0] = new Array(255,'10 Gold'); arrGood[1] = new Array(256,'20 Gold'); arrGood[2] = new Array(257,'30 Gold'); arrGood[3] = new Array(258,'50 Gold'); arrGood[4] = new Array(296,'60 Gold'); arrGood[5] = new Array(297,'70 Gold'); arrGood[6] = new Array(298,'80 Gold'); arrGood[7] = new Array(299,'90 Gold'); arrGood[8] = new Array(300,'100 Gold'); arrGood[9] = new Array(487,'200 Gold'); arrGood[10] = new Array(488,'300 Gold'); arrGood[11] = new Array(489,'500 Gold'); arrServer = new Array(11); arrServer[0] = new Array(1069,'Belegaer'); arrServer[1] = new Array(1068,'Eldar'); arrServer[2] = new Array(1066,'Estel'); arrServer[3] = new Array(1060,'Evernight'); arrServer[4] = new Array(1070,'Gilrain'); arrServer[5] = new Array(1061,'Laurelin'); arrServer[6] = new Array(1067,'Maiar'); arrServer[7] = new Array(1064,'Morthond'); arrServer[8] = new Array(1062,'Sirannon'); arrServer[9] = new Array(1065,'Snowbourn'); arrServer[10] = new Array(1063,'Vanyar'); arrPrice= new Array(132); arrPrice[0] = new Array(255,1069,'5.36'); arrPrice[1] = new Array(255,1068,'5.36'); arrPrice[2] = new Array(255,1066,'3.79'); arrPrice[3] = new Array(255,1060,'7.29'); arrPrice[4] = new Array(255,1070,'3.66'); arrPrice[5] = new Array(255,1061,'3.66'); arrPrice[6] = new Array(255,1067,'4.95'); arrPrice[7] = new Array(255,1064,'4.55'); arrPrice[8] = new Array(255,1062,'4.36'); arrPrice[9] = new Array(255,1065,'4.36'); arrPrice[10] = new Array(255,1063,'5.13'); arrPrice[11] = new Array(256,1069,'10.72'); arrPrice[12] = new Array(256,1068,'10.72'); arrPrice[13] = new Array(256,1066,'7.58'); arrPrice[14] = new Array(256,1060,'14.58'); arrPrice[15] = new Array(256,1070,'7.32'); arrPrice[16] = new Array(256,1061,'7.32'); arrPrice[17] = new Array(256,1067,'9.90'); arrPrice[18] = new Array(256,1064,'9.10'); arrPrice[19] = new Array(256,1062,'8.72'); arrPrice[20] = new Array(256,1065,'8.72'); arrPrice[21] = new Array(256,1063,'10.26'); arrPrice[22] = new Array(257,1069,'16.08'); arrPrice[23] = new Array(257,1068,'16.08'); arrPrice[24] = new Array(257,1066,'11.37'); arrPrice[25] = new Array(257,1060,'21.87'); arrPrice[26] = new Array(257,1070,'10.98'); arrPrice[27] = new Array(257,1061,'10.98'); arrPrice[28] = new Array(257,1067,'14.85'); arrPrice[29] = new Array(257,1064,'13.65'); arrPrice[30] = new Array(257,1062,'13.08'); arrPrice[31] = new Array(257,1065,'13.08'); arrPrice[32] = new Array(257,1063,'15.39'); arrPrice[33] = new Array(258,1069,'26.80'); arrPrice[34] = new Array(258,1068,'26.80'); arrPrice[35] = new Array(258,1066,'18.95'); arrPrice[36] = new Array(258,1060,'36.45'); arrPrice[37] = new Array(258,1070,'18.30'); arrPrice[38] = new Array(258,1061,'18.30'); arrPrice[39] = new Array(258,1067,'24.75'); arrPrice[40] = new Array(258,1064,'22.75'); arrPrice[41] = new Array(258,1062,'21.80'); arrPrice[42] = new Array(258,1065,'21.80'); arrPrice[43] = new Array(258,1063,'25.65'); arrPrice[44] = new Array(296,1069,'32.16'); arrPrice[45] = new Array(296,1068,'32.16'); arrPrice[46] = new Array(296,1066,'22.74'); arrPrice[47] = new Array(296,1060,'43.74'); arrPrice[48] = new Array(296,1070,'21.96'); arrPrice[49] = new Array(296,1061,'21.96'); arrPrice[50] = new Array(296,1067,'29.70'); arrPrice[51] = new Array(296,1064,'27.30'); arrPrice[52] = new Array(296,1062,'26.16'); arrPrice[53] = new Array(296,1065,'26.16'); arrPrice[54] = new Array(296,1063,'30.78'); arrPrice[55] = new Array(297,1069,'37.52'); arrPrice[56] = new Array(297,1068,'37.52'); arrPrice[57] = new Array(297,1066,'26.53'); arrPrice[58] = new Array(297,1060,'51.03'); arrPrice[59] = new Array(297,1070,'25.62'); arrPrice[60] = new Array(297,1061,'25.62'); arrPrice[61] = new Array(297,1067,'34.65'); arrPrice[62] = new Array(297,1064,'31.85'); arrPrice[63] = new Array(297,1062,'30.52'); arrPrice[64] = new Array(297,1065,'30.52'); arrPrice[65] = new Array(297,1063,'35.91'); arrPrice[66] = new Array(298,1069,'42.88'); arrPrice[67] = new Array(298,1068,'42.88'); arrPrice[68] = new Array(298,1066,'30.32'); arrPrice[69] = new Array(298,1060,'58.32'); arrPrice[70] = new Array(298,1070,'29.28'); arrPrice[71] = new Array(298,1061,'29.28'); arrPrice[72] = new Array(298,1067,'39.60'); arrPrice[73] = new Array(298,1064,'36.40'); arrPrice[74] = new Array(298,1062,'34.88'); arrPrice[75] = new Array(298,1065,'34.88'); arrPrice[76] = new Array(298,1063,'41.04'); arrPrice[77] = new Array(299,1069,'48.24'); arrPrice[78] = new Array(299,1068,'48.24'); arrPrice[79] = new Array(299,1066,'34.11'); arrPrice[80] = new Array(299,1060,'65.61'); arrPrice[81] = new Array(299,1070,'32.94'); arrPrice[82] = new Array(299,1061,'32.94'); arrPrice[83] = new Array(299,1067,'44.55'); arrPrice[84] = new Array(299,1064,'40.95'); arrPrice[85] = new Array(299,1062,'39.24'); arrPrice[86] = new Array(299,1065,'39.24'); arrPrice[87] = new Array(299,1063,'46.17'); arrPrice[88] = new Array(300,1069,'53.60'); arrPrice[89] = new Array(300,1068,'53.60'); arrPrice[90] = new Array(300,1066,'37.90'); arrPrice[91] = new Array(300,1060,'72.90'); arrPrice[92] = new Array(300,1070,'36.60'); arrPrice[93] = new Array(300,1061,'36.60'); arrPrice[94] = new Array(300,1067,'49.50'); arrPrice[95] = new Array(300,1064,'45.50'); arrPrice[96] = new Array(300,1062,'43.60'); arrPrice[97] = new Array(300,1065,'43.60'); arrPrice[98] = new Array(300,1063,'51.30'); arrPrice[99] = new Array(487,1069,'107.20'); arrPrice[100] = new Array(487,1068,'107.20'); arrPrice[101] = new Array(487,1066,'75.80'); arrPrice[102] = new Array(487,1060,'145.80'); arrPrice[103] = new Array(487,1070,'73.20'); arrPrice[104] = new Array(487,1061,'73.20'); arrPrice[105] = new Array(487,1067,'99.00'); arrPrice[106] = new Array(487,1064,'91.00'); arrPrice[107] = new Array(487,1062,'87.20'); arrPrice[108] = new Array(487,1065,'87.20'); arrPrice[109] = new Array(487,1063,'102.60'); arrPrice[110] = new Array(488,1069,'160.80'); arrPrice[111] = new Array(488,1068,'160.80'); arrPrice[112] = new Array(488,1066,'113.70'); arrPrice[113] = new Array(488,1060,'218.70'); arrPrice[114] = new Array(488,1070,'109.80'); arrPrice[115] = new Array(488,1061,'109.80'); arrPrice[116] = new Array(488,1067,'148.50'); arrPrice[117] = new Array(488,1064,'136.50'); arrPrice[118] = new Array(488,1062,'130.80'); arrPrice[119] = new Array(488,1065,'130.80'); arrPrice[120] = new Array(488,1063,'153.90'); arrPrice[121] = new Array(489,1069,'268.00'); arrPrice[122] = new Array(489,1068,'268.00'); arrPrice[123] = new Array(489,1066,'189.50'); arrPrice[124] = new Array(489,1060,'364.50'); arrPrice[125] = new Array(489,1070,'183.00'); arrPrice[126] = new Array(489,1061,'183.00'); arrPrice[127] = new Array(489,1067,'247.50'); arrPrice[128] = new Array(489,1064,'227.50'); arrPrice[129] = new Array(489,1062,'218.00'); arrPrice[130] = new Array(489,1065,'218.00'); arrPrice[131] = new Array(489,1063,'256.50'); 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 && 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; } } }