/* AUTHOR: PatrickN from Cooking2000 (http://www.cooking2000.com) */
/* CREATION DATE: 01/11/23 -- AA/MM/JJ */
/* REVISION DATE: 05/02/13 -- AA/MM/JJ */

	var now=document.lastModified;
	var MyDate = new Date(document.lastModified)
	var mdr=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); 
	var moddate=MyDate.getDate() + "-" + mdr[MyDate.getMonth()] + "-" +  MyDate.getFullYear(); 

	var myurltotest = location.href;
	var taille1 = "-2";
	var taille2 = "-1";
	var taille3 = "+1";
	var mysize = "-1";

	var d=document;
	
	if (screen.width < 600)
		{
		 var mysizes = taille1;
		 var mysizel = taille2;
		}
	else
		{
		 var mysizes = taille2;
		 var mysizel = taille3;
		}

function imprimer()
{
window.print();
}
		
/* New addition - Begin */
d.write("<center>");
d.write('<div align="center">');
d.write('<br><iframe src="http://rcm.amazon.com/e/cm?t=cooking2000&o=1&p=13&l=bn1&mode=books&browse=6&fc1=&lc1=&lt1=_blank&nou=1&f=ifr&bg1=&f=ifr" marginwidth="0" marginheight="0" width="468" height="60" border="0" frameborder="0" style="border:none;" scrolling="no"></iframe>');
d.write('<br><br><font face="Verdana, Arial" size="1">Use this area to add your comments (should be used before printing).</font><br>');
d.write('<table width="602" border="0" cellspacing="0" cellpadding="0">');
d.write('<tr>');
d.write('<td width="30%"><img src="../images/pixel.gif" width="1" height="1"/></td>');
d.write('<td align="center" bgcolor="#CAFEDECA">');
d.write('<font face="Verdana, Arial" size="2" color="#000000">Your comments regarding this recipe:</font>');
d.write('</td>');
d.write('<td witdth="30%"><img src="../images/pixel.gif" width="1" height="1"/></td>');
d.write('</tr>');
d.write('<tr>');
d.write('<td width="30%"><img src="../images/pixel.gif" width="1" height="1"/></td>');
d.write('<td align="center">');
d.write('<form><textarea name="" cols="68" rows="5" value=""></textarea></form>');
d.write('</td>');
d.write('<td width="30%"><img src="../images/pixel.gif" width="1" height="1"/></td>');
d.write('</tr>');
d.write('</table>');
d.write('</div>');

d.write('<font face="Verdana, Arial" size="3"><b>Click here to vote for Cooking2000 at<br>');
d.write('<a href="http://www.top100womensites.com/scripts/arp/rankem.cgi?id=cook2k" target="_blank">Top 100 Women sites</a> / <a href="http://www.top100recipesites.com/cgibin/sites/rankem.cgi?id=cook2k" target="_blank">Top 100 Recipes sites</a></b></font><br>');
d.write('<BR><font face="Verdana, Arial" size="3"><A HREF="../../donate.htm"><B>Do you appreciate Cooking2000?</B></font>');
d.write('<BR><IMG SRC="../../image/c2k-ad/paypal-donate.gif" BORDER="0" WIDTH="110" HEIGHT="23" ALT="Visit our Donation Page"></A><BR><BR>');


d.write('<table border=0 cellpadding=0 cellspacing=0 width="90%"><tr><td>');     /* Table 1 */
d.write('<table width="100%" border="0" cellspacing="0" bgcolor="#9999CC">');	 /* Table 2 */
d.write('<tr>');
d.write('<td align="center"><center>');
d.write('<table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#FFFFCC">');
d.write('<tr align="center">');
d.write('<td><font size="' + mysizes +'" face="arial"><A HREF="../../index.html">Home</a></font></td>');
if (myurltotest.match("cocktail") == null)
	mysize = mysizes; 
else
	mysize = mysizel;
d.write('<td><font size="' + mysize +'" face="arial"><A HREF="../cocktail.htm">Cocktails</a></font></td>');
if (myurltotest.match("starter") == null)
	mysize = mysizes; 
else
	mysize = mysizel;
d.write('<td><font size="' + mysize +'" face="arial"><A HREF="../starter.htm">Starters</a></FONT></td>');
if (myurltotest.match("salad") == null)
	mysize = mysizes; 
else
	mysize = mysizel;
d.write('<td><font size="' + mysize +'" face="arial"><A HREF="../salad.htm">Salads</a></FONT></td>');
if (myurltotest.match("fish") == null)
	mysize = mysizes; 
else
	mysize = mysizel;
d.write('<td><font size="' + mysize +'" face="arial"><A HREF="../fish.htm">Fishes</a></FONT></td>');
if (myurltotest.match("meat") == null)
	mysize = mysizes; 
else
	mysize = mysizel;
d.write('<td><font size="' + mysize +'" face="arial"><A HREF="../meat.htm">Meats</a></FONT></td>');
if (myurltotest.match("dish") == null)
	mysize = mysizes; 
else
	mysize = mysizel;
d.write('<td><font size="' + mysize +'" face="arial"><A HREF="../dish.htm">Main courses</a></FONT></td>');
if (myurltotest.match("veget") == null)
	mysize = mysizes; 
else
	mysize = mysizel;
d.write('<td><font size="' + mysize +'" face="arial"><A HREF="../veget.htm">Vegetables</a></FONT></td>');
if (myurltotest.match("dessert") == null)
	mysize = mysizes; 
else
	mysize = mysizel;
d.write('<td><font size="' + mysize +'" face="arial"><A HREF="../dessert.htm">Desserts</a></FONT></td>')
if (myurltotest.match("sauce") == null)
	mysize = mysizes; 
else
	mysize = mysizel;
d.write('<td><font size="' + mysize +'" face="arial"><A HREF="../sauce.htm">Sauces</a></FONT></td>');

d.write("</tr>");
d.write("</table>");
d.write("</td></tr></table>");
d.write("</td></tr></table>");
d.write("</center>");

/* New addition - End */

/* Next line: to be localized */
mail_str = "You are reading the <B>" + document.title + "</B> recipe.";
/* Next line: to be localized */
mail_title = "mailto:?subject=Recipe " + document.title + "?body=From Cooking2000 website, at the following address: " + location.href + " I've found this recipe."
/* Next line: to be localized */
var myurltotest = location.href;
myurltotest = myurltotest.toUpperCase();
if (myurltotest.match("FORTUNECITY.COM") == null && myurltotest.match("FREE.FR") == null)
{
var marker;
var myurltotest = location.href;
if (myurltotest.match("/us/") != null)
{
marker = myurltotest.indexOf("/us/");
marker = marker + 3;
if (marker < 0 && myurltotest.length > 0)
{
ranges = myurltotest;
}
else
{
ranges = myurltotest.substr(marker + 1);
}
marker = 0;
mail_str2 = ("This page comes from the following address: <a href=" + "'" + "http://www.cooking2000.com/fr/" + unescape(ranges).toLowerCase() + "'>" + "http://www.cooking2000.com/us/" + unescape(ranges).toLowerCase() + "</a>");
}
}
else
{
mail_str2 = ("This page comes from the following address: <a href=" + "'" + myurltotest.toLowerCase() + "'>" + myurltotest.toLowerCase() + "</a>");
}

/* mail_str2 = "Cette page se trouve à l'adresse : " + "<A href='" + location.href  + "'>" + location.href +  "</A>" ; 
mail_str2 = "This page comes from the following address: " + "<A href='" + "http://www.cooking2000.com" + "'>" + "http://www.cooking2000.com" +  "</A>" ; */ 
d.write("<BR>");
d.write('<center>');
/* Next line: to be localized */
d.write('<CENTER><form method="get" action="http://search.atomz.com/search/">');
/* Next line: to be localized */
d.write('<input type="submit" value="Search a recipe">');
d.write('<input size="20" name="sp-q">');
d.write('<input type="hidden" name="sp-a" value="000330fe-sp1002ac6c">');
d.write('&nbsp;or&nbsp;<input name="B1" onClick="imprimer()" type="button" value="Print this recipe...">');
d.write('</form></CENTER>');

d.write('<font face="Verdana, Arial" size="1">');
/* The following 2 lines need to be localized: Mail stuff*/
mylocstatus = 'Share this recipe with a friend.';
textname = 'Send this recipe to a friend';  
mystatus = 'onmouseover=' + '"' + 'window.status=' + "'" + mylocstatus + "'" + '; return true'+ '"';
d.write('<A href="' + mail_title+ '"' + ' onmouseout=erase() ' + mystatus + '>' + textname + '</A>');
/* The following 2 lines need to be localized */
mylocstatus = 'Go back to the previous page.';
textname = 'Back Page';
mystatusp = 'onmouseover=' + '"' + 'window.status=' + "'" + mylocstatus + "'" + '; return true'+ '"';
d.write('&nbsp;/&nbsp;<A href=' + '"' + 'javascript:history.back()' + '"' + ' onmouseout=erase() ' + mystatusp + '>' + textname+'</A>');
/* The following 3 lines need to be localized */
comment_title = "mailto:webma" + "ster@cooking2000.com?subject=Feedback about the page called " + document.title
mycommentstatus = 'Send us your feedback or your comment.';
textname = 'Question? Comments? Send us your feedback';  
mystatus = 'onmouseover=' + '"' + 'window.status=' + "'" + mycommentstatus + "'" + '; return true'+ '"';
d.write('&nbsp;/&nbsp;<A href="' + comment_title + '"' + ' onmouseout=erase() ' + mystatus + '>' + textname + '</A></CENTER>');
d.write("<BR>");
d.write(mail_str);
d.write("<BR>");
d.write(mail_str2);
d.write('</font>');
d.write("<BR><HR size=1 width=100% noshade><CENTER>");
d.write('<font face="Verdana, Arial" size="1">');
/* Next 2 lines: to be localized */
d.write("Last update on this page: " + moddate);
d.write("<br>© 2000-2009 Cooking2000 - All right reserved" + "</center></font>");
d.write('<script type="text/javascript" src="http://www.assoc-amazon.com/s/link-enhancer?tag=cooking2000&o=1"></script>');
d.write('<noscript><img src="http://www.assoc-amazon.com/s/noscript?tag=cooking2000" alt="" /></noscript>');
