// JavaScript Document


// function AjoutFavo() 

function AjoutFavo() 
{
	if ((navigator.appName.indexOf("Microsoft",0)>=0) && (parseInt(navigator.appVersion)>=4)) {
		window.external.AddFavorite("http://www.webestmed.com","WEBESTMED Consultant PC-NET" );
	} else 
	{
		alert("Cette fonction n'est proposée que par Internet Explorer 4+")
	}
}


// function biz() 

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

//function disabletext(e)

function disabletext( ){
return false
}

function reEnable(){
return true
}

//if the browser is IE4+
document.onselectstart=new Function ("return false")

//if the browser is NS6
if (window.sidebar){
document.onmousedown=disabletext
document.onclick=reEnable
}

function Fermer() 
  { 
  opener=self; 
  self.close(); 
  } 
  

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}



function runClock() {
theTime = window.setTimeout("runClock()", 1000);
var today = new Date();
var display = today.toLocaleString();
window.status = display;
}
runClock();


// Le de banniere



// Le script des menus deroulant

<!--
var windowDoPop3	
	function ChangeUrl3(formulaire)
	{
	if (formulaire.ListeUrl3.selectedIndex != 0)
		{
		window.open(formulaire.ListeUrl3.options[formulaire.ListeUrl3.selectedIndex].value,'doPop3','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes');
	 	}
	else 
		{
		alert('Veuillez choisir une destination.');
		}
	}

var windowDoPop4	
	function ChangeUrl4(formulaire)
	{
	if (formulaire.ListeUrl4.selectedIndex != 0)
		{
		window.open(formulaire.ListeUrl4.options[formulaire.ListeUrl4.selectedIndex].value,'doPop4','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes');
	 	}
	else 
		{
		alert('Veuillez choisir votre journal.');
		}
	}
	var windowDoPop5	
	function ChangeUrl5(formulaire)
	{
	if (formulaire.ListeUrl5.selectedIndex != 0)
		{
		window.open(formulaire.ListeUrl5.options[formulaire.ListeUrl5.selectedIndex].value,'doPop5','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes');
	 	}
	else 
		{
		alert('Veuillez choisir une destination.');
		}
	}
	
		var windowDoPop6	
	function ChangeUrl6(formulaire)
	{
	if (formulaire.ListeUrl6.selectedIndex != 0)
		{
		window.open(formulaire.ListeUrl6.options[formulaire.ListeUrl6.selectedIndex].value,'doPop6','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes');
	 	}
	else 
		{
		alert('Veuillez choisir un sport.');
		}
	}
//-->

function ChangeUrl(formulaire)
	{
	if (formulaire.ListeUrl.selectedIndex != 0)
		{
		location.href = formulaire.ListeUrl.options[formulaire.ListeUrl.selectedIndex].value;
	 	}
	else 
		{
		alert('Veuillez choisir une destination.');
		}
	}
<!-- Debut
  function twPleinEcran(nURL) {
  window.open(nURL, '', 'fullscreen=yes, scrollbars=auto');
}
// Fin -->

<!-- DEBUT DU SCRIPT -->

/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/
imgPath = new Array;
SiClickGoTo = new Array;
if (document.images)
	{
	i0 = new Image;
	i0.src = 'images/msi.jpg';
	SiClickGoTo[0] = "http://www.webestmed.com/efolio.html";
	imgPath[0] = i0.src;
	i1 = new Image;
	i1.src = 'images/taxi.jpg';
	SiClickGoTo[1] = "http://www.webestmed.com/efolio.html";
	imgPath[1] = i1.src;
	i2 = new Image;
	i2.src = 'images/gymx.jpg';
	SiClickGoTo[2] = "http://www.webestmed.com/efolio.html";
	imgPath[2] = i2.src;
		i3 = new Image;
	i3.src = 'images/genthi2.jpg';
	SiClickGoTo[3] = "http://www.webestmed.com/efolio.html";
	imgPath[3] = i3.src;
	
			i4 = new Image;
	i4.src = 'images/so.jpg';
	SiClickGoTo[4] = "http://www.webestmed.com/efolio.html";
	imgPath[4] = i4.src;
	
			i5 = new Image;
	i5.src = 'images/minioxy.jpg';
	SiClickGoTo[5] = "http://www.webestmed.com/efolio.html";
	imgPath[5] = i5.src;
	
			i6 = new Image;
	i6.src = 'images/minimarie.jpg';
	SiClickGoTo[6] = "http://www.webestmed.com/efolio.html";
	imgPath[6] = i6.src;
	
			i7 = new Image;
	i7.src = 'imgs/sitelab.jpg';
	SiClickGoTo[7] = "http://www.webestmed.com/efolio.html";
	imgPath[7] = i7.src;
	
			i8 = new Image;
	i8.src = 'images/jp.jpg';
	SiClickGoTo[8] = "http://www.webestmed.com/efolio.html";
	imgPath[8] = i8.src;
	
		i9 = new Image;
	i9.src = 'images/cec.jpg';
	SiClickGoTo[9] = "http://www.webestmed.com/efolio.html";
	imgPath[9] = i9.src;
	
			i10 = new Image;
	i10.src = 'images/cdn.jpg';
	SiClickGoTo[10] = "http://www.webestmed.com/efolio.html";
	imgPath[10] = i10.src;
	
			i11 = new Image;
	i11.src = 'images/psg.jpg';
	SiClickGoTo[11] = "http://www.webestmed.com/efolio.html";
	imgPath[11] = i11.src;
	

	

	}
a = 0;
function ejs_img_fx(img)
	{
	if(img && img.filters && img.filters[0])
		{
		img.filters[0].apply();
		img.filters[0].play();
		}
	}

function StartAnim()
	{
	if (document.images)
		{
		document.write('<A HREF="#" onClick="ImgDest();return(false)"><IMG SRC="images/msi.jpg" BORDER=0 ALT=Menu NAME=defil style="filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=100,Duration=1)"></A>');
		defilimg()
		}
	else
		{
		document.write('<A HREF="http://www.webestmed.com/"><IMG SRC="images/msi.jpg" BORDER=0></A>')
		}
	}
function ImgDest()
	{
	document.location.href = SiClickGoTo[a-1];
	}
function defilimg()
	{
	if (a == 12)
		{
		a = 0;
		}
	if (document.images)
		{
		ejs_img_fx(document.defil)
		document.defil.src = imgPath[a];
		tempo3 = setTimeout("defilimg()",3000);
		a++;
		}
	}

<!-- FIN DU SCRIPT -->

