// JavaScript Document

if(typeof(txtBorder) == "undefined") txtBorder = '#000';
if(typeof(txtBackground) == "undefined") txtBackground = '#FFF';
if(typeof(txtColor) == "undefined") txtColor = '#000';

if(typeof(buttonBorder) == "undefined") buttonBorder = '#000';
if(typeof(buttonBackground) == "undefined") buttonBackground = '#730000';
if(typeof(buttonColor) == "undefined") buttonColor = '#FFF';


var htmlCode = '';
htmlCode += '<form action="http://www.dictionnaire-japonais.com/rechercher.php?search=1" method="post" id="formDico" name="formDico" target="_blank" accept-charset="utf-8">';
htmlCode += '	<input id="mot" name="mot" type="text" value="ake no ashi" style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;width:152px;border:1px solid '+txtBorder+';background:'+txtBackground+';color:'+txtColor+';" onfocus="this.value=\'\'" />';
htmlCode += '	<input type="submit" name="Traduire" value="Traduire" style="font-size:11px;font-family:Verdana, Arial, Helvetica, sans-serif;border:'+buttonBorder+' solid 1px;background:'+buttonBackground+';color:'+buttonColor+';" />';
htmlCode += '   <input id="jpIN" name="jpIN" type="hidden" value="1" />';
htmlCode += '   <input id="frIN" name="frIN" type="hidden" value="1" />';
htmlCode += '   <input id="romajiIN" name="romajiIN" type="hidden" value="1" />';
htmlCode += '   <input id="siteRef" name="siteRef" type="hidden" value="'+window.location.href+'" />';
htmlCode += '</form>';

document.write(htmlCode);
