function FlashMovie(src, movie, width, height, version, quality, scale, salign, menu, bgcolor, flashvars)
{
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+version+",0,0,0' width='" +width+ "' height='" +height+ "' id='" +movie+ "'>");
	document.write("<param name='movie' value='" +src+ "' />");
	document.write("<param name='FlashVars' value='" +flashvars+ "'>");
	document.write("<param name='quality' value='" +quality+ "' />");
	document.write("<param name='scale' value='" +scale+ "' />");
	document.write("<param name='salign' value='" +salign+ "' />");
	document.write("<param name='menu' value='" +menu+ "' />");
	document.write("<param name='bgcolor' value='" +bgcolor+ "' />");
	document.write("<param name='wmode' value='transparent' />");
	document.write("<embed src='" +src+ "' swLiveConnect='true' menu='" +menu+ "' FlashVars='" +flashvars+ "' quality='" +quality+ "' scale='" +scale+ "' salign='" +salign+ "' bgcolor='" +bgcolor+ "' wmode='transparent' width='" +width+ "' height='" +height+ "' name='" +movie+ "' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}

function displayNameModel(model)
{
	document.getElementById("nomModel").innerHTML = model;
}



function detectversion() 
{ 	var NomNav = navigator.appName; // place le nom du navigateur dans la variable NomNav	var VersNav = navigator.appVersion; // place la version du navigateur dans la variable VersNav	var NumVers = parseFloat(VersNav); // transforme en numérique flottant	//if (NumVers >= 4) { // teste si version >= à 4		    if (NomNav == "Netscape") 
	    { // teste si NS	    	return NomNav;	    }	    if (NomNav == "Microsoft Internet Explorer") 
	    { 
	    	// teste si MIE vers >=4	    	return "ie6";	    }
	    else return 0;}

function getWindowHeight() {		var windowHeight = 0;		if (typeof(window.innerHeight) == 'number') {			windowHeight = window.innerHeight;		}		else {			if (document.documentElement && document.documentElement.clientHeight) {				windowHeight = document.documentElement.clientHeight;			}			else {				if (document.body && document.body.clientHeight) {					windowHeight = document.body.clientHeight;				}			}		}		return windowHeight;	}	function setFooter() {		if (document.getElementById) {			var windowHeight = getWindowHeight();			if (windowHeight > 0) {				var contentHeight = document.getElementById('nofooter').offsetHeight;				var footerElement = document.getElementById('footer');
				var footerHeight  = footerElement.offsetHeight;
				if (windowHeight - (contentHeight + footerHeight) >= 0) {					footerElement.style.position = 'relative';
					var navi = detectversion();
					//alert(navi);
					if(navi == "ie6")						footerElement.style.top = ((windowHeight - (contentHeight + footerHeight)) + footerHeight) + 'px';
					else
						footerElement.style.top = (windowHeight - (contentHeight + footerHeight)) + 'px';
					//alert("window: "+windowHeight + " content: "+ contentHeight + " top: "+footerElement.style.top);				}				else {					footerElement.style.position = 'static';				}			}		}	}	window.onload = function() {		//setFooter();	}	window.onresize = function() {		//setFooter();	}		