function openpop(mypage,myname,w,h,scroll,pos,posval)
{
	if(pos=="random")
		{
		LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
		TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
		position="top='+TopPosition+',left='+LeftPosition+'";
		}
	if(pos=="center")
		{
		LeftPosition=(screen.width)?(screen.width-w)/2:100;
		TopPosition=(screen.height)?(screen.height-h)/2:100;
		position='top='+TopPosition+',left='+LeftPosition+'';
		}
	if(pos=="topleft")
		{
		position='top='+posval+',left='+posval+'';
		}
	else if((pos!="center" && pos!="random" && pos!="topleft") || pos==null)
		{
		LeftPosition=0;
		TopPosition=0;
		position='';
		}
	settings='width='+w+',height='+h+','+position+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
	var win=null;
	win=window.open(mypage,myname,settings);
}


function popupform(myform, windowname)
{
if (! window.focus)return true;
window.open('', windowname, 'height=230,width=400,scrollbars=yes');
myform.target=windowname;
return true;
}


function afficheVignette(cheminVignette,cheminMaxi)
	{
	document.write('<A HREF="javascript:afficheMaxi(\''+cheminMaxi+'\')"><IMG SRC="'+cheminVignette+'" HSPACE=0 VSPACE=0 BORDER=0 ALT="cliquez ici pour voir en grand"></A>');
	}
function afficheMaxi(chemin)
	{
	i1 = new Image;
	i1.src = chemin;
	html = '<HTML><HEAD><TITLE>Image</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><IMG SRC="'+chemin+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+14,document.imageTest.height+32)"></CENTER></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	};


<!-- Affichage date et heure

var csChaine;
var nJour, nMois, nAnnee, nHeures , nMinutes, nSecondes;
var dtJour;
csChaine = " ";
dtJour = new Date();
nJour = dtJour.getDate();
if ( nJour < 10 ) csChaine += "0";

csChaine += nJour;

nMois = dtJour.getMonth() + 1;

if (nMois == 1) csChaine += " Janvier";
else if (nMois == 2) csChaine += " Février";
else if (nMois == 3) csChaine += " Mars";
else if (nMois == 4) csChaine += " Avril";
else if (nMois == 5) csChaine += " Mai";
else if (nMois == 6) csChaine += " Juin";
else if (nMois == 7) csChaine += " Juillet";
else if (nMois == 8) csChaine += " Août";
else if (nMois == 9) csChaine += " Septembre";
else if (nMois == 10) csChaine += " Octobre";
else if (nMois == 11) csChaine += " Novembre";
else if (nMois == 12) csChaine += " Décembre";

csChaine += " ";

nAnnee = dtJour.getYear();

if (nAnnee <= 99) nAnnee += 1900;

csChaine += nAnnee + " " + "-";

nHeures = dtJour.getHours();

if (nHeures < 10) csChaine += "0";

csChaine += nHeures + ":";

nMinutes = dtJour.getMinutes();

if (nMinutes < 10) csChaine += "0";

csChaine += nMinutes;
// fin du script date et heure -->


function chgpage(form)
{
if (form.liens.selectedIndex != 0)
{
location.href = form.liens.options[form.liens.selectedIndex].value;
}
}