//this function is for the html links, it needs the return false at the end,  
function ajaxpage(url, containerid){
	
	var goAjax = new Ajax(url, {
		method: 'get',
		update: $(containerid),
		onComplete: loadAllLinks
		}).request();

	return false;
}
//this function is for the flash links, it doesnt need the return false at the end,  
function ajaxpageFlash(url, containerid){

	if(url.indexOf('.php?') != -1){
			url = url + "&ajax=1";
		} else {
			url = url + "?ajax=1";
		}

		//url = 'http://127.0.0.1/2012_GOSPEL_GATHERING/site/'+url;
	
	var goAjax = new Ajax(url, {
		method: 'get',
		update: $(containerid),
		onComplete: loadAllLinks
		}).request();
}