var arrGood,arrServer,arrPrice;
var unit='GBP';
var paypal,egold,google,checked;
var ip='127.0.0.1';
kfmail='sale@virgolds.com';
skmail='paypal@jiandangame.com';
livechat='';
announce='';
advertisement='';
paypal='';
egold='';
google='';
checked=0;
arrGood = new Array(126);
arrGood[0] = new Array(14,'1.15M');
arrGood[1] = new Array(15,'2.30M');
arrGood[2] = new Array(16,'3.45M');
arrGood[3] = new Array(25,'4.6M');
arrGood[4] = new Array(26,'5.75M');
arrGood[5] = new Array(27,'11.5M');
arrGood[6] = new Array(28,'17.25M');
arrGood[7] = new Array(29,'22.05M');
arrGood[8] = new Array(30,'27M');
arrGood[9] = new Array(71,'2M');
arrGood[10] = new Array(72,'3M');
arrGood[11] = new Array(73,'4M');
arrGood[12] = new Array(74,'5M');
arrGood[13] = new Array(75,'10M');
arrGood[14] = new Array(76,'15M');
arrGood[15] = new Array(77,'20M');
arrGood[16] = new Array(79,'2.5M');
arrGood[17] = new Array(80,'3.75M');
arrGood[18] = new Array(81,'6.25M');
arrGood[19] = new Array(82,'12.5M');
arrGood[20] = new Array(83,'18.75M');
arrGood[21] = new Array(84,'25M');
arrGood[22] = new Array(85,'31.25M');
arrGood[23] = new Array(86,'Yew logs 10K');
arrGood[24] = new Array(87,'Yew logs 20K');
arrGood[25] = new Array(110,'11M');
arrGood[26] = new Array(111,'6M');
arrGood[27] = new Array(112,'32M');
arrGood[28] = new Array(130,'1.1M');
arrGood[29] = new Array(131,'2.2M');
arrGood[30] = new Array(132,'3.3M');
arrGood[31] = new Array(133,'4.4M');
arrGood[32] = new Array(134,'5.5M');
arrGood[33] = new Array(135,'11,000K');
arrGood[34] = new Array(136,'22M');
arrGood[35] = new Array(137,'27.5M');
arrGood[36] = new Array(148,'30M');
arrGood[37] = new Array(161,'1,150K');
arrGood[38] = new Array(162,'2,300K');
arrGood[39] = new Array(163,'3,450K');
arrGood[40] = new Array(164,'5,750K');
arrGood[41] = new Array(165,'11,500K');
arrGood[42] = new Array(166,'22,050K');
arrGood[43] = new Array(167,'27,000K');
arrGood[44] = new Array(223,'16.5M');
arrGood[45] = new Array(224,'22M');
arrGood[46] = new Array(225,'4,600K');
arrGood[47] = new Array(226,'32,000K');
arrGood[48] = new Array(227,'1,100K');
arrGood[49] = new Array(228,'2,200K');
arrGood[50] = new Array(229,'3,300K');
arrGood[51] = new Array(230,'4,400K');
arrGood[52] = new Array(231,'4,400K');
arrGood[53] = new Array(232,'5,500K');
arrGood[54] = new Array(233,'16,500K');
arrGood[55] = new Array(234,'22,000K');
arrGood[56] = new Array(261,'Magic trees 10K');
arrGood[57] = new Array(262,'lobster pot fishing 10K');
arrGood[58] = new Array(263,'shark harpoon fishing 10K');
arrGood[59] = new Array(264,'death runes 10K');
arrGood[60] = new Array(265,'chaos runes 10K');
arrGood[61] = new Array(266,'nature runes 10K');
arrGood[62] = new Array(281,'Magic trees 5K');
arrGood[63] = new Array(282,'lobster pot fishing 20K');
arrGood[64] = new Array(283,'shark harpoon fishing 5K');
arrGood[65] = new Array(284,'nature runes 20K');
arrGood[66] = new Array(285,'chaos runes 20K');
arrGood[67] = new Array(286,'death runes 20K');
arrGood[68] = new Array(287,'Dragon Bones 1K');
arrGood[69] = new Array(288,'Dragon Bones 2K');
arrGood[70] = new Array(289,'Dragon Green Hides 1K');
arrGood[71] = new Array(290,'Dragon Green Hides 2K');
arrGood[72] = new Array(291,'Dragon Blue Hides 1K');
arrGood[73] = new Array(292,'Dragon Blue Hides 2K');
arrGood[74] = new Array(293,'Pure Essence 20K');
arrGood[75] = new Array(294,'Pure Essence 40K');
arrGood[76] = new Array(321,'Bow String 10K');
arrGood[77] = new Array(322,'Bow String 20K');
arrGood[78] = new Array(323,'Law Runes 10K');
arrGood[79] = new Array(324,'Law Runes 20K');
arrGood[80] = new Array(325,'Blood Runes 10K');
arrGood[81] = new Array(326,'Blood Runes 20K');
arrGood[82] = new Array(327,'Rune Arrow 10K');
arrGood[83] = new Array(328,'Rune Arrow 20K');
arrGood[84] = new Array(329,'Harralander 10K');
arrGood[85] = new Array(330,'Harralander 20K');
arrGood[86] = new Array(333,'Kwuarm 1K');
arrGood[87] = new Array(334,'Kwuarm 2K');
arrGood[88] = new Array(335,'Cosmic Runes 10K');
arrGood[89] = new Array(336,'Cosmic Runes 20K');
arrGood[90] = new Array(337,'Flax 20K');
arrGood[91] = new Array(338,'Flax 40K');
arrGood[92] = new Array(339,'1M');
arrGood[93] = new Array(340,'7M');
arrGood[94] = new Array(341,'8M');
arrGood[95] = new Array(342,'9M');
arrGood[96] = new Array(377,'35M');
arrGood[97] = new Array(378,'40M');
arrGood[98] = new Array(379,'45M');
arrGood[99] = new Array(380,'50M');
arrGood[100] = new Array(381,'100M');
arrGood[101] = new Array(382,'150M');
arrGood[102] = new Array(383,'200M');
arrGood[103] = new Array(384,'300M');
arrGood[104] = new Array(385,'400M');
arrGood[105] = new Array(386,'500M');
arrGood[106] = new Array(387,'800M');
arrGood[107] = new Array(391,'60M');
arrGood[108] = new Array(392,'70M');
arrGood[109] = new Array(393,'80M');
arrGood[110] = new Array(394,'90M');
arrGood[111] = new Array(400,'big bone 10K');
arrGood[112] = new Array(401,'big bone 20K');
arrGood[113] = new Array(463,'23M');
arrGood[114] = new Array(490,'3mil');
arrGood[115] = new Array(491,'4mil');
arrGood[116] = new Array(492,'5mil');
arrGood[117] = new Array(493,'8mil');
arrGood[118] = new Array(494,'10mil');
arrGood[119] = new Array(495,'15mil');
arrGood[120] = new Array(496,'20mil');
arrGood[121] = new Array(497,'30mil');
arrGood[122] = new Array(498,'50mil');
arrGood[123] = new Array(499,'80mil');
arrGood[124] = new Array(500,'100mil');
arrGood[125] = new Array(501,'200mil');
arrServer = new Array(1);
arrServer[0] = new Array(40,'All Servers');
arrPrice= new Array(124);
arrPrice[0] = new Array(14,40,'1.86');
arrPrice[1] = new Array(15,40,'3.49');
arrPrice[2] = new Array(16,40,'5.16');
arrPrice[3] = new Array(25,40,'6.88');
arrPrice[4] = new Array(26,40,'8.59');
arrPrice[5] = new Array(27,40,'17.17');
arrPrice[6] = new Array(28,40,'102.99');
arrPrice[7] = new Array(29,40,'135.99');
arrPrice[8] = new Array(30,40,'324.24');
arrPrice[9] = new Array(71,40,'22.49');
arrPrice[10] = new Array(72,40,'33.49');
arrPrice[11] = new Array(73,40,'44.99');
arrPrice[12] = new Array(74,40,'49.99');
arrPrice[13] = new Array(75,40,'107.99');
arrPrice[14] = new Array(76,40,'25.74');
arrPrice[15] = new Array(77,40,'209.99');
arrPrice[16] = new Array(79,40,'25.99');
arrPrice[17] = new Array(80,40,'37.99');
arrPrice[18] = new Array(81,40,'59.99');
arrPrice[19] = new Array(82,40,'115.99');
arrPrice[20] = new Array(83,40,'171.99');
arrPrice[21] = new Array(84,40,'214.49');
arrPrice[22] = new Array(85,40,'259.99');
arrPrice[23] = new Array(86,40,'20.64');
arrPrice[24] = new Array(87,40,'40.02');
arrPrice[25] = new Array(110,40,'99.60');
arrPrice[26] = new Array(111,40,'49.99');
arrPrice[27] = new Array(112,40,'199.99');
arrPrice[28] = new Array(130,40,'1.86');
arrPrice[29] = new Array(131,40,'3.49');
arrPrice[30] = new Array(132,40,'14.77');
arrPrice[31] = new Array(133,40,'18.36');
arrPrice[32] = new Array(134,40,'22.25');
arrPrice[33] = new Array(135,40,'17.17');
arrPrice[34] = new Array(136,40,'198.99');
arrPrice[35] = new Array(137,40,'229.99');
arrPrice[36] = new Array(148,40,'266.99');
arrPrice[37] = new Array(161,40,'1.86');
arrPrice[38] = new Array(162,40,'3.49');
arrPrice[39] = new Array(163,40,'5.16');
arrPrice[40] = new Array(164,40,'8.59');
arrPrice[41] = new Array(165,40,'17.17');
arrPrice[42] = new Array(166,40,'197.49');
arrPrice[43] = new Array(167,40,'239.49');
arrPrice[44] = new Array(223,40,'70.88');
arrPrice[45] = new Array(224,40,'168.88');
arrPrice[46] = new Array(225,40,'6.88');
arrPrice[47] = new Array(226,40,'188.99');
arrPrice[48] = new Array(227,40,'1.86');
arrPrice[49] = new Array(228,40,'3.49');
arrPrice[50] = new Array(229,40,'19.77');
arrPrice[51] = new Array(230,40,'26.36');
arrPrice[52] = new Array(231,40,'26.36');
arrPrice[53] = new Array(232,40,'32.95');
arrPrice[54] = new Array(233,40,'98.84');
arrPrice[55] = new Array(234,40,'131.78');
arrPrice[56] = new Array(261,40,'44.99');
arrPrice[57] = new Array(262,40,'12.99');
arrPrice[58] = new Array(263,40,'39.99');
arrPrice[59] = new Array(264,40,'13.99');
arrPrice[60] = new Array(265,40,'13.99');
arrPrice[61] = new Array(266,40,'13.99');
arrPrice[62] = new Array(281,40,'22.50');
arrPrice[63] = new Array(282,40,'25.90');
arrPrice[64] = new Array(283,40,'19.99');
arrPrice[65] = new Array(284,40,'27.90');
arrPrice[66] = new Array(285,40,'0.00');
arrPrice[67] = new Array(286,40,'0.00');
arrPrice[68] = new Array(287,40,'7.39');
arrPrice[69] = new Array(288,40,'14.75');
arrPrice[70] = new Array(289,40,'10.99');
arrPrice[71] = new Array(290,40,'21.95');
arrPrice[72] = new Array(291,40,'13.99');
arrPrice[73] = new Array(292,40,'27.95');
arrPrice[74] = new Array(293,40,'14.38');
arrPrice[75] = new Array(294,40,'28.70');
arrPrice[76] = new Array(321,40,'11.39');
arrPrice[77] = new Array(322,40,'21.68');
arrPrice[78] = new Array(323,40,'18.83');
arrPrice[79] = new Array(324,40,'35.85');
arrPrice[80] = new Array(325,40,'31.22');
arrPrice[81] = new Array(326,40,'59.46');
arrPrice[82] = new Array(327,40,'23.79');
arrPrice[83] = new Array(328,40,'45.29');
arrPrice[84] = new Array(329,40,'31.22');
arrPrice[85] = new Array(330,40,'59.46');
arrPrice[86] = new Array(333,40,'23.96');
arrPrice[87] = new Array(334,40,'45.63');
arrPrice[88] = new Array(335,40,'11.39');
arrPrice[89] = new Array(336,40,'21.68');
arrPrice[90] = new Array(337,40,'12.24');
arrPrice[91] = new Array(338,40,'24.46');
arrPrice[92] = new Array(339,40,'1.86');
arrPrice[93] = new Array(340,40,'12.01');
arrPrice[94] = new Array(341,40,'13.72');
arrPrice[95] = new Array(342,40,'15.42');
arrPrice[96] = new Array(377,40,'209.49');
arrPrice[97] = new Array(378,40,'239.59');
arrPrice[98] = new Array(379,40,'269.27');
arrPrice[99] = new Array(380,40,'299.49');
arrPrice[100] = new Array(381,40,'449.53');
arrPrice[101] = new Array(382,40,'0.00');
arrPrice[102] = new Array(383,40,'0.00');
arrPrice[103] = new Array(385,40,'0.00');
arrPrice[104] = new Array(386,40,'0.00');
arrPrice[105] = new Array(387,40,'0.00');
arrPrice[106] = new Array(391,40,'269.64');
arrPrice[107] = new Array(392,40,'314.48');
arrPrice[108] = new Array(393,40,'359.29');
arrPrice[109] = new Array(394,40,'404.08');
arrPrice[110] = new Array(400,40,'25.00');
arrPrice[111] = new Array(401,40,'49.00');
arrPrice[112] = new Array(490,40,'3.64');
arrPrice[113] = new Array(491,40,'4.85');
arrPrice[114] = new Array(492,40,'6.06');
arrPrice[115] = new Array(493,40,'9.70');
arrPrice[116] = new Array(494,40,'12.12');
arrPrice[117] = new Array(495,40,'18.17');
arrPrice[118] = new Array(496,40,'24.21');
arrPrice[119] = new Array(497,40,'36.27');
arrPrice[120] = new Array(498,40,'60.33');
arrPrice[121] = new Array(499,40,'96.24');
arrPrice[122] = new Array(500,40,'120.05');
arrPrice[123] = new Array(501,40,'237.67');
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;
}
}
}