if (parent.frames.length >= 1) { window.top.location.href = document.URL; }

var currentCulture = readCookie("Culture");
if (currentCulture == null) { currentCulture = "fr%2DCA"; }
var sendingPageRating = false;

function sendPageRating(numberOfStars, pageID) {
	if (sendingPageRating == false) {
		if (numberOfStars == 1) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
		else if (numberOfStars == 2) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
		else if (numberOfStars == 3) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
		else if (numberOfStars == 4) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
		else if (numberOfStars == 5) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_hover_16x16.gif"; }
		sendingPageRating = true;
		MM_ajaxLoader("/etc/pagerating.asp?r=" + numberOfStars + "&p=" + pageID, "divPageRating");
		setTimeout("pageRated(" + numberOfStars + ");", 1000);
	}
}

function pageRated(numberOfStars) {
	if (numberOfStars == 1) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
	else if (numberOfStars == 2) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
	else if (numberOfStars == 3) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
	else if (numberOfStars == 4) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
	else if (numberOfStars == 5) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_disabled_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_disabled_16x16.gif"; }
}

function pageRating(numberOfStars) {
	if (sendingPageRating == false) {
		if (numberOfStars == 1) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
		else if (numberOfStars == 2) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
		else if (numberOfStars == 3) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
		else if (numberOfStars == 4) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif"; }
		else if (numberOfStars == 5) { document.getElementById("imgPageRatingStar1").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar2").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar3").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar4").src = "/img/icon_star_hover_16x16.gif"; document.getElementById("imgPageRatingStar5").src = "/img/icon_star_hover_16x16.gif"; }
	}
}

function resetPageRating() {
	if (sendingPageRating == false) {
		document.getElementById("imgPageRatingStar1").src = "/img/icon_star_16x16.gif";
		document.getElementById("imgPageRatingStar2").src = "/img/icon_star_16x16.gif";
		document.getElementById("imgPageRatingStar3").src = "/img/icon_star_16x16.gif";
		document.getElementById("imgPageRatingStar4").src = "/img/icon_star_16x16.gif";
		document.getElementById("imgPageRatingStar5").src = "/img/icon_star_16x16.gif";
	}
}

function MM_instantSearch(searchQuery) {
/*	if (searchQuery.length >= 3) {
		document.getElementById("instantsearch").style.display = "none";
		MM_ajaxLoader("/etc/ajax_instantsearch.asp?q=" + escape(searchQuery), "divInstantSearchSuggestions");
		document.getElementById("instantsearch").style.display = "block";
	}
	else {
		document.getElementById("instantsearch").style.display = "none";
	}*/
}

function MM_cancelInstantSearch() {
	//document.getElementById("instantsearch").style.display = "none";
}

function MM_hideAllMenus() {
	document.getElementById("mainmenu_relatedsites").style.display = "none";
	document.getElementById("mainmenu_la_ville").style.display = "none";
	document.getElementById("mainmenu_guichet_municipal").style.display = "none";
	document.getElementById("mainmenu_quoi_faire").style.display = "none";
	document.getElementById("mainmenu_histoire_cartes_statistiques").style.display = "none";
	document.getElementById("mainmenu_environnement").style.display = "none";
	document.getElementById("mainmenu_transport_voirie").style.display = "none";
	document.getElementById("mainmenu_securite_publique").style.display = "none";
}

function MM_showHideRelatedSitesMenu(linkElementId, menuElementId, visibility) {
	MM_hideAllMenus();
	if (document.getElementById(menuElementId)) {
		if (visibility == "show") {
			if (document.getElementById(menuElementId).innerHTML.length > 0) {
				document.getElementById(menuElementId).style.top = "19px";
				document.getElementById(menuElementId).style.left = MM_getElementX(linkElementId) + "px";
				document.getElementById(menuElementId).style.display = "block";
				if (MM_getElementWidth(menuElementId) + MM_getElementX(menuElementId) > MM_getElementWidth("mainmenu")) {
					document.getElementById(menuElementId).style.left = MM_getElementWidth(linkElementId) + (MM_getElementX(menuElementId) - MM_getElementWidth(menuElementId)) + "px";
				}
			}
		}
		if (visibility == "hide") {
			document.getElementById(menuElementId).style.display = "none";
		}
	}
}

function MM_showHideMenu(linkElementId, menuElementId, visibility) {
	MM_hideAllMenus();
	if (document.getElementById(menuElementId)) {
		if (visibility == "show") {
			if (document.getElementById(menuElementId).innerHTML.length > 0) {
				document.getElementById(menuElementId).style.top = "151px";
				document.getElementById(menuElementId).style.left = MM_getElementX(linkElementId) + "px";
				document.getElementById(menuElementId).style.display = "block";
				if (MM_getElementWidth(menuElementId) + MM_getElementX(menuElementId) > MM_getElementWidth("mainmenu")) {
					document.getElementById(menuElementId).style.left = 940 - MM_getElementWidth(menuElementId) + "px";
				}
			}
		}
		if (visibility == "hide") {
			document.getElementById(menuElementId).style.display = "none";
		}
	}
}

function fontSizeSmaller() {
	if (document.getElementById("pagecontent").style.fontSize == "15px") {
		document.getElementById("pagecontent").style.fontSize = "14px";
	}
	else if (document.getElementById("pagecontent").style.fontSize == "14px") {
		document.getElementById("pagecontent").style.fontSize = "13px";
	}
	else if (document.getElementById("pagecontent").style.fontSize == "13px") {
		document.getElementById("pagecontent").style.fontSize = "12px";
	}
	else if (document.getElementById("pagecontent").style.fontSize == "") {
		document.getElementById("pagecontent").style.fontSize = "12px";
	}
	createCookie("fontSize", document.getElementById("pagecontent").style.fontSize, 365);
}

function fontSizeLarger() {
	if (document.getElementById("pagecontent").style.fontSize == "12px") {
		document.getElementById("pagecontent").style.fontSize = "13px";
	}
	else if (document.getElementById("pagecontent").style.fontSize == "13px") {
		document.getElementById("pagecontent").style.fontSize = "14px";
	}
	else if (document.getElementById("pagecontent").style.fontSize == "14px") {
		document.getElementById("pagecontent").style.fontSize = "15px";
	}
	else if (document.getElementById("pagecontent").style.fontSize == "") {
		document.getElementById("pagecontent").style.fontSize = "13px";
	}
	createCookie("fontSize", document.getElementById("pagecontent").style.fontSize, 365);
}

function initializePage() {
	// CHARGER LA FEUILLE DE STYLE PERSONNALISÉE SI LA SECTION EST TOURISME
	var qs = new queryString();
	if (document.URL.indexOf("p=quoi_faire/tourisme") > 0 || qs.get("css") == "tourists") {
		if (currentCulture == "fr%2DCA") { setActiveStyleSheet("Touristes"); }
		else if (currentCulture == "en%2DCA") { setActiveStyleSheet("Tourists"); }
		else { setActiveStyleSheet("Touristes"); }
	}
	
	// CHARGER LA PHOTO PERSONNALISÉE DE L'ENTÊTE DE LA SECTION
	var customPageHeaderPicture = "/img/pageheader_default.jpg";
	if (document.URL.indexOf("p=accueil/previsions_meteorologiques") > 0) { customPageHeaderPicture = "/img/pageheader_accueil_previsions_meteorologiques.jpg"; }

	else if (document.URL.indexOf("p=la_ville/administration_municipale/budget") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_administration_municipale_budget.jpg"; }
	else if (document.URL.indexOf("p=la_ville/comites_commissions/comite_toponymie") > 0) { customPageHeaderPicture = "/img/pageheader_histoire_cartes_statistiques_toponymie.jpg"; }
	else if (document.URL.indexOf("p=la_ville/concours/2007_fleurir_gatineau") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_concours_fleurir_gatineau.jpg"; }
	else if (document.URL.indexOf("p=la_ville/concours/2008_fleurir_gatineau") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_concours_fleurir_gatineau.jpg"; }
	else if (document.URL.indexOf("p=la_ville/concours/2009_fleurir_gatineau") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_concours_fleurir_gatineau.jpg"; }
	else if (document.URL.indexOf("p=la_ville/concours/2008_regart_egout") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_concours_regart_egout.jpg"; }
	else if (document.URL.indexOf("p=la_ville/concours/2008_caserne_pompiers_greber") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_collection_beaux_arts_arts_decoratifs_art_urbain_oeuvre_plan_travail.jpg"; }
	else if (document.URL.indexOf("p=la_ville/concours/2009_centre_sportif_gatineau") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_concours_2009_centre_sportif_gatineau.jpg"; }
	else if (document.URL.indexOf("p=la_ville/conseil_municipal") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_conseil_municipal.jpg"; }
		else if (document.URL.indexOf("p=la_ville/election_municipale_2009") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_election_municipale_2009." + currentCulture + ".jpg"; }
	else if (document.URL.indexOf("p=la_ville/mairie_vie_democratique") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_mairie_vie_democratique.jpg"; }
	else if (document.URL.indexOf("p=la_ville/ombudsman") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_ombudsman.jpg"; }
	else if (document.URL.indexOf("p=la_ville/participation_citoyenne") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_participation_citoyenne.jpg"; }
	else if (document.URL.indexOf("p=la_ville/salle_medias") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_salle_medias.jpg"; }
	else if (document.URL.indexOf("p=la_ville/video_sur_demande") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_video_sur_demande.jpg"; }
	//else if (document.URL.indexOf("p=la_ville/webdiffusion") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_webdiffusion.jpg"; }
	else if (document.URL.indexOf("p=la_ville") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/animaux") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_animaux.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/carrieres/emplois_occasionnels/aquatique") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_carrieres_emplois_occasionnels_aquatique.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/carrieres/emplois_occasionnels/camps_jour") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_carrieres_emplois_occasionnels_camps_jour.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/carrieres/emplois_occasionnels") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_carrieres_emplois_occasionnels.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/carrieres") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_carrieres.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/fils_rss") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_fils_rss.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/immigration_diversite_culturelle") > 0) { customPageHeaderPicture = "/img/pageheader_histoire_cartes_statistiques_immigration_diversite_culturelle.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/nouveaux_residants") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_nouveaux_residants.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/permis_licences/licence_animal") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_permis_licences_licence_animal.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/permis_licences/permis_stationnement") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_stationnement.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/services_en_ligne/bibliotheque") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_bibliotheque.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/services_en_ligne/collecte_ordures_recyclage") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/services_en_ligne/inscription_activites_culture_loisir_sport") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_programme_culture_loisirs.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/services_mobiles") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_services_mobiles.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/urbanisme_habitation/programmes_aide_financiere/mise_valeur_patrimoine_bati") > 0) { customPageHeaderPicture = "/img/pageheader_histoire_cartes_statistiques.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/urbanisme_habitation/consultations_publiques_conferences/conference_matiere_habitation") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_urbanisme_habitation_consultations_publiques_conferences_conference_matiere_habitation." + currentCulture + ".jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal/urbanisme_habitation") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal_urbanisme_habitation.jpg"; }
	else if (document.URL.indexOf("p=guichet_municipal") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_mois_patrimoine") > 0) { customPageHeaderPicture = "/img/pageheader_histoire_cartes_statistiques.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_rapprochement_interculturel") > 0) { customPageHeaderPicture = "/img/pageheader_histoire_cartes_statistiques_immigration_diversite_culturelle.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/badminton") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_badminton.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/baignade/jeux_eau") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_baignade_jeux_eau.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/baignade/piscines_exterieures") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_baignade_piscines_exterieures.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/baignade/pataugeoires") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_baignade_pataugeoires.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/baignade/plages") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_baignade_plages.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/baignade") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_baignade.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/baseball") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_baseball.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/basketball") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_basketball.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/glisse") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_glisse.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/hockey") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_hockey.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/patinage_glace/patinage_glace_exterieur") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_patinage_glace_patinage_glace_exterieur.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/patinage_glace/patinage_glace_interieur") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_patinage_glace_patinage_glace_interieur.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/patinage_glace") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_patinage_glace_patinage_glace_interieur.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/planche_roulettes") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_planche_roulettes.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/ski_fond") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_ski_fond.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/soccer") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_soccer.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/tennis") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_tennis.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives/volleyball") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives_volleyball.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/activites_recreatives_sportives") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_activites_recreatives_sportives.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/collection_beaux_arts_arts_decoratifs/hall_nations") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_collection_beaux_arts_arts_decoratifs_hall_nations.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/collection_beaux_arts_arts_decoratifs/collection_permanente/jean_dallaire") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_collection_beaux_arts_arts_decoratifs_collection_permanente_jean_dallaire.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/collection_beaux_arts_arts_decoratifs/art_urbain/oeuvre_lucien-houle") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_collection_beaux_arts_arts_decoratifs_art_urbain_oeuvre_lucien-houle.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/collection_beaux_arts_arts_decoratifs/art_urbain/oeuvre_arrete") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_collection_beaux_arts_arts_decoratifs_art_urbain_oeuvre_arrete.jpg"; }
		else if (document.URL.indexOf("p=quoi_faire/collection_beaux_arts_arts_decoratifs/art_urbain/oeuvre_etincelle_de_vie") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_collection_beaux_arts_arts_decoratifs_art_urbain_oeuvre_etincelle_de_vie.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/collection_beaux_arts_arts_decoratifs/art_urbain/oeuvre_reflexion") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_collection_beaux_arts_arts_decoratifs_art_urbain_oeuvre_reflexion.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/collection_beaux_arts_arts_decoratifs/art_urbain/oeuvre_plan_travail") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_collection_beaux_arts_arts_decoratifs_art_urbain_oeuvre_plan_travail.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/collection_beaux_arts_arts_decoratifs/art_urbain/regart_egout") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_concours_regart_egout.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/collection_beaux_arts_arts_decoratifs/art_urbain") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_collection_beaux_arts_arts_decoratifs_art_urbain.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/bibliotheque") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_bibliotheque.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/calendrier_culturel") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_calendrier_culturel.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/centre_sportif") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_centre_sportif.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/ete_show_gatineau") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_ete_show_gatineau.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/fetes_festivals/bal_neige") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_fetes_festivals_bal_neige." + currentCulture + ".jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/fetes_festivals") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_fetes_festivals.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/mois_patrimoine") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_mois_patrimoine.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/murs_graffitis_autorises") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_murs_graffitis_autorises.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/nature_plein_air/parcs_espaces_verts") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_nature_plein_air_parcs_espaces_verts.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/nature_plein_air/parcs_accessibles_chiens") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_nature_plein_air_parcs_accessibles_chiens.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/nature_plein_air/pistes_cyclables") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_nature_plein_air_pistes_cyclables.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/nature_plein_air/ports_plaisance") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_nature_plein_air_ports_plaisance.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/nature_plein_air/sentiers_recreatifs") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_nature_plein_air_sentiers_recreatifs.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/nature_plein_air") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_nature_plein_air.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/plaisirs_hiver_parc_lac_beauchamp") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_plaisirs_hiver_parc_lac_beauchamp.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/programme_culture_loisirs/camps_jour") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_programme_culture_loisirs_camps_jour.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/programme_culture_loisirs") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_programme_culture_loisirs.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/galeries_art_expositions") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_galeries_art_expositions.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/semaine_gatineau") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_semaine_gatineau." + currentCulture + ".jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/spectacles_theatre") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_calendrier_culturel.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/tourisme/planifiez_votre_sejour/acces_ville") > 0) { customPageHeaderPicture = "/img/pageheader_default.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/tourisme/planifiez_votre_sejour/aeroport") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_aeroport.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/tourisme/planifiez_votre_sejour/autobus_taxi") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_autobus_taxi.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/tourisme/planifiez_votre_sejour/stationnement_touristes") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_stationnement.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/tourisme/planifiez_votre_sejour/train") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_train.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/tourisme/planifiez_votre_sejour/travaux_routiers") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_travaux_routiers.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/tourisme/planifiez_votre_sejour/traversier_gatineau_ottawa") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_tourisme_planifiez_votre_sejour_traversier_gatineau_ottawa.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/tourisme/sports_plein_air") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_nature_plein_air.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire/tourisme") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire_tourisme.jpg"; }
	else if (document.URL.indexOf("p=quoi_faire") > 0) { customPageHeaderPicture = "/img/pageheader_quoi_faire.jpg"; }
	else if (document.URL.indexOf("p=histoire_cartes_statistiques/immigration_diversite_culturelle") > 0) { customPageHeaderPicture = "/img/pageheader_histoire_cartes_statistiques_immigration_diversite_culturelle.jpg"; }
	else if (document.URL.indexOf("p=histoire_cartes_statistiques/monuments") > 0) { customPageHeaderPicture = "/img/pageheader_histoire_cartes_statistiques_monuments.jpg"; }
	else if (document.URL.indexOf("p=histoire_cartes_statistiques/toponymie") > 0) { customPageHeaderPicture = "/img/pageheader_histoire_cartes_statistiques_toponymie.jpg"; }
	else if (document.URL.indexOf("p=histoire_cartes_statistiques") > 0) { customPageHeaderPicture = "/img/pageheader_histoire_cartes_statistiques.jpg"; }
	else if (document.URL.indexOf("p=environnement/agrile_frene") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_agrile_frene.jpg"; }
	else if (document.URL.indexOf("p=environnement/bottin_vert") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_bottin_vert.jpg"; }
	else if (document.URL.indexOf("p=environnement/eau_potable/reglement_utilisation_eau_potable") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_eau_potable_reglement_utilisation_eau_potable.jpg"; }
	else if (document.URL.indexOf("p=environnement/eau_potable") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_eau_potable.jpg"; }
	else if (document.URL.indexOf("p=environnement/herbe_poux") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_herbe_poux.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/arbres_noel") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_arbres_noel.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/ecocentre") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_ecocentre." + currentCulture + ".jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/boite_lunch_ecologique") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_boite_lunch_ecologique.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/compostage") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_compostage.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/encombrants_textiles") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_encombrants_textiles.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/equipements_informatiques_electroniques") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_equipements_informatiques_electroniques.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/materiaux_secs") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_materiaux_secs.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/non_aux_prospectus") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_non_aux_prospectus.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/pneus") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_pneus.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/residus_domestiques_dangereux") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_residus_domestiques_dangereux.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/residus_verts") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_residus_verts.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/recyclage") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_recyclage.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles/piles_telephones_cellulaires") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_piles_telephones_cellulaires.jpg"; }
	else if (document.URL.indexOf("p=environnement/matieres_residuelles") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles.jpg"; }
	else if (document.URL.indexOf("p=environnement/nettoyage_berges") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_nettoyage_berges.jpg"; }
	else if (document.URL.indexOf("p=environnement/pesticides") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_pesticides.jpg"; }
	else if (document.URL.indexOf("p=environnement/plantation_arbres") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_plantation_arbres.jpg"; }
	else if (document.URL.indexOf("p=environnement/semaine_quebecoise_reduction_dechets") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_matieres_residuelles_recyclage.jpg"; }
	else if (document.URL.indexOf("p=environnement/vehicules_marche_ralenti") > 0) { customPageHeaderPicture = "/img/pageheader_environnement_vehicules_marche_ralenti.jpg"; }
	else if (document.URL.indexOf("p=environnement") > 0) { customPageHeaderPicture = "/img/pageheader_environnement.jpg"; }
	else if (document.URL.indexOf("p=transport_voirie/aeroport") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_aeroport.jpg"; }
	else if (document.URL.indexOf("p=transport_voirie/autobus_taxi") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_autobus_taxi.jpg"; }
	else if (document.URL.indexOf("p=transport_voirie/deneigement") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_deneigement.jpg"; }
	else if (document.URL.indexOf("p=transport_voirie/nids_poule") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_nids_poule.jpg"; }
	else if (document.URL.indexOf("p=transport_voirie/stationnement") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_stationnement.jpg"; }
	else if (document.URL.indexOf("p=transport_voirie/train") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_train.jpg"; }
	else if (document.URL.indexOf("p=transport_voirie/travaux_routiers") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie_travaux_routiers.jpg"; }
	else if (document.URL.indexOf("p=transport_voirie") > 0) { customPageHeaderPicture = "/img/pageheader_transport_voirie.jpg"; }
	else if (document.URL.indexOf("p=securite_publique/brigadiers_scolaires") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique_brigadiers_scolaires.jpg"; }
	else if (document.URL.indexOf("p=securite_publique/police") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique_police.jpg"; }
	else if (document.URL.indexOf("p=securite_publique/pompiers/caserne_numero_5") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique_pompiers_caserne_numero_5.jpg"; }
	else if (document.URL.indexOf("p=securite_publique/pompiers") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique_pompiers.jpg"; }
	else if (document.URL.indexOf("p=securite_publique/mesures_urgence") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique_pompiers.jpg"; }
	else if (document.URL.indexOf("p=securite_publique/securite_routiere/conseils_automobilistes") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique_securite_routiere_automobilistes." + currentCulture + ".jpg"; }
	else if (document.URL.indexOf("p=securite_publique/securite_routiere/conseils_pietons") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique_securite_routiere_pietons." + currentCulture + ".jpg"; }
	else if (document.URL.indexOf("p=securite_publique/securite_routiere/sensibilisation_vitesse") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique_securite_routiere_sensibilisation_vitesse." + currentCulture + ".jpg"; }
	else if (document.URL.indexOf("p=securite_publique/securite_routiere") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique_securite_routiere.jpg"; }
	else if (document.URL.indexOf("p=securite_publique/surveillance_parcs") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique_surveillance_parcs.jpg"; }
	else if (document.URL.indexOf("p=securite_publique") > 0) { customPageHeaderPicture = "/img/pageheader_securite_publique.jpg"; }
	else if (document.URL.indexOf("p=pour_nous_joindre/communiquez_conseiller_municipal") > 0) { customPageHeaderPicture = "/img/pageheader_la_ville_conseil_municipal.jpg"; }
	else if (document.URL.indexOf("p=pour_nous_joindre/horaire_temps_fetes") > 0) { customPageHeaderPicture = "/img/pageheader_pour_nous_joindre_horaire_temps_fetes.jpg"; }
	else if (document.URL.indexOf("p=pour_nous_joindre") > 0) { customPageHeaderPicture = "/img/pageheader_pour_nous_joindre.jpg"; }
	else if (document.URL.indexOf("p=browsealoud") > 0) { customPageHeaderPicture = "/img/pageheader_browsealoud.jpg"; }
	else if (document.URL.indexOf("p=nouvelles_derniere_heure") > 0) { customPageHeaderPicture = "/img/pageheader_nouvelles_derniere_heure." + currentCulture + ".jpg"; }
	else if (document.URL.indexOf("p=facture_postel") > 0) { customPageHeaderPicture = "/img/pageheader_guichet_municipal.jpg"; }
	else if (document.URL.indexOf("p=recherche_avancee") > 0) { customPageHeaderPicture = "/img/pageheader_recherche_avancee.jpg"; }

	// CHARGER LA PHOTO PAR DÉFAUT DE L'ENTÊTE SI AUCUNE PHOTO PERSONNALISÉE N'EST DÉFINIE
	if (document.getElementById("imgPageHeaderPicture")) { document.getElementById("imgPageHeaderPicture").src = customPageHeaderPicture; }

	// ACTIVER LES FONCTIONS SEULEMENT SUPPORTÉES PAR MICROSOFT INTERNET EXPLORER
	if (navigator.appName == "Microsoft Internet Explorer") {
		// DÉSACTIVER LES FOND PNG SI LE NAVIGATEUR N'EST PAS MICROSOFT INTERNET EXPLORER 7 OU 8
		if (navigator.appVersion.indexOf("MSIE 7") == -1 && navigator.appVersion.indexOf("MSIE 8") == -1) {
			document.getElementById("instantsearch").style.height = "400px";
			document.getElementById("outercontainer").style.background = "";
			document.getElementById("headertext").style.background = "#0d1316";
			if (document.getElementById("divFeature")) { document.getElementById("divFeature").style.background = "#0d1316"; }
			if (document.getElementById("footer_logo")) { document.getElementById("footer_logo").src = "/img/footer_logo_gatineau.gif"; }
			if (document.getElementById("imgSearchButton")) {
				document.getElementById("imgSearchButton").src = "/img/search_btn.gif";
				document.getElementById("imgSearchButton").onmouseover = "";
				document.getElementById("imgSearchButton").onmouseout = "";
			}
			if (document.getElementById("divToggleWindowOpaqueBackground")) { document.getElementById("divToggleWindowOpaqueBackground").style.position = "absolute"; }
		}
	}

	// DÉSACTIVER AUTOCOMPLETE
	if (document.getElementById("searchquery")) { document.getElementById("searchquery").setAttribute("autocomplete", "off"); }

	// CHARGER LE MENU PRINCIPAL
	MM_ajaxLoader("/etc/ajax_relatedsites.asp", "mainmenu_relatedsites");
	MM_ajaxLoader("/etc/ajax_mainmenu.asp?p=la_ville", "mainmenu_la_ville");
	MM_ajaxLoader("/etc/ajax_mainmenu.asp?p=guichet_municipal", "mainmenu_guichet_municipal");
	MM_ajaxLoader("/etc/ajax_mainmenu.asp?p=quoi_faire", "mainmenu_quoi_faire");
	MM_ajaxLoader("/etc/ajax_mainmenu.asp?p=histoire_cartes_statistiques", "mainmenu_histoire_cartes_statistiques");
	MM_ajaxLoader("/etc/ajax_mainmenu.asp?p=environnement", "mainmenu_environnement");
	MM_ajaxLoader("/etc/ajax_mainmenu.asp?p=transport_voirie", "mainmenu_transport_voirie");
	MM_ajaxLoader("/etc/ajax_mainmenu.asp?p=securite_publique", "mainmenu_securite_publique");

	// RESTAURER LA TAILLE DU TEXTE SÉLECTIONNÉE PAR L'UTILISATEUR
	if (readCookie("fontSize") != "" || readCookie("fontSize") != null) {
		document.getElementById("pagecontent").style.fontSize = readCookie("fontSize");
	}

	// AFFICHER LES MENUS DE GAUCHE SI LE CONTENU EXISTE
	if (document.getElementById("submenu_content").innerHTML != "") { document.getElementById("submenu").style.display = "block"; }
	if (document.getElementById("relatedlinks_content").innerHTML != "") { document.getElementById("relatedlinks").style.display = "block"; }

	// AFFICHER LA SECTION FILS RSS SI LE CONTENU DE LA PAGE L'EXIGE
	if (document.getElementById("pagecontent").innerHTML.toLowerCase().indexOf("rss") > 0) { document.getElementById("rssfeeds").style.display = "block"; }
	
	// AFFICHER LA PAGE
	//document.getElementById("outercontainer").style.display = "block";
}