document.writeln('<html>\r\n<head>\r\n<SCRIPT language=javascript>\r\nvar tjs_base=new TJS_InitBase("_self");\r\n\/\/ TJS_InitBase(target) : target="_blank" pour ouvrir dans une nouvelle page\r\ntjs_base.Add("smusique.html","Page générale sur la musique","musique,zique,music,disque,cd");\r\ntjs_base.Add("scinema.html","Page générale sur le cinéma","cine,cinoche,cinéma,cinema,acteur,film");\r\ntjs_base.Add("srock.html","Page sur le rock","rock,rock and roll, rock n\' roll,musique");\r\ntjs_base.Add("su2.html","Page sur le groupe U2","rock,musique,u2,U2");\r\ntjs_base.Add("sclassique.html","Page sur la musique classique","musique,classique,violon,concert");\r\n\/\/ COMPLETEZ ICI la base de données\r\n\/\/ tjs_base.Add(page,titre,mots-clés)\r\n\r\n\r\nfunction TJS_InitBase(target) {\r\n	this.nb_item=0;\r\n	this.target=target;\r\n	this.Add=AddItem;\r\n	this.Search=SearchItem;\r\n}\r\nfunction AddItem(page,desc,cle) {\r\n	var nb = this.nb_item;\r\n	var item = new Object;\r\n		item.page=page;\r\n		item.desc=desc;\r\n		item.cle=cle;\r\n	this[nb]=item;\r\n	this.nb_item++;\r\n}\r\n\r\n\r\nfunction SearchItem(txt) {\r\n\/\/ txt contient le texte de la recherche\r\n	txt = unescape(txt);\r\n	txt = txt.replace(\/\\+\/g," ");\r\n	var n=tjs_base.nb_item;\r\n	var indice=-1;\r\n	if (txt=="Saisir un mot clé") {alert("Entrez un mot pour la recherche"); }\r\n	else{	\r\n	    document.forms["tjs_search"].elements["mot"].value=txt;\r\n		var Z=""; var nb=0;\r\n		for (var i=0; i<n; i++) {\r\n			if (tjs_base[i].cle.toUpperCase().indexOf(txt.toUpperCase(),0)!="-1") {\r\n				Z+="<\/SMALL><BR><A target=\'"+tjs_base.target+"\' href=\'"+tjs_base[i].page+"\'>"+tjs_base[i].desc+"<\/SMALL><BR> "\r\n				\/\/ retirer <\/A> <SMALL>("+tjs_base[i].page+")<\/SMALL><BR> entre ""\r\n				nb++;\r\n			}\r\n		}\r\n		if (nb>0) {\r\n			if (nb==1) {Z="Un résultat trouvé pour la recherche sur [<B>"+txt+"<\/B>] : <BR>"+Z;}\r\n			else {Z=nb+" résultats trouvés pour la recherche sur [<B>"+txt+"<\/B>] : <BR>"+Z;}\r\n		}else{Z="Aucun résultat pour la recherche sur [<B>"+txt+"<\/B>]<BR>Vérifiez l\'orthographe ou essayez un autre mot clé !";}\r\n		document.write(Z);\r\n	}\r\n}\r\n\r\nfunction TJS_Search(f) {\r\n	if (f.mot.value!=""){f.submit();}	\r\n}\r\n\r\nfunction TJS_PrintResult() {\r\n	var url=document.location.href;\r\n	if (url.indexOf("?mot=",0) > 0) {\r\n		var mot=url.substring(url.indexOf("?mot=",0)+5);\r\n		SearchItem(mot);\r\n	}\r\n}\r\n\r\n<\/SCRIPT>\r\n<script language="JavaScript1.2">\r\n<!--\r\nurl = window.location;\r\ntitre = document.title;\r\nsujet = "J\'ai pensé que ça va t\'intéresser";\r\nfunction sendUrl(){ \r\nwindow.location = "mailto:"+prompt(\'Entrez l\\\'adresse email de la personne a qui vous désirez recommander ce site\',\'\')+"?subject="+sujet+"&body=Je te recommande cette page du site histoirepostale.com, tu peux cliquer sur l\'adresse pour accéder au site: "+url;\r\n   } \r\n\/\/-->\r\n<\/script>\r\n<script language="JavaScript">\r\nfunction favoris() {\r\nif ( navigator.appName != \'Microsoft Internet Explorer\' )\r\n{ window.sidebar.addPanel("Histoire Postale","http:\/\/www.histoirepostale.com",""); }\r\nelse { window.external.AddFavorite("http:\/\/www.histoirepostale.com","Histoire Postale"); } }\r\n<\/script>\r\n<\/head>\r\n<body background="..\/Mise%20en%20page\/Fonds%20d\'écran\/fd5.jpg">\r\n<p style="line-height:100%; margin-top:0; margin-bottom:0;">&nbsp;<\/p>\r\n<table border="0" cellpadding="0" cellspacing="0" namo_layoutbox="10,1,1,10,1,1" width="140" height="100" style="line-height:100%; margin-top:0; margin-bottom:0;">\r\n    <tr>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n        <td width="138" height="1" bgcolor="black"><\/td>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n    <\/tr>\r\n    <tr>\r\n        <td width="1" height="98" bgcolor="black"><\/td>\r\n        <td width="138" height="98" namo_textbox="0,0,0,0,1,1,1,1,1,0" background="kit\/fond_d_ecran\/fd2.gif">\r\n            <p align="center"><a href="moteur_de_recherche_global.htm">Page de recherche<\/a><\/p>\r\n        <\/td>\r\n        <td width="1" height="98" bgcolor="black"><\/td>\r\n    <\/tr>\r\n    <tr>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n        <td width="138" height="1" bgcolor="black"><\/td>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n    <\/tr>\r\n<\/table>\r\n\r\n\r\n<p style="line-height:100%; margin-top:0; margin-bottom:0;"><br><\/p>\r\n<table border="0" cellpadding="0" cellspacing="0" namo_layoutbox="10,1,1,10,1,1" width="140" height="120" background="kit\/fond_d_ecran\/fd2.gif" style="line-height:100%; margin-top:0; margin-bottom:0;">\r\n<tr>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n        <td width="29" height="1" bgcolor="black"><\/td>\r\n        <td width="109" height="1" bgcolor="black"><\/td>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n    <\/tr>\r\n    <tr>\r\n        <td width="1" height="38" bgcolor="black"><\/td>\r\n        <td width="29" height="38" namo_textbox="0,0,0,0,1,0,1,1,1,0">\r\n\r\n            <p align="center"><a href="javascript:location=\'mailto:\\u0066\\u006c\\u006f\\u0072\\u0065\\u006e\\u0074\\u002e\\u006d\\u0061\\u0072\\u0074\\u0069\\u006e\\u0040\\u0068\\u0069\\u0073\\u0074\\u006f\\u0069\\u0072\\u0065\\u0070\\u006f\\u0073\\u0074\\u0061\\u006c\\u0065\\u002e\\u0063\\u006f\\u006d\';void 0"><b><font size="1" color="black"><img src="kit\/icones\/mail.gif" border="0" align="middle"><\/font><\/b><\/a><\/p>\r\n        <\/td>\r\n        <td width="109" height="38" namo_textbox="0,0,0,0,0,1,1,1,1,0">\r\n\r\n            <p align="left"><a href="javascript:location=\'mailto:\\u0066\\u006c\\u006f\\u0072\\u0065\\u006e\\u0074\\u002e\\u006d\\u0061\\u0072\\u0074\\u0069\\u006e\\u0040\\u0068\\u0069\\u0073\\u0074\\u006f\\u0069\\u0072\\u0065\\u0070\\u006f\\u0073\\u0074\\u0061\\u006c\\u0065\\u002e\\u0063\\u006f\\u006d\';void 0"><b><font size="1" color="black">Contacter moi<\/font><\/b><\/a><\/p>\r\n        <\/td>\r\n        <td width="1" height="38" bgcolor="black"><\/td>\r\n    <\/tr>\r\n    <tr>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n        <td width="29" height="1" bgcolor="black"><\/td>\r\n        <td width="109" height="1" bgcolor="black"><\/td>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n    <\/tr>\r\n    <tr>\r\n        <td width="1" height="38" bgcolor="black"><\/td>\r\n        <td width="29" height="38" namo_textbox="0,0,0,0,1,0,1,1,1,0">\r\n\r\n            <p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"><a href="javascript:window.external.addfavorite(\'http:\/\/www.histoirepostale.com\',\'Histoire postale\')" class="style1"><font color="blue"><img src="kit\/icones\/favoris.png" width="20" height="20" border="0" align="middle"><\/font><\/p>\r\n        <\/td>\r\n        <td width="109" height="38" namo_textbox="0,0,0,0,0,1,1,1,1,0">\r\n\r\n            <p align="left" style="line-height:100%; margin-top:0; margin-bottom:0;">            <a href="javascript:void(favoris());">\r\n<\/font><b><font size="1" color="black">Ajouter aux favoris<\/font><\/b><\/a><b>        <\/b><\/p>\r\n        <\/td>\r\n        <td width="1" height="38" bgcolor="black"><\/td>\r\n    <\/tr>\r\n    <tr>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n        <td width="29" height="1" bgcolor="black"><\/td>\r\n        <td width="109" height="1" bgcolor="black"><\/td>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n    <\/tr>\r\n    <tr>\r\n        <td width="1" height="39" bgcolor="black"><\/td>\r\n        <td width="29" height="39" namo_textbox="0,0,0,0,1,0,0,1,1,0">\r\n            <p align="center" style="line-height:100%; margin-top:0; margin-bottom:0;"><a href="#"\r\nonClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http:\/\/www.histoirepostale.com\');"><font color="black"><img src="kit\/icones\/page_demarrage.png" width="20" height="20" border="0" align="middle"><\/font><\/p>\r\n        <\/td>        <td width="109" height="39" namo_textbox="0,0,0,0,0,1,0,1,1,0">\r\n\r\n            <p align="left" style="line-height:100%; margin-top:0; margin-bottom:0;"><a href="#"\r\nonClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http:\/\/www.histoirepostale.com\');"><b><font size="1" color="black">Ajouter\r\nà la page de démarrage<\/font><\/b><\/a><font color="black">  <\/font><\/p>\r\n        <\/td>\r\n        <td width="1" height="39" bgcolor="black"><\/td>\r\n    <\/tr>\r\n    <tr>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n        <td width="29" height="1" bgcolor="black"><\/td>\r\n        <td width="109" height="1" bgcolor="black"><\/td>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n    <\/tr>\r\n    <tr>\r\n        <td width="1" height="39" bgcolor="black"><\/td>\r\n        <td width="29" height="39" namo_textbox="0,0,0,0,1,0,0,1,1,0">\r\n\r\n            <p align="center"><a href="javascript: sendUrl()"><font size="1" font color="black"><\/font><img src="kit\/icones\/coeur.png" width="20" height="20" border="0"><\/a><\/p>\r\n        <\/td>\r\n        <td width="109" height="39" namo_textbox="0,0,0,0,0,1,0,1,1,0">\r\n            <p align="left"><a href="javascript: sendUrl()"><font size="1" font color="black"><b>Recommander cette page à un ami<\/b><\/font><\/a><\/p>\r\n        <\/td>\r\n        <td width="1" height="39" bgcolor="black"><\/td>\r\n    <\/tr>\r\n    <tr>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n        <td width="29" height="1" bgcolor="black"><\/td>\r\n        <td width="109" height="1" bgcolor="black"><\/td>\r\n        <td width="1" height="1" bgcolor="black"><\/td>\r\n    <\/tr>\r\n<\/table><p style="line-height:100%; margin-top:0; margin-bottom:0;" align="left"><font size="2"><br><\/font><span style="font-size:8pt;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tous droits réservés<\/span><\/p>\r\n<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="left"><span style="font-size:8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2008-2012<\/span><\/p>\r\n<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="left"><span style="font-size:8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Florent MARTIN<\/span><\/p>\r\n<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="left"><span style="font-size:8pt;">&nbsp;&nbsp;www.histoirepostale.com<\/span><\/p>\r\n\r\n\r\n\r\n<\/body>\r\n<\/html>');
