function setEnr(enregistrementid,firstenr,nbenr) {
document.submitor.enregistrementid.value = enregistrementid;
document.submitor.firstenr.value = firstenr;
document.submitor.nbenr.value = nbenr;
}
function go(typerubrique, rubriqueid, elementid, offset, nbrec, firstrec) {
if(arguments.length<4) {
offset = '';
}
if(arguments.length<5) {
nbrec = '';
}
if(arguments.length<6) {
firstrec = '';
}
document.submitor.typerubrique.value = typerubrique;
document.submitor.rubriqueid.value = rubriqueid;
document.submitor.elementid.value = elementid;
document.submitor.offset.value = offset;
document.submitor.nbrec.value = nbrec;
document.submitor.firstrec.value = firstrec;
document.submitor.submit();
}
function validerrecherche() {
if(document.submitor.query.value.length>0) {
go('1','16','');
}
else {
alert("Vous devez saisir une expression à rechercher.");
}
}
function notgood(field,msg) {
field.focus();
alert(msg);
return false;
}
function isMail(field,msg) {
email=field.value;
arobase=email.indexOf('@');
point=email.indexOf('.',arobase);
longueur=email.length;
if(arobase<=0||point<=arobase+1||longueur<=point+1) {return notgood(field,msg);}
return true;
}
document.write('
');
document.write('');
document.write('');
document.write(' |  | ');
document.write('');
document.write('');
document.write('');
document.write('');
document.write('  ');
document.write(' ');
document.write('');
document.write(' Rechercher ');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' | ');
document.write(' ');
document.write('');
document.write(' ');
document.write(' Les flux RSS d\'Indexel.net ');
document.write(' ');
document.write(' ');
document.write(' | ');
document.write(' ');
document.write('');
document.write(' ');
document.write(' var tabMois = new Array("Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Aout","Septembre","Octobre","Novembre","Décembre");');
document.write(' var tabJours = new Array( "Lundi" , "Mardi" , "Mercredi" , "Jeudi" , "Vendredi" , "Samedi" , "Dimanche" );');
document.write(' maDate = new Date();');
document.write(' document.write(tabJours[ maDate.getDay() - 1 ]);');
document.write(' document.write(" ");');
document.write(' document.write(maDate.getDate());');
document.write(' document.write(" ");');
document.write(' document.write(tabMois[maDate.getMonth()]);');
document.write(' document.write(" ");');
document.write(' document.write(maDate.getFullYear());');
document.write(' document.write(" ");');
document.write(' ');
document.write(' ');
document.write(' <\/scr'+'ipt> | ');
document.write(' ');
document.write(' ');
document.write(' | ');
document.write('
');
document.write('
');
// Début gauche
document.write('| ');
document.write('');
document.write(' | ');
|