var arrGood,arrServer,arrPrice;
var unit='USD';
var paypal,egold,google,checked;
var ip='218.85.73.40';
kfmail='virdeal_AO@hotmail.com';
skmail='virdeal_service@hotmail.com';
livechat='';
announce='';
advertisement='';
paypal='1';
egold='1';
google='1';
checked=0;
arrGood = new Array(9);
arrGood[0] = new Array(246,'50 Million Credits');
arrGood[1] = new Array(247,'100 Million Credits');
arrGood[2] = new Array(248,'200 Million Credits');
arrGood[3] = new Array(249,'300 Million Credits');
arrGood[4] = new Array(250,'400 Million Credits');
arrGood[5] = new Array(260,'500 Million Credits');
arrGood[6] = new Array(270,'600 Million Credits');
arrGood[7] = new Array(280,'700 Million Credits');
arrGood[8] = new Array(290,'800 Million Credits');
arrServer = new Array(2);
arrServer[0] = new Array(1046,'Atlantean - RK1');
arrServer[1] = new Array(1047,'Rimor - RK2');
arrPrice= new Array(18);
arrPrice[0] = new Array(246,1046,'10.27');
arrPrice[1] = new Array(246,1047,'9.27');
arrPrice[2] = new Array(247,1046,'20.44');
arrPrice[3] = new Array(247,1047,'18.44');
arrPrice[4] = new Array(248,1046,'40.78');
arrPrice[5] = new Array(248,1047,'36.78');
arrPrice[6] = new Array(249,1046,'61.12');
arrPrice[7] = new Array(249,1047,'55.12');
arrPrice[8] = new Array(250,1046,'81.46');
arrPrice[9] = new Array(250,1047,'73.46');
arrPrice[10] = new Array(260,1046,'101.80');
arrPrice[11] = new Array(260,1047,'91.80');
arrPrice[12] = new Array(270,1046,'122.14');
arrPrice[13] = new Array(270,1047,'100.14');
arrPrice[14] = new Array(280,1046,'142.48');
arrPrice[15] = new Array(280,1047,'118.48');
arrPrice[16] = new Array(290,1046,'162.82');
arrPrice[17] = new Array(290,1047,'136.82');
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;
}
}
}