var arrGood,arrServer,arrPrice;
var unit='USD';
var paypal,egold,google,checked;
var ip='218.85.73.40';
kfmail='virdeal_2moons@hotmail.com';
skmail='virdeal_service@hotmail.com';
livechat='';
announce='';
advertisement='';
paypal='1';
egold='1';
google='1';
checked=0;
arrGood = new Array(10);
arrGood[0] = new Array(247,'10M 2Moons Dil');
arrGood[1] = new Array(248,'20M 2Moons Dil');
arrGood[2] = new Array(249,'30M 2Moons Dil');
arrGood[3] = new Array(250,'50M 2Moons Dil');
arrGood[4] = new Array(260,'60M 2Moons Dil');
arrGood[5] = new Array(280,'80M 2Moons Dil');
arrGood[6] = new Array(290,'100M 2Moons Dil');
arrGood[7] = new Array(291,'200M 2Moons Dil');
arrGood[8] = new Array(292,'300M 2Moons Dil');
arrGood[9] = new Array(293,'500M 2Moons Dil');
arrServer = new Array(3);
arrServer[0] = new Array(1046,'Abaddon');
arrServer[1] = new Array(1047,'Trieste');
arrServer[2] = new Array(1048,'Insania-EU');
arrPrice= new Array(25);
arrPrice[0] = new Array(247,1046,'2.99');
arrPrice[1] = new Array(247,1047,'2.99');
arrPrice[2] = new Array(247,1048,'29.99');
arrPrice[3] = new Array(248,1046,'5.98');
arrPrice[4] = new Array(248,1047,'5.98');
arrPrice[5] = new Array(248,1048,'58.99');
arrPrice[6] = new Array(249,1046,'8.97');
arrPrice[7] = new Array(249,1047,'8.97');
arrPrice[8] = new Array(249,1048,'85.99');
arrPrice[9] = new Array(250,1046,'14.95');
arrPrice[10] = new Array(250,1047,'14.95');
arrPrice[11] = new Array(250,1048,'143.99');
arrPrice[12] = new Array(260,1046,'17.94');
arrPrice[13] = new Array(260,1047,'17.94');
arrPrice[14] = new Array(260,1048,'169.99');
arrPrice[15] = new Array(280,1046,'22.92');
arrPrice[16] = new Array(280,1047,'23.80');
arrPrice[17] = new Array(290,1046,'27.90');
arrPrice[18] = new Array(290,1047,'28.90');
arrPrice[19] = new Array(291,1046,'54.80');
arrPrice[20] = new Array(291,1047,'56.80');
arrPrice[21] = new Array(292,1046,'79.70');
arrPrice[22] = new Array(292,1047,'84.70');
arrPrice[23] = new Array(293,1046,'133.50');
arrPrice[24] = new Array(293,1047,'139.50');
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;
}
}
};