var SubjectLine='Take a look at this web page I found, '+document.title;
var BodyText='You can see this page at: '+window.location;
var Message='Send <A CLASS=contact HREF="mailto:?SUBJECT='+escape(SubjectLine)+'&BODY='+escape(BodyText)+'\" OnMouseOver="status=\'Envoyer cette page &agrave; vos amis\'; return true;" TITLE="Send your friends e-mail about this page">this page</A> to a friend.';
var MessageIE='Send <A CLASS=contact HREF="mailto:?SUBJECT='+(SubjectLine)+'&BODY='+(BodyText)+'\" OnMouseOver="status=\'Envoyer cette page &agrave; vos amis\'; return true;" TITLE="Send your friends e-mail about this page">this page</A> to a friend.';

document.write('<TABLE><TR><TD WIDTH=15><TD COLSPAN=2>');

if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.indexOf("Windows", 0) != -1 && navigator.appVersion.substring(0,1) >= 4) { document.write('<A CLASS=homelink HREF=\"javascript:addbookmark()\" TITLE=\"Click to add this page to your favorites\" OnMouseOver=\"window.status=\'Cliquez pour ajouter un signet pour cette page\'; return true;\"><STRONG CLASS=fourteen STYLE="margin: 0 0 0 15px;text-align: left;"><SPAN CLASS=nb>Bookmark this page!</SPAN></STRONG></A>'); }
else { document.write('<STRONG CLASS=fourteen><SPAN CLASS=nb TITLE="Hold down the &#147;Control Key&#148; and click anywhere on this page. A contextual menu will appear, allowing you add this page to your favorites" OnMouseOver="window.status=\'Appuyez sur la touche &laquo;Contr&ocirc;le&raquo; et cliquez n&#146;importe o&ugrave; sur cette page. Un menu contextuel surgira qui vous permettra &agrave; mettre cette page dans vos signets.\'; return true;" OnMouseOut="window.status=\'\'; return true;" STYLE="cursor: arrow">Bookmark this page!</SPAN></STRONG>'); }
document.write('</TD></TR><TR><TD>');
if (window.print) { document.write('&nbsp;</TD><TD WIDTH=109 VALIGN=middle><A HREF=\"#top\" OnMouseOver=\"window.status=\'Imprimer cet article\'; return true;\" onClick=\"javascript:window.print()\"><IMG SRC=\"http://www.tanbou.com/Images/PrintThisPage.gif\" ALT=\"Print this article\" WIDTH=84 HEIGHT=20 BORDER=0><\/A>'); }
else { document.write('&nbsp;'); }

document.write('</TD><TD WIDTH=\"100%\" VALIGN="');

if (window.print) { document.write('middle'); }
else { document.write('bottom'); }

document.write('"><HR></TD><TD VALIGN=top ALIGN=right NOWRAP CLASS=fourteen>');

if(document.all) { document.write(MessageIE); }
else { document.write(Message); }

document.write('</SPAN><FORM NAME=search2 METHOD=post ACTION=\"http://www.tanbou.com/search/search.pl\"><INPUT TYPE=text CLASS=nextbutton OnFocus="this.className=\'nextbuttonOn\'; clearText(this)" OnBlur="this.className=\'nextbutton\'; restoreText(this)" OnMouseOver="this.className=\'nextbuttonOn\'; window.status=\'Moteur de Recherche: Tapez ce que vous voulez rechercher ici, et faites Retour\'; return true;" OnMouseOut="this.className=\'nextbutton\'" TITLE=\"Type what you would like to search for here, and hit Return\" NAME=terms VALUE=Search Engine SIZE=22><INPUT TYPE=hidden NAME=boolean VALUE=ET><INPUT TYPE=hidden NAME=case VALUE=Insensible></FORM></TD><TD WIDTH=15>&nbsp;</TD></TR></TABLE>');

//++Move user-selected text to the search field
function display() {
if (document.getSelection) { var str = document.getSelection(); }
else if (document.selection && document.selection.createRange)
{ var range = document.selection.createRange();
var str = range.text; }
document.search2.terms.value = str;
}

if (window.Event)
document.captureEvents(Event.MOUSEUP);
document.onmouseup = display;

function addbookmark(){
if (document.all)
window.external.AddFavorite(location.href, document.title)
}