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='2moons items, 2moons dil, cheap price and instant delivery.';
livechat='';
paypal='';
egold='';
google='';
checked=0;
arrGood = new Array(11);
arrGood[0] = new Array(48,'20 Copper Argate');
arrGood[1] = new Array(49,'30 Copper Argate');
arrGood[2] = new Array(50,'50 Copper Argate');
arrGood[3] = new Array(51,'100 Copper Argate');
arrGood[4] = new Array(52,'200 Copper Argate');
arrGood[5] = new Array(53,'20 Silver Argate');
arrGood[6] = new Array(304,'30 Silver Argate');
arrGood[7] = new Array(305,'50 Silver Argate');
arrGood[8] = new Array(306,'100 Silver Argate');
arrGood[9] = new Array(308,'200 Silver Argate');
arrGood[10] = new Array(309,'26M');
arrServer = new Array(2);
arrServer[0] = new Array(57,'Abaddon');
arrServer[1] = new Array(58,'Trieste');
arrPrice= new Array(22);
arrPrice[0] = new Array(48,57,'8.13');
arrPrice[1] = new Array(48,58,'8.13');
arrPrice[2] = new Array(49,57,'12.19');
arrPrice[3] = new Array(49,58,'12.19');
arrPrice[4] = new Array(50,57,'20.32');
arrPrice[5] = new Array(50,58,'20.32');
arrPrice[6] = new Array(51,57,'40.62');
arrPrice[7] = new Array(51,58,'40.62');
arrPrice[8] = new Array(52,57,'81.22');
arrPrice[9] = new Array(52,58,'81.22');
arrPrice[10] = new Array(53,57,'46.38');
arrPrice[11] = new Array(53,58,'46.38');
arrPrice[12] = new Array(304,57,'69.50');
arrPrice[13] = new Array(304,58,'69.50');
arrPrice[14] = new Array(305,57,'115.72');
arrPrice[15] = new Array(305,58,'115.72');
arrPrice[16] = new Array(306,57,'230.98');
arrPrice[17] = new Array(306,58,'230.98');
arrPrice[18] = new Array(308,57,'441.49');
arrPrice[19] = new Array(308,58,'461.49');
arrPrice[20] = new Array(309,57,'23.99');
arrPrice[21] = new Array(309,58,'23.99');
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;
}
}
}