function myXMLHttpRequest() {
	var xmlhttplocal;
	try {
		xmlhttplocal= new ActiveXObject("Msxml2.XMLHTTP")
	}  catch (e) {
		try {
	    	xmlhttplocal= new ActiveXObject("Microsoft.XMLHTTP")
	  	} catch (E) {
	    	xmlhttplocal=false;
	  	}
	}	
	if (!xmlhttplocal && typeof XMLHttpRequest!='undefined') {
		try {
	  		var xmlhttplocal = new XMLHttpRequest();
	 	} catch (e) {
	  		var xmlhttplocal=false;
	  		alert('Error in creating request.');
	 	}
	}
	return(xmlhttplocal);
}

function redirectURL(url){
	document.location.href=url;
}

