	AJOUTBW = '/gpq';  //METTRE À VIDE LORS DE LA LIVRAISON FINALE
	lepath = ''// + document.location.hostname + ":8080" + AJOUTBW
///
///
function DateRecherche(){
	ladate = "2011-10-31";
	document.write("<p class=\"t11px\">Derni&egrave;re mise &agrave; jour faite le " + ladate + "</p>");
}
function basdepageGPQ() {
	chaine = '<img src="' + lepath + '/gpq-img/ligne.gif" width="763" height="8"><BR><BR>'; //initialisation chaine
//rangée 1
	chaine += '<table width="100%" border="0" cellspacing="0" cellpadding="0">';
		chaine += '<tr align="center">';
			chaine += '<td width="100%">'
				chaine += '<p class="t11px">';
				chaine += 'Les Prix du Qu&eacute;bec rel&egrave;vent conjointement <br>du ';
				chaine += '<a href="'+ lepath + '/gpq-autres/gpq-mcccf.html" target="_self" class="t11px">minist&egrave;re de la Culture, des Communications et de la Condition f&eacute;minine</a> <br>et du ';
				chaine += '<a href="'+ lepath + '/gpq-autres/gpq-mdeie.html" target="_self" class="t11px">minist&egrave;re du D&eacute;veloppement &eacute;conomique, de l\'Innovation et de l\'Exportation</a>';
				chaine += '</p><p class="t11px">';
				chaine += '<a href="'+ lepath + '/gpq-autres/gpq-confident.html" target="_self" class="a11px">Politique de confidentialit&eacute;</a> | ';
				chaine += '<a href="'+ lepath + '/gpq-autres/gpq-reali.html" target="_self" class="a11px">R&eacute;alisation du site</a>';
				chaine += ' | <a href="'+ lepath + '/gpq-autres/partenaires.html" target="_self" class="a11px">Partenaires</a><br>';
				chaine += '</p>';
			chaine += '</td>';
		chaine += '</tr>';
	chaine += '</table>';
	document.write(chaine);
} //FIN BASDEPAGEGPQ
/////////////////////////////////////////////////////
function hautdepagePIV() {
	chaine = ''; //initialisation chaine
	chaine += '<img src="'+ lepath + '/gpq-img/bandeau.gif" width="760" height="100" usemap="#Bandeaumap" border="0">';
	chaine += '<map name="Bandeaumap">';
	chaine += '<area shape="rect" coords="254,57,297,72" href="'+ lepath + '/index.php">';
	chaine += '<area shape="rect" coords="308,57,374,72" href="'+ lepath + '/gpq-autres/plan-site.html">';
	chaine += '<area shape="rect" coords="443,57,526,72" href="http://www.gouv.qc.ca/portail/quebec/pgs?lang=fr" onClick="return(Question())">';
	chaine += '<area shape="rect" coords="379,56,427,72" href="'+ lepath + '/gpq-autres/courrier.html">';
	chaine += '<area shape="rect" coords="648,55,696,71" href="'+ lepath + '/gpq-autres/english.html">';
	//chaine += '<area shape="rect" coords="648,55,696,71" href="javascript:MM_openBrWindow(\''+ lepath + '/gpq-autres/gpq-english.html\',\'windoid\',\'scrollbars=yes,width=530,height=440\')">';
	chaine += '<area shape="rect" coords="699,58,756,72" href="'+ lepath + '/gpq-autres/espanol.html">';
	//chaine += '<area shape="rect" coords="699,58,756,72" href="javascript:MM_openBrWindow(\''+ lepath + '/gpq-autres/gpq-espanol.html\',\'windoid\',\'scrollbars=yes,width=530,height=440\')">';
	//chaine += '<area shape="rect" coords="24,36,201,85" href="http://www.gouv.qc.ca/portail/quebec/pgs?lang=fr" onClick="return(Question())" alt="Portail du gouvernement du  Qu&eacute;bec" title="Portail du gouvernement du  Qu&eacute;bec">';
	chaine += '</map>'; 
	document.write(chaine);
}
function basdepagePIV() {
	jourdate = new Date();
	chaine = ''; //initialisation chaine
//rangée 1
	chaine += '<a href="http://www.gouv.qc.ca/portail/quebec/pgs?lang=fr" onClick="return(Question())">';
	chaine += '<img src="'+ lepath + '/gpq-img/quebw1.gif" width="105" height="32" border="0" alt="Portail Qu&eacute;bec">';
	chaine += '</a>';
    chaine += '<br>';
	// jourdate.getFullYear(); permet d'afficher l'année en cours sans avoir à la modifier à chaque année
	chaine += '<span class="t11px">&copy; Gouvernement du Qu&eacute;bec, 2003-' + jourdate.getFullYear(); + '</span>';
	document.write(chaine);

} //FIN BASDEPAGEPIV
// ACTION DU ON FOCUS
maFenetre = "inactif";
function MM_openBrWindow(theURL,winName,features) { //v2.0
  maFenetre = window.open(theURL,winName,features);
  maFenetre.focus();
}

function analyserFenetre() {
 if(maFenetre != "inactif") {
	maFenetre.close();
	maFenetre = "inactif";
 }
}
// FIN DU ON FOCUS


//DESTINATION FLASH

function versDestination(ladest) {
	ladest=new String(ladest);
	bidon = ladest.lastIndexOf("?")
	if(bidon<0) bidon=ladest.length
	lasrc=ladest.substring(0,bidon)
	ladest=ladest.substring(bidon+1);
	//
	bidon = lasrc.lastIndexOf("/")
	lasrc=lasrc.substring(0,bidon+1)
	//
	if (ladest=="") ladest="0"; 		
	//window.document.menuGPQ.SetVariable("lasource", lasrc);
	window.document.menuGPQ.SetVariable("ladestination", ladest);
}
//
function FlashAbsent(boule){
	chaine = ''; //initialisation chaine
	chaine += '<table width="100%" border="0" cellspacing="0" cellpadding="0">';	
	chaine += '<tr>';	
	chaine += '<td width="210"><img src="'+ lepath + '/gpq-img/menu.gif" width="205" height="262" usemap="#Map" border="0"></td>';	
	if(boule){
		chaine += '<td>';
		chaine += '<img src="'+ lepath + '/gpq-img/logo_grand.gif" width="350" height="262" border="0">';
		chaine += '</td>';
		chaine += '<tr>';
		chaine += '<td colspan="2"><br>';
		chaine += '<p class="t11px">';
		chaine += '<a class="t11px" target="_blank" href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">';
		chaine += '<img hspace=8 src="'+ lepath + '/gpq-img/Flash.gif" align="left" border="0">';
		chaine += '</a>';
		chaine += '<br>Ce site fait une large utilisation du progiciel <i>Flash version 5</i> qui n\'est pas install&eacute; sur votre poste.<br>';
		chaine += '<a class="t11px" target="_blank" href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">Vous pouvez le t&eacute;l&eacute;charger en cliquant ici</a></p><br><br>';
		chaine += '</td>';	
		chaine += '</tr>';
	}	
	chaine += '</tr>';	
	chaine += '</table>';	
	chaine += '<map name="Map"> ';	
	chaine += '<area shape="rect" coords="70,15,204,39" alt="Mot des ministres" href="'+ lepath + '/ministres/index.html">';	
	chaine += '<area shape="rect" coords="43,38,152,60" alt="Salle de presse" href="'+ lepath + '/presse/index.html">';	
	chaine += '<area shape="rect" coords="13,59,100,82" alt="Cérémonie" href="'+ lepath + '/ceremonie/index.html">';	
	chaine += '<area shape="rect" coords="6,89,87,115" alt="Historique" href="'+ lepath + '/historique/index.html">';	
	chaine += '<area shape="rect" coords="2,119,167,142" alt="Les 11 grands prix" href="'+ lepath + '/prix-culturels/index.html">';	
	chaine += '<area shape="rect" coords="5,147,155,169" alt="Lauréats" href="'+ lepath + '/laureats/index.html">';	
	chaine += '<area shape="rect" coords="20,174,103,197" alt="Médailles" href="'+ lepath + '/medailles/index.html">';	
	chaine += '<area shape="rect" coords="45,201,195,225" alt="Candidature" href="'+ lepath + '/candidature-mcc/index.html">';	
	chaine += '<area shape="rect" coords="-1,227,95,251" alt="Recherche" href="'+ lepath + '/recherche/recherche.php">';	
	chaine += '</map>';	
	document.write(chaine);	
}

/////////////

/* Fonction sortie du site du ministère */
function Question() {
	var mess = "Attention vous sortez du site des Prix du Qu\351bec. Voulez-vous continuer ?"
return confirm (mess);
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

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];}
}

function Toto1() {
document.getElementById("ajaxticker1").style.visibility='visible';
document.getElementById("ajaxticker2").style.visibility='hidden';
document.getElementById("titre1").style.visibility='visible';
document.getElementById("titre2").style.visibility='hidden';
<!-- e.innerHTML += "</p>";	 -->
}

function Toto2() {
document.getElementById("ajaxticker1").style.visibility='hidden';
document.getElementById("ajaxticker2").style.visibility='visible';
document.getElementById("titre1").style.visibility='hidden';
document.getElementById("titre2").style.visibility='visible';
}

