var toutPath = "/global/touts/generatedtoutfiles/";

function loadTouts(){
		
	/*
	Loads tout content into the parent page's #promos div;
	Tout content to be loaded is determined by the sectionID, which must match one of the page names from \vw\global\touts\generatedtoutfiles\
	
	 Modified: 09.01.2009 - cmpwr
	- 'sectionID' no longer required as parameter in loadTouts function call, correct toutlist is obtained from href tag within 'promos' div on page
	- added onReady function to hide link to tout data file since it is not needed when js is enabled
	
	*/
	
	var promoId = '#promos';
	var loadDocId = $(promoId).find('a').attr('href');
	var loadeeId = loadDocId + ' #toutPromos';
	var callbackId = "touts";
		
	$(promoId).load(loadeeId, {}, function(){
		$(document).trigger('ajax:complete', [callbackId]);
	});
	
}


$(document).ready(function() {
	$('#hybridPromos').find('#promos').find('a').css('display','none'); // hiding link to tout data file since js is enabled
});