<script type="text/javascript">
if (window.XMLHttpRequest)
xmlHttp=new XMLHttpRequest();
else if (window.ActiveXObject)
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
xmlHttp.open("GET", "/example/xdom/note.xml", false);
xmlDoc=xmlHttp.responseText;
xmlHttp.open("POST", "/example/xdom/demo_dom_http.asp", false);
document.write(xmlHttp.responseText);
alert("Your browser does not support XMLHTTP.");