﻿
 function getQuery(name)  
  { 
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
    var r = window.location.search.substr(1).match(reg);
    if (r != null) 
        return unescape(r[2]);
    return null; 
  } 
  
  $(document).ready(function(){
 GetProductInfo();
});


function GetProductInfo()
{
  var d = new Date();
  var code = d.toLocaleDateString();
  $.ajax({
   url:'/PLDispose.aspx',

   data:"gamecode=" +$('#hidGameCode').val(),
   type:'get',
   success:ProductList
  });
}

function ProductList(txt)
{
 $('#pt').html(txt);
//    $('#pt').append(txt);

}