// JavaScript Document



function AfficherNouvellle(idDivNouvelle,indexNouvelle,idHidden)
{
	
	var divNouvelle = document.getElementById(idDivNouvelle);
	divNouvelle.ContentEditable = !divNouvelle.isContentEditable;
	var nouvelleActive = document.getElementById(idHidden);
	
	if (indexNouvelle == 1)
	{
		divNouvelle.innerHTML = "<img src=\"/images/ph/imgNouvelle_Ribambelle.jpg\" alt=\"\" />" ;
		divNouvelle.innerHTML += "<p>On June 23, Portage's Mother and Child Program has hosted an event to celebrate the expansion of La Ribambelle daycare. After three months of construction, a larger, remodeled day care opened above the program centre. The locale is divided into three sections, based on the ages of the children, with easy access in between. The facility has expanded to be able to accommodate more than 30 children.</p>";
		divNouvelle.innerHTML += "<a href=\"PDF/2009_Ribambelle_New_beginnings_for_Portage_s_youngest.pdf\" target=\"_blank\" title=\"To find out more.\">Press release</a><br /><br />";
		nouvelleActive.value = '1';
	}
	
	if (indexNouvelle == 2)
	{
		divNouvelle.innerHTML = "<img src=\"/images/ph/imgNouvelle_MRC.jpg\" alt=\"\" />" ;
		divNouvelle.innerHTML += "<p>On June 9, 2009, 22 children and family organizations in des Sources MRC announced the creation of the Partenaires pour la Petite Enfance de la MRC des Sources group, an unprecedented joint action structure for children's development. As part of the 2009 action plan, Qu&eacute;bec Enfants-an initiative of the Foundation-is supporting this initiative aimed at fostering an optimal family and social environment for children's overall development from conception to age 5. </p>";
		divNouvelle.innerHTML += "<a href=\"PDF/2009_Concertation_petite_enfance_MRC_des_Sources.pdf\" target=\"_blank\" title=\"To find out more.\">Press release</a><br /><br /><br/>";		
		nouvelleActive.value = '2';
	}
	
	if (indexNouvelle == 3)
	{	

		divNouvelle.innerHTML = "<img src=\"/images/ph/imgNouvelle_allaitement.jpg\" alt=\"\" />" ;
		divNouvelle.innerHTML += "<p>The Centre de sant&eacute; et de services sociaux (CSSS) du Sud de Lanaudi&egrave;re has been working for several years to foster an environment conducive to breastfeeding and to standardize approaches, information and support for families that opt to breastfeed their infants. Over the next three years, the Lucie and Andr&eacute; Chagnon Foundation will contribute a total of $350,000 to enable the CSSS to update its breastfeeding policy and meet the goals of the World Health Organization's Baby-friendly Hospital Initiative program.</p>";
		divNouvelle.innerHTML += "<a href=\"PDF/2009_Important_soutien_pour_l_allaitement_maternel.pdf\" target=\"_blank\" title=\"To find out more.\">Press release</a><br/>";		
		nouvelleActive.value = '3';
	}
	
	if (indexNouvelle == 4)
	{
		divNouvelle.innerHTML = "<img src=\"/images/ph/imgNouvelle_persevanceScolaire.jpg\" alt=\"\" />" ;
		divNouvelle.innerHTML += "<p>On March 27, Jean Charest, Premier of Quebec and Minister responsible for youth issues, officially launched the government's Strat&eacute;gie d'action jeunesse 2009-2014. Mr. Charest presented the major orientations of the strategy, stressing the importance of some of the challenges it addresses, particularly the issue of student retention. As part of the Strat&eacute;gie d'action jeunesse, the Quebec government, represented by the Secr&eacute;tariat &agrave; la jeunesse, and the Lucie and Andr&eacute; Chagnon Foundation recently concluded an innovative long-term agreement to support the efforts of stakeholders in children's educational success-not only schools and parents, but municipalities, the business community, the health sector and community organizations as well. Since the administrative structure of this initiative has not yet been finalized, applications for financing cannot be processed at present. We will publish all new information on this initiative as soon as it becomes available. </p>";
//		divNouvelle.innerHTML += "<a href=\"PDF/Doc_de_presentation_Entente_sur_la_perseverance_scolaire_Version_final.pdf\" target=\"_blank\" title=\"To find out more.\">To find out more</a><br />";		
        divNouvelle.innerHTML += "<a href=\"PDF/2009_L_Avenir_appartient_a_la_jeunesse_quebecoise.pdf\" target=\"_blank\" title=\"Press release\">Press release</a><br /><br/>";
		nouvelleActive.value = '4';
	}
	
	
	IdentifierNouvelleActive(idHidden);
}

function IdentifierNouvelleActive(idHidden)
{
	var nouvelleActive = document.getElementById(idHidden);
	var liNouvelle1 = document.getElementById('nouvelle1');
	var liNouvelle2 = document.getElementById('nouvelle2');
	var liNouvelle3 = document.getElementById('nouvelle3');
	var liNouvelle4 = document.getElementById('nouvelle4');
	
	if (nouvelleActive.value == "")
	{	
		liNouvelle1.className = "nouvellesActif";
		liNouvelle2.className = "";
		liNouvelle3.className = "";
		liNouvelle4.className = "";
	}
	
	if (nouvelleActive.value == "1")
	{	
		liNouvelle1.className = "nouvellesActif";
		liNouvelle2.className = "";
		liNouvelle3.className = "";
		liNouvelle4.className = "";

	}
	
	if (nouvelleActive.value == "2")
	{	
		liNouvelle1.className = "";
		liNouvelle2.className = "nouvellesActif";
		liNouvelle3.className = "";
		liNouvelle4.className = "";

	}
	
	if (nouvelleActive.value == "3")
	{	
		liNouvelle1.className = "";
		liNouvelle2.className = "";
		liNouvelle3.className = "nouvellesActif";
		liNouvelle4.className = "";

	}
	
	if (nouvelleActive.value == "4")
	{	
		liNouvelle1.className = "";
		liNouvelle2.className = "";
		liNouvelle3.className = "";
		liNouvelle4.className = "nouvellesActif";
	}
	

}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

