function openWin(file,w,h,scroll,params)
{
	if (typeof (params) == 'undefined')
		{sparams=''}
	else
		{sparams=','+params;}

	if (typeof (scroll) == 'undefined')
		{sscroll='no'}
	else if (scroll == '')
		{sscroll='no'}
	else
		{sscroll=scroll;}
	
	winparams='scrollbars='+sscroll+',resizable=yes,width='+w+',height='+h+sparams;
	return window.open(file,'',winparams);
}
function PopupCentrer(page,largeur,hauteur,options) {
  var top=(screen.height-hauteur)/2;
  var left=(screen.width-largeur)/2;
  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}
function openFile(file)
{
	win = openWin(file,600,400,"Yes");
	win.focus();
}

function openPrintPage(file)
{
	win = openWin('printPage.cfm?fileContent='+file,600,400,"Yes");
	win.focus();
}

function openOrientations ()
{
	win2 = openWin('../../../html/fr/etudiants/rencontres_orientations.html',400,300,"Yes") ;
	win2.focus ;
}

function openDefinition (file)
{
	win3 = openWin('/html/fr/definitions/' + file,250,250,"No") ;
	win3.focus ;
}

function openCharte()
{
	win3 = openWin('../../../html/fr/intranet/charte_intranet_pedagogique.html',600,500,"Yes") ;
	win3.focus ;
}