//--Affiche l'image du titre à gauche de l'écran
function titre()
	{
	document.write("<td rowspan=3 width=169 background=\""+chemin1+titreSection[numeroPage]+"\"></td>");
	}

//--Affiche l'image du titre à gauche de l'écran
function logoMQQ()
	{
	document.write("");
	}
	
function documentCorpo()
	{
	document.write("<table width=80% align=center><tr><td>")
	
	if (numeroSection >=16 && numeroSection <=26)
				{
				acces="../../../"
				}
			else
				{
				acces="../../"
				}
				
	if (numeroPage == 10)
		{
		if (langue=="fr")
			{
			document.write("<br><table cellspacing=0 cellpadding=0 border=0><tr>" +
				
				"<td width=11 valign=top><img src=\""+acces+"image/co_im_flecheVerte.gif\" width=9 height=11></td>" +
				
				"<td><a href=\""+acces+"PDF/LogicielIsoVision.pdf\" " +
				"target=blank  class=normalPetitBleuSouligne>Brochure sur le logiciel IsoVision </a><br><br></td>"+
				
			"</tr><tr>" +
			
				"<td width=11 valign=top><img src=\""+acces+"image/co_im_flecheVerte.gif\" width=9 height=11></td>" +
				
				"<td><a href=\""+acces+"PDF/FeuilletMinEnvironnement.pdf\" " +
				"target=blank class=normalPetitBleuSouligne>Brochure du Ministère de l'Environnement</a></td>" +
				
			"</tr></table>");
			}
		else
			{
			document.write("<br><table cellspacing=0 cellpadding=0 border=0><tr>" +
				
				"<td width=11 valign=top><img src=\""+acces+"image/co_im_flecheVerte.gif\" width=9 height=11></td>" +
				
				"<td><a href=\""+acces+"PDF/ProductBrochure.pdf\" " +
				"target=blank  class=normalPetitBleuSouligne>Product Description Brochure</a><br><br></td>"+
				
			"</tr><tr>" +
			
				"<td width=11 valign=top><img src=\""+acces+"image/co_im_flecheVerte.gif\" width=9 height=11></td>" +
				
				"<td><a href=\""+acces+"PDF/MinistryEnvironmentSheet.pdf\" " +
				"target=blank class=normalPetitBleuSouligne>Ministry Environment Sheet</a></td>" +
				
			"</tr></table>");
			}
		}
	
	if (numeroPage >= 55)
		{
		}
	
	
	if ((numeroPage == 0)  || (numeroPage==35) || (numeroPage==45))
		{
		if (langue=="fr")
			{
			document.write("<br><table cellspacing=0 cellpadding=0 border=0><tr>" +
				
				"<td width=11 valign=top><img src=\"../../image/co_im_flecheVerte.gif\" width=9 height=11></td>" +
				
				"<td><a href=\"../../PDF/EntrepriseIsoVision.pdf\" " +
				"target=blank  class=normalPetitBleuSouligne>Brochure sur l'entreprise IsoVision</a><br><br></td>"+
				
			"</tr><tr>" +
			
				"<td width=11 valign=top><img src=\"../../image/co_im_flecheVerte.gif\" width=9 height=11></td>" +
				
				"<td><a href=\"../../PDF/FeuilletMinEnvironnement.pdf\" " +
				"target=blank class=normalPetitBleuSouligne>Brochure du Ministère de l'Environnement</a></td>" +
				
			"</tr></table>");
			}
		else
			{
			
			document.write("<br><table cellspacing=0 cellpadding=0 border=0><tr>" +
				
				"<td width=11 valign=top><img src=\"../../image/co_im_flecheVerte.gif\" width=9 height=11></td>" +
				
				"<td><a href=\"../../PDF/CompanyBrochure.pdf\" " +
				"target=blank  class=normalPetitBleuSouligne>Company Description Brochure</a><br><br></td>"+
				
			"</tr><tr>" +
			
				"<td width=11 valign=top><img src=\"../../image/co_im_flecheVerte.gif\" width=9 height=11></td>" +
				
				"<td><a href=\"../../PDF/MinistryEnvironmentSheet.pdf\" " +
				"target=blank class=normalPetitBleuSouligne>Ministry Environment Sheet</a></td>" +
				
			"</tr></table>");
			}
		}
		document.write("</td></tr></table>" +
		
		//--Logo MQQ
		"<center><br><br><img src=\""+acces+"image/co_im_logoMqq.gif\" width=73 height=72" +
		"border=0></center>")
	}		
	
//--Affiche la note de bas de page
function basdepage()
	{
	document.write("<span class=NoteBasPage>*Si vous éprouvez des difficultés à visualiser ce site, <a " +
	"href=mailto:%69%6E%66%6F%40%69%73%6F%76%69%73%69%6F%6E%2E%63%6F%6D " +
	"class=NoteBasPageSouligne>écrivez-nous.</a></span>")
	}

function basdepagean()
	{
	document.write("<span class=NoteBasPage>*If you have difficulties to view the site, <a " +
	"href=mailto:%69%6E%66%6F%40%69%73%6F%76%69%73%69%6F%6E%2E%63%6F%6D class=NoteBasPageSouligne>please write to " +
	"us.</a></span>")
	}

function prechargerImages()
	{
	if(document.images)
		{
		var fichiersImage = prechargerImages.arguments;
		var prechargeTableau = new Array();

		for (var i=0; i < fichiersImage.length; i++)
			{
			prechargeTableau[i] = new Image;
			prechargeTableau[i].src = fichiersImage[i];

			}
  		}
	}

function swap(id, newsrc)
	{ 
	var Image = localiserImage(id);
	if (Image)
		{
		Image.src = newsrc;
 		}
	}

function localiserImage(name)
	{
	var Image = false;
	if (document.images)
		{
		Image = document.images[name];
		}

	if (Image)
		{
		return Image;
		}

	return (false);
	}

function PopupImage(img) 
	{
	titre="Screen - IsoVision software";
	w=open("",'image','toolbar=no,scrollbars=yes,resizable=yes');
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if ((screen.width == 800) && (screen.height == 600)){window.resizeTo(document.images[0].width-40,document.images[0].height-40);} else {  	window.resizeTo(document.images[0].width+40,document.images[0].height+40);}}</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><center><IMG src='"+img+"' border=0></center>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

function PopupImageFr(img) {
	titre="Écran - Logiciel IsoVision";
	w=open("",'image','toolbar=no,scrollbars=yes,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if ((screen.width == 800) && (screen.height == 600)){window.resizeTo(document.images[0].width-40,document.images[0].height-40);} else {  	window.resizeTo(document.images[0].width+40,document.images[0].height+40);}}</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><center><IMG src='"+img+"' border=0></center>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

//fonction pour montrer ou cacher un layer
function trouverObjet(n, d) { //v3.0
  var p,i,x;  
  
  if(!d) 
  d=document; 
  
  	if((p=n.indexOf("?"))>0&&parent.frames.length) 
  	{
    d=parent.frames[n.substring(p+1)].document; 
	n=n.substring(0,p);
	}
  	
	if ((is_nav4) || (is_ie4up))
	{
		if(!(x=d[n])&&d.all) x=d.all[n]; 
				  	
		for (i=0;!x&&i<d.forms.length;i++) 
						x=d.forms[i][n];
						
				  	for(i=0;!x&&d.layers&&i<d.layers.length;i++) 
						x=trouverObjet(n,d.layers[i].document); 
	}
	else
	{
		x = d.getElementById(n)
	}
	
	return x;
}


function visibiliteLayer() 
{ 
  var i,p,v,obj,args=visibiliteLayer.arguments;
  
  	for (i=0; i<(args.length-2); i+=3) 
		{
  		if ((obj=trouverObjet(args[i]))!=null) 
			{ 
  			v=args[i+2];
    		
			if (obj.style) 
				{ 
				obj=obj.style; 
				v=(v=='show')?'visible':(v=='hide')?'hidden':v; 
				}
			obj.visibility=v; 
    	}
	}
}