jQuery.fn.extend({highlight:function(b,a,c){var d=new RegExp("(<[^>]*>)|(\\b"+b.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")+")",a?"ig":"g");return this.html(this.html().replace(d,function(f,e,g){return(f.charAt(0)=="<")?f:'<strong class="'+c+'">'+g+"</strong>"}))}});jQuery(document).ready(function(a){if(typeof(hls_query)!="undefined"){a("#content").highlight(hls_query,1,"hls")}});var TabbedContent={init:function(){$(".tab_item").mouseover(function(){document.getElementById("1").style.marginLeft="0px";var a=$(this).parent().find(".moving_bg");$(a).stop().animate({left:$(this).position()["left"]},{duration:300});TabbedContent.slideContent($(this))})},slideContent:function(b){var a=$(b).parent().parent().find(".slide_content").width();a=a*($(b).prevAll().size()-1);a=a*-1;$(b).parent().parent().find(".tabslider").stop().animate({marginLeft:a+"px"},{duration:300})}};$(document).ready(function(){TabbedContent.init()});
