function  replaceInnerHTML(phpURL, itemToReplace, dataToSend)
{
	var phpURL; // PHP Script to execute
	var dataToSend; // Any data needed by the php script, sent via $_GET
	var itemToReplace; // The item which will be replaced by the output of the php script.
	$.ajax({
		 url : phpURL,
		data : dataToSend,
		cache: false,
	 success : function (data) {
		 	/* 
				if the php script has succeeded 
				replace in the inner html of the div 
				with the data returned from the php script
			*/
			$(itemToReplace).html(data);
		}
	});
}

