		//LOAD THE ARROW IN THE LEFT MENU FOR THE ON MOUSE EVENTS
		lightBlueImg = new Image();
		lightBlueImg = "/images/general/lightBlue_topDownArrow.gif";
		lightBlueImg.height = 10;
		lightBlueImg.width = 120;
		
		blueImg = new Image();
		blueImg = "/images/general/blue_topDownArrow.gif";
		blueImg.height = 10;
		blueImg.width = 120;
		
		
		document.onmouseout = CleanLeftMenuBackGroundLink;
		
		//Keep background red for link who have a popup menu associate to it
		document.onmouseover = overEvent;
		
		//id of the link wher ethe popup is open
		var sPopupTRId = ""
		//do the onmouse over event if it's true
		var bCheckMenuId
		bCheckMenuId = false
		
		//this event is call at each onmouseover event on the page, only accessible with explorer
		function overEvent()
		{
			if(window.event.srcElement.id == 'TREMPTY')
			{
				
				
				if(sPopupTRId != '')
				{
				eval('document.all.' + sPopupTRId + '.className="leftMenuHomePopup";')
				}
				closeallmenus();
			}
			//Get ID of the control who fire this event
			
			var sActiveControlId = window.event.srcElement.id ; 
			var iPosition = sActiveControlId.indexOf("menu");
			//if it's a popup of the left menu
			if(iPosition == 0)
			{
				
				//if we must check the background for the link
				if(bCheckMenuId)
				{
					if(eval('document.all.' + sPopupTRId + '.className != "leftMenuHomePopupOver"'))
					{
						
						eval('document.all.' + sPopupTRId + '.className="leftMenuHomePopupOver";')
					}
					return true;
				}
				
				
			}
			
			var iPosition = sActiveControlId.indexOf("el");
			//If it's a element of the popupmenu
			if(iPosition == 0)
			{
				
				if(bCheckMenuId)
				{
					
					if(eval('document.all.' + sPopupTRId + '.className != "leftMenuHomePopupOver"'))
					{
						eval('document.all.' + sPopupTRId + '.className="leftMenuHomePopupOver";')
					}
					
				}
			}
			
		}
		 
		//This event is call only when a control fire a onmouse out event, accessible only with explorer
		function CleanLeftMenuBackGroundLink()
		{
			var sActiveControlId = window.event.srcElement.id ; 
			var iPosition = sActiveControlId.indexOf("menu");
			
			//if the menu fire this event
			if(iPosition == 0)
			{
				bCheckMenuId = false;
				var TRCollection = document.getElementsByTagName("TR")
				for(i = 0 ; i < TRCollection.length ; i++)
				{
					if(TRCollection(i).className == 'leftMenuHomePopupOver')
					{
						TRCollection(i).className = 'leftMenuHomePopup'
						closeallmenus();
						break;
					}
				}
			}
			else
			{
				
				TRCollection = document.getElementsByTagName("TR")
				var bOk = true
					for(i = 0 ; i < TRCollection.length ; i++)
					{
						if(TRCollection(i).className == 'leftMenuHomePopupOver')
						{
							bCheckMenuId = true;
							//TRCollection(i).className = 'leftMenuHomePopup';
							sPopupTRId = TRCollection(i).id
							bOk = false;
							break;
						}
					}
					if(bOk)
					{
						bCheckMenuId = false;
					}
			}
		}
		
		/*
		********************************************************************************************
		Function : changeTotalClass
		
		Description : 
					Change la classe du lien lorsqu'il y a un événement onmouseover et onmouseout
		Parameters : 
				thisobject = l'object qui génère l'événement
				sValue     = La nouvelle classe
				sLink = désuet
				sLevel = désuet
		return :none
		Notes: Créer par Steeve Gauvreau, Proximi-t 9-4-2002
		
		********************************************************************************************
		*/
		function changeTotalClass(thisObject,sValue,sImageName,sAction,bRollover)
		{
			var ie4 = (document.all)? true:false
			var ns6 = document.getElementById&&!document.all
			var bEditMode
			bEditMode = false
			if((ie4)||(ns6))
			{
				var formCollection = document.all.tags('FORM')
				for(i=0 ; i<formCollection.length;i++)
				{
					if(formCollection(i).name == 'NC_EditForm')
					{
						bEditMode = true
						break;
					}
				
				}
				thisObject.className = sValue; 
				if(bRollover)
				{
					
					if(sAction =='OVER')
					{
						if(bEditMode == true)
						{
							eval('document.forms(0).' + sImageName + '.src = blueImg;')	
						}
						else
						{
							eval(sImageName + '.src = blueImg;')	
						}
					}
					if(sAction =='OUT')
					{
						if(bEditMode == true)
						{
							eval('document.forms(0).' + sImageName + '.src = lightBlueImg;')		
						}
						else
						{
							eval(sImageName + '.src = lightBlueImg;')		
						}
						
					}
				}	
			}
			
			
			return true;
		}
		
		
		
		function homeLinkOver(thisObject)
		{
		/*
		    var ie4 = (document.all)? true:false
			var ns6 = document.getElementById&&!document.all
			if((ie4)||(ns6))
			{
			    if(thisObject.className == 'leftMenuHome')
			    {
					thisObject.className = 'leftMenuHomeOver'
			    }
			    if(thisObject.className == 'leftMenuHomePopup')
			    {
					thisObject.className = 'leftMenuHomePopupOver'
			    }
			  
			}
		*/	
		}
		function homeLinkOut(thisObject)
		{
		    if(thisObject.className == 'leftMenuHomeOver')
			{
				thisObject.className = 'leftMenuHome'
			}
			 if(thisObject.className == 'leftMenuHomePopupOver') 
			{
					thisObject.className = 'leftMenuHomePopup';
			
			}
		}
		
		function footerLinkOver(thisObject)
		{
		    var ie4 = (document.all)? true:false
			var ns6 = document.getElementById&&!document.all
			if((ie4)||(ns6))
			{
			    thisObject.className = 'bottomMenu_linkOver'
			   // alert(thisObject.className)
			}
		}
		
		function footerLinkOut(thisObject)
		{
		    var ie4 = (document.all)? true:false
			var ns6 = document.getElementById&&!document.all
			if((ie4)||(ns6))
			{
			    thisObject.className = 'bottomMenu_link'
			}
		}
		
		
		function TransfertLinkToPopup(thisObject)
		{
			popdn();
		}
		
		
	