<!--
var sModeProduct = 0;
var iHproduct = 600;
var iHmaxProduct = 600;

function resizeHeader(iHeight){
	var oDivHeader = null;
	if (document.getElementById) {
		oDivHeader = document.getElementById('swfheader');
	} else if (document.all) {
		oDivHeader = document.all['swfheader'];
	}
	// var oDivVideo = document.getElementById("supra");
	if(oDivHeader){
		oDivHeader.style.height = iHeight + "px";
		if (typeof document.body.style.maxHeight != "undefined") {
		  // IE 7, mozilla, safari, opera 9
		} else {
		  // IE6, older browsers
		  oDivEmbed = document.all['swfheader'];
		  oDivEmbed.style.height = iHeight + "px";
		}
	}
}


function resize(iHeight){
	var oDivVideo = null;
	if (document.getElementById) {
		oDivVideo = document.getElementById('range_zone-bandeau');
	} else if (document.all) {
		oDivVideo = document.all['range_zone-bandeau'];
	}
	// var oDivVideo = document.getElementById("range_zone-bandeau");
	if(oDivVideo){
		oDivVideo.style.height = iHeight + "px";
	}
}	
	
function resize_execute(iHeight){
	var oBody = document.body;
	
	// iHeight = Math.floor(iHeight * 0.98);
	// alert(iHeight);
	
	var oDiv = null;
	if (document.getElementById) {
		oDiv = document.getElementById("flashcontent");
	} else if (document.all) {
		oDiv = document.all['flashcontent'];
	}
	
	if(oDiv){
		oDiv.style.height = iHeight + "px";
		if (typeof document.body.style.maxHeight != "undefined") {
		  // IE 7, mozilla, safari, opera 9
		} else {
		  // IE6, older browsers
		  oDivEmbed = document.all['flashcontent'];
		  oDivEmbed.style.height = iHeight + "px";
		}
		
		if (window.innerWidth){
			iTmpWidth = '100%'
		}
		else if (document.all){
			iTmpWidth = document.body.clientWidth;
		}
		oBody.scroll="yes";
		
		//Patch Safari
		if (navigator.userAgent.indexOf("Safari") >= 0)
		{
		    document.getElementById("flashcontent").height = iHeight;
		}
	}
}

function resizeSmallSize_div_product(h){
	sModeProduct = 1;
	resize_execute(h);
}
function resizeFullSize_div_product(){
	if (window.innerWidth){
		iScreenHeight = window.innerHeight;
	}
	else if (document.all){
		iScreenHeight = document.body.clientHeight;
	}
	resize_execute(iScreenHeight);
	sModeProduct = 2;
}
function resizeScreen_div_product(){
	if (sModeProduct == 1)
		resizeSmallSize_div_product(iHproduct);
	else
		resizeFullSize_div_product();
}
function resize_div_product(h){
	// alert(h);
	if ((h=='undefined') || (h=='') || (h==undefined)){
		h=iHproduct;
	}
	switch (h){
		case '100%':
			resizeFullSize_div_product();
			break;
	default:
		iHproduct = h;
		resizeSmallSize_div_product(h);
		break;
	}
}
function resize_auto_div_product(){
	if (window.innerWidth){
		iScreenHeight = window.innerHeight;
	}
	else if (document.all){
		iScreenHeight = document.body.clientHeight;
	}
	if (iHproduct < iScreenHeight) {
		iHmaxProduct = iScreenHeight;
	} else {
		iHmaxProduct = iHproduct;
	}
	resizeSmallSize_div_product(iHmaxProduct);
}
//-->