// Aquarelle.com
	function detectNavigateurCSS()
	{
		checkWindowWidthHeight();
		
		var browserName	=navigator.appName; 
		var browserVer	=parseInt(navigator.appVersion);	

		//if (myHeight > 785)
		if (myHeight > 855)
		{				
			if (browserName!="Microsoft Internet Explorer")
			{
		  	var msg = ":: You're not using Internet Explorer.";
				
				setActiveStyleSheet("layout1");
			}
			else
			{
				var versionIE = getInternetExplorerVersion();

			  if ( versionIE > -1 )
			  {
			    if ( versionIE >= 8.0 )
			    { 
						setActiveStyleSheet("layout1");
			    }
			    else if ( (versionIE >= 7.0) && (versionIE < 8.0) )
			    { 
			      setActiveStyleSheet("layout2");
			    }

			  }
			}						
		}		
	}

	function checkWindowWidthHeight()
	{
	  myWidth = 0;
	  myHeight = 0;
	  
	  if( typeof( window.innerWidth ) == 'number' ) 
	  {
	    //Non-IE
	    myWidth = window.innerWidth;
	    myHeight = window.innerHeight;
	  } 
	  else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) 
	  {
	    //IE 6+ in 'standards compliant mode'
	    myWidth = document.documentElement.clientWidth;
	    myHeight = document.documentElement.clientHeight;
	  } 
	  else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) 
	  {
	    //IE 4 compatible
	    myWidth = document.body.clientWidth;
	    myHeight = document.body.clientHeight;
	  }
	}


// Aquarelle-coffets.com
	function setNavigateurCSScoffrets(valueHeight,valueWidth)
	{
		checkWindowWidthHeight();
		
		var ccsHeight = valueHeight;
		var cssWidth	= valueWidth;
		
		var browserName	=navigator.appName; 
		var browserVer	=parseInt(navigator.appVersion);	

		if (myHeight > ccsHeight)
		{				

			if (browserName!="Microsoft Internet Explorer")
			{
		  	var msg = ":: You're not using Internet Explorer.";
				
				setActiveStyleSheet("layout1");
			}
			else
			{
				var versionIE = getInternetExplorerVersion();

			  if ( versionIE > -1 )
			  {
			    if ( versionIE >= 8.0 )
			    { 
						setActiveStyleSheet("layout1");
			    }
			  }
			}						
		}		
	}

	function getInternetExplorerVersion()
	// Returns the version of Internet Explorer or a -1 (indicating the use of another browser).
	{
	  var rv = -1; // Return value assumes failure.
	  if (navigator.appName == 'Microsoft Internet Explorer')
	  {
	    var ua = navigator.userAgent;
	    var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
	    if (re.exec(ua) != null)
	      rv = parseFloat( RegExp.$1 );
	  }
	  return rv;
	}


// old for Aquarelle.com
	function setNavigateurCSS(valueHeight,valueWidth)
	{
		checkWindowWidthHeight();
		
		var ccsHeight = valueHeight;
		var cssWidth	= valueWidth;
		
		var browserName	=navigator.appName; 
		var browserVer	=parseInt(navigator.appVersion);	

		if (myHeight > ccsHeight)
		{				

			if (browserName!="Microsoft Internet Explorer")
			{
		  	var msg = ":: You're not using Internet Explorer.";
				
				setActiveStyleSheet("layout1");
			}
			else
			{
				var versionIE = getInternetExplorerVersion();

			  if ( versionIE > -1 )
			  {
			    if ( versionIE >= 8.0 )
			    { 
						setActiveStyleSheet("layout1");
			    }
			    else if ( (versionIE >= 7.0) && (versionIE < 8.0) )
			    { 
			      setActiveStyleSheet("layout2");
			    }

			  }
			}						
		}		
	}	








