
function transfertmoi() { 
// récupère l'email dans champ espace Membre
document.getElementById('theemail').value = document.getElementById('email').value;
}

function on(name,src){ document.images[name].src = src }
function off(name,src){ document.images[name].src = src }
function PopUp(url,nom,details) { window.open(url,nom,details);}

document.write('<a name="haut"></a>');
window.defaultStatus='Easy-Micro [ Aide à la création de site Internet par François Bisch ]'

/*----- début du compteur de bannières ----*/
/* avec onload="imageSuivante()" dans la balise body + name="laBanniere" dans balise img*/

if (parent.frames.length > 0)
{window.top.location.href = location.href;}
var compteurBanniere = -1;
var imgBanniere = new Array();
imgBanniere[0] = 'images/pub/pub_horizontales/apprivoisez.jpg';
imgBanniere[1] = 'images/pub/pub_horizontales/rentree.gif';
imgBanniere[2] = 'images/pub/pub_horizontales/premier_pas.jpg';
imgBanniere[3] = 'images/pub/pub_horizontales/autoformation.jpg';

var lienBanniere = new Array();
lienBanniere[0] = 'http://www.easy-micro.org';
lienBanniere[1] = 'http://www.easy-micro.org/index.php?id_page=183';
lienBanniere[2] = 'http://www.easy-micro.org/index.php?id_page=175';
lienBanniere[3] = 'http://www.easy-micro.org';

function imageSuivante()
{
	if (compteurBanniere < imgBanniere.length-1)
		{compteurBanniere++;}
	else
		{compteurBanniere=0;}
	document.images.laBanniere.src = imgBanniere[compteurBanniere];
	theTimer = setTimeout("imageSuivante()",15000);
}

function lanceURL()
{
	lURL = lienBanniere[compteurBanniere];
	location.href = lURL;
}
/*---- fin du compteur de bannières -----*/


/* Affichage heure serveur */
//<script type="text/javascript">afficheheure();</script>
//function afficheheure() {


//}



<!-- Debut du script comparatif des deux mots de passe

var fieldalias="mot de passe"
// On Déclare dans la variable fieldalias le type de texte entré 

function verify(element1, element2)
// La fonction reçois en paramètre les 2 éléments
 {
  var passed=false
// On va donner à la variable passed la valeur false (fausse). 

   if (element1.value=='')
// si le premier champ est vide (Propriété value vide) 
   {
    alert("Veuillez entrer votre "+fieldalias+" dans le premier champ!")
// c'est pas bien il faut le remplir :-)
// On ouvre donc une boite d'alerte grâce à la méthode alert de l'objet window
    element1.focus()
// et on y place le curseur grâce à la méthode focus
   } 

// puis on va faire exactement la même chose pour le second champ
   else if (element2.value=='')
   {
    alert("Veuillez confirmer votre "+fieldalias+" dans le second champ!")
    element2.focus()
   } 

   else if (element1.value!=element2.value)
/* Si les valeurs des 2 éléments ne sont pas égales (on utilise donc l'opérateur
  de comparaison d'inégalité != */
   {
    alert("Les deux "+fieldalias+" ne condordent pas")
// toujours la boite d'alerte
    element1.select()
// Et la on utilise la méthode select qui permet de selectionner la valeur écrite.
   } 

   else
   passed=true
   return passed
 }
// fin du script -->

function iziRech(_chaine) { var sUrl = 'http://www.google.com/search?lr=lang_fr&cr=&q='+ _chaine + '+site:http://www.easy-micro.com';
if (document.maRech.rech.value == null || document.maRech.rech.value == '' || document.maRech.rech.value.length < 3) { alert('Votre recherche doit faire au moins\n3 caractères de long ! Merci.\nEasy-Micro'); return false;}
window.open(sUrl,'Google','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');  return false; }

<!-- Debut des scripts fleche
function imgover(imgname){ imgname.src = "images/flecher.gif" }
function imgout(imgname){ imgname.src = "images/fleche.gif" }

function flover(imgname){imgname.src = "images/logo/flecher.gif"}
function flout(imgname){imgname.src = "images/logo/fleche.gif"}
// Fin scripts fleche-->

function mailpage() {
chaine_mail = "mailto:?subject= Sur  E A S Y - M I C R O . o r g : " + document.title;
chaine_mail += "&body= Je recommande cette page : " +document.title;
chaine_mail += ". Consultable à l'adresse : " + location.href;
location.href = chaine_mail;
}

/*-- Effet d'agrandissement proportionné ------*/
<!--
function resizepopup(monimage, montitre) {
w = window.open('','chargement','width=10,height=10,top=20,left=10');
w.document.write( "<html><head><title>"+montitre+"</title>\n");
w.document.write( "<script language='JavaScript'>\n");
w.document.write( "IE5=NN4=NN6=false;\n");
w.document.write( "if(document.all) IE5=true;\n");
w.document.write( "else if (document.getElementById) NN6=true;\n");
w.document.write( "else if (document.layers) NN4=true;\n");
w.document.write( "function autosize() {\n");
w.document.write( "if(IE5) self.resizeTo(document.images[0].width+10, document.images[0].height+29);\n");
w.document.write( "else if(NN6) self.sizeToContent();\n");
w.document.write( "else window.resizeTo(document.images[0].width, document.images[0].height+20);\n");
w.document.write( "self.focus()\n");
w.document.write( "}\n</scri");
w.document.write( "pt>\n");
w.document.write( "</head>\n");
w.document.write( "<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onload='javascript:autosize();'>\n");
w.document.write( "<a href='javascript:window.close();'><img src='"+monimage+"' border=0 alt='"+montitre+" - Cliquez pour fermer'></a>\n");
w.document.write( "</body>\n");
w.document.write( "</html>\n");
w.document.close();
}
//<a href="#" onclick="resizepopup('grande_photo.jpg','Superbe Plage');"><img src="petite_photo.jpg" height="75" width="100" border="0"></a>
//-->

/*--- code pour bouton bleu: copier le code ci-dessus---*/
	<!-- Début
	function copyit(theField) {
	var tempval=eval("document."+theField)
	tempval.focus()
	tempval.select()
	therange=tempval.createTextRange()
	therange.execCommand("Copy")
	}
	//  Fin -->

/*--- code pour case à cocher si on souhaite que les liens soient exterieurs au site---*/
// JavaScript targeters adapted from holovaty.com via padawan.info
function linksInNewWindow(a) {
var b=a?"site":"_self";
var c=document.links;
for(var i=0;i<c.length;i++) {if(c[i].href.search("site.com")==-1) c[i].target=b};
var date=new Date();
date.setTime(date.getTime()+(14*24*60*60*1000));
document.cookie=a?"newwin=true; expires="+date.toGMTString()+";":"newwin=false;";
}

<!--
function toggle(what) {
	if(document.getElementById(what).style.display == "none") {
	document.getElementById(what).style.display = "block"; }
	else { document.getElementById(what).style.display = "none"; }
}
//-->

/*--------copyright : François Bisch (www.Easy-Micro.org)---------*/