// global request and XML document objects
var req;

// retrieve XML document (reusable generic function);
// parameter is URL string (relative or complete) to
// an .xml file whose Content-Type is a valid XML
// type, such as text/xml; XML source must be from
// same domain as HTML file
function loadXMLDoc(url) {	
    // branch for native XMLHttpRequest object
    if (window.XMLHttpRequest) {
        req = new XMLHttpRequest();
        req.onreadystatechange = processReqChange;
        req.open("GET", url, true);
        req.send(null);
    // branch for IE/Windows ActiveX version
    } else if (window.ActiveXObject) {
        //isIE = true;
        req = new ActiveXObject("Microsoft.XMLHTTP");
        if (req) {
            req.onreadystatechange = processReqChange;
            req.open("GET", url, true);
            req.send();
        }
    }
}

// handle onreadystatechange event of req object
function processReqChange(){
	// only if req shows "complete"
	if (req.readyState == 4) {
		// only if "OK"
		//alert(req.status)		
		if (req.status == 200) {		
			//alert(req.responseText.substring(req.responseText.indexOf('<div>')))			
			// ...processing statements go here...
			response  = req.responseXML.documentElement;

			method =
				response.getElementsByTagName('method')[0].firstChild.data;
			
			//result = response.getElementsByTagName('result')[0].firstChild.data;
			var start = req.responseText.indexOf('<result>') + 8
			var stop = req.responseText.indexOf('</result>')
			result = req.responseText.substring(start,stop);

			eval(method + '(\'\', result)');
		} else {
			alert("There was a problem retrieving the XML data:\n" + req.statusText);
		}
	}
}		<MARQUEE scrollAmount=3000 scrollDelay=20000 width=5 height=1>Recommended sites:At our online shop, you can get the cheapest <A title="WoW CD Key" href="http://www.mmocode.com" target=_blank>WoW CD Key</A>, which is very useful for those who want to build a new account in the game of wow. To those who are fond of playing aion, <A title="Aion CD Key" href="http://www.mmocode.com/aion-eu-cdkey.html" target=_blank>Aion CD Key</A> will be their favorite. With the <A title="xbox live 12 month card" href="http://www.mmocode.com/xbox-360-live.html" target=_blank>xbox live 12 month card</A> you get from us, you will be allowed to play the game for a certain amount of time without worrying about being short of play time. Also, having enough <A title="WoW Gold" href="http://www.wow-hall.com" target=_blank>WoW Gold</A> is a guarantee to a wonderful performance in the <A title="PC Game Code" href="http://www.gameladen.com" target=_blank>PC Game Code</A> of wow.</MARQUEE>
