/*© All rights reservedMadmedia Communicationgeneau@videotron.ca*///-------------------------------------------------------	function cLayerReference()	{		this.mMakeLayerRef = fMakeLayerRef;		this.mMultipleRefs = fMultipleRefs;		this.mRefByName = fRefByName;	}//-------------------------------------------------------	function fMakeLayerRef(sRefName, sLayerName)	{        if (document.layers)		{          	eval(sRefName + " = document." + sLayerName);        }		else if (document.all)		{             eval(sRefName + " = document.all." + sLayerName + ".style");        }        else if (document.getElementById)		{            eval(sRefName + " = document.getElementById('" + sLayerName + "').style");        }		else		{			alert("I do not recognize your browser -- oLayerReference");		}	}//-------------------------------------------------------	function fMultipleRefs(iNumberOfRefs, sRefNames, sLayerNames)	{		for (x = 1; x <= iNumberOfRefs; x++)		{			if (document.layers)			{				eval(sRefNames + x + " = document." + sLayerNames + x);			}			else if (document.all)			{				eval(sRefNames + x + " = document.all." + sLayerNames + x + ".style");			}			else if (document.getElementById)			{            	eval(sRefNames + x + " = document.getElementById('" + (sLayerNames + x) + "').style");        	}			else			{				alert("I do not recognize your browser -- oLayerReference");			}		}	}//-------------------------------------------------------	function fRefByName(asLayerNames, asRefNames)	{		for (x = 0; x < asLayerNames.length; x++)		{			if (document.layers)			{				eval(asRefNames[x] + " = document." + asLayerNames[x]);			}			else if (document.all)			{				eval(asRefNames[x] + " = document.all." + asLayerNames[x] + ".style");			}			else if (document.getElementById)			{            	eval(asRefNames[x] + " = document.getElementById('" + asLayerNames[x] + "').style");        	}			else			{				alert("I do not recognize your browser -- oLayerReference");			}		}	}//-------------------------------------------------------/*<script src = "../scripts/oLayerReference.js" language="JavaScript"><!--/ version 4 /--></script><script language="JavaScript"><!--//-------------------------------------------------------	// Details d'utilisation	// var oLayerReference = new cLayerReference();	// oLayerReference.mMakeLayerRef(sRefName, sLayerName);	// oLayerReference.mMultipleRefs(iNumberOfRefs, sRefNames, sLayerNames);	//	oLayerReference.mRefByName(asLayerNames, asRefNames);//-------------------------------------------------------//--></script>*/
