var arrGood,arrServer,arrPrice; var unit='USD'; var paypal,egold,google,checked; var ip='218.93.19.230'; kfmail='goldicq@gmail.com'; skmail='goldicq@gmail.com'; announce='Welcome to our website!'; livechat=''; paypal='1'; egold='1'; google=''; checked=2; arrGood = new Array(10); arrGood[0] = new Array(1,'50 Mil'); arrGood[1] = new Array(2,'100 Mil'); arrGood[2] = new Array(3,'200 Mil'); arrGood[3] = new Array(4,'300 Mil'); arrGood[4] = new Array(5,'500 Mil'); arrGood[5] = new Array(6,'800 Mil'); arrGood[6] = new Array(7,'1000 Mil'); arrGood[7] = new Array(8,'1500 Mil'); arrGood[8] = new Array(9,'2000 Mil'); arrGood[9] = new Array(10,'3000 Mil'); arrServer = new Array(1); arrServer[0] = new Array(131,'Zeus'); arrPrice= new Array(10); arrPrice[0] = new Array(1,131,'11.83'); arrPrice[1] = new Array(2,131,'23.59'); arrPrice[2] = new Array(3,131,'47.09'); arrPrice[3] = new Array(4,131,'70.59'); arrPrice[4] = new Array(5,131,'117.59'); arrPrice[5] = new Array(6,131,'188.09'); arrPrice[6] = new Array(7,131,'235.09'); arrPrice[7] = new Array(8,131,'352.59'); arrPrice[8] = new Array(9,131,'470.09'); arrPrice[9] = new Array(10,131,'704.89'); 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; } } }