//Begin FLIR Animation Stuff



FLIR.init( { path:'wp-content/themes/tao/scripts/facelift-1.2/'}, new FLIRStyle({mode:'wrap'}));

FLIR.auto(['p.bodebeck','h1.bodebeck', 'h2.bodebeck']);

//get the paragraphs to swap
var swap_div = $("div#textswap");
var swap_pars = $("div#textswap p");

swap_div.find("p:gt(0)").hide();

var fout_index = 0;
var fin_index = 1;

function loopPars() {

swap_pars.eq(fout_index).fadeOut("slow");
swap_pars.eq(fin_index).fadeIn("slow");

fout_index = fin_index;
fin_index = (++fin_index) % 6;

}

//cycle over the swap_pars, fading them in and out after a set wait time

t = setInterval("loopPars()", 6000);