var opened=true;jQuery(function(){setLeftSwicther();if(jQuery.browser.msie&&jQuery.browser.version.substr(0,1)<7){jQuery("#leftpanelSwitcher").css("position","absolute");jQuery(window).scroll(function(){jQuery("#leftpanelSwitcher").css("top",jQuery(window).scrollTop()+"px")})}});function setLeftSwicther(){jQuery("#leftpanelswitcher_btn").click(function(){if(opened){jQuery("#leftpanelSwitcher").animate({left:parseInt(jQuery("#leftpanelSwitcher").css("left"),10)==0?-jQuery("#leftpanelSwitcher").outerWidth():0});jQuery("#leftpanelswitcher_btn").css({backgroundPosition:"0px 0px"});opened=false}else{jQuery("#leftpanelSwitcher").animate({left:parseInt(jQuery("#leftpanelSwitcher").css("left"),10)==0?-jQuery("#leftpanelSwitcher").outerWidth():0});jQuery("#leftpanelswitcher_btn").css({backgroundPosition:"0px 0px"});opened=true}});jQuery("#leftpanelswitcher_btn").mouseover(function(){jQuery(this).css({cursor:"pointer"})})}var opened=true;jQuery(function(){setRightSwicther();if(jQuery.browser.msie&&jQuery.browser.version.substr(0,1)<7){jQuery("#rightpanelstyleSwitcher").css("position","absolute");jQuery(window).scroll(function(){jQuery("#rightpanelstyleSwitcher").css("top",jQuery(window).scrollTop()+"px")})}});function setRightSwicther(){jQuery("#rightpanelswitcher_btn").click(function(){if(opened){jQuery("#rightpanelstyleSwitcher").animate({right:parseInt(jQuery("#rightpanelstyleSwitcher").css("right"),10)==0?-jQuery("#rightpanelstyleSwitcher").outerWidth():0});jQuery("#rightpanelswitcher_btn").css({backgroundPosition:"0px 0px"});opened=false}else{jQuery("#rightpanelstyleSwitcher").animate({right:parseInt(jQuery("#rightpanelstyleSwitcher").css("right"),10)==0?-jQuery("#rightpanelstyleSwitcher").outerWidth():0});jQuery("#rightpanelswitcher_btn").css({backgroundPosition:"0px 0px"});opened=true}});jQuery("#rightpanelswitcher_btn").mouseover(function(){jQuery(this).css({cursor:"pointer"})})}var opened=true;jQuery(function(){setTopSwicther();if(jQuery.browser.msie&&jQuery.browser.version.substr(0,1)<7){jQuery("#toppanelSwitcher").css("position","absolute");jQuery(window).scroll(function(){jQuery("#toppanelSwitcher").css("top",jQuery(window).scrollTop()+"px")})}});function setTopSwicther(){jQuery("#toppanelswitcher_btn").click(function(){if(opened){jQuery("#toppanelSwitcher").animate({top:parseInt(jQuery("#toppanelSwitcher").css("top"),10)==0?-jQuery("#toppanelSwitcher").outerHeight():0});jQuery("#toppanelswitcher_btn").css({backgroundPosition:"4px -32px"});opened=false}else{jQuery("#toppanelSwitcher").animate({top:parseInt(jQuery("#toppanelSwitcher").css("top"),10)==0?-jQuery("#toppanelSwitcher").outerHeight():0});jQuery("#toppanelswitcher_btn").css({backgroundPosition:"4px 0px"});opened=true}});jQuery("#toppanelswitcher_btn").mouseover(function(){jQuery(this).css({cursor:"pointer"})})}var opened=true;jQuery(function(){setBottomSwicther();if(jQuery.browser.msie&&jQuery.browser.version.substr(0,1)<7){jQuery("#bottompanelSwitcher").css("position","absolute");jQuery(window).scroll(function(){jQuery("#bottompanelSwitcher").css("top",jQuery(window).scrollTop()+"px")})}});function setBottomSwicther(){jQuery("#bottompanelswitcher_btn").click(function(){if(opened){jQuery("#bottompanelSwitcher").animate({marginBottom:204});jQuery("#bottompanelswitcher_btn").animate({marginBottom:54});opened=false}else{jQuery("#bottompanelSwitcher").animate({marginBottom:0});jQuery("#bottompanelswitcher_btn").animate({marginBottom:0});opened=true}});jQuery("#bottompanelswitcher_btn").mouseover(function(){jQuery(this).css({cursor:"pointer"})})}jQuery(document).ready(function(){var b=[];var d=null;showBox=function(l,j,i,m){if(!d){d=new Element("div",{id:"jabox-overlay"}).injectBefore($(l));d.setStyle("opacity",0.01);d.addEvent("click",function(n){b.each(function(q){if(q.status=="show"){q.status="hide";var o=new Fx.Style(q,"opacity");o.stop();o.start(q.getStyle("opacity"),0);if(q._caller){q._caller.removeClass("show")}}},this);d.setStyle("display","none")})}i.blur();l=$(l);if(!l){return}if($(i)){l._caller=$(i)}if(!b.contains(l)){b.include(l)}if(l.getStyle("display")=="none"){l.setStyles({display:"block",opacity:0})}if(l.status=="show"){l.status="hide";var k=new Fx.Style(l,"opacity");k.stop();k.start(l.getStyle("opacity"),0);if(l._caller){l._caller.removeClass("show")}d.setStyle("display","none")}else{b.each(function(n){if(n!=l&&n.status=="show"){n.status="hide";var o=new Fx.Style(n,"opacity");o.stop();o.start(n.getStyle("opacity"),0);if(n._caller){n._caller.removeClass("show")}}},this);l.status="show";var k=new Fx.Style(l,"opacity",{onComplete:function(){if($(j)){$(j).focus()}}});k.stop();k.start(l.getStyle("opacity"),1);if(l._caller){l._caller.addClass("show")}d.setStyle("display","block")}};jQuery("a.login-switch").attr("title","Click To Login");jQuery("a.register-switch").attr("title","Click To Register");jQuery("a#chrome-gallery-rb").css({display:"inline-block"}).hover(function(){var i=jQuery(this).find("img").attr("src");jQuery(this).fadeTo("normal",1).css({background:'transparent url("templates/jf_chrome/images/hover.png") no-repeat 50% 45%',width:"220px",height:"auto",display:"inline-block"});jQuery(this).find("img").stop().fadeTo("normal",0.65)},function(){jQuery(this).find("img").stop().fadeTo("normal",1).show()});jQuery("span#chrome-gallery-rb").css({margin:"5px",display:"inline-block"}).hover(function(){var i=jQuery(this).find("img").attr("src");jQuery(this).find("a.jf-chrome").fadeTo("normal",1).css({background:'transparent url("templates/jf_chrome/images/hover.png") no-repeat 50% 50%',width:"auto",height:"auto",display:"inline-block"});jQuery(this).find("img").stop().fadeTo("normal",0.65)},function(){jQuery(this).find("img").stop().fadeTo("normal",1).show()});jQuery("span#chrome-gallery-rb.style1 img").css({margin:"5px 5px 0px 0px;",border:"1px solid #bbb",padding:"5px",background:"#fff"});jQuery("span#chrome-gallery-rb.style1 a").css({display:"inline-block"});jQuery("span#chrome-gallery-rb.style2 img").css({margin:"5px 5px 0px 0px;",padding:"4px",background:"#fff"});jQuery("span#chrome-gallery-rb.style2 a").css({display:"inline-block"});jQuery("span#chrome-gallery-rb.style3 img").css({margin:"5px 5px 0px 0px;",padding:"4px",background:"#fff"});jQuery("span#chrome-gallery-rb.style3 a").css({display:"inline-block"});jQuery("a#chrome-gallery-150-shadow1").css({display:"inline-block"}).hover(function(){var i=jQuery(this).find("img").attr("src");jQuery(this).css({background:'url("templates/jf_chrome/images/hover.png") no-repeat center',width:"150px",height:"auto",display:"inline-block"});jQuery(this).find("img").stop().fadeTo("normal",0.65)},function(){jQuery(this).find("img").stop().fadeTo("normal",1).show()});jQuery("a#chrome-gallery-220-shadow1").css({display:"inline-block"}).hover(function(){var i=jQuery(this).find("img").attr("src");jQuery(this).css({background:'url("templates/jf_chrome/images/hover.png") no-repeat center',width:"220px",height:"auto",display:"inline-block"});jQuery(this).find("img").stop().fadeTo("normal",0.65)},function(){jQuery(this).find("img").stop().fadeTo("normal",1).show()});jQuery("a#chrome-gallery-320-shadow1").css({display:"inline-block"}).hover(function(){var i=jQuery(this).find("img").attr("src");jQuery(this).fadeTo("normal",1).css({background:'transparent url("templates/jf_chrome/images/hover.png") no-repeat center',width:"320px",height:"auto",display:"inline-block"});jQuery(this).find("img").stop().fadeTo("normal",0.65)},function(){jQuery(this).find("img").stop().fadeTo("normal",1).show()});jQuery("a#chrome-gallery-420-shadow1").css({display:"inline-block"}).hover(function(){var i=jQuery(this).find("img").attr("src");jQuery(this).fadeTo("normal",1).css({background:'transparent url("templates/jf_chrome/images/hover.png") no-repeat center',width:"420px",height:"auto",display:"inline-block"});jQuery(this).find("img").stop().fadeTo("normal",0.65)},function(){jQuery(this).find("img").stop().fadeTo("normal",1).show()});jQuery("a#chrome-gallery-150-shadow2").css({display:"inline-block"}).hover(function(){var i=jQuery(this).find("img").attr("src");jQuery(this).css({background:'url("templates/jf_chrome/images/hover.png") no-repeat center',width:"150px",height:"auto",display:"inline-block"});jQuery(this).find("img").stop().fadeTo("normal",0.65)},function(){jQuery(this).find("img").stop().fadeTo("normal",1).show()});jQuery("a#chrome-gallery-220-shadow2").css({display:"inline-block"}).hover(function(){var i=jQuery(this).find("img").attr("src");jQuery(this).css({background:'url("templates/jf_chrome/images/hover.png") no-repeat center',width:"220px",height:"auto",display:"inline-block"});jQuery(this).find("img").stop().fadeTo("normal",0.65)},function(){jQuery(this).find("img").stop().fadeTo("normal",1).show()});jQuery("a#chrome-gallery-320-shadow2").css({display:"inline-block"}).hover(function(){var i=jQuery(this).find("img").attr("src");jQuery(this).fadeTo("normal",1).css({background:'transparent url("templates/jf_chrome/images/hover.png") no-repeat center',width:"320px",height:"auto",display:"inline-block"});jQuery(this).find("img").stop().fadeTo("normal",0.65)},function(){jQuery(this).find("img").stop().fadeTo("normal",1).show()});jQuery("a#chrome-gallery-420-shadow2").css({display:"inline-block"}).hover(function(){var i=jQuery(this).find("img").attr("src");jQuery(this).fadeTo("normal",1).css({background:'transparent url("templates/jf_chrome/images/hover.png") no-repeat center',width:"420px",height:"auto",display:"inline-block"});jQuery(this).find("img").stop().fadeTo("normal",0.65)},function(){jQuery(this).find("img").stop().fadeTo("normal",1).show()});function f(v){var i=v.toLowerCase(),n=function(m){return i.indexOf(m)>-1},q="gecko",t="webkit",x="safari",j="opera",k="mobile",l=document.documentElement,r=[(!(/opera|webtv/i.test(i))&&/msie\s(\d)/.test(i))?("ie ie"+RegExp.jQuery1):n("firefox/2")?q+" ff2":n("firefox/3.5")?q+" ff3 ff3_5":n("firefox/3.6")?q+" ff3 ff3_6":n("firefox/3")?q+" ff3":n("gecko/")?q:n("opera")?j+(/version\/(\d+)/.test(i)?" "+j+RegExp.jQuery1:(/opera(\s|\/)(\d+)/.test(i)?" "+j+RegExp.jQuery2:"")):n("konqueror")?"konqueror":n("blackberry")?k+" blackberry":n("android")?k+" android":n("chrome")?t+" chrome":n("iron")?t+" iron":n("applewebkit/")?t+" "+x+(/version\/(\d+)/.test(i)?" "+x+RegExp.jQuery1:""):n("mozilla/")?q:"",n("j2me")?k+" j2me":n("iphone")?k+" iphone":n("ipod")?k+" ipod":n("ipad")?k+" ipad":n("mac")?"mac":n("darwin")?"mac":n("webtv")?"webtv":n("win")?"win"+(n("windows nt 6.0")?" vista":""):n("freebsd")?"freebsd":(n("x11")||n("linux"))?"linux":"","js"];c=r.join(" ");l.className+=" "+c;return c}f(navigator.userAgent);jQuery(document).ready(function(){jQuery("#chrome-middlepanel-content").hide();jQuery("#chrome-middlepanel-button").click(function(){jQuery(this).toggleClass("active").next().slideToggle("normal")})});jQuery.fn.preloader=function(u){var m={delay:200,preload_parent:"a",check_timer:300,ondone:function(){},oneachload:function(i){},fadein:500};var u=jQuery.extend(m,u),s=jQuery(this),q=s.find("img").css({visibility:"hidden",opacity:0}),l,j=0,n=0,k=[],o=u.delay,t=function(){l=setInterval(function(){if(j>=k.length){clearInterval(l);u.ondone();return}for(n=0;n<q.length;n++){if(q[n].complete==true){if(k[n]==false){k[n]=true;u.oneachload(q[n]);j++;o=o+u.delay}jQuery(q[n]).css("visibility","visible").delay(o).animate({opacity:1},u.fadein,function(){jQuery(this).parent().removeClass("chrome-gallery-rb-style4_img_wrap_preloader")})}}},u.check_timer)};q.each(function(){if(jQuery(this).parent(u.preload_parent).length==0){jQuery(this).wrap("<a class='chrome-gallery-rb-style4_img_wrap_preloader' />")}else{jQuery(this).parent().addClass("chrome-gallery-rb-style4_img_wrap_preloader")}k[n++]=false});q=jQuery.makeArray(q);var r=jQuery("<img />",{id:"loadingicon"}).hide().appendTo("body");l=setInterval(function(){if(r[0].complete==true){clearInterval(l);t();r.remove();return}},100)};jQuery(function(){jQuery("#chrome-gallery-rb.style4").preloader()});jQuery(".chrome-gallery-rb-style4_img_wrap").hover(function(){var i=this;jQuery(i).find("a").stop().animate({top:"5px"},250,function(){jQuery(i).find("a").animate({top:"13px"},250)});jQuery(i).find("img.chrome-gallery-rb-style4_img_wrap_img_shadow").stop().animate({width:"80%",height:"20px",marginLeft:"20px",opacity:0.25},250)},function(){var i=this;jQuery(i).find("a").stop().animate({top:"30px"},250,function(){jQuery(i).find("a").animate({top:"24px"},250)});jQuery(i).find("img.chrome-gallery-rb-style4_img_wrap_img_shadow").stop().animate({width:"100%",height:"40px",marginLeft:"0px",opacity:1},250)});jQuery(".jf-chrome-toggle_container-style1").hide();jQuery("h2.jf-chrome-toggle-trigger-style1").click(function(){jQuery(this).toggleClass("jf-chrome-toggle-active-style1").next().slideToggle("fast")});jQuery(".jf-chrome-toggle_container-style2").hide();jQuery("h2.jf-chrome-toggle-trigger-style2").click(function(){jQuery(this).toggleClass("jf-chrome-toggle-active-style2").next().slideToggle("fast")});jQuery(".jf-chrome-toggle_container-style3").hide();jQuery("h2.jf-chrome-toggle-trigger-style3").click(function(){jQuery(this).toggleClass("jf-chrome-toggle-active-style3").next().slideToggle("fast")});jQuery(".jf-chrome-faq-container").hide();jQuery(".jf-chrome-faq-trigger:first").addClass("jf-chrome-faq-active").next().show();jQuery(".jf-chrome-faq-trigger").click(function(){if(jQuery(this).next().is(":hidden")){jQuery(".jf-chrome-faq-trigger").removeClass("jf-chrome-faq-active").next().slideUp("fast");jQuery(this).toggleClass("jf-chrome-faq-active").next().slideDown("fast")}return false});jQuery(".jf-chrome-accord-style1-container").hide();jQuery(".jf-chrome-accord-style1-trigger:first").addClass("jf-chrome-accord-style1-active").next().show();jQuery(".jf-chrome-accord-style1-trigger").click(function(){if(jQuery(this).next().is(":hidden")){jQuery(".jf-chrome-accord-style1-trigger").removeClass("jf-chrome-accord-style1-active").next().slideUp("fast");jQuery(this).toggleClass("jf-chrome-accord-style1-active").next().slideDown("fast")}return false});jQuery(".jf-chrome-accord-style2-container").hide();jQuery(".jf-chrome-accord-style2-trigger:first").addClass("jf-chrome-accord-style2-active").next().show();jQuery(".jf-chrome-accord-style2-trigger").click(function(){if(jQuery(this).next().is(":hidden")){jQuery(".jf-chrome-accord-style2-trigger").removeClass("jf-chrome-accord-style2-active").next().slideUp("fast");jQuery(this).toggleClass("jf-chrome-accord-style2-active").next().slideDown("fast")}return false});jQuery(".jf-chrome-accord-style3-container").hide();jQuery(".jf-chrome-accord-style3-trigger:first").addClass("jf-chrome-accord-style3-active").next().show();jQuery(".jf-chrome-accord-style3-trigger").click(function(){if(jQuery(this).next().is(":hidden")){jQuery(".jf-chrome-accord-style3-trigger").removeClass("jf-chrome-accord-style3-active").next().slideUp("fast");jQuery(this).toggleClass("jf-chrome-accord-style3-active").next().slideDown("fast")}return false});jQuery(".jf-chrome-accord-style4-container").hide();jQuery(".jf-chrome-accord-style4-trigger:first").addClass("jf-chrome-accord-style4-active").next().show();jQuery(".jf-chrome-accord-style4-trigger").click(function(){if(jQuery(this).next().is(":hidden")){jQuery(".jf-chrome-accord-style4-trigger").removeClass("jf-chrome-accord-style4-active").next().slideUp("fast");jQuery(this).toggleClass("jf-chrome-accord-style4-active").next().slideDown("fast")}return false});jQuery(function(){jQuery(".jf-chrome-tooltip-style1").each(function(){var i=jQuery(this).find(".jf-chrome-tip-style1");jQuery(this).hover(function(){i.appendTo("body")},function(){i.appendTo(this)}).mousemove(function(o){var j=o.pageX+20,q=o.pageY+20,l=i.width(),n=i.height(),m=jQuery(window).width()-(j+l),k=jQuery(window).height()-(q+n);if(m<20&&m>0){j=o.pageX-l-20}if(k<20&&m>0){q=o.pageY-n-20}i.css({left:j,top:q})})})});jQuery(function(){jQuery(".jf-chrome-tooltip-style2").each(function(){var i=jQuery(this).find(".jf-chrome-tip-style2");jQuery(this).hover(function(){i.appendTo("body")},function(){i.appendTo(this)}).mousemove(function(o){var j=o.pageX+20,q=o.pageY+20,l=i.width(),n=i.height(),m=jQuery(window).width()-(j+l),k=jQuery(window).height()-(q+n);if(m<20&&m>0){j=o.pageX-l-20}if(k<20&&m>0){q=o.pageY-n-20}i.css({left:j,top:q})})})});jQuery(function(){jQuery(".jf-chrome-tooltip-style3").each(function(){var i=jQuery(this).find(".jf-chrome-tip-style3");jQuery(this).hover(function(){i.appendTo("body")},function(){i.appendTo(this)}).mousemove(function(o){var j=o.pageX+20,q=o.pageY+20,l=i.width(),n=i.height(),m=jQuery(window).width()-(j+l),k=jQuery(window).height()-(q+n);if(m<20&&m>0){j=o.pageX-l-20}if(k<20&&m>0){q=o.pageY-n-20}i.css({left:j,top:q})})})});jQuery(function(){jQuery(".jf-chrome-tooltip-style4").each(function(){var i=jQuery(this).find(".jf-chrome-tip-style4");jQuery(this).hover(function(){i.appendTo("body")},function(){i.appendTo(this)}).mousemove(function(o){var j=o.pageX+20,q=o.pageY+20,l=i.width(),n=i.height(),m=jQuery(window).width()-(j+l),k=jQuery(window).height()-(q+n);if(m<20&&m>0){j=o.pageX-l-20}if(k<20&&m>0){q=o.pageY-n-20}i.css({left:j,top:q})})})});jQuery(function(){jQuery(".jf-chrome-tooltip-style5").each(function(){var i=jQuery(this).find(".jf-chrome-tip-style5");jQuery(this).hover(function(){i.appendTo("body")},function(){i.appendTo(this)}).mousemove(function(o){var j=o.pageX+20,q=o.pageY+20,l=i.width(),n=i.height(),m=jQuery(window).width()-(j+l),k=jQuery(window).height()-(q+n);if(m<20&&m>0){j=o.pageX-l-20}if(k<20&&m>0){q=o.pageY-n-20}i.css({left:j,top:q})})})});jQuery(function(){jQuery(".jf-chrome-tooltip-style6").each(function(){var i=jQuery(this).find(".jf-chrome-tip-style6");jQuery(this).hover(function(){i.appendTo("body")},function(){i.appendTo(this)}).mousemove(function(o){var j=o.pageX+20,q=o.pageY+20,l=i.width(),n=i.height(),m=jQuery(window).width()-(j+l),k=jQuery(window).height()-(q+n);if(m<20&&m>0){j=o.pageX-l-20}if(k<20&&m>0){q=o.pageY-n-20}i.css({left:j,top:q})})})});jQuery(function(){jQuery(".jf-chrome-tooltip-style7").each(function(){var i=jQuery(this).find(".jf-chrome-tip-style7");jQuery(this).hover(function(){i.appendTo("body")},function(){i.appendTo(this)}).mousemove(function(o){var j=o.pageX+20,q=o.pageY+20,l=i.width(),n=i.height(),m=jQuery(window).width()-(j+l),k=jQuery(window).height()-(q+n);if(m<20&&m>0){j=o.pageX-l-20}if(k<20&&m>0){q=o.pageY-n-20}i.css({left:j,top:q})})})});jQuery(function(){jQuery(".jf-chrome-tooltip-style8").each(function(){var i=jQuery(this).find(".jf-chrome-tip-style8");jQuery(this).hover(function(){i.appendTo("body")},function(){i.appendTo(this)}).mousemove(function(o){var j=o.pageX+20,q=o.pageY+20,l=i.width(),n=i.height(),m=jQuery(window).width()-(j+l),k=jQuery(window).height()-(q+n);if(m<20&&m>0){j=o.pageX-l-20}if(k<20&&m>0){q=o.pageY-n-20}i.css({left:j,top:q})})})});jQuery("div.djslider-loader").css({"padding-top":"15px","margin-bottom":"-10px"});jQuery("div.navigation-container").css({top:"0px"});jQuery("img.prev-button").css({left:"-97px",top:"13px"}).attr("src","templates/jf_chrome/images/dj-image-slider/dj-chrome-prev.png");jQuery("img.next-button").css({right:"-97px",top:"13px"}).attr("src","templates/jf_chrome/images/dj-image-slider/dj-chrome-next.png");jQuery("img.play-button").css({top:"15px"}).attr("src","templates/jf_chrome/images/dj-image-slider/dj-chrome-play.png");jQuery("img.pause-button").css({top:"15px"}).attr("src","templates/jf_chrome/images/dj-image-slider/dj-chrome-pause.png");jQuery(".tab_content-style1").hide();jQuery("ul.tabs-style1 li:first").addClass("active").show();jQuery(".tab_content-style1:first").show();jQuery("ul.tabs-style1 li").click(function(){jQuery("ul.tabs-style1 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style1").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style2").hide();jQuery("ul.tabs-style2 li:first").addClass("active").show();jQuery(".tab_content-style2:first").show();jQuery("ul.tabs-style2 li").click(function(){jQuery("ul.tabs-style2 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style2").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style3").hide();jQuery("ul.tabs-style3 li:first").addClass("active").show();jQuery(".tab_content-style3:first").show();jQuery("ul.tabs-style3 li").click(function(){jQuery("ul.tabs-style3 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style3").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style4").hide();jQuery("ul.tabs-style4 li:first").addClass("active").show();jQuery(".tab_content-style4:first").show();jQuery("ul.tabs-style4 li").click(function(){jQuery("ul.tabs-style4 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style4").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style5").hide();jQuery("ul.tabs-style5 li:first").addClass("active").show();jQuery(".tab_content-style5:first").show();jQuery("ul.tabs-style5 li").click(function(){jQuery("ul.tabs-style5 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style5").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style6").hide();jQuery("ul.tabs-style6 li:first").addClass("active").show();jQuery(".tab_content-style6:first").show();jQuery("ul.tabs-style6 li").click(function(){jQuery("ul.tabs-style6 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style6").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style7").hide();jQuery("ul.tabs-style7 li:first").addClass("active").show();jQuery(".tab_content-style7:first").show();jQuery("ul.tabs-style7 li").click(function(){jQuery("ul.tabs-style7 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style7").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style8").hide();jQuery("ul.tabs-style8 li:first").addClass("active").show();jQuery(".tab_content-style8:first").show();jQuery("ul.tabs-style8 li").click(function(){jQuery("ul.tabs-style8 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style8").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style9").hide();jQuery("ul.tabs-style9 li:first").addClass("active").show();jQuery(".tab_content-style9:first").show();jQuery("ul.tabs-style9 li").click(function(){jQuery("ul.tabs-style9 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style9").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style10").hide();jQuery("ul.tabs-style10 li:first").addClass("active").show();jQuery(".tab_content-style10:first").show();jQuery("ul.tabs-style10 li").click(function(){jQuery("ul.tabs-style10 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style10").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style11").hide();jQuery("ul.tabs-style11 li:first").addClass("active").show();jQuery(".tab_content-style11:first").show();jQuery("ul.tabs-style11 li").click(function(){jQuery("ul.tabs-style11 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style11").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style12").hide();jQuery("ul.tabs-style12 li:first").addClass("active").show();jQuery(".tab_content-style12:first").show();jQuery("ul.tabs-style12 li").click(function(){jQuery("ul.tabs-style12 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style12").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style13").hide();jQuery("ul.tabs-style13 li:first").addClass("active").show();jQuery(".tab_content-style13:first").show();jQuery("ul.tabs-style13 li").click(function(){jQuery("ul.tabs-style13 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style13").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style14").hide();jQuery("ul.tabs-style14 li:first").addClass("active").show();jQuery(".tab_content-style14:first").show();jQuery("ul.tabs-style14 li").click(function(){jQuery("ul.tabs-style14 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style14").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style15").hide();jQuery("ul.tabs-style15 li:first").addClass("active").show();jQuery(".tab_content-style15:first").show();jQuery("ul.tabs-style15 li").click(function(){jQuery("ul.tabs-style15 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style15").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style16").hide();jQuery("ul.tabs-style16 li:first").addClass("active").show();jQuery(".tab_content-style16:first").show();jQuery("ul.tabs-style16 li").click(function(){jQuery("ul.tabs-style16 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style16").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style17").hide();jQuery("ul.tabs-style17 li:first").addClass("active").show();jQuery(".tab_content-style17:first").show();jQuery("ul.tabs-style17 li").click(function(){jQuery("ul.tabs-style17 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style17").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style18").hide();jQuery("ul.tabs-style18 li:first").addClass("active").show();jQuery(".tab_content-style18:first").show();jQuery("ul.tabs-style18 li").click(function(){jQuery("ul.tabs-style18 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style18").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style19").hide();jQuery("ul.tabs-style19 li:first").addClass("active").show();jQuery(".tab_content-style19:first").show();jQuery("ul.tabs-style19 li").click(function(){jQuery("ul.tabs-style19 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style19").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(".tab_content-style20").hide();jQuery("ul.tabs-style20 li:first").addClass("active").show();jQuery(".tab_content-style20:first").show();jQuery("ul.tabs-style20 li").click(function(){jQuery("ul.tabs-style20 li").removeClass("active");jQuery(this).addClass("active");jQuery(".tab_content-style20").hide();var i=jQuery(this).find("a").attr("href");jQuery(i).fadeIn();return false});jQuery(document).ready(function(){jQuery(".bottom-top-icon").click(function(i){jQuery("html, body").animate({scrollTop:0},"slow");i.preventDefault()})});jQuery(document).ready(function(){
(function(A){var x="2.9992";if(A.support==undefined){A.support={opacity:!(A.browser.msie)}}function I(i){A.fn.cycle.debug&&D(i)}function D(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "))}A.expr[":"].paused=function(i){return i.cyclePause};A.fn.cycle=function(j,k){var i={s:this.selector,c:this.context};if(this.length===0&&j!="stop"){if(!A.isReady&&i.s){D("DOM not ready, queuing slideshow");A(function(){A(i.s,i.c).cycle(j,k)});return this}D("terminating; zero elements found by selector"+(A.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var r=v(this,j,k);if(r===false){return}r.updateActivePagerLink=r.updateActivePagerLink||A.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var q=A(this);var m=r.slideExpr?A(r.slideExpr,this):q.children();var n=m.get();var o=y(q,m,n,r,i);if(o===false){return}if(n.length<2){D("terminating; too few slides: "+n.length);return}var l=o.continuous?10:B(n[o.currSlide],n[o.nextSlide],o,!o.backwards);if(l){l+=(o.delay||0);if(l<10){l=10}I("first timeout: "+l);this.cycleTimeout=setTimeout(function(){E(n,o,0,!r.backwards)},l)}})};function w(m,j,k){var i=A(m).data("cycle.opts");var l=!!m.cyclePause;if(l&&i.paused){i.paused(m,i,j,k)}else{if(!l&&i.resumed){i.resumed(m,i,j,k)}}}function v(n,k,m){if(n.cycleStop==undefined){n.cycleStop=0}if(k===undefined||k===null){k={}}if(k.constructor==String){switch(k){case"destroy":case"stop":var i=A(n).data("cycle.opts");if(!i){return false}n.cycleStop++;if(n.cycleTimeout){clearTimeout(n.cycleTimeout)}n.cycleTimeout=0;A(n).removeData("cycle.opts");if(k=="destroy"){s(i)}return false;case"toggle":n.cyclePause=(n.cyclePause===1)?0:1;j(n.cyclePause,m,n);w(n);return false;case"pause":n.cyclePause=1;w(n);return false;case"resume":n.cyclePause=0;j(false,m,n);w(n);return false;case"prev":case"next":var i=A(n).data("cycle.opts");if(!i){D('options not found, "prev/next" ignored');return false}A.fn.cycle[k](i);return false;default:k={fx:k}}return k}else{if(k.constructor==Number){var l=k;k=A(n).data("cycle.opts");if(!k){D("options not found, can not advance slide");return false}if(l<0||l>=k.elements.length){D("invalid slide index: "+l);return false}k.nextSlide=l;if(n.cycleTimeout){clearTimeout(n.cycleTimeout);n.cycleTimeout=0}if(typeof m=="string"){k.oneTimeFx=m}E(k.elements,k,1,l>=k.currSlide);return false}}return k;function j(q,o,J){if(!q&&o===true){var r=A(J).data("cycle.opts");if(!r){D("options not found, can not resume");return false}if(J.cycleTimeout){clearTimeout(J.cycleTimeout);J.cycleTimeout=0}E(r.elements,r,1,!r.backwards)}}}function H(k,j){if(!A.support.opacity&&j.cleartype&&k.style.filter){try{k.style.removeAttribute("filter")}catch(i){}}}function s(i){if(i.next){A(i.next).unbind(i.prevNextEvent)}if(i.prev){A(i.prev).unbind(i.prevNextEvent)}if(i.pager||i.pagerAnchorBuilder){A.each(i.pagerAnchors||[],function(){this.unbind().remove()})}i.pagerAnchors=null;if(i.destroy){i.destroy(i)}}function y(ab,j,P,S,Q){var U=A.extend({},A.fn.cycle.defaults,S||{},A.metadata?ab.metadata():A.meta?ab.data():{});var Y=A.isFunction(ab.data)?ab.data(U.metaAttr):null;if(Y){U=A.extend(U,Y)}if(U.autostop){U.countdown=U.autostopCount||P.length}var W=ab[0];ab.data("cycle.opts",U);U.$cont=ab;U.stopCount=W.cycleStop;U.elements=P;U.before=U.before?[U.before]:[];U.after=U.after?[U.after]:[];if(!A.support.opacity&&U.cleartype){U.after.push(function(){H(this,U)})}if(U.continuous){U.after.push(function(){E(P,U,0,!U.backwards)})}u(U);if(!A.support.opacity&&U.cleartype&&!U.cleartypeNoBg){C(j)}if(ab.css("position")=="static"){ab.css("position","relative")}if(U.width){ab.width(U.width)}if(U.height&&U.height!="auto"){ab.height(U.height)}if(U.startingSlide){U.startingSlide=parseInt(U.startingSlide)}else{if(U.backwards){U.startingSlide=P.length-1}}if(U.random){U.randomMap=[];for(var l=0;l<P.length;l++){U.randomMap.push(l)}U.randomMap.sort(function(K,J){return Math.random()-0.5});U.randomIndex=1;U.startingSlide=U.randomMap[1]}else{if(U.startingSlide>=P.length){U.startingSlide=0}}U.currSlide=U.startingSlide||0;var n=U.startingSlide;j.css({position:"absolute",top:0,left:0}).hide().each(function(J){var K;if(U.backwards){K=n?J<=n?P.length+(J-n):n-J:P.length-J}else{K=n?J>=n?P.length-(J-n):n-J:P.length-J}A(this).css("z-index",K)});A(P[n]).css("opacity",1).show();H(P[n],U);if(U.fit){if(!U.aspect){if(U.width){j.width(U.width)}if(U.height&&U.height!="auto"){j.height(U.height)}}else{j.each(function(){var K=A(this);var J=(U.aspect===true)?K.width()/K.height():U.aspect;if(U.width&&K.width()!=U.width){K.width(U.width);K.height(U.width/J)}if(U.height&&K.height()<U.height){K.height(U.height);K.width(U.height*J)}})}}if(U.center&&((!U.fit)||U.aspect)){j.each(function(){var J=A(this);J.css({"margin-left":U.width?((U.width-J.width())/2)+"px":0,"margin-top":U.height?((U.height-J.height())/2)+"px":0})})}if(U.center&&!U.fit&&!U.slideResize){j.each(function(){var J=A(this);J.css({"margin-left":U.width?((U.width-J.width())/2)+"px":0,"margin-top":U.height?((U.height-J.height())/2)+"px":0})})}var R=U.containerResize&&!ab.innerHeight();if(R){var q=0,V=0;for(var o=0;o<P.length;o++){var X=A(P[o]),i=X[0],Z=X.outerWidth(),k=X.outerHeight();if(!Z){Z=i.offsetWidth||i.width||X.attr("width")}if(!k){k=i.offsetHeight||i.height||X.attr("height")}q=Z>q?Z:q;V=k>V?k:V}if(q>0&&V>0){ab.css({width:q+"px",height:V+"px"})}}if(U.pause){ab.hover(function(){this.cyclePause++;w(W,true)},function(){this.cyclePause--;w(W,true)})}if(G(U)===false){return false}var T=false;S.requeueAttempts=S.requeueAttempts||0;j.each(function(){var L=A(this);this.cycleH=(U.fit&&U.height)?U.height:(L.height()||this.offsetHeight||this.height||L.attr("height")||0);this.cycleW=(U.fit&&U.width)?U.width:(L.width()||this.offsetWidth||this.width||L.attr("width")||0);if(L.is("img")){var N=(A.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var K=(A.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var M=(A.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var J=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(N||K||M||J){if(Q.s&&U.requeueOnImageNotLoaded&&++S.requeueAttempts<100){D(S.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){A(Q.s,Q.c).cycle(S)},U.requeueTimeout);T=true;return false}else{D("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(T){return false}U.cssBefore=U.cssBefore||{};U.cssAfter=U.cssAfter||{};U.cssFirst=U.cssFirst||{};U.animIn=U.animIn||{};U.animOut=U.animOut||{};j.not(":eq("+n+")").css(U.cssBefore);A(j[n]).css(U.cssFirst);if(U.timeout){U.timeout=parseInt(U.timeout);if(U.speed.constructor==String){U.speed=A.fx.speeds[U.speed]||parseInt(U.speed)}if(!U.sync){U.speed=U.speed/2}var r=U.fx=="none"?0:U.fx=="shuffle"?500:250;while((U.timeout-U.speed)<r){U.timeout+=U.speed}}if(U.easing){U.easeIn=U.easeOut=U.easing}if(!U.speedIn){U.speedIn=U.speed}if(!U.speedOut){U.speedOut=U.speed}U.slideCount=P.length;U.currSlide=U.lastSlide=n;if(U.random){if(++U.randomIndex==P.length){U.randomIndex=0}U.nextSlide=U.randomMap[U.randomIndex]}else{if(U.backwards){U.nextSlide=U.startingSlide==0?(P.length-1):U.startingSlide-1}else{U.nextSlide=U.startingSlide>=(P.length-1)?0:U.startingSlide+1}}if(!U.multiFx){var m=A.fn.cycle.transitions[U.fx];if(A.isFunction(m)){m(ab,j,U)}else{if(U.fx!="custom"&&!U.multiFx){D("unknown transition: "+U.fx,"; slideshow terminating");return false}}}var aa=j[n];if(U.before.length){U.before[0].apply(aa,[aa,aa,U,true])}if(U.after.length){U.after[0].apply(aa,[aa,aa,U,true])}if(U.next){A(U.next).bind(U.prevNextEvent,function(){return t(U,1)})}if(U.prev){A(U.prev).bind(U.prevNextEvent,function(){return t(U,0)})}if(U.pager||U.pagerAnchorBuilder){F(P,U)}z(U,P);return U}function u(i){i.original={before:[],after:[]};i.original.cssBefore=A.extend({},i.cssBefore);i.original.cssAfter=A.extend({},i.cssAfter);i.original.animIn=A.extend({},i.animIn);i.original.animOut=A.extend({},i.animOut);A.each(i.before,function(){i.original.before.push(this)});A.each(i.after,function(){i.original.after.push(this)})}function G(o){var j,l,m=A.fn.cycle.transitions;if(o.fx.indexOf(",")>0){o.multiFx=true;o.fxs=o.fx.replace(/\s*/g,"").split(",");for(j=0;j<o.fxs.length;j++){var i=o.fxs[j];l=m[i];if(!l||!m.hasOwnProperty(i)||!A.isFunction(l)){D("discarding unknown transition: ",i);o.fxs.splice(j,1);j--}}if(!o.fxs.length){D("No valid transitions named; slideshow terminating.");return false}}else{if(o.fx=="all"){o.multiFx=true;o.fxs=[];for(p in m){l=m[p];if(m.hasOwnProperty(p)&&A.isFunction(l)){o.fxs.push(p)}}}}if(o.multiFx&&o.randomizeEffects){var k=Math.floor(Math.random()*20)+30;for(j=0;j<k;j++){var n=Math.floor(Math.random()*o.fxs.length);o.fxs.push(o.fxs.splice(n,1)[0])}I("randomized fx sequence: ",o.fxs)}return true}function z(i,j){i.addSlide=function(m,l){var n=A(m),k=n[0];if(!i.autostopCount){i.countdown++}j[l?"unshift":"push"](k);if(i.els){i.els[l?"unshift":"push"](k)}i.slideCount=j.length;n.css("position","absolute");n[l?"prependTo":"appendTo"](i.$cont);if(l){i.currSlide++;i.nextSlide++}if(!A.support.opacity&&i.cleartype&&!i.cleartypeNoBg){C(n)}if(i.fit&&i.width){n.width(i.width)}if(i.fit&&i.height&&i.height!="auto"){n.height(i.height)}k.cycleH=(i.fit&&i.height)?i.height:n.height();k.cycleW=(i.fit&&i.width)?i.width:n.width();n.css(i.cssBefore);if(i.pager||i.pagerAnchorBuilder){A.fn.cycle.createPagerAnchor(j.length-1,k,A(i.pager),j,i)}if(A.isFunction(i.onAddSlide)){i.onAddSlide(n)}else{n.hide()}}}A.fn.cycle.resetState=function(j,k){k=k||j.fx;j.before=[];j.after=[];j.cssBefore=A.extend({},j.original.cssBefore);j.cssAfter=A.extend({},j.original.cssAfter);j.animIn=A.extend({},j.original.animIn);j.animOut=A.extend({},j.original.animOut);j.fxFn=null;A.each(j.original.before,function(){j.before.push(this)});A.each(j.original.after,function(){j.after.push(this)});var i=A.fn.cycle.transitions[k];if(A.isFunction(i)){i(j.$cont,A(j.elements),j)}};function E(m,L,n,k){if(n&&L.busy&&L.manualTrump){I("manualTrump in go(), stopping active transition");A(m).stop(true,true);L.busy=0}if(L.busy){I("transition active, ignoring new tx request");return}var q=L.$cont[0],i=m[L.currSlide],j=m[L.nextSlide];if(q.cycleStop!=L.stopCount||q.cycleTimeout===0&&!n){return}if(!n&&!q.cyclePause&&!L.bounce&&((L.autostop&&(--L.countdown<=0))||(L.nowrap&&!L.random&&L.nextSlide<L.currSlide))){if(L.end){L.end(L)}return}var l=false;if((n||!q.cyclePause)&&(L.nextSlide!=L.currSlide)){l=true;var o=L.fx;i.cycleH=i.cycleH||A(i).height();i.cycleW=i.cycleW||A(i).width();j.cycleH=j.cycleH||A(j).height();j.cycleW=j.cycleW||A(j).width();if(L.multiFx){if(k&&(L.lastFx==undefined||++L.lastFx>=L.fxs.length)){L.lastFx=0}else{if(!k&&(L.lastFx==undefined||--L.lastFx<0)){L.lastFx=L.fxs.length-1}}o=L.fxs[L.lastFx]}if(L.oneTimeFx){o=L.oneTimeFx;L.oneTimeFx=null}A.fn.cycle.resetState(L,o);if(L.before.length){A.each(L.before,function(N,M){if(q.cycleStop!=L.stopCount){return}M.apply(j,[i,j,L,k])})}var J=function(){L.busy=0;A.each(L.after,function(N,M){if(q.cycleStop!=L.stopCount){return}M.apply(j,[i,j,L,k])})};I("tx firing("+o+"); currSlide: "+L.currSlide+"; nextSlide: "+L.nextSlide);L.busy=1;if(L.fxFn){L.fxFn(i,j,L,J,k,n&&L.fastOnEvent)}else{if(A.isFunction(A.fn.cycle[L.fx])){A.fn.cycle[L.fx](i,j,L,J,k,n&&L.fastOnEvent)}else{A.fn.cycle.custom(i,j,L,J,k,n&&L.fastOnEvent)}}}if(l||L.nextSlide==L.currSlide){L.lastSlide=L.currSlide;if(L.random){L.currSlide=L.nextSlide;if(++L.randomIndex==m.length){L.randomIndex=0}L.nextSlide=L.randomMap[L.randomIndex];if(L.nextSlide==L.currSlide){L.nextSlide=(L.currSlide==L.slideCount-1)?0:L.currSlide+1}}else{if(L.backwards){var r=(L.nextSlide-1)<0;if(r&&L.bounce){L.backwards=!L.backwards;L.nextSlide=1;L.currSlide=0}else{L.nextSlide=r?(m.length-1):L.nextSlide-1;L.currSlide=r?0:L.nextSlide+1}}else{var r=(L.nextSlide+1)==m.length;if(r&&L.bounce){L.backwards=!L.backwards;L.nextSlide=m.length-2;L.currSlide=m.length-1}else{L.nextSlide=r?0:L.nextSlide+1;L.currSlide=r?m.length-1:L.nextSlide-1}}}}if(l&&L.pager){L.updateActivePagerLink(L.pager,L.currSlide,L.activePagerClass)}var K=0;if(L.timeout&&!L.continuous){K=B(m[L.currSlide],m[L.nextSlide],L,k)}else{if(L.continuous&&q.cyclePause){K=10}}if(K>0){q.cycleTimeout=setTimeout(function(){E(m,L,0,!L.backwards)},K)}}A.fn.cycle.updateActivePagerLink=function(k,i,j){A(k).each(function(){A(this).children().removeClass(j).eq(i).addClass(j)})};function B(i,k,j,l){if(j.timeoutFn){var m=j.timeoutFn.call(i,i,k,j,l);while(j.fx!="none"&&(m-j.speed)<250){m+=j.speed}I("calculated timeout: "+m+"; speed: "+j.speed);if(m!==false){return m}}return j.timeout}A.fn.cycle.next=function(i){t(i,1)};A.fn.cycle.prev=function(i){t(i,0)};function t(k,l){var o=l?1:-1;var m=k.elements;var i=k.$cont[0],j=i.cycleTimeout;if(j){clearTimeout(j);i.cycleTimeout=0}if(k.random&&o<0){k.randomIndex--;if(--k.randomIndex==-2){k.randomIndex=m.length-2}else{if(k.randomIndex==-1){k.randomIndex=m.length-1}}k.nextSlide=k.randomMap[k.randomIndex]}else{if(k.random){k.nextSlide=k.randomMap[k.randomIndex]}else{k.nextSlide=k.currSlide+o;if(k.nextSlide<0){if(k.nowrap){return false}k.nextSlide=m.length-1}else{if(k.nextSlide>=m.length){if(k.nowrap){return false}k.nextSlide=0}}}}var n=k.onPrevNextEvent||k.prevNextClick;if(A.isFunction(n)){n(o>0,k.nextSlide,m[k.nextSlide])}E(m,k,1,l);return false}function F(j,i){var k=A(i.pager);A.each(j,function(m,l){A.fn.cycle.createPagerAnchor(m,l,k,j,i)});i.updateActivePagerLink(i.pager,i.startingSlide,i.activePagerClass)}A.fn.cycle.createPagerAnchor=function(j,i,l,k,q){var m;if(A.isFunction(q.pagerAnchorBuilder)){m=q.pagerAnchorBuilder(j,i);I("pagerAnchorBuilder("+j+", el) returned: "+m)}else{m='<a href="#">'+(j+1)+"</a>"}if(!m){return}var o=A(m);if(o.parents("body").length===0){var n=[];if(l.length>1){l.each(function(){var r=o.clone(true);A(this).append(r);n.push(r[0])});o=A(n)}else{o.appendTo(l)}}q.pagerAnchors=q.pagerAnchors||[];q.pagerAnchors.push(o);o.bind(q.pagerEvent,function(J){J.preventDefault();q.nextSlide=j;var K=q.$cont[0],L=K.cycleTimeout;if(L){clearTimeout(L);K.cycleTimeout=0}var r=q.onPagerEvent||q.pagerClick;if(A.isFunction(r)){r(q.nextSlide,k[q.nextSlide])}E(k,q,1,q.currSlide<j)});if(!/^click/.test(q.pagerEvent)&&!q.allowPagerClickBubble){o.bind("click.cycle",function(){return false})}if(q.pauseOnPagerHover){o.hover(function(){q.$cont[0].cyclePause++;w(cont,true,true)},function(){q.$cont[0].cyclePause--;w(cont,true,true)})}};A.fn.cycle.hopsFromLast=function(j,k){var l,m=j.lastSlide,i=j.currSlide;if(k){l=i>m?i-m:j.slideCount-m}else{l=i<m?m-i:m+j.slideCount-i}return l};function C(i){I("applying clearType background-color hack");function j(l){l=parseInt(l).toString(16);return l.length<2?"0"+l:l}function k(n){for(;n&&n.nodeName.toLowerCase()!="html";n=n.parentNode){var m=A.css(n,"background-color");if(m&&m.indexOf("rgb")>=0){var l=m.match(/\d+/g);return"#"+j(l[0])+j(l[1])+j(l[2])}if(m&&m!="transparent"){return m}}return"#ffffff"}i.each(function(){A(this).css("background-color",k(this))})}A.fn.cycle.commonReset=function(n,j,i,l,k,m){A(i.elements).not(n).hide();if(typeof i.cssBefore.opacity=="undefined"){i.cssBefore.opacity=1}i.cssBefore.display="block";if(i.slideResize&&l!==false&&j.cycleW>0){i.cssBefore.width=j.cycleW}if(i.slideResize&&k!==false&&j.cycleH>0){i.cssBefore.height=j.cycleH}i.cssAfter=i.cssAfter||{};i.cssAfter.display="none";A(n).css("zIndex",i.slideCount+(m===true?1:0));A(j).css("zIndex",i.slideCount+(m===true?0:1))};A.fn.cycle.custom=function(L,n,M,r,o,K){var i=A(L),m=A(n);var J=M.speedIn,j=M.speedOut,q=M.easeIn,k=M.easeOut;m.css(M.cssBefore);if(K){if(typeof K=="number"){J=j=K}else{J=j=1}q=k=null}var l=function(){m.animate(M.animIn,J,q,function(){r()})};i.animate(M.animOut,j,k,function(){i.css(M.cssAfter);if(!M.sync){l()}});if(M.sync){l()}};A.fn.cycle.transitions={fade:function(j,i,k){i.not(":eq("+k.currSlide+")").css("opacity",0);k.before.push(function(l,n,m){A.fn.cycle.commonReset(l,n,m);m.cssBefore.opacity=0});k.animIn={opacity:1};k.animOut={opacity:0};k.cssBefore={top:0,left:0}}};A.fn.cycle.ver=function(){return x};A.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,aspect:false,autostop:0,autostopCount:0,backwards:false,before:null,center:null,cleartype:!A.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,metaAttr:"cycle",next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null,width:null}})(jQuery);
(function(i){i.fn.cycle.transitions.none=function(l,k,j){j.fxFn=function(n,q,o,m){i(q).show();i(n).hide();m()}};i.fn.cycle.transitions.fadeout=function(l,k,j){k.not(":eq("+j.currSlide+")").css({display:"block",opacity:1});j.before.push(function(m,o,n,r,q,s){i(m).css("zIndex",n.slideCount+(!s===true?1:0));i(o).css("zIndex",n.slideCount+(!s===true?0:1))});j.animIn.opacity=1;j.animOut.opacity=0;j.cssBefore.opacity=1;j.cssBefore.display="block";j.cssAfter.zIndex=0};i.fn.cycle.transitions.scrollUp=function(l,k,m){l.css("overflow","hidden");m.before.push(i.fn.cycle.commonReset);var j=l.height();m.cssBefore.top=j;m.cssBefore.left=0;m.cssFirst.top=0;m.animIn.top=0;m.animOut.top=-j};i.fn.cycle.transitions.scrollDown=function(l,k,m){l.css("overflow","hidden");m.before.push(i.fn.cycle.commonReset);var j=l.height();m.cssFirst.top=0;m.cssBefore.top=-j;m.cssBefore.left=0;m.animIn.top=0;m.animOut.top=j};i.fn.cycle.transitions.scrollLeft=function(l,k,m){l.css("overflow","hidden");m.before.push(i.fn.cycle.commonReset);var j=l.width();m.cssFirst.left=0;m.cssBefore.left=j;m.cssBefore.top=0;m.animIn.left=0;m.animOut.left=0-j};i.fn.cycle.transitions.scrollRight=function(l,k,m){l.css("overflow","hidden");m.before.push(i.fn.cycle.commonReset);var j=l.width();m.cssFirst.left=0;m.cssBefore.left=-j;m.cssBefore.top=0;m.animIn.left=0;m.animOut.left=j};i.fn.cycle.transitions.scrollHorz=function(l,k,j){l.css("overflow","hidden").width();j.before.push(function(m,o,n,q){if(n.rev){q=!q}i.fn.cycle.commonReset(m,o,n);n.cssBefore.left=q?(o.cycleW-1):(1-o.cycleW);n.animOut.left=q?-m.cycleW:m.cycleW});j.cssFirst.left=0;j.cssBefore.top=0;j.animIn.left=0;j.animOut.top=0};i.fn.cycle.transitions.scrollVert=function(l,k,j){l.css("overflow","hidden");j.before.push(function(m,o,n,q){if(n.rev){q=!q}i.fn.cycle.commonReset(m,o,n);n.cssBefore.top=q?(1-o.cycleH):(o.cycleH-1);n.animOut.top=q?m.cycleH:-m.cycleH});j.cssFirst.top=0;j.cssBefore.left=0;j.animIn.top=0;j.animOut.left=0};i.fn.cycle.transitions.slideX=function(l,k,j){j.before.push(function(m,o,n){i(n.elements).not(m).hide();i.fn.cycle.commonReset(m,o,n,false,true);n.animIn.width=o.cycleW});j.cssBefore.left=0;j.cssBefore.top=0;j.cssBefore.width=0;j.animIn.width="show";j.animOut.width=0};i.fn.cycle.transitions.slideY=function(l,k,j){j.before.push(function(m,o,n){i(n.elements).not(m).hide();i.fn.cycle.commonReset(m,o,n,true,false);n.animIn.height=o.cycleH});j.cssBefore.left=0;j.cssBefore.top=0;j.cssBefore.height=0;j.animIn.height="show";j.animOut.height=0};i.fn.cycle.transitions.shuffle=function(l,k,m){var n,j=l.css("overflow","visible").width();k.css({left:0,top:0});m.before.push(function(o,r,q){i.fn.cycle.commonReset(o,r,q,true,true,true)});if(!m.speedAdjusted){m.speed=m.speed/2;m.speedAdjusted=true}m.random=0;m.shuffle=m.shuffle||{left:-j,top:15};m.els=[];for(n=0;n<k.length;n++){m.els.push(k[n])}for(n=0;n<m.currSlide;n++){m.els.push(m.els.shift())}m.fxFn=function(o,s,q,v,t){if(q.rev){t=!t}var u=t?i(o):i(s);i(s).css(q.cssBefore);var r=q.slideCount;u.animate(q.shuffle,q.speedIn,q.easeIn,function(){var z=i.fn.cycle.hopsFromLast(q,t);for(var y=0;y<z;y++){t?q.els.push(q.els.shift()):q.els.unshift(q.els.pop())}if(t){for(var x=0,A=q.els.length;x<A;x++){i(q.els[x]).css("z-index",A-x+r)}}else{var w=i(o).css("z-index");u.css("z-index",parseInt(w)+1+r)}u.animate({left:0,top:0},q.speedOut,q.easeOut,function(){i(t?this:o).hide();if(v){v()}})})};i.extend(m.cssBefore,{display:"block",opacity:1,top:0,left:0})};i.fn.cycle.transitions.turnUp=function(l,k,j){j.before.push(function(m,o,n){i.fn.cycle.commonReset(m,o,n,true,false);n.cssBefore.top=o.cycleH;n.animIn.height=o.cycleH;n.animOut.width=o.cycleW});j.cssFirst.top=0;j.cssBefore.left=0;j.cssBefore.height=0;j.animIn.top=0;j.animOut.height=0};i.fn.cycle.transitions.turnDown=function(l,k,j){j.before.push(function(m,o,n){i.fn.cycle.commonReset(m,o,n,true,false);n.animIn.height=o.cycleH;n.animOut.top=m.cycleH});j.cssFirst.top=0;j.cssBefore.left=0;j.cssBefore.top=0;j.cssBefore.height=0;j.animOut.height=0};i.fn.cycle.transitions.turnLeft=function(l,k,j){j.before.push(function(m,o,n){i.fn.cycle.commonReset(m,o,n,false,true);n.cssBefore.left=o.cycleW;n.animIn.width=o.cycleW});j.cssBefore.top=0;j.cssBefore.width=0;j.animIn.left=0;j.animOut.width=0};i.fn.cycle.transitions.turnRight=function(l,k,j){j.before.push(function(m,o,n){i.fn.cycle.commonReset(m,o,n,false,true);n.animIn.width=o.cycleW;n.animOut.left=m.cycleW});i.extend(j.cssBefore,{top:0,left:0,width:0});j.animIn.left=0;j.animOut.width=0};i.fn.cycle.transitions.zoom=function(l,k,j){j.before.push(function(m,o,n){i.fn.cycle.commonReset(m,o,n,false,false,true);n.cssBefore.top=o.cycleH/2;n.cssBefore.left=o.cycleW/2;i.extend(n.animIn,{top:0,left:0,width:o.cycleW,height:o.cycleH});i.extend(n.animOut,{width:0,height:0,top:m.cycleH/2,left:m.cycleW/2})});j.cssFirst.top=0;j.cssFirst.left=0;j.cssBefore.width=0;j.cssBefore.height=0};i.fn.cycle.transitions.fadeZoom=function(l,k,j){j.before.push(function(m,o,n){i.fn.cycle.commonReset(m,o,n,false,false);n.cssBefore.left=o.cycleW/2;n.cssBefore.top=o.cycleH/2;i.extend(n.animIn,{top:0,left:0,width:o.cycleW,height:o.cycleH})});j.cssBefore.width=0;j.cssBefore.height=0;j.animOut.opacity=0};i.fn.cycle.transitions.blindX=function(l,k,m){var j=l.css("overflow","hidden").width();m.before.push(function(n,q,o){i.fn.cycle.commonReset(n,q,o);o.animIn.width=q.cycleW;o.animOut.left=n.cycleW});m.cssBefore.left=j;m.cssBefore.top=0;m.animIn.left=0;m.animOut.left=j};i.fn.cycle.transitions.blindY=function(l,k,m){var j=l.css("overflow","hidden").height();m.before.push(function(n,q,o){i.fn.cycle.commonReset(n,q,o);o.animIn.height=q.cycleH;o.animOut.top=n.cycleH});m.cssBefore.top=j;m.cssBefore.left=0;m.animIn.top=0;m.animOut.top=j};i.fn.cycle.transitions.blindZ=function(l,k,m){var n=l.css("overflow","hidden").height();var j=l.width();m.before.push(function(o,r,q){i.fn.cycle.commonReset(o,r,q);q.animIn.height=r.cycleH;q.animOut.top=o.cycleH});m.cssBefore.top=n;m.cssBefore.left=j;m.animIn.top=0;m.animIn.left=0;m.animOut.top=n;m.animOut.left=j};i.fn.cycle.transitions.growX=function(l,k,j){j.before.push(function(m,o,n){i.fn.cycle.commonReset(m,o,n,false,true);n.cssBefore.left=this.cycleW/2;n.animIn.left=0;n.animIn.width=this.cycleW;n.animOut.left=0});j.cssBefore.top=0;j.cssBefore.width=0};i.fn.cycle.transitions.growY=function(l,k,j){j.before.push(function(m,o,n){i.fn.cycle.commonReset(m,o,n,true,false);n.cssBefore.top=this.cycleH/2;n.animIn.top=0;n.animIn.height=this.cycleH;n.animOut.top=0});j.cssBefore.height=0;j.cssBefore.left=0};i.fn.cycle.transitions.curtainX=function(l,k,j){j.before.push(function(m,o,n){i.fn.cycle.commonReset(m,o,n,false,true,true);n.cssBefore.left=o.cycleW/2;n.animIn.left=0;n.animIn.width=this.cycleW;n.animOut.left=m.cycleW/2;n.animOut.width=0});j.cssBefore.top=0;j.cssBefore.width=0};i.fn.cycle.transitions.curtainY=function(l,k,j){j.before.push(function(m,o,n){i.fn.cycle.commonReset(m,o,n,true,false,true);n.cssBefore.top=o.cycleH/2;n.animIn.top=0;n.animIn.height=o.cycleH;n.animOut.top=m.cycleH/2;n.animOut.height=0});j.cssBefore.height=0;j.cssBefore.left=0};i.fn.cycle.transitions.cover=function(m,l,n){var k=n.direction||"left";var j=m.css("overflow","hidden").width();var o=m.height();n.before.push(function(q,s,r){i.fn.cycle.commonReset(q,s,r);if(k=="right"){r.cssBefore.left=-j}else{if(k=="up"){r.cssBefore.top=o}else{if(k=="down"){r.cssBefore.top=-o}else{r.cssBefore.left=j}}}});n.animIn.left=0;n.animIn.top=0;n.cssBefore.top=0;n.cssBefore.left=0};i.fn.cycle.transitions.uncover=function(m,l,n){var k=n.direction||"left";var j=m.css("overflow","hidden").width();var o=m.height();n.before.push(function(q,s,r){i.fn.cycle.commonReset(q,s,r,true,true,true);if(k=="right"){r.animOut.left=j}else{if(k=="up"){r.animOut.top=-o}else{if(k=="down"){r.animOut.top=o}else{r.animOut.left=-j}}}});n.animIn.left=0;n.animIn.top=0;n.cssBefore.top=0;n.cssBefore.left=0};i.fn.cycle.transitions.toss=function(l,k,m){var j=l.css("overflow","visible").width();var n=l.height();m.before.push(function(o,r,q){i.fn.cycle.commonReset(o,r,q,true,true,true);if(!q.animOut.left&&!q.animOut.top){i.extend(q.animOut,{left:j*2,top:-n/2,opacity:0})}else{q.animOut.opacity=0}});m.cssBefore.left=0;m.cssBefore.top=0;m.animIn.left=0};i.fn.cycle.transitions.wipe=function(E,v,B){var l=E.css("overflow","hidden").width();var x=E.height();B.cssBefore=B.cssBefore||{};var z;if(B.clip){if(/l2r/.test(B.clip)){z="rect(0px 0px "+x+"px 0px)"}else{if(/r2l/.test(B.clip)){z="rect(0px "+l+"px "+x+"px "+l+"px)"}else{if(/t2b/.test(B.clip)){z="rect(0px "+l+"px 0px 0px)"}else{if(/b2t/.test(B.clip)){z="rect("+x+"px "+l+"px "+x+"px 0px)"}else{if(/zoom/.test(B.clip)){var r=parseInt(x/2);var A=parseInt(l/2);z="rect("+r+"px "+A+"px "+r+"px "+A+"px)"}}}}}}B.cssBefore.clip=B.cssBefore.clip||z||"rect(0px 0px 0px 0px)";var w=B.cssBefore.clip.match(/(\d+)/g);var D=parseInt(w[0]),C=parseInt(w[1]),t=parseInt(w[2]),y=parseInt(w[3]);B.before.push(function(m,q,o){if(m==q){return}var u=i(m),j=i(q);i.fn.cycle.commonReset(m,q,o,true,true,false);o.cssAfter.display="block";var s=1,k=parseInt((o.speedIn/13))-1;(function n(){var I=D?D-parseInt(s*(D/k)):0;var H=y?y-parseInt(s*(y/k)):0;var G=t<x?t+parseInt(s*((x-t)/k||1)):x;var F=C<l?C+parseInt(s*((l-C)/k||1)):l;j.css({clip:"rect("+I+"px "+F+"px "+G+"px "+H+"px)"});(s++<=k)?setTimeout(n,13):u.css("display","none")})()});i.extend(B.cssBefore,{display:"block",opacity:1,top:0,left:0});B.animIn={left:0};B.animOut={left:0}}})(jQuery);jQuery("#sample-slide1").each(function(i){jQuery(jQuery(this)).cycle({fx:"scrollHorz",speed:"slow",timeout:7000,next:"#slide_next_1",prev:"#slide_prev_1",pause:1,rev:1})});jQuery("#sample-slide2").each(function(i){jQuery(jQuery(this)).cycle({fx:"scrollHorz",speed:"slow",timeout:8000,next:"#slide_next_2",prev:"#slide_prev_2",pause:1,rev:1})});jQuery("#sample-slide3").each(function(i){jQuery(jQuery(this)).cycle({fx:"scrollHorz",speed:"slow",timeout:9000,next:"#slide_next_3",prev:"#slide_prev_3",pause:1,rev:1})});jQuery("#sample-slide4").each(function(i){jQuery(jQuery(this)).cycle({fx:"scrollHorz",speed:"slow",timeout:10000,next:"#slide_next_4",prev:"#slide_prev_4",pause:1,rev:1})})});var e={jump_height:30,show_duration:300,hide_duration:300,tout:200,top:75};if(!jQuery.browser.msie){jQuery("ul.jf_js_bp_menu li div").css({display:"none",opacity:0})}var a=new Array();var h=null;var g=0;jQuery("ul.jf_js_bp_menu li").each(function(){jQuery(this).attr("n",++g)});jQuery("ul.jf_js_bp_menu li").hover(function(){h=jQuery("div",this);a[parseInt(jQuery(this).attr("n"))]=setTimeout(function(){if(jQuery.browser.msie){h.show().css({bottom:e.top+"px"})}else{h.show().css({opacity:0,bottom:(e.top-e.jump_height)+"px"}).animate({opacity:1,bottom:e.top+"px"},{duration:e.show_duration,queue:false,complete:function(){}})}},e.tout)},function(){if(a[parseInt(jQuery(this).attr("n"))]){clearTimeout(a[parseInt(jQuery(this).attr("n"))])}if(jQuery.browser.msie){jQuery("div",this).hide()}else{jQuery("div",this).animate({opacity:0},{duration:e.hide_duration,queue:false,complete:function(){jQuery(this).hide()}})}})});
