// JavaScript Document

if(typeof(styleTable) == "undefined") styleTable = '';
if(typeof(styleTopCell) == "undefined") styleTopCell = '';
if(typeof(styleMidCell) == "undefined") styleMidCell = '';
if(typeof(styleBotCell) == "undefined") styleBotCell = '';
if(typeof(styleTextBox) == "undefined") styleTextBox = '';
if(typeof(styleButton) == "undefined") styleButton = '';
if(typeof(buttonText) == "undefined") buttonText = 'Rechercher';

var htmlCode = '';

htmlCode += '	<table border="0" align="center" cellpadding="0" cellspacing="0" style="font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; text-transform: Aucune; text-align: center; background-image: url(http://www.japonophone.com/Pic/bkgd.png); border: 1px solid #666666;" style="'+styleTable+'">';
htmlCode += '		<tr><td style="background-image: url(http://www.japonophone.com/Pic/Frames/fra-corner-O-noBorder.png);	background-repeat: no-repeat;	background-position: left top;" style="'+styleTopCell+'">';
htmlCode += '		<p align="left" style=" font-size: 10pt; color: #000066; font-weight: bolder; font-variant: small-caps; font-size: 13px; margin-top: 3px; margin-right: 7px; margin-bottom: 3px; margin-left: 7px;">Recherchez votre pr&eacute;nom sur <a href="http://www.japonophone.com/fr/names-search.php?siteRef='+window.location.href+'" target="_blank" style="color: #000066; font-size: 10pt;"><u><b>Le Japonophone</b></u></a></p></td></tr><tr><td style="'+styleMidCell+'">';
htmlCode += '		<form action="http://www.japonophone.com/fr/names-search.php?siteRef='+window.location.href+'#results" method="post" target="_blank" style="margin-top: 10px; margin-right: 15px; margin-bottom: 5px; margin-left: 15px;"><p style=" font-size: 10pt;">Entrez le pr&eacute;nom &agrave; rechercher ou seulement les premi&egrave;res lettres :</p><p style="margin-bottom: 0px">';
htmlCode += '			<input name="txtSearch" type="text" value="" style="'+styleTextBox+'" />&nbsp;&nbsp;';
htmlCode += '			<input id="chkExact" name="chkExact" type="hidden" value ="n" />';
htmlCode += '			<input type="hidden" id="FR" name="chkFR" value ="y" /><input type="hidden" id="EN" name="chkEN" value ="y" />';
htmlCode += '			<input type="hidden" id="GE" name="chkGE" value ="y" /><input type="hidden" id="AR" name="chkAR" value ="y" />';
htmlCode += '			<input type="hidden" id="OT" name="chkOT" value ="y" /><input type="submit" name="Submit" value="'+buttonText+'" style="'+styleButton+'" />';
htmlCode += '			<input id="siteRef" name="siteRef" type="hidden" value="'+window.location.href+'" />';
htmlCode += '			<p style=" font-size: 10pt;">Pour les pr&eacute;noms compos&eacute;s, utilisez la page <a href="http://www.japonophone.com/fr/names-search2.php?siteRef='+window.location.href+'" target="_blank" style="color: #000066; font-weight: bolder; font-variant: small-caps; font-size: 10pt"><u><b>Pr&eacute;noms Compos&eacute;s</b></u></a></p>';
htmlCode += '		</form></td></tr>';
htmlCode += '		<tr><td style="background-image: url(http://www.japonophone.com/Pic/Frames/fra-base-noBorder.png); background-repeat: no-repeat; background-position: right bottom;" style="'+styleBotCell+'">&nbsp;</td></tr>';
htmlCode += '	</table>';

document.write(htmlCode);
