var xmlHttp2

function showPrice2(str, str2, str3)
{ 
	xmlHttp2=GetXmlHttpObject();
	if (xmlHttp2==null)
  	{
  		alert ("Your browser does not support AJAX - Price details will not be visible");
  		return;
  	} 
	xmlHttp2.onreadystatechange=stateChanged2;
	xmlHttp2.open("GET","getprice.asp?price="+str+"&currency="+str2+"&exchange="+str3,true);
	xmlHttp2.send(null);
}

function stateChanged2()
{
	if (xmlHttp2.readyState==4)
	{
		document.getElementById("txtPrice2").innerHTML=xmlHttp2.responseText;
	}
}
function GetXmlHttpObject2()
{
var xmlHttp2=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp2=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp2=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp2=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp2;
}