//Expandable archive1 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 archive1contents[] to set the messges you wish be displayed (HTML codes accepted)
//configure the below 2 variables to set the width/background color of the archive1
var archive1width='300px'
var archive1bgcolor='#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 archive1contentstotal= ''
				
function expandarchive1(e){
if (ie4||ns6){
archive1expand_parent=ie4? archive1expand.parentElement : document.getElementById("archive1expand").parentNode
archive1expand_parent.style.display=(archive1expand_parent.style.display=="none")? "" : "none"
}
else{
document.archive1layer.left=e.pageX-e.layerX
document.archive1layer.top= e.pageY-e.layerY+20
document.archive1layer.visibility=(document.archive1layer.visibility=="hide")? "show" : "hide"
return false
}
}
	//periode de la archive à insérer			
if (ie4||ns6)
document.write('<table border="0" style="width:'+archive1width+';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="expandarchive1(event);return(false)" class=nav_gauche id="button" >A. Production végétale</a></b></div></td>')
document.write('<td width="10%" id="archive1list" bgcolor="'+archive1bgcolor+'"></td>')
document.write('</tr><tr style="display:none"><td id="archive1expand" width="90%" class=txt></td><td width="10%"></td></tr>')
document.write('</table>')

if (ns4) document.archive1nsmain.visibility="show"
archive1obj=ie4? archive1list : ns6? document.getElementById("archive1list") : ns4? document.archive1nsmain : ""
archive1expandobj=ie4? archive1expand : ns6? document.getElementById("archive1expand") : ns4? document.archive1layer : ""
				
archive1contentstotal+='A1   Culture irriguée<br>'
archive1contentstotal+='A2   Arboriculture fruitière irriguée et en sec<br>'
archive1contentstotal+='A3   Culture maraîchère<br>'
archive1contentstotal+='A4   Horticulture et pépinière<br>'
archive1contentstotal+='A5   Culture de céréales et autres cultures<br>'

				
if (ie4||ns6)
archive1expandobj.innerHTML=archive1contentstotal
else{
archive1expandobj.document.write(archive1contentstotal)
archive1expandobj.document.close()
}

