	function loadContent(page, params, target){
		document.getElementById(target).innerHTML = '<div style="margin: 0px auto; display: block; text-align: center;"><img height="32" width="32" src="images/loader.gif" /></div>';
		try{
			// Firefox, Opera 8.0+, Safari
			xmlHttp=new XMLHttpRequest();
		}
		catch (e){
			// Internet Explorer
			try{
				xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
			}
			catch (e){
				try{
					xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
				}
				catch (e){
					alert("Your browser does not support AJAX!");
					return false;
				}
			}
		}
		
		xmlHttp.onreadystatechange = function(){
			try{
				if(xmlHttp.readyState == 4){
					if (xmlHttp.status == 200){
						document.getElementById(target).innerHTML = xmlHttp.responseText;
					}else{
						document.getElementById(target).innerHTML = "Page not found.";
					}
				}
			}catch(e){
				//alert("There seemed to be some problem");
			}
		}
		
		xmlHttp.open("POST",page,true);
		xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
		xmlHttp.setRequestHeader("Content-length", params.length);
		xmlHttp.setRequestHeader("Connection", "close");
		//xmlHttp.overrideMimeType('text/html');
		xmlHttp.send(params);
	}