
//v2.0 
var popUpWinText=0;
var popUpWinSon=0;
var popUpWinImage=0;
function ouvrirtexte(URLStr,winName,w,h) {
	if (popUpWinSon)
popUpWinSon.focus();
  if(popUpWinText)
  {
    if(!popUpWinText.closed)
	{
	popUpWinText.close();
	popUpWinText=0;
	}
  }
winl=(10); 
wint=15;
features="toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=yes,resizable=yes,copyhistory=yes,width="+w+",height="+h+",left="+winl+",top="+wint;
popUpWinText=window.open(URLStr,winName,features);
}
//
function ouvririmage(URLStr,winName,w,h) {
  if(popUpWinImage)
  {
    if(!popUpWinImage.closed)
	{
	popUpWinImage.close();
	popUpWinImage=0;
	}
  }
winl=(screen.width-w-10); 
wint=20;
features="toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars =yes,resizable=yes,copyhistory=yes,width="+w+",height="+h+",left="+winl+",top="+wint;
popUpWinImage=window.open(URLStr,winName,features);
}
//
function ouvrirson(URLStr,winName,w,h) {
//v2.0 
if (popUpWinText)
popUpWinText.focus();
if(popUpWinSon)
  {
    if(!popUpWinSon.closed)
	{
	popUpWinSon.close();
	popUpWinSon=0;
	}
  }
winl=(screen.width-w-15); 
wint=25;
features="toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=yes,resizable=yes,copyhistory=yes,width="+w+",height="+h+",left="+winl+",top="+wint;
popUpWinSon=window.open(URLStr,winName,features);
  }

function ouvrePopupDepuisSWF(wurl,wnom,w,h,ws) { 
  var options = "toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0, scrollbars="+ws+",width="+w+",height="+h;
  var twNeowin = window.open(wurl, wnom, options);
  if(twNeowin.focus){twNeowin.focus();} 
}

