savlaaltu = 0;
function getFlashMovie(movieName) {
	var isIE = navigator.appName.indexOf("Microsoft") != -1;
	return (isIE) ? window[movieName] : document[movieName];
}
function ajusteScroll(pasHeig, dedone){
	var tipodonde = dedone;
	var laaltu = Number(pasHeig);
	var isIE = navigator.appName.indexOf("Microsoft") != -1;
	var varphe = laaltu == "" || laaltu == null || laaltu == 0 ? savlaaltu : laaltu;
	var anchoFree = !isIE ? window.innerWidth : document.body.clientWidth;
	var altoFree = !isIE ? window.innerHeight : document.body.clientHeight;
	var calcHei = varphe>altoFree ? altoFree+(varphe-altoFree) : altoFree; 
	var newAltoDiv = calcHei >1340 ? calcHei : 1340 ;
	var contemplaScrol = newAltoDiv>altoFree ? 18 : 0;
	var newAnchoDiv = anchoFree > 974 ? anchoFree-contemplaScrol : 974;
	savlaaltu = varphe; 
	if(isIE){
		document.getElementById('divFla').style.width = newAnchoDiv; 
		document.getElementById('divFla').style.height = newAltoDiv;
		document.getElementById('divF').style.left = (newAnchoDiv-285)/2;
		
	}else{
		divFla.style.width = newAnchoDiv;
		divFla.style.height = newAltoDiv;
		divF.style.left = (newAnchoDiv-285)/2;
	}
}
//
moveTo(0,0);
anchoClient = screen.availWidth;
altoClient = screen.availHeight-20;
resizeTo(anchoClient, altoClient);
document.write("<table width='100%' cellpadding='0' cellspacing='0' border='0' style='height:100%;'><tr><td align='center' height='100%' valign='middle' >"
+ "<div align='center' name='divFla' id='divFla' style='height:"+altoClient+"px;width:"+anchoClient+"px;margin:0px;background-color:#f6f6f6;vertical-align:middle;'>");
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0' width='100%' height='100%' id='base' align='middle'><param name='allowScriptAccess' value='sameDomain' />"
+ "<param name='movie' value='main.swf'/><param name='quality' value='high' /><param name='scale' value='noscale' /><param name='salign' value='m' /><param name='bgcolor' value='#f6f6f6'/><param name='wmode' value='transparent'/>"
+ "<embed src='main.swf' quality='high' scale='noscale' salign='m' bgcolor='#f6f6f6' width='100%' height='100%' id='base' name='base' align='middle' allowScriptAccess='sameDomain' wmode='transparent' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></object></div></td></tr></table>");	