function refreshFooter() {
	show_footer();
}


function show_footer(){ 
	var newurl = rendererURL + "?sid=" + sid + "&pid=" + pid + "&action=show_footer";
	 
	//Create the xmlHttp object to use in the request 
	//stateChangeHandler will fire when the state has changed, i.e. data is received back 
	// This is non-blocking (asynchronous) 
	xmlHttp = GetXmlHttpObject(footerStateChangeHandler); 
	   
	alert (newurl);
	//Send the xmlHttp get to the specified url 
	xmlHttp_Get(xmlHttp, newurl); 
	
	
} 


//stateChangeHandler will fire when the state has changed, i.e. data is received back 
// This is non-blocking (asynchronous) 
function footerStateChangeHandler() 
{ 
	//readyState of 4 or 'complete' represents that data has been returned 
	if (xmlHttp.readyState == 4 || xmlHttp.readyState == 'complete'){ 
		//Gather the results from the callback 
		var str = xmlHttp.responseText; 

		//Populate the innerHTML of the div with the results 
		document.getElementById('divFooter').innerHTML = str;
	} 
} 
