if (document.all){

}
else if (document.getElementById){

		if (debut==true){
		document.getElementById("../pages/acceuil.html").style.top==200;
		document.getElementById("../pages/acceuil.html").style.left==200;
		debut=false;
	}
	if (direction==1){
	document.getElementById("../pages/acceuil.html").style.top=parseInt(document.getElementById("imageArbre").style.left)-20;
	}

}
else if (navigator.appName=="Netscape" &&(navigator.appVersion).charAt(0)==4){
	//code pour Netscape 4
	if (direction==1){
		top.content_frame.document.write("<html><head></head><body><a href='http//www.microsoft.com'>Cliquer pour une mise a jour Microsoft Internet Explorer 6.0</a></body></html>");
	}
}

//-------------------------------
function ouvreFenetre(){
	var popup=window.open("","dodomac","width=325,height=175,left="+((screen.width-300)/2)+",top="+((screen.height-300)/2));

		popup.document.write("<head><title>Dodomac</title></head><body>");
		popup.document.write("<img src='animation/grandeur.gif' width='300' height='150'>");
		popup.document.write("</body></html>");
		popup.document.close();
		popup.focus();
}
//-------------------------------
function openwindow(){
	var popup=window.open("","napmac","width=325,height=175,left="+((screen.width-300)/2)+",top="+((screen.height-300)/2));

		popup.document.write("<head><title>Napmac</title></head><body>");
		popup.document.write("<img src='animation/size.gif' width='300' height='150'>");
		popup.document.write("</body></html>");
		popup.document.close();
		popup.focus();
}
//-------------------------------
var SpeakerAnim=new Array();
	for(i = 0 ; i < 2 ; i++){
		SpeakerAnim[i]=new Image();
		SpeakerAnim[i].src="../image1/speaker0"+(i+1)+".jpg";
}
//-------------------------------
var noImage=1;
function animation(){
	document.speaker.src=SpeakerAnim[noImage].src;
	if(noImage < SpeakerAnim.length-1){
		noImage++;
	}
	else{
	noImage=0;
	}	
	setTimeout("animation();",500);	
}

//-------------------------------
function allerPage(){
	location.href = document.formulaire.destination.value;
}



