//=============================================================
//	----------	Fonction : Bouton Imprimer           ----------
//=============================================================

// Afficher le bouton seulement sur Ie
function boutonImprimer(){
	if (typeof(window.print) != "undefined") {
		document.write("<a href='javascript:printWindow();' class='print'>Imprimer</a>")
	}
}
function printWindow(){
	window.print();
}


//=============================================================
//	----------	Fonction : Bouton Envoyer à un ami   ----------
//=============================================================

function Suggerer ()
{
	jsURL='/util/postier/suggerer.asp?sTitre='+escape(document.title)+'&sURL='+escape(document.location);
	jsNom='suggerer';
	jsParam='toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,history=no,resizable=yes,width=405,height=450,left=1,top=1';
	window.open(jsURL, jsNom, jsParam)
}

function getAlbumsPhotos(strXml) {
	var pathSwf = "/lib/v1/swf/enImages/grandGallery.swf";
	
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="405" height="359">');
	document.write('<param name="allowScriptAccess" value="sameDomain">');
	document.write('<param name="movie" value="'+pathSwf+'?xmlfile='+strXml+'">');
	document.write('<param name="quality" value="high">');
	document.write('<embed src="'+pathSwf+'?xmlfile='+strXml+'"');
	document.write(' quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="405" height="359">');
	document.write('</embed>');
	document.write('</object>');
}
function getCourriel(strMail) {
	document.write('<a href="mailto:'+strMail+'@radio-canada.ca">');
}