	
	function fullScreen(URL) {
		var Navigateur  = navigator.appName;

		//Si la résolution est de 800x600
		if ((screen.width<1024) && (screen.height<768))
		{
		//Si le navigateur est IE
		if(Navigateur == "Microsoft Internet Explorer")
			{
			var myWidth = 790; 
			var myHeight = 510;
			var myOptions = 'width=' + myWidth + ',height=' + myHeight + ',status=yes,toolbar=no,menubar=0,location=no,scrollbars=yes,resizable=yes,top=0,left=0';
			window.open(URL,null,myOptions);
			}
			//Si le navigateur est autre chose que IE
			else
			{
			var myWidth = 800; 
			var myHeight = 600;
			var myOptions = 'width=' + myWidth + ',height=' + myHeight + ',status=yes,toolbar=no,menubar=0,location=no,scrollbars=yes,resizable=no,top=0,left=0';
			window.open(URL,null,myOptions);
			}
		}
		
		//Si la résolution est de 1024x768
		if ((screen.width==1024) && (screen.height==768))
		{
		 //Si le navigateur est IE
		 if(Navigateur == "Microsoft Internet Explorer")
			{
			var myWidth = screen.width-10; 
			var myHeight = screen.height-90;
			var myOptions = 'width=' + myWidth + ',height=' + myHeight + ',status=yes,toolbar=no,menubar=0,location=no,scrollbars=no,directories=0,resizable=no,top=0,left=0';
			window.open(URL,null,myOptions);
			}

			else
			{
			var myWidth = screen.width; 
			var myHeight = screen.height;
			var myOptions = 'width=' + myWidth + ',height=' + myHeight + ',status=no,toolbar=no,menubar=0,location=0,scrollbars=no,resizable=0,top=0,left=0';
			window.open(URL,null,myOptions);
			}
		}
		
		//Si la résolution est plus grande que 1024X768
		if ((screen.width>1024) && (screen.height>768))
		{
		 if(Navigateur == "Microsoft Internet Explorer")
			{
			var myWidth = screen.width-10; 
			var myHeight = screen.height-90;
			var myOptions = 'width=' + myWidth + ',height=' + myHeight + ',status=yes,toolbar=no,menubar=0,location=no,scrollbars=auto,resizable=no,top=0,left=0';
			window.open(URL,null,myOptions);
			}

			else
			{
			var myWidth = screen.width; 
			var myHeight = screen.height;
			var myOptions = 'width=' + myWidth + ',height=' + myHeight + ',status=yes,toolbar=no,menubar=0,location=no,scrollbars=auto,resizable=no,top=0,left=0';
			window.open(URL,null,myOptions);
			}
		}
		

	}


		function ResizeFlashObject(Width,Height) {
			var Navigateur  = navigator.appName;

			//Resize le contenu du flash à 1024 X 768 pour les petites résolution
			//Le overflow force les browsers à avoir des scrollbars et avoir le footer du flash
			if ((screen.width<=1024) && (screen.height<=768))
				{
					if(document.all && !document.getElementById) {
						document.all['container'].style.pixelWidth = 1024+'px';
						document.all['container'].style.pixelHeight = 768+'px';
						document.all['Home'].style.pixelWidth = 1024+'px';
						document.all['Home'].style.pixelHeight = 768+'px';
						document.all['Home'].style.overflow = 'auto';
					}else{
						document.getElementById('container').style.width = 1024+'px';
						document.getElementById('container').style.overflow = 'auto';
						document.getElementById('Home').style.width = 1024+'px';
						document.getElementById('Home').style.overflow = 'auto';

						//Condition qui force IE seulement à avoir des scrollbar
						if(Navigateur == "Microsoft Internet Explorer")
							{
							document.getElementById('container').style.height = 678+'px';
							}
					}
				}

		}

	/* Ouvrir un popup standard*/
	function popWin(url,w,h,scroll,tools,name,center,baseUrl) {
			var str = "height=" + h + ",innerHeight=" + h;
			str += ",width=" + w + ",innerWidth=" + w;
			if(baseUrl) url = webSiteCMSUrl + url;
			if(!center) var center = false;
			if(!scroll) scroll = 0;
			if(!tools) tools = 0;
			if(!name) name = "pop";

			if((window.screen) && (center)) {
				var ah = screen.availHeight - 30;
				var aw = screen.availWidth - 10;

				var xc = (aw - w) / 2;
				var yc = (ah - h) / 2;

				str += ",left=" + xc + ",screenX=" + xc;
				str += ",top=" + yc + ",screenY=" + yc;
				}
			window.name = "main";
			pop = window.open(url,name,'toolbar=' + tools + ',location=0,directories=0,status=0,menubar=0,scrollbars=' + scroll + ',resizable=0,' + str).focus();
			}