// JavaScript Document
function addFlashObject ()
{   

	var vars = {};
	var params = { scale:'noScale', allowFullScreen: "true", wmode:'transparent' };
	var attributes = { id:'testObject', name:'testObject' }; // give an id to the flash object

	swfobject.embedSWF("Main.swf", "flashcontent", "100%", "100%", "9.0.0", "js/expressInstall.swf", vars, params, attributes );
	try {
		swfmacmousewheel.registerObject(attributes.id);
	} 
	catch(e)
	{
	
	}
}

function addFlash (file, width, height, id, wmode, version) 
{
	var flashvars = {};
	var params = {'wmode':wmode};
	var attributes = {'id':id};	
	swfobject.embedSWF(file, id, width, height, version,"js/expressInstall.swf", flashvars, params, attributes)
}
function abrePeixe()
{
	window.open('http://www.peixegrande.com.br/voto/votar.asp?key=554073405B08044E4B44090D41494C030656434101FAD6C685820851EF4C939A32F402','peixegrandebetoparana','width=570,height=440');
}

function openImage(src) {
	var a_false = document.createElement("A");
    a_false.rel = "lightbox";
    a_false.href = src;
	//
	a_false.title = "Beto Paraná Suspensões";
	a_false.alt = "Beto Paraná Suspensões";
    //chamando a funçao do lightbox responsável pelo início das açoes
    myLightbox.start(a_false);
    //anulando o link
    a_false = null;	
}
//
addEvent(window, "load", addFlashObject);

