
function AffImage(img, we, he) {
	titre=""+img+"";
	hr = he+10;
	wr = we+10;
	w=open("","image","width="+we+",height="+he+",toolbar=no,scrollbars=yes,resizable=yes");	
	w.document.write("<html><head><title>"+titre+"</title>");
	w.document.write("<link type=\"text/css\" rel=\"stylesheet\" href=\"../style_popup.css\" /></head>");
	w.document.write("<body leftMargin=0 topMargin=0 marginwidth=0 marginheight=0 onLoad=self.focus()>");
	w.document.write("<br><center><a href=\"#\" onClick=\"javascript:window.close();\"><img src='"+img+"' style=\"border: 1px solid #000\" /></a></center>");
	w.document.write("<br><table align=center><tr><td style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #ffffff; text-align: center;\">");
	w.document.write("<input class=\"st11button\" type=\"button\" value=\"Fermer\" onClick='javascript:window.close();' />");
	w.document.write("</td></tr></table>");
	w.document.write("</body></html>");
	w.document.close(); 
}


// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'Photo/ConvFELPSTh.jpg'
theImages[1] = 'Photo/GC_Xmas07Th.jpg'
theImages[2] = 'Photo/ConcertNoel06Th.jpg'
theImages[3] = 'Photo/Culteintercom_07Th.jpg'


// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}

