var tabber_animation_style='slide';var tabber_animation_speed='fast';jQuery(document).ready(function(){var f=0;var g=[];if(!tabber_animation_speed){tabber_animation_speed='fast'}$('.tabber').each(function(){var a=[],gettabcontent=[];g[f]=0;var b=0;$(this).find('.onetab').each(function(){if($(this).hasClass('firsttab')){g[f]=b}b++});$(this).find('.onetab').find('.tabtitle').each(function(){a.push($(this).html())});$(this).find('.onetab').find('.tabcontent').each(function(){gettabcontent.push($(this).html())});if(a.length>0){var c='<ul class="tabber_ul">';for(var i=0;i<a.length;i++){c+='<li><a href="javascript:void(null)" class="t'+i+'">'+a[i]+'</a></li>'}c+='</ul><div class="tabcontent_wrapper">';for(var d=0;d<gettabcontent.length;d++){c+='<div class="tabcontent">'+gettabcontent[d]+'</div>'}c+='</div>';$(this).removeClass('tabber').addClass('tabber_live').attr('id','tabber_id_'+f).html(c);$(this).find('.tabcontent').not(':eq('+g[f]+')').hide();$(this).find('.tabber_ul li  a').eq(g[f]).addClass('current')}f++});$('.tabber_live').find('.tabber_ul > li > a').click(function(a){var b=$(this).parent('li').parent('ul').parent('.tabber_live');var c=b.attr('id').replace('tabber_id_','');var d=$(this).attr('class').replace('t','');var e=parseInt(d);if(g[c]==e){a.preventDefault();return false}b.find('.tabber_ul li  a').removeClass('current');if(b.find('.tabcontent').is(':animated')){b.find('.tabcontent').is(':animated').stop(true,true)}switch(tabber_animation_style){case'fade':b.find('.tabcontent:eq('+g[c]+')').fadeOut(tabber_animation_speed,function(){b.find('.tabcontent:eq('+e+')').fadeIn(tabber_animation_speed);b.find('.tabber_ul li').eq(e).children('a').addClass('current')});break;case'none':b.find('.tabcontent:eq('+g[c]+')').hide(10,function(){b.find('.tabcontent:eq('+e+')').show();b.find('.tabber_ul li').eq(e).children('a').addClass('current')});break;default:b.find('.tabcontent:eq('+g[c]+')').slideUp(tabber_animation_speed,function(){b.find('.tabcontent:eq('+e+')').slideDown(tabber_animation_speed);b.find('.tabber_ul li').eq(e).children('a').addClass('current')});break}g[c]=e;a.preventDefault()})});