xmlHttp=GetXmlHttpObject()
if (xmlHttp==null){
	document.write("Browser does not support HTTP Request");
//	return;
}
var url="temperature.php"
xmlHttp.open("GET",url,false)
xmlHttp.send(null)
response = xmlHttp.responseXML;
if (response==null) {
	document.write("NUll");
}
hellooo = response.getElementsByTagName("description")[1].childNodes[0].nodeValue
document.write("<b>Wellington, New Zealand</b><br>")
document.write(hellooo.substring(0,hellooo.length-100))
function GetXmlHttpObject()
{
	var xmlHttp=null;
  	try
    {
    	// Firefox, Opera 8.0+, Safari
    	xmlHttp=new XMLHttpRequest();
    }
  	catch (e)
    {
    // Internet Explorer
    try
      {
      	xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    	catch (e)
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
	}
	return xmlHttp;
}


