function initialize(){
	loadSection('topStories');		
}

function loadSection(section) {
  var definedFigures = {
    Action: section
  }
  ajaxCaller.postForPlainText("ajax/ajaxLoader.php", definedFigures, eval("load"+section+"Return"), false, null);
}

function loadtopStoriesReturn(txt, headers, callingContext) {  	
	self.$("topStories").innerHTML = txt;	
	loadSection('topNews');
}

function loadtopNewsReturn(txt, headers, callingContext) {  	
	self.$("topNews").innerHTML = txt;	
	loadSection('latestUpdates');
}

function loadlatestUpdatesReturn(txt, headers, callingContext) {  	
	self.$("latestUpdates").innerHTML = txt;	
}

function loadfeaturesReturn(txt, headers, callingContext) {  	
	self.$("featuresHolder").innerHTML = txt;	
} 

function loadnewsImagesReturn(txt, headers, callingContext){
	self.$("topNews").innerHTML = txt;		
	initImageGallery('topNews');
}