//<script language="JavaScript1.2">
<!--				

var larg  = screen . width;
var haut = screen . height;
/*if (document.body)
{
 larg = (document.body.clientWidth);
 haut = (document.body.clientHeight);
} 
else
{
 larg = (window.innerWidth);
 haut = (window.innerHeight);
}*/

	var de = document.documentElement;
	 larg = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;
	 haut = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight;

function affichepopup(baliseId) 
  { 				  
  if (document.getElementById && document.getElementById(baliseId) != null) 
    {	
	 //document.getElementById(baliseId).style.width="100%";
	// document.getElementById(baliseId).style.height="100%";
	 document.getElementById(baliseId).style.width=larg+'px';
	 document.getElementById(baliseId).style.height=haut+'px';
     document.getElementById(baliseId).style.visibility='visible';
     document.getElementById(baliseId).style.display='block';
     document.getElementById('marque').style.display='none';
     document.getElementById('type').style.display='none';
     document.getElementById('prix').style.display='none';
    }	 			
  }

function cachepopup(baliseId) 
  {
  if (document.getElementById && document.getElementById(baliseId) != null) 
    {
	 document.getElementById('contenuajax').innerHTML = '';  // vide le contenu
     document.getElementById(baliseId).style.visibility='hidden';
     document.getElementById(baliseId).style.display='none';
     document.getElementById('marque').style.display='block';
     document.getElementById('type').style.display='block';
     document.getElementById('prix').style.display='block';
    }
  }		  				
//'<img src="images/gris50.png" width="247" height="216" style="filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'images/gris50.png\', sizingMethod=\'scale\');" alt="">'+
obj = '<div  id="contenu" style="text-align: center; z-index:100; width: 1px; height: 1px; background-image: url(images/gris52.png); position: absolute; left: 0px; top: 0px">'+
  		'<table summary="" border="0" height=100% width=100% ><tr><td valign="middle" align="center"  >'+
		'<table width="526" border="0" align="center" cellspacing="0"  >'+
		'<tr><td style="margin:0; padding:0" width="526" colspan="3"><img src="images/cadre_popup_haut.png"></td></tr>	'+
		'<tr><td width="2" rowspan="2" style="background-color:#FFFFFF"></td><td width="517" style="background-color:#FFFFFF"><div style="text-align: right"><a href="javascript:;" onclick="cachepopup(\'contenu\')"><img src="images/fermer.png" alt="" width="18" height="18" border="0" /></a></div></td>		<td width="2" rowspan="2" style="background-color:#FFFFFF"></td></tr>	'+
		'<tr><td style="background-color:#FFFFFF"><div id=\'contenuajax\'>...</div></td></tr>	'+
		'<tr><td style="margin:0; padding:0" width="526" colspan="3"><img src="images/cadre_popup_bas.png" width="100%" hspace="0" vspace="0"></td></tr>'+
		'</table></DIV><td></tr></table></DIV>'; 
//obj = '<div id="contenu" style="width: 1px; height: 1px; background-image: url(images/gris50.png); position: absolute; left: 0px; top: 0px">   <table summary="" border="0" height=100% width=100% ><tr><td valign="middle" align="center"  >			   <table border="0" align="center" width="200"  style="background-color:#FFFFFF"><tr><td ><div style="text-align: right"><a href="javascript:;" onclick="cachepopup(\'contenu\')"><img src="images/fermer.png" alt="" width="18" height="18" border="0" /></a></div></td></tr><tr><td><div id=\'contenuajax\'></div></td></tr></table></td></tr></table>	</DIV>';

document.write(obj); 
cachepopup('contenu'); 
//-->		
//</script>		 