<!-------------------------------------------------------------------------->
<!-- DEBUT PRELOAD DES IMAGES (boutons actifs)                            -->
<!-------------------------------------------------------------------------->
function simplePreload()
{ 
  var args = simplePreload.arguments;
  document.imageArray = new Array(args.length);
  for(var i=0; i<args.length; i++)
  {
    document.imageArray[i] = new Image;
    document.imageArray[i].src = args[i];
  }
}
<!-------------------------------------------------------------------------->
<!-- DEBUT switchImage => changement Image par une autre (Menu onglet)    -->
<!-------------------------------------------------------------------------->
function switchImage(imgName, imgSrc) 
{
  if (document.images)
  {
    if (imgSrc != "none")
    {
      document.images[imgName].src = imgSrc;
    }
  }
}
<!-------------------------------------------------------------------------->
<!-- DEBUT DU CODE POUR L'AFFICHAGE DES IMAGES EN GRANDE TAILLE           -->
<!-------------------------------------------------------------------------->
var bigimg = false;
function createBig(img){if(!bigimg){obj = document.getElementById('small');bigimg = document.createElement('img');bigimg.id ='bigimg';bigimg.className='bordergreyfull';bigimg.style.position='absolute';bigimg.src=img;document.body.appendChild(bigimg);}if(!bigimg.complete){setTimeout("createBig()", 10);}else{bigimg.style.left = (getLeftPos(obj) - (bigimg.width+4))+'px';bigimg.style.top = getTopPos(obj) + 'px';bigimg.style.display='block';		}}
function hideBig(){bigimg.style.display='none';}
function getTopPos(obj){returnValue = obj.offsetTop;while((obj = obj.offsetParent) != null){if(obj.tagName!='HTML')returnValue += obj.offsetTop;}return returnValue;}
function getLeftPos(obj){returnValue = obj.offsetLeft;while((obj = obj.offsetParent) != null){if(obj.tagName!='HTML')returnValue += obj.offsetLeft;}return returnValue;}

<!-------------------------------------------------------------------------->
<!-- DEBUT DU CODE POUR AJOUT DANS LES FAVORIS -->
<!-------------------------------------------------------------------------->
function AjoutFavo() {
   siteURL = "http://www.boutique.lassidomi.com"
   siteNOM = "L'Assidomi - Votre boutique informatique - Neufs et occasions"
    if ( navigator.appName != 'Microsoft Internet Explorer' ){
    	 /* Netscape 6+ ; Mozilla, FireFox et compagnie (K-Meleon ...) */
         window.sidebar.addPanel(siteNOM,siteURL,"");
       }
    else {
         window.external.AddFavorite(siteURL,siteNOM);
       }
}    	
<!-- FIN DU CODE POUR AJOUT DANS LES FAVORIS-->

<!-------------------------------------------------------------------------->
<!-- Affichage de la Date du jour (ex: Mardi 4 juillet 2006) sur 3 lignes
<!-------------------------------------------------------------------------->
function Affiche_Date_sur_3_lignes()
{var today = new Date();
var date = today.getDate();
var annee = today.getFullYear();
var date_statement = "";			
var h=today.getHours();
var m=today.getMinutes();
var s=today.getSeconds();
var time_statement = "";
var month = today.getMonth()+1;
var day_of_week = today.getDay();
	
	document.month="";
	document.day="";
	if (s<10)
		s="0"+s;
	if (m<10)
		m="0"+m;	
	if(month==1)
		{document.month="janvier";}
	if(month==2) 
		{document.month="f&eacute;vrier";}
	if(month==3) 
		{document.month="mars";}
	if(month==4)
		{document.month="avril";}
	if(month==5) 
		{document.month="mai";}
	if(month==6)
		{document.month="juin";}
	if(month==7)
		{document.month="juillet";}
	if(month==8) 
		{document.month="ao&ocirc;t";}
	if(month==9)
		{document.month="septembre";}
	if(month==10)
		{document.month="octobre";}
	if(month==11)
		{document.month="novembre";}
	if(month==12)
		{document.month="d&eacute;cembre";}
	if(day_of_week==0)
		document.day="Dimanche";
	if(day_of_week==1)
		document.day="Lundi";
	if(day_of_week==2)
		document.day="Mardi";
	if(day_of_week==3)
		document.day="Mercredi";
	if(day_of_week==4)
		document.day="Jeudi";
	if(day_of_week==5)
		document.day="Vendredi";
	if(day_of_week==6)
		document.day="Samedi";
	document.write("<dt><div align=center><font face=Arial, Helvetica size=2><B>"+document.day+"<br>"+date+" "+document.month+"<br>"+annee+""+date_statement+"<font></div><dt>"); // +h+":"+m+":"+s
}


