/** 
 * Updaters
 *
 * @author		Remi De Oliveira
 * @author
 * @copyright	2007 intraWeb
 * @license		
 * @created		19th November 2007
 * @revised		19th November 2007
 */
function update_news_list(val){
	new Ajax.Updater('news','modules/templates/index.shownews.php?action=update&idr='+val+'',{contentType: 'text/html', encoding: 'ISO-8859-15',onLoaded: stop_slideshow, onComplete: init_slideshow});
}

function update_references_sectors(val){
	new Ajax.Updater('prestations_list','modules/templates/references.sectors.php?action=update&ids='+val+'',{contentType: 'text/html', encoding: 'ISO-8859-15', onLoading: show_loader, onComplete: hide_loader});	
}

function update_references_types(val){
	new Ajax.Updater('prestations_list','modules/templates/references.types.php?action=update&idt='+val+'',{contentType: 'text/html', encoding: 'ISO-8859-15', onLoading: show_loader, onComplete: hide_loader});	
}

function update_product_picture(pro_id,pic_id){
	new Ajax.Updater('first_picture','modules/templates/product.pictures.php?action=update&proid='+pro_id+'&picid='+pic_id+'',{contentType: 'text/html', encoding: 'ISO-8859-15', onComplete: initLightbox});
}
/*function update_references(val){
	new Ajax.Updater('reference_selected','modules/templates/references.selected.php?action=display&idr='+val+'',{contentType: 'text/html', encoding: 'ISO-8859-15', onComplete: initLightbox});
}*/
document.write('');
document.write('');
document.write('');
document.write('');
document.write('');
