<!--
var sPtLang = "Pt";
var sEnLang = "En";

function ChangeVersionSite(){		
	var sUrl = '';
	
	if((location.pathname).search(/pt/i) > -1){
		sUrl = location.href.replace(/pt/i, sEnLang);
	}else if((location.pathname).search(/en/i) > -1){
		sUrl = location.href.replace(/en/i, sPtLang);
	}else{
		sUrl = "/";
	}
	location.assign(sUrl);
}

function GoToHome(){
	var sUrl = "";
	var path = (location.pathname).toUpperCase();
	
	if((location.pathname).search(/pt/i) > -1){
		sUrl = "/" + sPtLang + "/";
	}else if((location.pathname).search(/en/i) > -1){
		sUrl = "/" + sEnLang + "/";
	}else{
		sUrl = "/";		
	}
	location.assign(sUrl);
}

function InitFlashRodape(){
	if(window.screen.availWidth <= 800){
		document.getElementById('FlashRodape').style.height = '65px';
	}
}

function getPathAndParametersForLocation(){
	var x = (location.href).indexOf('/', 8);
	return (location.href).substr(x);
}

function WriteObjeFlash(objTag, srcFlash, objId){		
	var htmlObjectIe = '<object type="application/x-shockwave-flash" data=\"' + srcFlash + '\" id="' + objId + '"' +
					   '  	 codebase="http://fpdownload.macromedia.com/get/shockwave/cabs/flash/swflash.cab"' +
					   '  	 classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">' +
					   '   <param name="movie" value=\"' + srcFlash + '\">' + 
					   '   <param name="wmode" value="transparent">' + 
					   '</object>';
	var htmlObjectNoIe = '<object type="application/x-shockwave-flash" data=\"' + srcFlash + '\" id="' + objId + '">' + 
	                     '    <param name="movie" value=\"' + srcFlash + '\">'+ 
	                     '	  <param name="wmode" value="transparent">' +
						 '	  <embed play=false swliveconnect="true">' +
	                     '</object>';						 
	if(objTag){
		if((navigator.userAgent).indexOf('MSIE') > -1){
			objTag.innerHTML = htmlObjectIe;
		}else{
			objTag.innerHTML = htmlObjectNoIe;
		}
	}
}

function getFlashMovieObject(movieId){
	if (window.document[movieId]){
		return window.document[movieId];		
	}
	
	if (navigator.appName.indexOf("Microsoft Internet")==-1){
		if (document.embeds && document.embeds[movieId]){
		  	return document.embeds[movieId];		  
		}
	}else{
		return document.getElementById(movieId);		
	}
}

-->