function getAJAX(url,func,cookieName,expire,param) {
	try {
		if (func && cookieName) {
			var cvalue = get_cookie(cookieName);
			if (cvalue != null) {
				func(cvalue,param);
				return;
			}
		}
	}
	catch(e) {}
	var xmlHttp;
	try {  // Firefox, Opera 8.0+, Safari, IE 7+  
		xmlHttp=new XMLHttpRequest(); 
	}
	catch (e) {  // Internet Explorer  
		try {
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e) {   
			try {
				xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
			}
	    	catch (e)  {
	    	 	return false;
			}
		}
	}
	if (func) {
		xmlHttp.onreadystatechange = function() {			
			if (xmlHttp.readyState == 4) {
				try {
					if (cookieName) {
						set_cookie(cookieName,xmlHttp.responseText,expire);
					}
				}
				catch(e) {}
				func(xmlHttp.responseText,param);
			}
		}
	}
	if (url) {
		xmlHttp.goUrl = new function() {
			xmlHttp.open("GET",url);
		  	xmlHttp.send(null);  
		}
	}
	return xmlHttp;
}