	function ajax(targetId, getVals, targetFile, onreturn)
	{	
		 if ( onreturn === undefined )
		      onreturn = "none";

		//alert(targetId);
		var browserType;	
		var xmlHttp;	
		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;}	
			}	
		}					
		if(targetId != "none" && targetId != "")	
			document.getElementById(targetId).innerHTML = "<div style='position: absolute; width: 32px; height: 32px; padding: 20px;'><img style='padding: 5px; background-color: #ffffff; border: solid 1px #999999;' src='images/loading.gif' alt='loading' /></div>"+document.getElementById(targetId).innerHTML;						
		xmlHttp.onreadystatechange=function()	
		{	
			if(xmlHttp.readyState == 4)	
			{	
				if(onreturn != "none")
				{
					eval(onreturn);
				}
				
				if(targetId == "none")	
					return;													
				document.getElementById(targetId).innerHTML = xmlHttp.responseText;		
				return;	
			}	
		}							
		var params = getVals+"&ajaxFile="+targetFile;	
		xmlHttp.open("POST", "functions/support_functions/ajax/ajaxWork.php", true);	
		xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");	
		xmlHttp.setRequestHeader("Content-length", params.length);	
		xmlHttp.setRequestHeader("Connection", "close");	
		xmlHttp.send(params);	
	}