function show_props(obj,obj_name){
var result="";for(var i in obj) result+= obj_name+"."+i+" = "+obj[i]+"\n";return result; }

function Semaine(){this[0] = "Dimanche";this[1] = "Lundi";this[2] = "Mardi";this[3] = "Mercredi";this[4] = "Jeudi";this[5] = "Vendredi";this[6] = "Samedi"; }

function Mois(){this[0] = "01";this[1] = "02";this[2] = "03";this[3] = "04";this[4] = "05";this[5] = "06";this[6] = "07";this[7] = "08";this[8] = "09";this[9] = "10";this[10] = "11";this[11] = "12";}

function jourcourant(){var semaine = new Semaine();var mois = new Mois();var myDate = new Date();var nav = navigator.appName.charAt(0);if (nav=="N"){document.writeln(semaine[myDate.getDay()]+" "+myDate.getDate()+"/"+mois[myDate.getMonth()]+"/"+(1900+myDate.getYear()));}else{document.writeln(semaine[myDate.getDay()]+" "+myDate.getDate()+"/"+mois[myDate.getMonth()]+"/"+(myDate.getYear()));}}

function verif(moteur){	definition=document.moteur.mot.value;	methode=document.moteur.meth.value;	web=document.moteur.ou[0].checked;	synomia=document.moteur.ou[1].checked;	if (!definition || definition== " ") {return alert("Merci d'entrer un mot cle"); }cherche(methode,synomia,web)}	



//----------- fonction de lancement

function cherche(a,b,c){        ad=""; // initialisation de la variable ad pour adresse.       
 if(b== true) {document.moteur.method="post";
document.moteur.action="http://www.abondance.com/search.php?mid=3c65ce5f8978be90f9e07f16f8aa5573&l=fr&collid=1&sortbydate=1&mot="+definition;                }				        
if(c== true) {document.moteur.method="post";document.moteur.action="http://www.abondance.com/search.php?mid=3c65ce5f8978be90f9e07f16f8aa5573&l=fr&collid=10000&l=fr&sortbydate=1&mot="+definition;                }}

function bookmarksite(title, url){if (document.all)window.external.AddFavorite(url, title);else if (window.sidebar)window.sidebar.addPanel(title, url, "")}