var xmlHttp
function showPrice(str,show)
{
if (str.length==0 && show.length==0)
{ 
return
}
xmlHttp=GetXmlHttpObject7()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
} 
var url="php/showPrice.php"
pkid	=str
show	=show
shows	=show

url=url+"?pkid="+pkid+"&show="+show
if(pkid=='0' && document.getElementById("pack3").checked==false){
	document.getElementById("totalMemPrice").value="";
	document.getElementById("totalMemPriceShow").value="";
}
url=url+"&stid="+Math.random()
xmlHttp.onreadystatechange=stateChanged7 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
} 

function stateChanged7() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{	
	document.getElementById("showPrice").innerHTML=xmlHttp.responseText
	document.getElementById("totalMemPrice").value=document.getElementById("gamesAmount").value;
	document.getElementById("totalMemPriceShow").value=document.getElementById("gamesAmount").value;
	calcVal();
	if(shows==1)
	{
		showBusiness(shows,1);
	}
} 
} 

function GetXmlHttpObject7()
{ 
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
} 
