/* AUTHOR: Cooking2000 (http://www.cooking2000.fr and http://www.cooking2000.com) */
/* CREATION DATE: 02/02/28 -- AA/MM/JJ */
/* REVISION DATE: 09/12/28 -- AA/MM/JJ */

var retourfctn = 0;

function affichecheminretour(url,go2url,txt,exitthis)
{
var d=document;
var myurl = location.href;
if (myurl.match(url) != null)
	{
	d.write('<a href="' + go2url + '"><b>'+ txt + '</b></a>');
	retourfctn = exitthis;
	} 
	return retourfctn;
}

var myurl = location.href;
var d=document;
if (myurl.match("PRINT") == null)
{detailsVisibility('none');

d.write('<DIV ID="DIV1" CLASS="DIV_DETAILS">');
d.write('<scr'+'ipt>topheader(\'XXCoup de pub&hellip;\',"8FCA00"); </scr'+'ipt>');
myurlnew = '<div align=center><br><a href=http://clic.reussissonsensemble.fr/click.asp?ref=323470&site=7482&type=b10&bnb=10 target=_blank><img src=http://banniere.reussissonsensemble.fr/view.asp?ref=323470&site=7482&b=10 border=0 width=120 height=60></a></div><br>';
d.write('<script>cdactu("02/15/2012","'+ myurlnew +'");</script>');
myurlnew = '&#149; <a href=http://clk.tradedoubler.com/click?p=191874&a=970620&g=0&url=http://www.fr.lastminute.com/site/voyages/reservation-hotels/bon-plan/newskin_topsecret_hotel_homepage.html?CATID=111064&intcmp=topsecret&partnerId=31037 target=_blank><b><font color=#ec008c>Hôtel Top Secret 4* et 5* (avec lastminute)</font></b></a><br>';
d.write('<script>cdactu("02/28/2012","'+ myurlnew +'");</script>');
myurlnew = '&#149; <a href=http://www.amazon.fr/gp/product/B004S38IUE/ref=as_li_ss_tl?ie=UTF8&tag=cooking2000-21&linkCode=as2&camp=1642&creative=19458&creativeASIN=B004S38IUE><b>Carte-cadeau Amazon.fr</b></a><br>';
d.write('<script>cdactu("12/31/2012","'+ myurlnew +'");</script>');
d.write('<hr size="1" noshade>');
d.write('</DIV>');
}

/* Facebook - I like button */
d.write('<scr'+'ipt>topheader(\'XXAimez-nous&hellip;<img src="/image/nouveau.gif" border="0" width="47" height="11" alt="Nouveau sur Cooking2000">\',"8FCA00"); </scr'+'ipt>');
d.write('<div style="text-align: center"><iframe src="http://www.facebook.com/plugins/like.php?app_id=224066524287858&amp;href='+ escape(location.href) + '&amp;send=false&amp;layout=standard&amp;width=200&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=tahoma&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:45px;" allowTransparency="true"></iframe></div>');
d.write('<hr noShade size="1">');
/* Facebook - I like button */

d.write('<form name="formulaire"><input type="checkbox" id="printthis" name="cases" onclick="controle_choix(0)"><label for="printthis"><b>Version imprimable</b></label>');
d.write('</form>');
detailsVisibility('block');

d.write('<hr noShade size="1">');
/* 
We use this menu for all the main pages except for "Cocktails"
*/
if ((myurl.match("dossier.htm") != null)||(myurl.match("dessert.htm") != null)||
(myurl.match("fish.htm") != null)||(myurl.match("starter.htm") != null)||(myurl.match("recettes-noel.htm") != null)||
(myurl.match("recette-du-jour.htm") != null)||(myurl.match("newsletter.htm") != null)||
(myurl.match("meat.htm") != null)||(myurl.match("salad.htm") != null)||(myurl.match("archive.htm") != null)||
(myurl.match("egg.htm") != null)||(myurl.match("menu-recette-chandeleur.htm") != null)||(myurl.match("sauce.htm") != null)||
(myurl.match("sante.htm") != null)||(myurl.match("world.htm") != null)||
(myurl.match("farce.htm") != null)||(myurl.match("fromages.htm") != null)||
(myurl.match("dish.htm") != null)||(myurl.match("veget.htm") != null)||(myurl.match("infoprod.htm") != null)||
(myurl.match("soupe.htm") != null)||(myurl.match("recettes-cuisine-par-ingredient.htm") != null))

{
d.write('<a href="index.html">Accueil</a> ou <a href="/fr/dossier/menu-recette-mardi-gras.htm" title="Mardi Gras 2012"><b>Mardi Gras (Beignets, Bugnes et Crêpes&hellip;)</b></a>');
}
else
{
d.write('<a href="../index.html">Accueil</a> ou <a href="/fr/dossier/menu-recette-mardi-gras.htm" title="Mardi Gras 2012"><b>Mardi Gras (Beignets, Bugnes et Crêpes&hellip;)</b></a>&nbsp;&gt;&nbsp;');
}

/* Les chefs */
affichecheminretour('#albertoherraiz','/fr/chef/alberto-herraiz.htm','Alberto Herraiz',1);
if (retourfctn==1) {myurl="";}
affichecheminretour('laurence-salomon','/fr/chef/laurence-salomon.htm','Laurence Salomon',1);
if (retourfctn==1) {myurl="";}

/* Les recettes */

affichecheminretour('#mardigras','/fr/dossier/menu-recette-mardi-gras.htm','Mardi Gras (Beignets, Bugnes et Crêpes&hellip;)',1);
if (retourfctn==1) {myurl="";}

affichecheminretour('#galette','/fr/recettes/recette-galette-des-rois.htm','Galettes des Rois',1);
if (retourfctn==1) {myurl="";}

affichecheminretour('#foiegras','/fr/recettes/recette-foie-gras.htm','Foie Gras',1);
if (retourfctn==1) {myurl="";}

affichecheminretour('#clafoutis','/fr/recettes/recette-clafoutis.htm','Clafoutis',1);
if (retourfctn==1) {myurl="";}

affichecheminretour('#serrano','/fr/europe/jambon-serrano.htm','Jambon Serrano',1);
if (retourfctn==1) {myurl="";}

affichecheminretour('#tatin','/fr/recettes/recette-tarte-tatin.htm','Tarte Tatin',1);
if (retourfctn==1) {myurl="";}

if (myurl.match("cocktail/") != null)
	{
	d.write('<a href="../cocktail.htm">Cocktails</a>');
	d.write('<hr noShade size="1">');
	d.write("<b>L'abus d'alcool est dangereux. Pour votre santé, sachez apprécier et consommer avec modération.</b>");
	} 

if (myurl.match("starter/") != null)
	{
	d.write('<a href="../starter.htm">Entrées</a>');
	} 

if (myurl.match("soupe/") != null)
	{
	d.write('<a href="../soupe.htm">Soupes</a>');
	} 

if (myurl.match("egg/") != null)
	{
	d.write('<a href="../egg.htm">Oeufs</a>');
	}

if (myurl.match("salad/") != null)
	{
	d.write('<a href="../salad.htm">Salades</a>');
	}
	
if (myurl.match("fish/") != null)
	{
	d.write('<a href="../fish.htm">Poissons</a>');
	}
	
if (myurl.match("meat/") != null)
	{
	d.write('<a href="../meat.htm">Viandes</a>');
	}
	
if (myurl.match("poultry/") != null)
	{
	d.write('<A href="../poultry.htm">Volailles</a>');
	}

if (myurl.match("dish/") != null)
	{
	d.write('<a href="../dish.htm">Plats</a>');
	}
	
if (myurl.match("veget/") != null)
	{
	d.write('<a href="../veget.htm">Légumes</a>');
	}

if (myurl.match("fromage/") != null)
	{if (myurl.match("du-fromage") != null)
	{/* do nothing */}
	else
	{
	d.write('<a href="../fromages.htm">Fromages</a>');
		if (myurl.match("video-pays-gout") != null)
		{/* do nothing */}
		else
		{d.write('&nbsp;<a href="/fr/fromage/video-pays-gout-sommaire.htm">(voir aussi les fromages en vidéo)</a>&nbsp;<scr'+'ipt> checknew("05/14/2010"); </scr'+'ipt>');}
	}
	}
if (myurl.match("dessert/") != null)
	{
	d.write('<a href="../dessert.htm">Desserts</a>');
	}

if (myurl.match("farce/") != null)
	{
	d.write('<a href="../farce.htm">Farces</a>');
	}

if (myurl.match("sauce/") != null)
	{
	d.write('<a href="../sauce.htm">Sauces</a>');
	}
if (myurl.match("world/") != null)
	{
	d.write('<a href="../world.htm">Cuisine du monde</a>');
	}
if (myurl.match("dossier/") != null)
	{
	d.write('<a href="../dossier.htm">Dossiers</a>');
if (myurl.match("artichaut") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="artichaut.htm">Artichaut</a>');
	}
if (myurl.match("boudin") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="boudins.htm">Les boudins</a>');
	}
if (myurl.match("escargot-") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="escargot.htm">Escargots</a>');
	}
if (myurl.match("glace") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="glace.htm">Les glaces</a>');
	}
if (myurl.match("lapin") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="lapin.htm">Lapin</a>');
	}
if (myurl.match("mache-") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="mache.htm">La mâche</a>');
	}
if (myurl.match("soupetable") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="soupetable.htm">La soupe</a>');
	}
if (myurl.match("veau-") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="veau.htm">Le veau</a>');
	}
} /* fermeture pour dossier */

if (myurl.match("infoprod/") != null)
{
d.write('<a href="../infoprod.htm">Info Produits</a>');
if (myurl.match("cm-") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="classic-malts-fruits-de-mer.htm">Classic Malts et Fruits de Mer</a>');
	}
if (myurl.match("danette") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<br><a href="danette-35ans.htm">Danette fête ses 35 ans</a>');
	}
if (myurl.match("ldc-chicnp") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="ldc-chicn.htm">Les Chic' + "'" + 'n par Le Gaulois</a>');
	}
if (myurl.match("ldc-scblr") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="ldc-scbl.htm">Emballage sécable Le Gaulois</a>');
	}
if (myurl.match("ldc-pane.htm") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="ldc-pane.htm">Permission gourmande</a>');
	}
if (myurl.match("ldc-preptrad") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="ldc-preptrad.htm">Préparations traditionnelles du volailler</a>');
	}
}

if (myurl.match("resto/") != null)
	{
	d.write('<a href="../resto.htm">Restaurants</a>');
	}

if (myurl.match("book/") != null)
	{
	d.write('<a href="../book.htm">Livres</a>');
	}

if (myurl.match("sante/") != null)
	{
	d.write('<a href="../sante.htm">Santé</a>');
	}

if (myurl.match("gastronomie/") != null)
	{
	d.write('<a href="gastronomie.htm">Gastronomie</a>');
	}

if (myurl.match("wine/") != null)
	{
	d.write('<a href="wine.htm">Vins</a>');
	d.write('<hr noShade size="1">');
	d.write("<b>L'abus d'alcool est dangereux. Pour votre santé, sachez apprécier et consommer avec modération.</b>");
	}

if (myurl.match("event/") != null)
{
	d.write('<a href="../expo.htm">Evénements</a>');
if (myurl.match("sial2004.") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="sial2004.htm">SIAL</a>');
	}
if (myurl.match("sial2004boisson.") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="sial2004boisson.htm">Boissons</a>');
	}
if (myurl.match("sial2004frleg.") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<a href="sial2004frleg.htm">Fruits & Légumes</a>');
	}
if (myurl.match("cuisine-fleurs-") != null)
	{
	d.write('&nbsp;&gt;&nbsp;<br><a href="cuisine-fleurs-chezclement.htm">Cuisine aux fleurs chez Clément</a>');
	}

d.write('<hr noShade size="1">'); /* Utilisé uniquement pour les events car pas de pub... */
}

/* d.write('<hr noShade size="1">Pages visitées : ' + Count() );
d.write('<hr noShade size="1">'); */

/* No ads for printing */
d.write('<DIV ID="DIV1" CLASS="DIV_DETAILS">');
	/* No ads for "events"... */
	if (myurl.match("event/") == null)
	{
	/*
	d.write('<hr noShade size="1">');
	translaterecipe(document.title);
	*/
	d.write('<hr noShade size="1">');
	d.write('<scr'+'ipt>topheader(\'XXLa recette du jour&hellip;\',"8FCA00"); </scr'+'ipt>');
	d.write('<div align="center"><img src="/image/nouveau.gif" border="0" width="47" height="11" alt="Nouveau sur Cooking2000">');
	d.write('<br><a href="/fr/recette-du-jour/recettes-du-jour-fev-2012.htm"><b>Recettes du jour<br>février 2012<br>en images</b></a>');
	d.write('<br><a href="/fr/recette-du-jour.htm">');
	d.write('<img src="/image/c2k-ad/autopromo/recette-du-jour-2011.jpg" border="0" width="180" height="135" alt="Recevez gratuitement la recette du jour"></a>');
	d.write('<br><img src="/image/nouveau.gif" border="0" width="47" height="11" alt="Nouveau sur Cooking2000"></div>');
	}
d.write('</DIV>');
	if (myurl.match("event/") == null)
	{d.write('<hr noShade size="1">');}

