var xmlHttpmodelnamexmlHttp;
var xmlHttpmfcts;
var contractReq;
function ShowContractLength(ContractLength1,phoneModel)
{ 
	
	xmlHttpmodelnamexmlHttp0=GetXmlHttpObject()
	if (xmlHttpmodelnamexmlHttp0==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
	var url="showComboClearance.asp";
	url=url + "?cmd=ContractLength&phoneModel=" + phoneModel +"&ContractLength=" + ContractLength1;		
	xmlHttpmodelnamexmlHttp0.onreadystatechange=stateContractLength 
	xmlHttpmodelnamexmlHttp0.open("GET",url,true)	
	xmlHttpmodelnamexmlHttp0.send(null)
}

function stateContractLength() 
{ 
	if (xmlHttpmodelnamexmlHttp0.readyState==4 || xmlHttpmodelnamexmlHttp0.readyState=="complete")
	{ 
		document.getElementById("tdContractLength").innerHTML=xmlHttpmodelnamexmlHttp0.responseText 			
		
	} 
}
function ShowNetwork(Network,phoneModel)
{ 
	xmlHttpmodelnamexmlHttp1=GetXmlHttpObject()
	if (xmlHttpmodelnamexmlHttp1==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
	var url="showComboClearance.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="showComboClearance.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 			
		
	} 
}
function ShowSortMinutes(sortMinutes,phoneModel)
{ 
	
	xmlHttpmodelnamexmlHttp3=GetXmlHttpObject()
	if (xmlHttpmodelnamexmlHttp3==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
	
	var url="showComboClearance.asp";	
	url=url + "?cmd=Minutes&phoneModel=" + phoneModel+"&Minutes=" + sortMinutes;		
	xmlHttpmodelnamexmlHttp3.onreadystatechange=stateSortMinutes
	xmlHttpmodelnamexmlHttp3.open("GET",url,true)
	xmlHttpmodelnamexmlHttp3.send(null)
}

function stateSortMinutes() 
{ 
	if (xmlHttpmodelnamexmlHttp3.readyState==4 || xmlHttpmodelnamexmlHttp3.readyState=="complete")
	{ 
		document.getElementById("tdSortMinutes").innerHTML=xmlHttpmodelnamexmlHttp3.responseText 			
		
	} 
}
function ShowSortTexts(sortTexts,phoneModel)
{ 
	
	xmlHttpmodelnamexmlHttp4=GetXmlHttpObject()
	if (xmlHttpmodelnamexmlHttp4==null)
	{
		alert ("Browser does not support HTTP Request")
		return
	} 
	
	var url="showComboClearance.asp";	
	url=url + "?cmd=Texts&phoneModel=" + phoneModel+"&Texts=" + sortTexts;		
	xmlHttpmodelnamexmlHttp4.onreadystatechange=stateSortTexts
	xmlHttpmodelnamexmlHttp4.open("GET",url,true)
	xmlHttpmodelnamexmlHttp4.send(null)
}

function stateSortTexts() 
{ 
	if (xmlHttpmodelnamexmlHttp4.readyState==4 || xmlHttpmodelnamexmlHttp4.readyState=="complete")
	{ 
		document.getElementById("tdsortTexts").innerHTML=xmlHttpmodelnamexmlHttp4.responseText 			
		
	} 
}





