var xmlHttpmodelnamexmlHttp;
var xmlHttpmfcts;
var contractReq;

function ShowNetwork(Network,phoneModel)
{ 
	xmlHttpmodelnamexmlHttp1=GetXmlHttpObject()
	if (xmlHttpmodelnamexmlHttp1==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
	var url="showComboPayg.asp";
	url=url + "?cmd=Network&phoneModel=" + phoneModel+"&Network=" + Network;		
	xmlHttpmodelnamexmlHttp1.onreadystatechange=stateNetwork
	xmlHttpmodelnamexmlHttp1.open("GET",url,true)
	xmlHttpmodelnamexmlHttp1.send(null)
}

function stateNetwork() 
{ 
	if (xmlHttpmodelnamexmlHttp1.readyState==4 || xmlHttpmodelnamexmlHttp1.readyState=="complete")
	{ 
		document.getElementById("tdNetwork").innerHTML=xmlHttpmodelnamexmlHttp1.responseText 			
		
	} 
}

function ShowAdvertisor(Advertisor,phoneModel)
{ 
	
	xmlHttpmodelnamexmlHttp2=GetXmlHttpObject()
	if (xmlHttpmodelnamexmlHttp2==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
	
	var url="showComboPayg.asp";	
	url=url + "?cmd=Advertisor&phoneModel=" + phoneModel+"&Advertisor=" + Advertisor;		
	xmlHttpmodelnamexmlHttp2.onreadystatechange=stateAdvertisor
	xmlHttpmodelnamexmlHttp2.open("GET",url,true)
	xmlHttpmodelnamexmlHttp2.send(null)
}

function stateAdvertisor() 
{ 
	if (xmlHttpmodelnamexmlHttp2.readyState==4 || xmlHttpmodelnamexmlHttp2.readyState=="complete")
	{ 
		document.getElementById("tdAdvertisor").innerHTML=xmlHttpmodelnamexmlHttp2.responseText 			
		
	} 
}







