	function hideLoader() {
	
		var theLoaderDiv = document.getElementById("loader");
		if (theLoaderDiv != null)
		{
			theLoaderDiv.setAttribute("style","display: none;");
		}	
	} 	  

    function loadSection( src, tryPane) {
    pane = $(tryPane);
      new Ajax.Updater(
      pane, 
      src+'', 
      {asynchronous:1, 
      evalScripts:true,
      onLoading:function(request){
	  
		eDIV = document.createElement("div");
		eDIV.setAttribute("id","loader");
		eDIV.setAttribute("style","clear: both;");
		eImage = document.createElement("img");
		eImage.setAttribute("src","images/ajax-loader.gif");
		eDIV.appendChild(eImage);
		pane.appendChild(eDIV);
			
	  }, 
      onComplete: function(transport) {
        if (200 == transport.status) {
	  		setTimeout("hideLoader();", 500); 
            //replacement();
            //com_stewartspeak_replacement(); 
        }
        }
      })
      }