//Expandable archive4 script- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use
				
//configure archive4contents[] to set the messges you wish be displayed (HTML codes accepted)
//configure the below 2 variables to set the width/background color of the archive4
var archive4width='350px'
var archive4bgcolor='#FFFFFF'
				
//configure the below variable to determine the delay between ticking of messages (in miliseconds)
				
////Do not edit pass this line////////////////
				
var ie4=document.all
var ns6=document.getElementById
var ns4=document.layers
				
var currentmessage=0
var archive4contentstotal= ''
				
function expandarchive4(e){
if (ie4||ns6){
archive4expand_parent=ie4? archive4expand.parentElement : document.getElementById("archive4expand").parentNode
archive4expand_parent.style.display=(archive4expand_parent.style.display=="none")? "" : "none"
}
else{
document.archive4layer.left=e.pageX-e.layerX
document.archive4layer.top= e.pageY-e.layerY+20
document.archive4layer.visibility=(document.archive4layer.visibility=="hide")? "show" : "hide"
return false
}
}
				
if (ie4||ns6)
document.write('<table border="0" style="width:'+archive4width+';border:0 text-indent:1px" bgcolor="ffffff" cellspacing="0" cellpadding="0">')
document.write('<tr><td width="90%" class=arialn><div id="listbutton" >')
document.write('<a href="#" onClick="expandarchive4(event);return(false)" class=nav_gauche id="button" >D. Métiers de tissage</a></div></td>')
document.write('<td width="10%" id="archive4list" bgcolor="'+archive4bgcolor+'"></td>')
document.write('</tr><tr style="display:none"><td id="archive4expand" width="90%" class=txt></td><td width="10%"></td></tr>')
document.write('</table>')

if (ns4) document.archive4nsmain.visibility="show"
archive4obj=ie4? archive4list : ns6? document.getElementById("archive4list") : ns4? document.archive4nsmain : ""
archive4expandobj=ie4? archive4expand : ns6? document.getElementById("archive4expand") : ns4? document.archive4layer : ""
				
archive4contentstotal+='D1   Tissage<br>'
archive4contentstotal+='D2   Filage de laine<br>'
				
if (ie4||ns6)
archive4expandobj.innerHTML=archive4contentstotal
else{
archive4expandobj.document.write(archive4contentstotal)
archive4expandobj.document.close()
}

