(function($){ "use strict"; var ison=0,sets,fx,toanimate="#effect",settings={ animation:8,animationtype:"in",backwards:false,easing:"easeoutquint",speed:1000,sequencedelay:100,startdelay:0,offsetx:100,offsety:50,oncomplete:firethis,restorehtml:true}; jquery(document).ready(function(){ fx=jquery("#effect"); jquery.cjtextfx(settings); jquery.cjtextfx.animate(toanimate); } ); function firethis(){ if(ison===12)return; (ison<12)?ison++:ison=0; switch(ison){ case 1:sets={ animation:8,animationtype:"out",restorehtml:false}; break; case 2:fx.html("quality"); sets={ animation:11}; break; case 3:sets={ animation:11,animationtype:"out",restorehtml:false}; break; case 4:fx.html("services"); sets={ animation:1}; break; case 5:sets={ animation:1,animationtype:"out",restorehtml:false}; break; case 6:fx.html("efficient"); sets={ animation:6,backwards:true}; break; case 7:sets={ animation:4,animationtype:"out",backwards:true,restorehtml:false}; break; case 8:fx.html("guarantee"); sets={ animation:2,easing:"easeoutbounce"}; break; case 9:sets={ animation:2,animationtype:"out",speed:500,easing:"easeinback",restorehtml:false}; break; case 10:fx.html("sincerity"); sets={ animation:14,startdelay:1000,easing:"easeinback",restorehtml:false}; break; case 11:sets={ animation:6,animationtype:"out",speed:500,easing:"easeinback",restorehtml:false}; break; default:ison=2; break; } jquery.cjtextfx.animate(toanimate,sets); } } )(jquery);