/**
 * @author rgaumond
 */
// JavaScript Document
function accueil()
{
	import_fr_left_pane();
	import_fr_accueil();
	english_button_container.style.display="none";
	french_button_container.style.display="block";
}

function accueil_eng()
{
	english_button_container.style.display="block";
	french_button_container.style.display="none";
	import_en_left_pane();
	import_en_accueil();
	
}

function import_fr_left_pane(){
		new Ajax.Updater('left_pane', 'left_pane_french.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				
			}
		});	
}

function import_en_left_pane(){
		new Ajax.Updater('left_pane', 'left_pane_english.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
			}
		});	
}

function import_fr_accueil(){
		new Ajax.Updater('right_pane', 'accueil_fr.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				
			}
		});	
}

function import_en_accueil(){
		new Ajax.Updater('right_pane', 'accueil_eng.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				
			}
		});	
}

function martineau(){
		//processing();

		new Ajax.Updater('right_pane', 'martineau.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}
function map(){
		//processing();

		new Ajax.Updater('right_pane', 'map.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}
function map_eng(){
		//processing();

		new Ajax.Updater('right_pane', 'map_eng.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}

function collaborateur(){
		//processing();

		new Ajax.Updater('right_pane', 'collaborateurs.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}
function collaborateur_eng(){
		//processing();

		new Ajax.Updater('right_pane', 'collaborateurs_eng.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}
function contact(){
		//processing();

		new Ajax.Updater('right_pane', 'contact.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}
function contactUs(){
		//processing();

		new Ajax.Updater('right_pane', 'contactUs.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}
function parcour(){
		//processing();

		new Ajax.Updater('right_pane', 'parcour.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}
function parcour_eng(){
		//processing();

		new Ajax.Updater('right_pane', 'parcour_eng.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}

function region(){
		//processing();

		new Ajax.Updater('right_pane', 'region.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}
function region_eng(){
		//processing();

		new Ajax.Updater('right_pane', 'region_eng.html', {
			method:'get',evalScripts: true,
			onComplete: function(){
				page_assembly();
			}
		});	
}

function parcours()
{
		//processing();	
		
		current_window="parcours";
		frame_assembly("parcours_upload.aspx");//in document_structure_utilities
}

function load_index_activities_list()
{
		new Ajax.Updater('lists_upper_container', 'prochainement.aspx', {evalScripts:true
		});
}


