// Titulos em Flash inicio
// caminho do swf: design = swf; asp.net = /swf
var swf = "swf";

function get(el){
	return document.getElementById(el);	
}

function flashRandom() {
    $(".tituloFlashGr").each(function(i) {
        var id = $(this).attr("id");
        var h2 = get(id).getElementsByTagName('h2');
        h2 = h2[0].innerHTML;
        h2 = Trim(h2);
        var flashvars = { titulo: h2 };
        var params = { wmode: 'transparent', scale: 'noscale', menu: 'false' };
        swfobject.embedSWF(swf+"/titulosGr.swf", id, "500", "25", "10.0.0", "/inc/swfobject/expressInstall.swf", flashvars, params, false);

    });
}
// Titulos em Flash fim

// tira o bug de background em links no IE - inicio
function ieFlickerFix(){
try {
document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}
}

$(document).ready(function(){
	function start() {
	ieFlickerFix();
	}
	window.onload = start;
});
// tira o bug de background em links no IE - fim

