function getContent(urlLocation, name, timeoutMs, additionalMethodCallName) {
  $.ajax({
  url: urlLocation,
  type: 'GET',
  dataType: 'html',
  cache: false,
  timeout: timeoutMs,
  success: function(html){
        updatePage(html, name);
				if (additionalMethodCallName) {
					if(window[additionalMethodCallName]) {
	        	window[additionalMethodCallName].call();
	        }
				}

      }
    });
}

function updatePage(html, name) {
	var ajaxElement = $('#' + name).html(html);
  if (html=="") {
    ajaxElement.css("display","none");  
	} else {
	  ajaxElement.css("display","block");
  }
}    

function clear(name) {
  updatePage("", name);
}

<!-- PTV Cache: perwinche05/10.2.53.203 Thu, 13 Aug 2009 17:59:09 GMT / 86400 (0) -->