/*
* HEREIN 2
* popup.js v20030108
*/


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 openFile(file)
{
	win = openWin(file,600,400,"Yes");
	win.focus();
}

function openGlossaire (xid, l)
{
	win = openWin("popup_text.xsp?lang="+ l + "#" + xid, 400, 400, "Yes");
	win.focus();
}

