

function NewWindow(mypage, myname, w, h) 
{ 
	var wint=(screen.height-h)/2;
	var winl=(screen.width-w)/2;
	var laiusUK = "The software Adode Acrobat Reader is not installed in your computer.<BR>Please download Acrobat Reader.";
	var laiusFR = "Le logiciel Adode Acrobat Reader n'est pas installé sur votre ordinateur.<BR>Veuillez télécharger Acrobat Reader.";
	var clicFR = "Cliquez ici !";
	var clicUK = "Click Here !";
	var laius = laiusFR;
	var clic = clicFR;
	var linkAdobe = "http://www.adobe.fr/products/acrobat/readstep.html";
	
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=0,resizable=0';
	text = "<html><head><title>Download Acrobat Reader</title>";
	text = text + "<script language='javascript'>function lien(){window.open('" + linkAdobe + "');";
	text = text + "window.close();}</scr" + "ipt>";
	text = text + "</head><body topmargin='0' leftmargin='0' bgcolor='#333399' link='#FFFFFF'><center>";
	text = text + "<BR><BR><b><font color='#FFFFFF' face='Times New Roman, Times, serif'>" + laius + "</font></b><BR><BR>";
	text = text + "<a href='' onclick='javascript:lien()'><IMG SRC='/pix/getacro.gif'></a>";
	text = text + "<font color='#FFFFFF' face='Times New Roman, Times, serif' size='-1'><a href='' onclick='javascript:lien()'>" + clic + "</a></font>";
	text = text + "</center></body></html>"; 
	win = window.open('', myname, winprops);
	win.document.write(text);
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); 
	} 
} 

<!--
var useAcrobat = navigator.mimeTypes["application/pdf"] && navigator.mimeTypes["application/pdf"].enabledPlugin
//-->



<!--
function testAcrobat()
{
	if (navigator.appName != "Netscape") {
		useAcrobat = false;
		TestAcro_IE();
	}
	if (useAcrobat) {
		return true;
	}
	else
	{
		NewWindow(this.href,'name','344','200');
		return false;
	}
}

function validerPJ(stringURL)
{
	if (stringURL.substring((stringURL.length-3),stringURL.length)=="pdf")
	{
		if  (testAcrobat() == true) {
			window.open(stringURL,"","status=no");
		}
	}
	else
	{
		window.open(stringURL,"","status=no");
	}
}

//-->
