var arrGood,arrServer,arrPrice; var unit='USD'; var paypal,egold,google,checked; var ip='218.85.73.40'; kfmail='virdeal_hellgate@hotmail.com'; skmail='virdeal_service@hotmail.com'; livechat=''; announce=''; advertisement=''; paypal='1'; egold='1'; google='1'; checked=0; arrGood = new Array(7); arrGood[0] = new Array(247,'100K Palladium'); arrGood[1] = new Array(248,'200K Palladium'); arrGood[2] = new Array(249,'300K Palladium'); arrGood[3] = new Array(250,'500K Palladium'); arrGood[4] = new Array(260,'800K Palladium'); arrGood[5] = new Array(270,'1000K Palladium'); arrGood[6] = new Array(280,'1500K Palladium'); arrServer = new Array(3); arrServer[0] = new Array(1046,'Factions Campaign'); arrServer[1] = new Array(1047,'Nightfall Campaign'); arrServer[2] = new Array(1048,'Prophecies Campaign'); arrPrice= new Array(21); arrPrice[0] = new Array(247,1046,'15.89'); arrPrice[1] = new Array(247,1047,'15.89'); arrPrice[2] = new Array(247,1048,'15.89'); arrPrice[3] = new Array(248,1046,'28.89'); arrPrice[4] = new Array(248,1047,'28.89'); arrPrice[5] = new Array(248,1048,'28.89'); arrPrice[6] = new Array(249,1046,'41.99'); arrPrice[7] = new Array(249,1047,'41.99'); arrPrice[8] = new Array(249,1048,'41.99'); arrPrice[9] = new Array(250,1046,'67.89'); arrPrice[10] = new Array(250,1047,'67.89'); arrPrice[11] = new Array(250,1048,'67.89'); arrPrice[12] = new Array(260,1046,'108.89'); arrPrice[13] = new Array(260,1047,'108.89'); arrPrice[14] = new Array(260,1048,'108.89'); arrPrice[15] = new Array(270,1046,'127.89'); arrPrice[16] = new Array(270,1047,'127.89'); arrPrice[17] = new Array(270,1048,'127.89'); arrPrice[18] = new Array(280,1046,'191.99'); arrPrice[19] = new Array(280,1047,'191.99'); arrPrice[20] = new Array(280,1048,'191.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 && 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; } } }