function Zoom(url)
{ 
	window.open(url,'Microchoix','toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhystory=no,width=500,height=500,screenY=150,screenX=150');
}
function imprime(url)
{ 
	window.open(url,'Imprimer','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhystory=no,width=500,height=380,screenY=50,screenX=50');
}

function soulign(x)
{
if (document.getElementById('href'+x).style.textDecoration=='none')
document.getElementById('href'+x).style.textDecoration='underline';
}

function focntionQuiFaitLeTravail(FicheID)
{
var urlSubmit="addcaddie.asp?mg=true&Num="+FicheID+"&box_nb="+document.getElementsByName('box_nb')[0].value ;
document.location.href = urlSubmit;
}
//---------------------Fiche_technique---------Aziz

function affiche_tech(elt){
	if(elt==1){
		document.getElementById("contenu_fich_tech").style.display="";
		document.getElementById("contenu_associe").style.display="none";
		document.getElementById("contenu_garantie").style.display="none";
		document.getElementById("anglet_1").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 -21px';
		document.getElementById("anglet_2").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_3").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_4").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_1").style.color = '#CCCCCC';
		document.getElementById("anglet_2").style.color = '#ffffff';
		document.getElementById("anglet_3").style.color = '#ffffff';
		document.getElementById("anglet_4").style.color = '#ffffff';
	}
	if(elt==2){
		document.getElementById("contenu_fich_tech").style.display="none";
		document.getElementById("contenu_associe").style.display="";
		document.getElementById("contenu_garantie").style.display="none";
		document.getElementById("anglet_1").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_2").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 -21px';
		document.getElementById("anglet_3").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_4").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_1").style.color = '#ffffff';
		document.getElementById("anglet_2").style.color = '#CCCCCC';
		document.getElementById("anglet_3").style.color = '#ffffff';
		document.getElementById("anglet_4").style.color = '#ffffff';
	}
	if(elt==3){
		document.getElementById("contenu_fich_tech").style.display="none";
		document.getElementById("contenu_associe").style.display="none";
		document.getElementById("contenu_garantie").style.display="";
		document.getElementById("anglet_1").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_2").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_3").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 -21px';
		document.getElementById("anglet_4").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_1").style.color = '#ffffff';
		document.getElementById("anglet_2").style.color = '#ffffff';
		document.getElementById("anglet_3").style.color = '#CCCCCC';
		document.getElementById("anglet_4").style.color = '#ffffff';
	}
	if(elt==4){
		document.getElementById("anglet_1").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_2").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_3").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 0';
		document.getElementById("anglet_4").style.background = 'url(img_look/fiche_4.gif) no-repeat 0 -21px';
		document.getElementById("anglet_1").style.color = '#ffffff';
		document.getElementById("anglet_2").style.color = '#ffffff';
		document.getElementById("anglet_3").style.color = '#ffffff';
		document.getElementById("anglet_4").style.color = '#CCCCCC';
	}
}