var xmlHttp_ajax

// Funtion for view incentive and model in header
// Funtion for masking incentive
function fill123incentive(str,str2,str3)
{

xmlHttp_ajax=GetXmlHttpObject();
if (xmlHttp_ajax==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="includes/fillhandsetincentive.php";
url=url+"?incentive="+str;
url=url+"&mob_id="+str2;
url=url+"&network_ajax="+str3;

xmlHttp_ajax.onreadystatechange=stateChangedfillhandsetincentive;
xmlHttp_ajax.open("GET",url,true);
xmlHttp_ajax.send(null);
} 

function stateChangedfillhandsetincentive() 
{ 
if (xmlHttp_ajax.readyState==4)
{ 
document.getElementById("div_incentive").innerHTML=xmlHttp_ajax.responseText;
}
}//--------------------------------------------------------End---------------------------------------------------------------
function fill123incentive_clearance(str,str2,str3)
{

xmlHttp_ajax=GetXmlHttpObject();
if (xmlHttp_ajax==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="includes/fillhandsetincentive_clerance.php";
url=url+"?incentive="+str;
url=url+"&mob_id="+str2;
url=url+"&network_ajax="+str3;

xmlHttp_ajax.onreadystatechange=stateChangedfillhandsetincentive_clerance;
xmlHttp_ajax.open("GET",url,true);
xmlHttp_ajax.send(null);
} 

function stateChangedfillhandsetincentive_clerance() 
{ 
if (xmlHttp_ajax.readyState==4)
{ 
document.getElementById("div_incentive").innerHTML=xmlHttp_ajax.responseText;
}
}//--------------------------------------------------------End---------------------------------------------------------------

function fill123incentive_n_e(str,str2,str3)
{

xmlHttp_ajax=GetXmlHttpObject();
if (xmlHttp_ajax==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="includes/fillhandsetincentive_n_e.php";
url=url+"?incentive="+str;
url=url+"&mob_id="+str2;
url=url+"&network_ajax="+str3;

xmlHttp_ajax.onreadystatechange=stateChangedfillhandsetincentive_n_e;
xmlHttp_ajax.open("GET",url,true);
xmlHttp_ajax.send(null);
} 

function stateChangedfillhandsetincentive_n_e() 
{ 
if (xmlHttp_ajax.readyState==4)
{ 
document.getElementById("div_incentive").innerHTML=xmlHttp_ajax.responseText;
}
}//--------------------------------------------------------End---------------------------------------------------------------

function GetXmlHttpObject()
{
var xmlHttp_ajax=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp_ajax=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp_ajax=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp_ajax=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp_ajax;
}