function createXMLHttpRequest(){
	if (document.all){
		try {
			return new ActiveXObject("Microsoft.XMLHTTP");
		} 
		
		catch(e){}
		
		try {
			return new ActiveXObject("Msxml2.XMLHTTP");
		}
		
		catch(e){}
	}
	
	else {
		try {
			return new XMLHttpRequest();
		}
	
	catch(e){}
	}
	
	return null;
}

function IsIE(){
	return document.all ? true : false;
}

function E(id){
	return document.getElementById(id);
}


function ifConfirmGoToLoc(confirmText, confirmUrl){
	if (confirm(confirmText)){
		self.location = confirmUrl;
	}
	else {
		return;
	}
}
