//++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)
}

var SubjectLine='Veuillez voir cette page web, '+document.title;
var BodyText='Vous pouvez voir cette page ici: '+window.location;
var Message='Envoyer <A CLASS=contact HREF="mailto:?SUBJECT='+escape(SubjectLine)+'&BODY='+escape(BodyText)+'\" OnMouseOver="status=\'Send your friends e-mail about this page\'; return true;" TITLE="Envoyer cette page &agrave; vos amis">cette page</A> &agrave; un ami';
var MessageIE='Envoyer <A CLASS=contact HREF="mailto:?SUBJECT='+(SubjectLine)+'&BODY='+(BodyText)+'\" OnMouseOver="status=\'Send your friends e-mail about this page\'; return true;" TITLE="Envoyer cette page &agrave; vos amis">cette page</A> &agrave; un ami';

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=\"Cliquez pour ajouter cette page &agrave; vos favoris\" OnMouseOver=\"window.status=\'Click to add a bookmark for this page\'; return true;\"><STRONG CLASS=fourteen STYLE="margin: 0 0 0 15px;text-align: left;"><SPAN CLASS=nb>Faites un signet de cette page!</SPAN></STRONG></A>'); }
else { document.write('<STRONG CLASS=fourteen><SPAN CLASS=nb TITLE="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 favoris." OnMouseOver="window.status=\'Hold down the &#147;Control Key&#148; and click anywhere on this page. A contextual menu will appear, allowing you to bookmark this page.\'; return true;" OnMouseOut="window.status=\'\'; return true;" STYLE="cursor: arrow">Faites un signet de cette 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=\'Print this article\'; return true;\" onClick=\"javascript:window.print()\"><IMG SRC=\"http://www.tanbou.com/Images/ImprimerPage.gif\" ALT=\"Imprimer cet article\" WIDTH=109 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=\'Type what you would like to search for here, and hit Return\'; return true;" OnMouseOut="this.className=\'nextbutton\'" TITLE=\"Moteur de Recherche: Tapez ce que vous voulez rechercher ici, et faites Retour\" NAME=terms VALUE=\"Moteur de Recherche\" 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>');