var titre=1;
var pied=0;
var width_cadre='400';
var height_cadre='';
var width_cadre_type='px';
var height_cadre_type='px';
var text_titre='Rechercher un site';
var text_contenu='Le seul moteur de recherche sp&eacute;cialis&eacute; dans la s&eacute;curit&eacute; routi&egrave;re et la maitrise du risque routier.';
var text_recherche='Saisissez votre recherche :';
var text_bouton='Chercher';
var text_size="30";
var background='#ffffff';
var pub=1;
var fontcolor="";
var fontsize="10px";
var fontsizedefault="12px";
var rech_border="1";
var text_pied1="accueil moteur";
var text_pied2="soumettre un site";
var pied_type="ligne";
var url_pub="http://www.securite-routiere.fr/";
var border_color="#cccccc";
var colorBorderInput="#014db7";

document.write('<link href="http://www.securite-routiere.fr/style_moteur.css" rel="stylesheet" type="text/css">');

function moteur_main()
{
	style='';
	if (titre)
	{
			document.write('<div class="moteur_cadrerouge2_tit">'+text_titre+'</div>');
	}
	if (width_cadre!="")
	{
		style+="width:"+width_cadre+width_cadre_type+";";
	}
	if (height_cadre!="")
	{
		style+="height:"+height_cadre+height_cadre_type+";";
	}
	if (background!="")
	{
		style+="background:"+background+";";
	}
	if (rech_border==0)
	{
		style+="border:0px;";
	}
	if (fontcolor!='')
	{
		style+="color:"+fontcolor+";";
	}
	if (border_color!='')
	{
		style+="border-color:"+border_color+";";
	}

	if (fontsizedefault!='')
	{
		style+="font-size:"+fontsizedefault+";";
	}
	document.write('<div class="moteur_cadrerouge2_corps" style="'+style+'">');
	if (text_contenu!='')
	{
	document.write(text_contenu);
	document.write('  <br>');
	document.write('  <br>');
	}
	document.write('<form name="form2" method="GET" action="http://www.securite-routiere.fr/moteur.php" target="_blank" style="margin-top:0px;margin-bottom:0px;">');
	document.write('<input type="hidden" name="conjonction" value="AND">');
	document.write('<input type="hidden" name="NumCateg" value="0">');
	document.write('<input type="hidden" name="nbresultpage" value="5">');
	document.write('<input type="hidden" name="type_recherche" value="moteur">');
	document.write(text_recherche+'&#160;<input type="text" name="recherche" size="'+text_size+'" class="moteur_input"');
	if (colorBorderInput!='')
	{
		document.write(' style="border:1px solid '+colorBorderInput+'"');
	}
	document.write('>&#160;');
	document.write('<input type="submit" name="Submit2" value="'+text_bouton+'" class="moteur_input"');
	if (colorBorderInput!='')
	{
		document.write(' style="border: 1px solid '+colorBorderInput+'"');
	}
	document.write('>');
	document.write('</form>');
	if (pied)
	{
	document.write(' <br>');
	if (pied_type=="ligne")
	{
	document.write('<div align="center" style="font-size:'+fontsize+';">');
	document.write('<a href="http://www.securite-routiere.fr/moteur.html">'+text_pied1+'</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.securite-routiere.fr/moteur_add.html">'+text_pied2+'</a>');
	document.write('</div>');
	}
	else
	{
	document.write('<div align="left" style="font-size:'+fontsize+';">');
	document.write('<a href="http://www.securite-routiere.fr/moteur.html">'+text_pied1+'</a><br><a href="http://www.securite-routiere.fr/moteur_add.html">'+text_pied2+'</a>');
	document.write('</div>');
	}

	}
	if (pub)
	{
	document.write('<div align="right" style="padding-top:2px;">');
	document.write('<a href="http://www.securite-routiere.fr/" style="font-size:8px;color:#808080;text-decoration:none;">'+url_pub+'</a>');
	document.write('</div>');
	}
	document.write('</div>');
}

function moteur_main_mini()
{
text_recherche='Rechercher';
text_contenu='';
width_cadre='';
text_bouton="Ok";
titre=0;
pied=0;
pub=1;	
moteur_main();
}

function moteur_main_colonne()
{
titre=0;
pied=0;
width_cadre='140';
height_cadre='';
width_cadre_type='px';
height_cadre_type='px';
text_titre='Rechercher un site';
text_contenu='Moteur de recherche sp&eacute;cialis&eacute; dans la s&eacute;curit&eacute; routi&egrave;re.';
text_recherche='Recherche :';
text_bouton='Ok';
text_size="15";
pub=1;
url_pub="securite-routiere.fr";
pied_type="colonne";
moteur_main();
}