<!--
function F_trouveobjet(n, d)
	{
	var p,i,x;
	if(!d) d=document;
	if((p=n.indexOf("?"))>0&&parent.frames.length)
		{
		d=parent.frames[n.substring(p+1)].document;
		n=n.substring(0,p);
		}
	if(!(x=d[n])&&d.all) x=d.all[n];
	for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=F_trouveobjet(n,d.layers[i].document);
	return x;
	}

function F_preloadImages() 
	{
	var d=document; 
	if(d.images)
		{
		if(!d.F_p) d.F_p=new Array();

		var i, j=d. F_p.length, a=F_preloadImages.arguments;
		for(i=0; i<a.length; i++)
			if (a[i].indexOf("#")!=0)
				{
				d.F_p[j]=new Image;
				d.F_p[j++].src=a[i];
				}
		}
	}

function F_swapImage()
	{
	var i, j=0, x, a=F_swapImage.arguments;
	document.F_sr=new Array;
	for(i=0;i<(a.length-2);i+=3)
		if ((x=F_trouveobjet(a[i]))!=null)
			{
			document.F_sr[j++]=x;
			if(!x.oSrc) x.oSrc=x.src;
			x.src=a[i+2];
			}
	}

function F_swapImgRestore()
	{
	var i, x,a=document.F_sr;

	for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}

function F_affichetexte(objName,x,newText)
	{
	if ((obj=F_trouveobjet(objName))!=null) 
	with (obj)
		if (navigator.appName=='Netscape') 
			{
			document.write(unescape(newText)); 
			document.close();
			}
		else innerHTML = unescape(newText);
	return 1;
	}

function F_actu_accueil()
	{
	var i,j,arg=F_actu_accueil.arguments;
	var pos="";
	
	for (i=0; i<50; i+=5)
		{
		if (arg[i]==0)	pos=" left:0px; top:210px;";
		if (arg[i]==1)	pos=" left:190px; top:160px;";
		if (arg[i]==2)	pos=" left:370px; top:230px;";
		if (arg[i]==3)	pos=" left:210px; top:320px;";
		if (arg[i]==4)	pos=" left: 40px; top:400px;";
		if (arg[i]==5)	pos=" left:  0px; top:540px;";
		if (arg[i]==6)	pos=" left:160px; top:630px;";
		if (arg[i]==7)	pos=" left:280px; top:510px;";
		if (arg[i]==8)	pos=" left:470Px; top:450px;";
		if (arg[i]==9)	pos=" left:570px; top:570px;";

		document.write('<div style="position:absolute;'+pos+' z-index:1">');
		document.write('<img src="'+arg[i+1]+'">');
		document.write('</div>');

		document.write('<div style="position:absolute;'+pos+' z-index:3">');
		document.write('<a href="'+arg[i+2]+'" onmouseover="F_selecteactu('+arg[i]+',\''+arg[i+3]+'\',\''+arg[i+4]+'\')" onmouseout="F_deselecteactu('+arg[i]+')">');
		document.write('<img name="actu0'+arg[i]+'" src="images/ico_passif.gif" border=0>');
		document.write('</a>');
		document.write('</div>');
		}
	}

function F_selecteactu(NumActu, Titre, Texte)
	{
	if (NumActu==0)	actu00.src="images/ico_actif.gif";
	if (NumActu==1) actu01.src="images/ico_actif.gif";
	if (NumActu==2) actu02.src="images/ico_actif.gif";
	if (NumActu==3) actu03.src="images/ico_actif.gif";
	if (NumActu==4) actu04.src="images/ico_actif.gif";
	if (NumActu==5) actu05.src="images/ico_actif.gif";
	if (NumActu==6) actu06.src="images/ico_actif.gif";
	if (NumActu==7) actu07.src="images/ico_actif.gif";
	if (NumActu==8) actu08.src="images/ico_actif.gif";
	if (NumActu==9) actu09.src="images/ico_actif.gif";

	return overlib(Texte, CAPTION, Titre, CENTER);
	}

function F_deselecteactu(NumActu)
	{
	if (NumActu==0)	actu00.src="images/ico_passif.gif";
	if (NumActu==1)	actu01.src="images/ico_passif.gif";
	if (NumActu==2)	actu02.src="images/ico_passif.gif";
	if (NumActu==3)	actu03.src="images/ico_passif.gif";
	if (NumActu==4)	actu04.src="images/ico_passif.gif";
	if (NumActu==5)	actu05.src="images/ico_passif.gif";
	if (NumActu==6)	actu06.src="images/ico_passif.gif";
	if (NumActu==7)	actu07.src="images/ico_passif.gif";
	if (NumActu==8)	actu08.src="images/ico_passif.gif";
	if (NumActu==9)	actu09.src="images/ico_passif.gif";
	
	return nd(); 
	}

function F_chapitre(num,titre)
	{
	document.write('</center>');
	document.write('<a name="chap'+num+'"></a>');
	document.write('<a href="#top"><img src="../../images/ico_top.gif" border="0"></a>&nbsp;&nbsp;&nbsp;');
	document.write(titre+'<br>');
	document.write('<center>');
	}

function F_tableaumenudebut()
	{
	document.write('<br><table width="520px" bgcolor=Moccasin border=2 cellspacing=0 cellpadding=5">');
	}

function F_tableaudebut()
	{
	document.write('<br><table width="98%" bgcolor=Moccasin align=center border=2 cellspacing=0 cellpadding=5">');
	}

function F_tableaufin()
	{
	document.write('</table><br>');
	}

function F_tableauligne()
	{
	var i,j,arg=F_tableauligne.arguments;

	if (arg[0]=='Titre')
		{
		document.write('<tr><td colspan="24" class="S_tableautitre">');
		document.write(arg[1]);
		document.write('</td></tr>');
		}
	else if (arg[0]=='Comment')
		{
		document.write('<tr><td colspan="24" class="S_tableaucomment">');
		for(i=1; i<arg.length; i+=1) document.write(arg[i]);
		document.write('</td></tr>');
		}
	else if (arg[0]=='Menu')
		{
		var nbrub,colspan,width,bgcolor;

		nbrub=arg[1];
		if (nbrub==1) {colspan="24"; width="100%";}
		else if (nbrub==2) {colspan="12"; width="50%";}
		else if (nbrub==3) {colspan="8"; width="33%";}
		else if (nbrub==4) {colspan="6"; width="25%";}

		document.write('<tr>');
		for (i=2; i<nbrub*2+2; i+=2)
			{
			if (arg[i+1]=="#chap1") bgcolor="#BD84BD";
			else bgcolor="FFE7B5";
			document.write('<td width="'+width+'" colspan="'+colspan+'" bgcolor="'+bgcolor+'" class="S_tableaumenu">');
			document.write('<a href="'+arg[i+1]+'">');
			document.write(arg[i]);
			document.write('</a>');
			document.write('</td>');
			}
		document.write('</tr>');
		}
	else if (arg[0]=='3 col')
		{
		var colspan="8";

		document.write('<tr>');
		for (i=1; i<13; i+=4)
			F_cellulereportage(arg[i],arg[i+1],arg[i+2],arg[i+3],colspan);
		document.write('</tr>');
		}
	else if (arg[0]=='2 col')
		{
		var colspan="12";

		document.write('<tr>');
		for (i=1; i<9; i+=4)
			F_cellulereportage(arg[i],arg[i+1],arg[i+2],arg[i+3],colspan);
		document.write('</tr>');
		}
	else if (arg[0]=='1 col')
		{
		var colspan="24";

		document.write('<tr>');
		for (i=1; i<5; i+=4)
			F_cellulereportage(arg[i],arg[i+1],arg[i+2],arg[i+3],colspan);
		document.write('</tr>');
		}
	}

function F_cellulereportage()
	{
	var i,j,arg=F_cellulereportage.arguments;

	document.write('<td colspan="'+arg[4]+'" class="S_tableauimage">');
	if (arg[0]=='Vign')
		{
		document.write('<a href="photos/'+arg[1]+'">');
		if (arg[2]=="#Nom") document.write('<img border=NO src="vignettes/'+arg[1]+'">');
		else document.write('<img border=NO src="vignettes/'+arg[2]+'">');
		document.write('</a>');
		if (arg[3]=="#Nom") document.write('<br>'+arg[1]);
		else document.write('<br>'+arg[3]);
		}
	if (arg[0]=='Logo')
		{
		document.write('<a href="'+arg[1]+'" target=0>');
                document.write('<img border=NO src="vignettes/'+arg[2]+'">');
		document.write('</a>');
		}
	if (arg[0]=='Phot')
		{
		document.write('<img border=NO src="photos/'+arg[1]+'">&nbsp;&nbsp;');
		if (arg[3]=="#Nom") document.write('<br>'+arg[1]);
		else document.write('<br>'+arg[1]+'<br>'+arg[3]);
		document.write('<br><a href="#top"><img src=../../images/ico_top.gif border="0"></a>');
		}
	if (arg[0]=='Imag')
		{
		document.write('<img border=NO src="'+arg[1]+'">&nbsp;&nbsp;');
		if (arg[3]=="") document.write('<br>');
		else document.write('<br>'+arg[3]);
		document.write('<br><a href="#top"><img src=../../images/ico_top.gif border="0"></a>');
		}
	if (arg[0]=='Text')
		{
		if (arg[2]!="") document.write('<a href="'+arg[2]+'">');
		document.write(arg[1]);
		if (arg[2]!="") document.write('</a>');
		document.write('<br>'+arg[3]);
		}
	if (arg[0]=='Vide')
		{
		}
	document.write('</td>');
	}

function F_dictionnaire()
	{
	var i,j,arg=F_dictionnaire.arguments,param1,param2,param3,param4,param5,param6,param7,param8;

	document.write('<a name="menu"></a>');
	F_tableaudebut();
	for(i=0; i<arg.length; i+=8)
		{
		param1=arg[i]; param2='#'+arg[i];
		if (i+2<arg.length) { param3=arg[i+2]; param4='#'+arg[i+2]; }
		else { param3=""; param4=""; }
		if (i+4<arg.length) { param5=arg[i+4]; param6='#'+arg[i+4]; }
		else { param5=""; param6=""; }
		if (i+6<arg.length) { param7=arg[i+6]; param8='#'+arg[i+6] }
		else { param7=""; param8=""; }
		F_tableauligne("Menu","4",param1,param2,param3,param4,param5,param6,param7,param8);
		}
	F_tableaufin();

	for(i=0; i<arg.length; i+=2)
		{
		F_entreedico(i,arg[i]);
		F_tableaudebut();
		F_tableauligne("Comment","<br>"+arg[i+1]+"<br><br>");
		F_tableaufin();
		}
	}

function F_entreedico(num,titre)
	{
	document.write('</center>');
	document.write('<a name="'+titre+'"></a>');
	document.write('<a href="#menu"><img src="../images/ico_top.gif" border="0"></a>&nbsp;&nbsp;&nbsp;');
	document.write('<b>'+titre+'</b><br>');
	document.write('<center>');
	}

function F_parchemin(niveau,titre)
	{
	var i,chemin="";

	for (i=0; i<niveau; i++) chemin = chemin + "../";

	document.write('<div style="position:absolute; left:550px; top:0px; z-index:100">');
	document.write('<img src="'+chemin+'images/parchemin_haut.gif" border="0">');
	document.write('</div>');

	document.write('<div style="position:absolute; left:550px; top:405px; z-index:100">');
	document.write('<img src="'+chemin+'images/parchemin_bas.gif" border="0">');
	document.write('</div>');

	document.write('<div style="position:absolute; left:550px; width:228px; top:5; z-index:100" class="S_texteaide">');
	document.write(titre);
	document.write('</div>');
	}

function F_bandeau(niveau,iconeactif)
	{
	var i,chemin="",position="";

	for (i=0; i<niveau; i++) chemin = chemin + "../";

	document.write('<div style="position:absolute; left:0; top:0; z-index:1">');
	document.write('<img src="'+chemin+'images/bandeau.gif" usemap="#map_bandeau" border="0">');
	document.write('</div>');

	if (iconeactif=='accueil')	position="left:85;  top:59; ";
	if (iconeactif=='bateaux')	position="left:131; top:42; ";
	if (iconeactif=='marionnettes')	position="left:178; top:36; ";
	if (iconeactif=='miniatures')	position="left:225; top:44; ";
	if (iconeactif=='atelier')	position="left:272; top:52; ";
	if (iconeactif=='sorties')	position="left:319; top:61; ";
	if (iconeactif=='contact')	position="left:366; top:66; ";
	if (iconeactif=='favoris')	position="left:413; top:68; ";
	if (iconeactif=='plan')		position="left:460; top:66; ";
	if (iconeactif=='livredor')	position="left:507; top:57; ";

	document.write('<div style="position:absolute; '+position+'z-index:2">');
	if (iconeactif=='bateaux')
		{
		if (niveau<2)
			document.write('<a href="../index.php?RefPage=Accueil Bateaux">');
		else
			document.write('<a href="../../index.php?RefPage=Accueil Bateaux">');
		}
	else if (iconeactif=='marionnettes')
		{
		if (niveau<2)
			document.write('<a href="../index.php?RefPage=Accueil Marionnettes">');
		else
			document.write('<a href="../../index.php?RefPage=Accueil Marionnettes">');
		}
	else if (iconeactif=='miniatures')
		{
		if (niveau<2)
			document.write('<a href="../index.php?RefPage=Accueil Miniatures">');
		else
			document.write('<a href="../../index.php?RefPage=Accueil Miniatures">');
		}
	else if (iconeactif=='atelier')
		{
		if (niveau<2)
			document.write('<a href="../index.php?RefPage=Accueil Atelier">');
		else
			document.write('<a href="../../index.php?RefPage=Accueil Atelier">');
		}
	else if (iconeactif=='sorties')
		{
		if (niveau<2)
			document.write('<a href="../index.php?RefPage=Accueil Sorties">');
		else
			document.write('<a href="../../index.php?RefPage=Accueil Sorties">');
		}
	else if (iconeactif=='favoris')
		{
		if (niveau<2)
			document.write('<a href="../index.php?RefPage=Accueil Favoris">');
		else
			document.write('<a href="../../index.php?RefPage=Accueil Favoris">');
		}
	else
		{
		if (niveau<2)
			document.write('<a href="index.html">');
		else
			document.write('<a href="../index.html">');
		}
	document.write('<img src="'+chemin+'images/selection.gif" border="0">');
	document.write('</a>');
	document.write('</div>');
	}

function F_map_bandeau(niveau)
	{
	var i,chemin="";

	for (i=0; i<niveau; i++) chemin = chemin + "../";

	document.write('<map name="map_bandeau">');

	document.write('<area shape="circle" coords="105,80,21" href="'+chemin+'" ');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Ulmo vous accueille\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('<area shape="circle" coords="151,63,21" href="'+chemin+'index.php?RefPage=Accueil Bateaux" ');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Construction et restauration de vieux gr&eacute;ements en image\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('<area shape="circle" coords="199,57,21" href="'+chemin+'index.php?RefPage=Accueil Marionnettes" ');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Fabrication et restauration de marionnettes<br>Visite du monde des blublut\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('<area shape="circle" coords="246,64,21" href="'+chemin+'index.php?RefPage=Accueil Miniatures" ');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Fabrication artisanale et vente de meubles miniatures\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('<area shape="circle" coords="293,72,21" href="'+chemin+'index.php?RefPage=Accueil Atelier" ');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Dans cet atelier, vous trouverez le coin des trucs et astuces\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('<area shape="circle" coords="340,81,21" href="'+chemin+'index.php?RefPage=Accueil Sorties" ');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Des salons, des expositions, des f&ecirc;tes ... pass&eacute;es et &agrave; venir\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('<area shape="circle" coords="387,86,21" href="mailto:corieux@ulmo.net" ');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Besoin de renseignements, des remarques ... écrivez &agrave; Ulmo\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('<area shape="circle" coords="434,88,21" href="'+chemin+'index.php?RefPage=Accueil Favoris" ');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Nos coup de c&oelig;ur pour des sites : miniatures, mod&egrave;les r&eacute;duits, artisanat, amis, ...\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('<area shape="circle" coords="481,86,21" href="'+chemin+'plan/" ');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Plan du site<br>Les trucs des webmaster\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('<area shape="circle" coords="528,78,21" href="'+chemin+'livredor/" ');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Donnez votre avis ou faites part de vos remarques sur un livre tout en or\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('<area shape="poly" coords="160,3,160,34,222,33,423,65,543,45,543,5,422,28,249,3" href="http://perso.club-internet.fr/michel.decossas" target="_blank"');
	document.write('onMouseOver="F_affichetexte(\'aide\',\'\',\'Venez visiter le site personnel de Catherine et Michel\')" ');
	document.write('onMouseOut="F_affichetexte(\'aide\',\'\',\'\')">');

	document.write('</map>');
	}

function F_actualite()
	{
	var niveau;
	var i,chemin="",arg=F_actualite.arguments;

	niveau=arg[0];
	for (i=0; i<niveau; i++) chemin = chemin + "../";

	document.write('<div style="position:absolute; left:5px; top:160px; z-index:1" class="S_texteaide">');
	document.write('<img src="'+chemin+'images/actualite.gif" border="0">');
	document.write('</div>');

	document.write('<div style="position:absolute; left:16px; top:170px; width=225px; z-index:2" align="center">');
	document.write('<a href="'+arg[3]+'" onMouseOver="F_selecteactu(-1,\''+arg[4]+'\',\''+arg[5]+'\')" onMouseOut="F_deselecteactu(-1)">');
	document.write('<img src="'+chemin+'images/'+arg[2]+'" border="0">');
	document.write('</a>');
	document.write('</div>');

	if (arg.length==11)
		{
		document.write('<div style="position:absolute; left:16px; top:326px; width=225px; z-index:2" align="center">');
		document.write('<a href="'+arg[8]+'" onMouseOver="F_selecteactu(-1,\''+arg[9]+'\',\''+arg[10]+'\')" onMouseOut="F_deselecteactu(-1)">');
		document.write('<img src="'+chemin+'images/'+arg[7]+'" border="0">');
		document.write('</a>');
		document.write('</div>');
		}

	if (arg.length==16)
		{
		document.write('<div style="position:absolute; left:16px; top:271px; width=225px; z-index:2" align="center">');
		document.write('<a href="'+arg[8]+'" onMouseOver="F_selecteactu(-1,\''+arg[9]+'\',\''+arg[10]+'\')" onMouseOut="F_deselecteactu(-1)">');
		document.write('<img src="'+chemin+'images/'+arg[7]+'" border="0">');
		document.write('</a>');
		document.write('</div>');
		document.write('<div style="position:absolute; left:16px; top:380px; width=225px; z-index:2" align="center">');
		document.write('<a href="'+arg[13]+'" onMouseOver="F_selecteactu(-1,\''+arg[14]+'\',\''+arg[15]+'\')" onMouseOut="F_deselecteactu(-1)">');
		document.write('<img src="'+chemin+'images/'+arg[12]+'" border="0">');
		document.write('</a>');
		document.write('</div>');
		}
	}

function F_favori()
	{
	var i,arg=F_favori.arguments;
	
	document.write('</center><a name="'+arg[0]+'"></a>');
	document.write('<a href="#top"><img src="../../images/ico_top.gif" border="0" target="blanc"></a>&nbsp;&nbsp;&nbsp;');
	document.write('>> Favoris >> <b>'+arg[0]+' - '+arg[1]+'</b><br><center>');
	F_tableaudebut();
	if (arg.length==2) F_tableauligne("Comment","aucune adresse pour l'instant");
	else
		{
		for (i=2; i<arg.length; i+=4)
			{
			F_tableauligne("2 col","Logo",arg[i],arg[i+1],"","Text","","",arg[i+2]);
			F_tableauligne("Comment",arg[i+3]);
			}
		}
	F_tableaufin();
	}
//-->
