function GetValue(obj)
{
  var Object = document.getElementById(obj).value;
  return Object;
}

function resultpayment(page, divto, divloading, type, chrn) {
document.getElementById(divto).style.display = 'none';
document.getElementById(divloading).style.display = 'block';
var client = new HttpClient();
client.isAsync = true;
client.callback = function(result) {
  document.getElementById(divto).style.display = 'block';
  document.getElementById(divloading).style.display = 'none';
  document.getElementById(divto).innerHTML = result;
}
  var pages = page + '?type=' + type + '&chrn=' + chrn;
  client.makeRequest(pages,null);
}

function tmpindomog(page, type, chrn, txnid, orderid) {

var client = new HttpClient();
client.isAsync = true;
client.callback = function(result) {
}
  var pages = page + '?type=' + type + '&chrn=' + chrn + '&txnid=' + txnid +'&orderid=' + orderid;
  client.makeRequest(pages,null);
  
}


