$(document).ready(function(){
	$('.img-parceiros').cycle();
	$('.img-top').cycle("slow");
	
	$(".bloco-negocios").click(function(){
		document.location.href='index-negocios.php' ;
	});
	
	$(".bloco-compromisso").click(function(){
		document.location.href='compromisso.php' ;
	});
	
	$(".close-floater").click(function(){
		$("#floater").fadeOut("slow") ;
		$(".menu-principal div ").css("z-index","11");
	});
	
});

//Fontes sIRF
var franklin = {
      src: '_swf/franklin.swf'
};
 
sIFR.activate(franklin);

sIFR.replace(franklin, {
      selector: 'h1',
      css: [
      '.sIFR-root { font-size:24; color:#8b4500; text-transform:uppercase; font-weight:bold;}'
      ],

	wmode: 'transparent'
});

sIFR.replace(franklin, {
      selector: 'h2.black',
      css: [
      '.sIFR-root { font-size:24; color:#8b4500; text-transform:uppercase; font-weight:bold;}',
	  'a:link {color:#8b4500; text-decoration:none;}',
	  'a:hover {color:#8b4500; text-decoration:underline;}'
      ],

	wmode: 'transparent'
});

sIFR.replace(franklin, {
      selector: 'h2.sub',
      css: [
      '.sIFR-root { font-size:20; color:#000000; text-transform:uppercase; font-weight:bold;}',
	  'a:link {color:#000000; text-decoration:none;}',
	  'a:hover {color:#000000; text-decoration:underline;}'
      ],

	wmode: 'transparent'
});

sIFR.replace(franklin, {
      selector: 'h3',
      css: [
      '.sIFR-root { font-size:16; color:#000000; text-transform:uppercase; font-weight:bold;}',
	  'a:link {color:#000000; text-decoration:none;}',
	  'a:hover {color:#000000; text-decoration:underline;}'
      ],

	wmode: 'transparent'
});

sIFR.replace(franklin, {
      selector: 'h4',
      css: [
      '.sIFR-root { font-size:20; color:#000000; text-transform:uppercase; font-weight:bold;}',
	  'a:link {color:#000000; text-decoration:none;}',
	  'a:hover {color:#000000; text-decoration:underline;}'
      ],

	wmode: 'transparent'
});

sIFR.replace(franklin, {
      selector: '.texto',
      css: [
      '.sIFR-root { font-size:14; color:#000000;}'
      ],

	wmode: 'transparent'
});

