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='Welcome to visit www.rappelz-rupees.com';
livechat='';
paypal='';
egold='';
google='';
checked=0;
arrGood = new Array(17);
arrGood[0] = new Array(48,'30S');
arrGood[1] = new Array(49,'50S');
arrGood[2] = new Array(50,'100S');
arrGood[3] = new Array(51,'200S');
arrGood[4] = new Array(52,'300S');
arrGood[5] = new Array(53,'500S');
arrGood[6] = new Array(304,'10E');
arrGood[11] = new Array(312,'20E');
arrGood[7] = new Array(305,'30E');
arrGood[8] = new Array(306,'50E');
arrGood[9] = new Array(310,'100E');
arrGood[10] = new Array(311,'150E');
arrGood[12] = new Array(317,'1C');
arrGood[13] = new Array(330,'2C');
arrGood[14] = new Array(331,'3C');
arrGood[15] = new Array(332,'5C');
arrGood[16] = new Array(333,'10C');
arrServer = new Array(7);
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');
arrPrice= new Array(119);
arrPrice[0] = new Array(48,57,'1000');
arrPrice[1] = new Array(48,58,'1000');
arrPrice[2] = new Array(48,59,'1000');
arrPrice[3] = new Array(48,205,'1000');
arrPrice[4] = new Array(48,103,'1000');
arrPrice[5] = new Array(48,104,'1000');
arrPrice[6] = new Array(48,105,'1000');
arrPrice[7] = new Array(49,57,'1000');
arrPrice[8] = new Array(49,58,'1000');
arrPrice[9] = new Array(49,59,'1000');
arrPrice[10] = new Array(49,205,'1000');
arrPrice[11] = new Array(49,103,'1000');
arrPrice[12] = new Array(49,104,'1000');
arrPrice[13] = new Array(49,105,'1000');
arrPrice[14] = new Array(50,57,'1000');
arrPrice[15] = new Array(50,58,'1000');
arrPrice[16] = new Array(50,59,'1000');
arrPrice[17] = new Array(50,205,'1000');
arrPrice[18] = new Array(50,103,'1000');
arrPrice[19] = new Array(50,104,'1000');
arrPrice[20] = new Array(50,105,'1000');
arrPrice[21] = new Array(51,57,'1000');
arrPrice[22] = new Array(51,58,'1000');
arrPrice[23] = new Array(51,59,'1000');
arrPrice[24] = new Array(51,205,'1000');
arrPrice[25] = new Array(51,103,'1000');
arrPrice[26] = new Array(51,104,'1000');
arrPrice[27] = new Array(51,105,'1000');
arrPrice[28] = new Array(52,57,'1000');
arrPrice[29] = new Array(52,58,'1000');
arrPrice[30] = new Array(52,59,'1000');
arrPrice[31] = new Array(52,205,'1000');
arrPrice[32] = new Array(52,103,'1000');
arrPrice[33] = new Array(52,104,'1000');
arrPrice[34] = new Array(52,105,'1000');
arrPrice[35] = new Array(53,57,'1000');
arrPrice[36] = new Array(53,58,'1000');
arrPrice[37] = new Array(53,59,'1000');
arrPrice[38] = new Array(53,205,'1000');
arrPrice[39] = new Array(53,103,'1000');
arrPrice[40] = new Array(53,104,'1000');
arrPrice[41] = new Array(53,105,'1000');
arrPrice[42] = new Array(304,57,'1000');
arrPrice[43] = new Array(304,58,'1000');
arrPrice[44] = new Array(304,59,'1000');
arrPrice[45] = new Array(304,205,'1000');
arrPrice[46] = new Array(304,103,'1000');
arrPrice[47] = new Array(304,104,'1000');
arrPrice[48] = new Array(304,105,'1000');
arrPrice[77] = new Array(312,57,'1000');
arrPrice[78] = new Array(312,58,'1000');
arrPrice[79] = new Array(312,59,'1000');
arrPrice[80] = new Array(312,205,'1000');
arrPrice[81] = new Array(312,103,'1000');
arrPrice[82] = new Array(312,104,'1000');
arrPrice[83] = new Array(312,105,'1000');
arrPrice[49] = new Array(305,57,'1000');
arrPrice[50] = new Array(305,58,'1000');
arrPrice[51] = new Array(305,59,'1000');
arrPrice[52] = new Array(305,205,'1000');
arrPrice[53] = new Array(305,103,'1000');
arrPrice[54] = new Array(305,104,'1000');
arrPrice[55] = new Array(305,105,'1000');
arrPrice[56] = new Array(306,57,'1000');
arrPrice[57] = new Array(306,58,'1000');
arrPrice[58] = new Array(306,59,'1000');
arrPrice[59] = new Array(306,205,'1000');
arrPrice[60] = new Array(306,103,'1000');
arrPrice[61] = new Array(306,104,'1000');
arrPrice[62] = new Array(306,105,'1000');
arrPrice[63] = new Array(310,57,'1000');
arrPrice[64] = new Array(310,58,'1000');
arrPrice[65] = new Array(310,59,'1000');
arrPrice[66] = new Array(310,205,'1000');
arrPrice[67] = new Array(310,103,'1000');
arrPrice[68] = new Array(310,104,'1000');
arrPrice[69] = new Array(310,105,'1000');
arrPrice[70] = new Array(311,57,'1000');
arrPrice[71] = new Array(311,58,'1000');
arrPrice[72] = new Array(311,59,'1000');
arrPrice[73] = new Array(311,205,'1000');
arrPrice[74] = new Array(311,103,'1000');
arrPrice[75] = new Array(311,104,'1000');
arrPrice[76] = new Array(311,105,'1000');
arrPrice[84] = new Array(317,57,'1000');
arrPrice[85] = new Array(317,58,'1000');
arrPrice[86] = new Array(317,59,'1000');
arrPrice[87] = new Array(317,205,'1000');
arrPrice[88] = new Array(317,103,'1000');
arrPrice[89] = new Array(317,104,'1000');
arrPrice[90] = new Array(317,105,'1000');
arrPrice[91] = new Array(330,57,'1000');
arrPrice[92] = new Array(330,58,'1000');
arrPrice[93] = new Array(330,59,'1000');
arrPrice[94] = new Array(330,205,'1000');
arrPrice[95] = new Array(330,103,'1000');
arrPrice[96] = new Array(330,104,'1000');
arrPrice[97] = new Array(330,105,'1000');
arrPrice[98] = new Array(331,57,'1000');
arrPrice[99] = new Array(331,58,'1000');
arrPrice[100] = new Array(331,59,'1000');
arrPrice[101] = new Array(331,205,'1000');
arrPrice[102] = new Array(331,103,'1000');
arrPrice[103] = new Array(331,104,'1000');
arrPrice[104] = new Array(331,105,'1000');
arrPrice[105] = new Array(332,57,'1000');
arrPrice[106] = new Array(332,58,'1000');
arrPrice[107] = new Array(332,59,'1000');
arrPrice[108] = new Array(332,205,'1000');
arrPrice[109] = new Array(332,103,'1000');
arrPrice[110] = new Array(332,104,'1000');
arrPrice[111] = new Array(332,105,'1000');
arrPrice[112] = new Array(333,57,'1000');
arrPrice[113] = new Array(333,58,'1000');
arrPrice[114] = new Array(333,59,'1000');
arrPrice[115] = new Array(333,205,'1000');
arrPrice[116] = new Array(333,103,'1000');
arrPrice[117] = new Array(333,104,'1000');
arrPrice[118] = new Array(333,105,'1000');
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;
}
}
}