//ouvre en popup l'image pass?en parametre
function DoPopUpPath(imgtoload) 
	{
		wPopup = window.open('', 'img_popup', 'width=300, height=100, top='+(screen.height-30)/2+', left='+(screen.width-200)/2+', status=yes, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, resizable=yes');
		// On ?it le contenu de la fen?e popup
		wPopup.document.clear();
		
		wPopup.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml-dtd/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"><head><meta http-equiv="content-Type" content="text/html; charset=utf-8" /><title>Festival Opalcinč</title>');
		wPopup.document.write('<style type=\"text/css\">\n'+
		'<!--\n'+
		'body {margin:0; padding:0;}\n}'+
		'img {border:0;}\n'+
		'.conteneur{text-align:center; margin:0; padding:0;}\n'+
		'.chargement{visibility:visible;}\n'+
		'.illustration{visibility:hidden; margin:15px 15px 0 15px;}\n'+
		'.fermer{margin:10px 0 20px 0;}\n'+
		'a { font-family:Arial; font-size: 12px; color:#005687; text-decoration: none;}\n'+
		'a:hover {color:#008FD1; text-decoration: underline;}\n'+
		'--!>\n'+
		'<\/style>');
		
		wPopup.document.write('</head><body  style="background-color:#F7F7F7; margin:0; padding:0; " onLoad="checkSize();">'); 
		// La fonction qui attend que l'image soit charg?et affich?pour redimensionner la fen?e ?a bonne taille
		wPopup.document.write('<script type="text/javascript"> //<![CDATA[\nfunction checkSize() { if(document.images && document.images[1].complete) { w = document.images[1].width+60; h = document.images[1].height+135; if(h>screen.height) {h=screen.height;hp=screen.height-50}else hp=h; if(w>screen.width) w=screen.width; window.resizeTo(w, hp); window.moveTo((screen.width-w)/2, (screen.height-h)/2); document.images[0].style.display = "none"; document.images[1].style.visibility = "visible"; window.focus();}else { setTimeout("checkSize()", 250); }}\n //]]></'+'script>');
		wPopup.document.write('<div class="conteneur"><img class="chargement" src="img/chargement.gif" alt="chargement" /><img class="illustration" src="' + imgtoload +'" onclick="javascript:self.close();" title="Cliquez pour fermer la fen&ecirc;tre" alt="" /><br /><a href="javascript:self.close();" title="Cliquez pour fermer la fen&ecirc;tre"><br />Fermer la fen&ecirc;tre</a></div>');
		wPopup.document.write('</body></html>');
		wPopup.document.close();
	}