<!--
function menu(varVisita, varSeccao) {
	document.write('<OBJECT CLASSID="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
	document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
	document.write(' WIDTH="208" HEIGHT="518">');
	document.write(' <PARAM NAME="movie" VALUE="media/menu.swf?visita=' + varVisita + '&seccao=' + varSeccao + '">');
	document.write(' <PARAM NAME="allowScriptAccess" VALUE="sameDomain">');
	document.write(' <PARAM NAME="quality" VALUE="best">');
	document.write(' <PARAM NAME="menu" VALUE="false">');
	document.write(' <PARAM NAME="scale" VALUE="noborder">');
	document.write(' <PARAM NAME="loop" VALUE="false">');
	document.write(' <PARAM NAME="wmode" VALUE="transparent">');
	document.write(' <EMBED src="media/menu.swf?visita=' + varVisita + '&seccao=' + varSeccao + '" allowScriptAccess="sameDomain" quality="best"');
	document.write(' menu="false" scale="noborder" wmode="transparent" loop="false" bgcolor="#6699CC" width="208" height="518"');
	document.write(' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write(' </EMBED>');
	document.write(' </OBJECT>');
}

function imagemHTML(ficheiro, largura, altura, varVisita, cabeca, legenda, strImagens) {
	document.write('<OBJECT CLASSID="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
	document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
	document.write(' WIDTH="' + largura + '" HEIGHT="' + altura + '" name="filme1" id="filme1">');
	document.write(' <PARAM NAME="movie" VALUE="media/' + ficheiro + '?visita=' + varVisita + '&cabeca=' + cabeca + '&legenda=' + legenda + strImagens + '">');
	document.write(' <PARAM NAME="allowScriptAccess" VALUE="sameDomain">');
	document.write(' <PARAM NAME="quality" VALUE="best">');
	document.write(' <PARAM NAME="menu" VALUE="false">');
	document.write(' <PARAM NAME="scale" VALUE="noborder">');
	document.write(' <PARAM NAME="loop" VALUE="false">');
	document.write(' <PARAM NAME="wmode" VALUE="transparent">');
	document.write(' <EMBED src="media/' + ficheiro + '?visita=' + varVisita + '&cabeca=' + cabeca + '&legenda=' + legenda + strImagens + '" allowScriptAccess="sameDomain" quality="best"');
	document.write(' menu="false" scale="noborder" wmode="transparent" loop="false" bgcolor="#6699CC" width="' + largura + '" height="' + altura + '"');
	document.write(' swLiveConnect=true id="filme2" name="filme2" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write(' </EMBED>');
	document.write(' </OBJECT>');
}

function imagem(ficheiro, largura, altura, varVisita, cabeca, legenda, strImagens) {
	document.write('<OBJECT CLASSID="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
	document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
	document.write(' WIDTH="' + largura + '" HEIGHT="' + altura + '">');
	document.write(' <PARAM NAME="movie" VALUE="media/' + ficheiro + '?visita=' + varVisita + '&cabeca=' + cabeca + '&legenda=' + legenda + strImagens + '">');
	document.write(' <PARAM NAME="allowScriptAccess" VALUE="sameDomain">');
	document.write(' <PARAM NAME="quality" VALUE="best">');
	document.write(' <PARAM NAME="menu" VALUE="false">');
	document.write(' <PARAM NAME="scale" VALUE="noborder">');
	document.write(' <PARAM NAME="loop" VALUE="false">');
	document.write(' <PARAM NAME="wmode" VALUE="transparent">');
	document.write(' <EMBED src="media/' + ficheiro + '?visita=' + varVisita + '&cabeca=' + cabeca + '&legenda=' + legenda + strImagens + '" allowScriptAccess="sameDomain" quality="best"');
	document.write(' menu="false" scale="noborder" wmode="transparent" loop="false" bgcolor="#6699CC" width="' + largura + '" height="' + altura + '"');
	document.write(' swLiveConnect=true type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write(' </EMBED>');
	document.write(' </OBJECT>');
}

function destaque(ficheiro, largura, altura, varVisita, cabeca, legenda, ligacao, strImagens) {
	document.write('<OBJECT CLASSID="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
	document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
	document.write(' WIDTH="' + largura + '" HEIGHT="' + altura + '">');
	document.write(' <PARAM NAME="movie" VALUE="media/' + ficheiro + '?visita=' + varVisita + '&cabeca=' + cabeca + '&legenda=' + legenda + '&ligacao=' + ligacao + strImagens + '">');
	document.write(' <PARAM NAME="allowScriptAccess" VALUE="sameDomain">');
	document.write(' <PARAM NAME="quality" VALUE="best">');
	document.write(' <PARAM NAME="menu" VALUE="false">');
	document.write(' <PARAM NAME="scale" VALUE="noborder">');
	document.write(' <PARAM NAME="loop" VALUE="false">');
	document.write(' <PARAM NAME="wmode" VALUE="transparent">');
	document.write(' <EMBED src="media/' + ficheiro + '?visita=' + varVisita + '&cabeca=' + cabeca + '&legenda=' + legenda + '&ligacao=' + ligacao + strImagens + '" allowScriptAccess="sameDomain" quality="best"');
	document.write(' menu="false" scale="noborder" wmode="transparent" loop="false" bgcolor="#6699CC" width="' + largura + '" height="' + altura + '"');
	document.write(' swLiveConnect=true type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write(' </EMBED>');
	document.write(' </OBJECT>');
}
//-->