
/************************************************ DHTML slideshow script-  © Dynamic Drive DHTML code library (www.dynamicdrive.com)* This notice must stay intact for legal use* Visit http://www.dynamicdrive.com/ for full source code* Version Francaise http://www.tanehermetic.fr***********************************************///Contents for menu 1
var menu1=new Array()
menu1[0]='<img src="menu/16.JPG" border=0 width="150" height="25">'
menu1[1]='<a href="index.html">&nbsp;&nbsp;&nbsp;G&eacute;n&eacute;ralit&eacute;s</a>'
menu1[2]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu1[3]='<a href="index.html#I">&nbsp;&nbsp;&nbsp;Notre philosophie</a>'
menu1[4]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu1[5]='<a href="index.html#II">&nbsp;&nbsp;&nbsp;Nos moyens</a>'
menu1[6]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu1[7]='<a href="localisation.html">&nbsp;&nbsp;&nbsp;Tan&eacute; sur Google Map</a>'
menu1[8]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu1[9]='<a href="index.html#III">&nbsp;&nbsp;&nbsp;Liste de r&eacute;f&eacute;rences</a>'
menu1[10]='<img src="menu/13.JPG" border=0 width="150" height="17">'






//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<img src="menu/16.JPG" border=0 width="150" height="25">'
menu2[1]='<a href="produits.html">&nbsp;&nbsp;&nbsp;Portes coulissantes</a>'
menu2[2]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu2[3]='<a href="produits.html#I">&nbsp;&nbsp;&nbsp;AM2P - AM10P | 44 dB</a>'
menu2[4]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu2[5]='<a href="produits.html#II">&nbsp;&nbsp;&nbsp;AM2P - A10P | 50 dB</a>'
menu2[6]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu2[7]='<a href="produits.html#III">&nbsp;&nbsp;&nbsp;VAM2P VAM10P | 44 dB</a>'
menu2[8]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu2[9]='<a href="produits.html#IV">&nbsp;&nbsp;&nbsp;DAM2P | Rw: 50 dB</a>'
menu2[10]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu2[11]='<a href="portes_industrielles.html">&nbsp;&nbsp;&nbsp;Portes industrielles'
menu2[12]='<img src="menu/13.JPG" border=0 width="150" height="17">'


//Contents for menu 3, and so on
var menu3=new Array()
menu3[0]='<img src="menu/16.JPG" border=0 width="150" height="25">'
menu3[1]='<a href="physique_du_bruit.html">&nbsp;&nbsp;&nbsp;G&eacute;n&eacute;ralit&eacute;s</a>'
menu3[2]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu3[3]='<a href="physique_du_bruit.html#I">&nbsp;&nbsp;&nbsp;Principe de propagation</a>'
menu3[4]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu3[5]='<a href="physique_du_bruit.html#Ib">&nbsp;&nbsp;&nbsp;R&eacute;partition spectral</a>'
menu3[6]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu3[7]='<a href="physique_du_bruit.html#II">&nbsp;&nbsp;&nbsp;Addition des bruits</a>'
menu3[8]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu3[9]='<a href="physique_du_bruit.html#III">&nbsp;&nbsp;&nbsp;Le champ libre</a>'
menu3[10]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu3[11]='<a href="calculs_acoustiques.html#I">&nbsp;&nbsp;&nbsp;Calcul de propagattion</a>'
menu3[12]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu3[13]='<a href="calculs_acoustiques.html#II">&nbsp;&nbsp;&nbsp;Calcul spectral</a>'
menu3[14]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu3[15]='<a href="calculs_acoustiques.html#III">&nbsp;&nbsp;&nbsp;Somme de 2 bruits</a>'
menu3[16]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu3[17]='<a href="calculs_acoustiques.html#IV">&nbsp;&nbsp;&nbsp;Somme des bruits</a>'
menu3[18]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu3[19]='<a href="calculs_aerauliques.html">&nbsp;&nbsp;&nbsp;Calculs a&eacute;rauliques</a>'
menu3[20]='<img src="menu/13.JPG" border=0 width="150" height="17">'



//Contents for menu 4, and so on
var menu4=new Array()
menu4[0]='<img src="menu/16.JPG" border=0 width="150" height="25">'
menu4[1]='<a href="le_bruit_et_la_loi.html">&nbsp;&nbsp;&nbsp;G&eacute;n&eacute;ralit&eacute;s</a>'
menu4[2]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu4[3]='<a href="le_bruit_et_la_loi.html#I">&nbsp;&nbsp;&nbsp;Installations class&eacute;es</a>'
menu4[4]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu4[5]='<a href="le_bruit_et_la_loi.html#II">&nbsp;&nbsp;&nbsp;Bruits de voisinage</a>'
menu4[6]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu4[7]='<a href="le_bruit_et_la_loi.html#III">&nbsp;&nbsp;&nbsp;Bars et discoth&egrave;ques</a>'
menu4[8]='<img src="menu/13.JPG" border=0 width="150" height="17">'

//Contents for menu 5, and so on
var menu5=new Array()
menu5[0]='<img src="menu/16.JPG" border=0 width="150" height="25">'
menu5[1]='<a href="contact.html">&nbsp;&nbsp;&nbsp;Nos coordonn&eacute;es</a>'
menu5[2]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu5[3]='<a href="mailto:contact@tanehermetic.fr">&nbsp;&nbsp;&nbsp;Contact par email</a>'
menu5[4]='<img src="menu/17.JPG" border=0 width="150" height="10">'
menu5[5]='<a href="contact_formulaire.html">&nbsp;&nbsp;&nbsp;Formulaire de contact</a>'
menu5[6]='<img src="menu/13.JPG" border=0 width="150" height="17">'


		
var menuwidth='250px' //default menu width
var menubgcolor='#666666'  //menu bgcolor


var disappeardelay=500  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}

function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

