// JavaScript Document



function video (n){
switch (n){
		case 1:
			document.write(
			" <embed src=\"video/preparation.m4v\" type=\"video/quicktime\" width=\"640\" height=\"400\" autostart=\"true\"  pluginspage=\"http://www.apple.com/quicktime/download\" loop=\"false\">"
			+"</embed>");
			break;
		case 2:
			document.write(
			" <embed src=\"video/diner.m4v\" type=\"video/quicktime\" width=\"640\" height=\"400\" autostart=\"true\"  pluginspage=\"http://www.apple.com/quicktime/download\" loop=\"false\">"
			+"</embed>");
			break;
		case 3:
			document.write(
			" <embed src=\"video/fete.m4v\" type=\"video/quicktime\" width=\"640\" height=\"400\" autostart=\"true\"  pluginspage=\"http://www.apple.com/quicktime/download\" loop=\"false\">"
			+"</embed>");
			
			break;
		case 4:
			document.write(
			" <embed src=\"video/tombola.m4v\" type=\"video/quicktime\" width=\"640\" height=\"400\" autostart=\"true\"  pluginspage=\"http://www.apple.com/quicktime/download\" loop=\"false\">"
			+"</embed>");
			
			break;
			
	}
	document.write( "<br>" 
			+"<b>"
			+"DEPART :"
			+ "</b>"
			+"Double-cliquer sur l\'image ou sur le bouton \">\"." +"<br>"
			+ "<b>"
			+ "ARRET : "
			+"</b>" 
			+"Cliquer sur l\' image ou sur le bouton \"II\". "
			+ "<br><br>"
			+"<a href =\"index.html\" >" + "retour &agrave; la page \"video\"" + "</a>" );

}

function musique (){
	

		document.write(
			"<embed src='sons/cloches_st_jo.mp3' type='audio/x-mpeg' width='50' height='30' loop ='true' autostart='true' hidden='false' controller='true' pluginspage='http://www.apple.com/quicktime/download' volume='10'></embed>");
			
		
	
}
	function musique2 (n){ 
		
		//document.getElementById("cloche").src='sons/cloches_st_jo.mp3' ;
		//<embed src='sons/cloches_st_jo.mp3' type='audio/x-mpeg' width='50' height='30'id='cloche' name='cloche' loop ='true' autostart='false' controller='true' hidden='false'  volume='10'></embed>
				 
		
		
		}