<!--
	NS4 = (document.layers);
	IE4 = (document.all);
	ver4 = (NS4 || IE4);   
	isMac = (navigator.appVersion.indexOf("Mac") != -1);
	isMenu = (NS4 || (IE4 && !isMac));

	SCREEN_WIDTH  = screen.width;
	SCREEN_HEIGHT = screen.height;
	isScreen = ((SCREEN_WIDTH >= 800) && (SCREEN_HEIGHT >= 600));

	decal_x = ((IE4)?8: 3);
	decal_y = ((IE4)?0: 5);

	window.defaultStatus = "Micro Concept Software - www.mcsoft.fr";
	
	MENU_MAIN				= "mai"
	MENU_CLICKED_NAME		= "";

	MENU_TXTCOLOR_OVER		= "#000000";
	MENU_BGCOLOR_OVER		= "#D6D6D6";
	MENU_TXTCOLOR_OUT		= "#000000";
	MENU_BGCOLOR_OUT		= "#BEBEBE";

	MENU_SUB				= "sub"
	SUBMENU_CLICKED_NAME	= "";

	SUBMENU_TXTCOLOR_OVER	= "#000000";
	SUBMENU_BGCOLOR_OVER	= "#FFFFFF";
	SUBMENU_TXTCOLOR_OUT	= "#000000";
	SUBMENU_BGCOLOR_OUT		= "#EEEEEE";

	function smsOut()
	{
		window.status = "";
		return true;
	}
	
	
	function smsOver()
	{
		window.status = this.name;
		return true;
	}	


	// **********************************************
	// * Fonction qui affiche un message dans la 	*
	// * barre de status du navigateur				*
	// **********************************************
	function showMsgStatus(message) {
	
		window.status = message;
		return true;
	}

	function addFavorite() {
		
		if (IE4) {
			
			window.external.AddFavorite(location.href, document.title);
		} else {
			
			location.href = "/";
		}
	}

	function windows(doc,width,height) {
	
		var w = window.open(doc,"depart","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=" + width + ", height=" + height + ", top=0, left=0");
		w.focus();
	}

	function windows_noscroll(doc,width,height) {
	
		var w = window.open(doc,"depart","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=" + width + ", height=" + height + ", top=0, left=0");
		w.focus();
	}

	function MenuClick(obj)
	{
		if(event.srcElement.tagName == 'TD')
			obj.children.tags('A')[0].click();	
	}

	function MenuClicked(obj, txtClOver, bkgClOver)
	{
		var sMenu;
		
		sMenu = obj.id.substring(0, 3);
		if (sMenu == MENU_MAIN) 
			MENU_CLICKED_NAME = obj.id;
		else if (sMenu == MENU_SUB) 
			SUBMENU_CLICKED_NAME = obj.id;
		else
			return;
			
		if(obj.tagName == 'TD')
		{
			obj.children.tags('A')[0].style.color = txtClOver;	
			obj.style.background = bkgClOver;
		}
	}

	function MenuOver(obj, txtClOver, bkgClOver)
	{
		if (!obj.contains(event.fromElement))
		{ 
			obj.style.cursor = 'hand';
			obj.children.tags('A')[0].style.color = txtClOver;
			obj.style.background = bkgClOver;
			showMsgStatus(obj.children.tags('A')[0].name);
		} 	

		return true;
	}

	function MenuOut(obj, txtClOver, bkgClOver)
	{
		var sMenuClicked;
		var sMenu;

		sMenu = obj.id.substring(0, 3);		
		
		if (sMenu == MENU_MAIN) 
			sMenuClicked = MENU_CLICKED_NAME;
		else if (sMenu == MENU_SUB) 
			sMenuClicked = SUBMENU_CLICKED_NAME;
		else
			return;		
		
		if (!obj.contains(event.toElement))
		{ 
			obj.style.cursor = 'default';
			if (sMenuClicked != obj.id)
			{
				obj.children.tags('A')[0].style.color = txtClOver;
				obj.style.background = bkgClOver;
			}
			
			showMsgStatus('');
		} 	
		
		return true;
	}

	function emScramble(email_C, email_B, email_A, domaine, libelle, desc)
	{
		var a, b, c, d, e, f, g;
		var dom;
		var lib;
		
		if (domaine == '')
			dom = 'mcsoft.fr';
		else
			dom = domaine;

		a = '<a title=\"';
		b = email_A + email_B + email_C;
		c = '\">';
		b +='@';
		e = '</a>';
		b +=dom;

		if (desc == '')
			a += b + '\"';
		else
			a += desc + '\"';

		f = ' href=\"mai';
		g = ' class=\"Em';
		f +='lto:';
		d = '>';
		g +='ail\"';
		f += b + '\"';

		if (libelle == '')
			lib = b;
		else
			lib = libelle;
			
		document.write(a + g + f + d + lib + e);
		
		return true;
	}

	function DisplayZoomScreen(url, width, height)
	{
		window.open(url,'ZoomScreen','width=' + width + ',height=' + height + ',left=0,top=0,scrollbars=no,toolbar=no,menubar=no,resizable=no,location=no,status=no',true);
	}

	function tblChangeClass(tbl, idx, cls)
	{
		var t,d;

		if (document.getElementById)
			t = document.getElementById(tbl);
		else
			t = document.all(tbl);

		if (t == null) return;

		if (t.getElementsByTagName) 
			d = t.getElementsByTagName("TD");
		else
			d = t.all.tags("TD");

		if (d == null) return;

		if (d.length <= idx) return;

		d[idx].className = cls;

	}

//-->