<!--
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_execute(iHeight){
	var oBody = document.body;
	var oDiv = document.getElementById("flashcontent");
	oDiv.style.height = iHeight;
	if (window.innerWidth){
		//iTmpWidth = window.innerWidth;
		iTmpWidth = '100%'
	}
	else if (document.all){
		iTmpWidth = document.body.clientWidth;
	}
	oDiv.style.width = iTmpWidth;
	oBody.scroll="yes";
	
	//Patch Safari
	if (navigator.userAgent.indexOf("Safari") >= 0)
	{
	    document.getElementById("home").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){
	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);
}
//-->