﻿
function startGame(gameBindID,gameCode,gameName) 
{
    jscomOpenPopDialog(UrlBase+"GStart/StartTransfer.aspx?bindID=" + gameBindID + "&gameCode=" + gameCode, 550, 320, "启动-" + gameName);
}

function bindGame(gameCode,gameName) {
    jscomOpenPopDialog(UrlBase+"Game/GameBindPopWin.aspx?gameCode=" + gameCode, 550, 320, "绑定-" + gameName + "-游戏帐号");
}

function modifyGameBind(gameBindID,gameCode, gameName) {
    jscomOpenPopDialog(UrlBase + "Game/GameBindPopWin.aspx?bindID=" + gameBindID + "&gameCode=" + gameCode, 550, 320, "修改-" + gameName + "-帐号绑定");
}

function showAccountBindInfo(bindID) {
    //alert(UrlBase + "Bind/AccountBindInfo.aspx?bindID=" + bindID);
    jscomOpenPopDialog(UrlBase+"Bind/AccountBindInfo.aspx?bindID=" + bindID, 500, 500, "查看帐户绑定");
}

function showActivityInfo(activityID) {
    jscomOpenPopDialog(UrlBase+"Activity/ActivityInfo.aspx?ActivityID=" + activityID, 610, 455, "活动信息");   
}

 function showFetchAward(activityID) {
     jscomOpenPopDialog(UrlBase+"Activity/FetchAward.aspx?ActivityID=" + activityID, 610, 420, "领取信息");
}

 function showGetPresent(ProductID) {
     jscomOpenPopDialog(UrlBase + "Activity/ActivityPresentInfo.aspx?ProductID=" + ProductID + "&GetType=Lottery", 580, 350, "领取信息");
}

 function showComplainInfo() {
     jscomOpenPopDialog(UrlBase+"Complain/ComplainInfo.aspx", 600, 300, "查看投诉信息");
}

function showPresentRecordInfo(billNo) {
    jscomOpenPopDialog(UrlBase + "Present/PresentRecordInfo.aspx?billNo=" + billNo, 550, 350, "查看礼品卡号密码");
}    

function showPresentTrade(ProductID,personalWealthPoint) {
    jscomOpenPopDialog(UrlBase + "Present/PresentInfo.aspx?ProductID=" + ProductID + "&GetType=Exchange&personalWealthPoint=" + personalWealthPoint + "", 580, 450, "兑换信息");
}

//增加投票选项
function addVoteOption(voteID){
    jscomOpenPopDialog(UrlBase + "Vote/AddVoteOption.aspx?vid=" + voteID + "&actionType=1", 300, 150, "增加投票选项");
}

//修改投票截止时间
function editVoteEndTime(voteID)
{
    jscomOpenPopDialog(UrlBase + "Vote/AddVoteOption.aspx?vid=" + voteID + "&actionType=2", 350, 300, "修改截止时间");
}

//删除投票定义
function delVote(voteID)
{
    jscomOpenPopDialog(UrlBase + "Vote/AddVoteOption.aspx?vid=" + voteID + "&actionType=3", 300, 100, "删除投票");
}

//建议留言
function showAdvice()
{
    jscomOpenPopDialog(UrlBase + "AZone/Default/Advice.aspx", 610, 240, "建议留言");
}
