// EXIBE FLASH
function ExibeFlash(w,h,id,wmode,movie,flashVars) {
	var isFlashVars = arguments.length==6;
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+w+'" height="'+h+'" id="'+id+'">');
	document.write('<param name="id" value="'+id+'"/>');
	document.write('<param name="wmode" value="'+wmode+'"/>');
	document.write('<param name="quality" value="high"/>');
	document.write('<param name="movie" value="'+movie+'"/>');
	if (isFlashVars){
		document.write('<param name="FlashVars" value="'+flashVars+'"/>');
	}
	document.write('<embed src="'+movie+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="'+wmode+'" width="'+w+'" height="'+h+'" ');
	if (isFlashVars){
		document.write(' FlashVars="'+flashVars+'"');
	}
	document.write('></embed>');
	document.write('</object>');
}



//Lightbox Flash
function showFoto(src,title)
{
//criando um link falso, para o LightBox captar as informações
var a_false = document.createElement("a");
a_false.title = title;
a_false.href = src;
a_false.rel = "thickbox";

//chamando a função do lightbox responsável pelo início das ações
tb_show(a_false.title,a_false.href,a_false.rel);
//anulando o link
a_false = null;
} 