var compatibleNS =	false ;
var compatibleIE = false ;

function settings(){
	
	compatibleNS =	(ns4 || ns5 || ns6) ;
	compatibleIE =	(ie5 || ie55 || ie6) ;
		
	if(compatibleNS)
	{
		document.captureEvents(Event.MOUSEMOVE);
	}
		
	document.onmousemove=MouzeM;
		
}

/*
function MouzeM(e){

	if(compatibleNS){var x=e.pageX; var y=e.pageY}
	if(compatibleIE){var x=event.x; var y=event.y}

	if((y>=223) && (y<=665))
	{	
		eval (startLayerRef + 'idvignette' + endLayerRef + styleSwitch + topSwitch + '= (900)-3.1*' + y + ' ;');

	} else {

		if (y<=0)
		{
			eval (startLayerRef + 'idvignette' + endLayerRef + styleSwitch + leftSwitch + '= 0 ;'); 
		}

	}
	
	
}
*/
function MouzeM(e){

	if(compatibleNS){var x=e.pageX; var y=e.pageY}
	if(compatibleIE){var x=event.x; var y=event.y}

	if(((y>=223) && (y<=665)) && ((x>=132) && (x<=274)))
	{
		eval (startLayerRef + 'idvignette' + endLayerRef + styleSwitch + topSwitch + '= (900)-3.1*' + y + ' ;');
	} else {

		if (y<=0)
		{
/*			eval (startLayerRef + 'idvignette' + endLayerRef + styleSwitch + leftSwitch + '= 0 ;'); */
			eval (startLayerRef + 'idvignette' + endLayerRef + styleSwitch + topSwitch + '= 223 ;');
		}

	}
	
/*	eval (startLayerRef + 'curseur' + endLayerRef + styleSwitch + leftSwitch + '= ' + x +' ;');		*/
	
}
