/*--navigation--*/ (function($){$.fn._hover=$.fn.hover;$.fn.hover=function(fn1,fn2,fn3){if(fn3)this.bind('hoverstart',fn1);if(fn2)this.bind('hoverend',fn3?fn3:fn2);return!fn1?this.trigger('hover'):this.bind('hover',fn3?fn2:fn1)};var hover=$.event.special.hover={delay:100,speed:100,setup:function(data){data=$.extend({speed:hover.speed,delay:hover.delay,hovered:0},data||{});$.event.add(this,"mouseenter mouseleave",hoverhandler,data)},teardown:function(){$.event.remove(this,"mouseenter mouseleave",hoverhandler)}};function hoverhandler(event){var data=event.data||event;switch(event.type){case'mouseenter':data.dist2=0;data.event=event;event.type="hoverstart";if($.event.handle.call(this,event)!==false){data.elem=this;$.event.add(this,"mousemove",hoverhandler,data);data.timer=settimeout(compare,data.delay)}break;case'mousemove':data.dist2+=math.pow(event.pagex-data.event.pagex,2)+math.pow(event.pagey-data.event.pagey,2);data.event=event;break;case'mouseleave':cleartimeout(data.timer);if(data.hovered){event.type="hoverend";$.event.handle.call(this,event);data.hovered--}else $.event.remove(data.elem,"mousemove",hoverhandler);break;default:if(data.dist2<=math.pow(data.speed*(data.delay/1e3),2)){$.event.remove(data.elem,"mousemove",hoverhandler);data.event.type="hover";if($.event.handle.call(data.elem,data.event)!==false)data.hovered++}else data.timer=settimeout(compare,data.delay);data.dist2=0;break}function compare(){hoverhandler(data)}}})(jquery); jquery.effects||(function(d){d.effects={version:"1.7.2",save:function(g,h){for(var f=0;f');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isnan(parseint(i,10))){i="auto"}var h=f.css("left");if(isnan(parseint(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zindex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removewrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replacewith(f)}return f},settransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssunit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateclass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.csstext}if(h.toggle){o.hasclass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultview?document.defaultview.getcomputedstyle(this,null):this.currentstyle));if(h.add){o.addclass(h.add)}if(h.remove){o.removeclass(h.remove)}var m=d.extend({},(document.defaultview?document.defaultview.getcomputedstyle(this,null):this.currentstyle));if(h.add){o.removeclass(h.add)}if(h.remove){o.addclass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexof("moz")==-1&&r.indexof("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isnan(parseint(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["csstext"]="";d(this).attr("style")["csstext"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addclass(h.add)}if(h.remove){d(this).removeclass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isfunction(g[1])&&g[1])||(d.isfunction(g[2])&&g[2])||(d.isfunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addclass:d.fn.addclass,_removeclass:d.fn.removeclass,_toggleclass:d.fn.toggleclass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isfunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addclass:function(g,f,i,h){return f?d.effects.animateclass.apply(this,[{add:g},f,i,h]):this._addclass(g)},removeclass:function(g,f,i,h){return f?d.effects.animateclass.apply(this,[{remove:g},f,i,h]):this._removeclass(g)},toggleclass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateclass.apply(this,[{toggle:g},f,i,h]):this._toggleclass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateclass.apply(this,[{add:h,remove:f},g,j,i])},switchclass:function(){return this.morph.apply(this,arguments)},cssunit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexof(k)>0){h=[parsefloat(g),k]}});return h}});d.each(["backgroundcolor","borderbottomcolor","borderleftcolor","borderrightcolor","bordertopcolor","color","outlinecolor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[math.max(math.min(parseint((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),math.max(math.min(parseint((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),math.max(math.min(parseint((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseint(f[1],10),parseint(f[2],10),parseint(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parsefloat(f[1])*2.55,parsefloat(f[2])*2.55,parsefloat(f[3])*2.55]}if(f=/#([a-fa-f0-9]{2})([a-fa-f0-9]{2})([a-fa-f0-9]{2})/.exec(g)){return[parseint(f[1],16),parseint(f[2],16),parseint(f[3],16)]}if(f=/#([a-fa-f0-9])([a-fa-f0-9])([a-fa-f0-9])/.exec(g)){return[parseint(f[1]+f[1],16),parseint(f[2]+f[2],16),parseint(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).tolowercase()]}function e(h,f){var g;do{g=d.curcss(h,f);if(g!=""&&g!="transparent"||d.nodename(h,"body")){break}f="backgroundcolor"}while(h=h.parentnode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeoutquad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeinquad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeoutquad:function(g,h,f,j,i){return-j*(h/=i)*(h-2)+f},easeinoutquad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return-j/2*((--h)*(h-2)-1)+f},easeincubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeoutcubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeinoutcubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeinquart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeoutquart:function(g,h,f,j,i){return-j*((h=h/i-1)*h*h*h-1)+f},easeinoutquart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return-j/2*((h-=2)*h*h*h-2)+f},easeinquint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeoutquint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeinoutquint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeinsine:function(g,h,f,j,i){return-j*math.cos(h/i*(math.pi/2))+j+f},easeoutsine:function(g,h,f,j,i){return j*math.sin(h/i*(math.pi/2))+f},easeinoutsine:function(g,h,f,j,i){return-j/2*(math.cos(math.pi*h/i)-1)+f},easeinexpo:function(g,h,f,j,i){return(h==0)?f:j*math.pow(2,10*(h/i-1))+f},easeoutexpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-math.pow(2,-10*h/i)+1)+f},easeinoutexpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*math.pow(2,10*(h-1))+f}return j/2*(-math.pow(2,-10*--h)+2)+f},easeincirc:function(g,h,f,j,i){return-j*(math.sqrt(1-(h/=i)*h)-1)+f},easeoutcirc:function(g,h,f,j,i){return j*math.sqrt(1-(h=h/i-1)*h)+f},easeinoutcirc:function(g,h,f,j,i){if((h/=i/2)<1){return-j/2*(math.sqrt(1-h*h)-1)+f}return j/2*(math.sqrt(1-(h-=2)*h)+1)+f},easeinelastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h ";container.append(clear);lists.each(function(){$(this).attr("id","navlistlist-"+count).css({display:"none",visibility:"visible"});count++});count=1;listitems.each(function(){var listitem=$(this);var list=listitem.children("ul:first");var link=listitem.children("a:first");if(o.clickstream){var links=listitem.find("a");links.each(function(){if(window.location.pathname.indexof($(this).attr("href"))!=-1){$(this).parent().addclass("clickstream")}})}if(o.indicators){link.wrap("
")}listitem.attr("id","navlistlistitem-"+count);$.event.special.hover.delay=80;listitem.hover(function(){if($(this).hasclass("open")){if(timer){window.cleartimeout(timer);timer=null}}else{lists.hide();listitems.removeclass("open").removeclass("active");window.cleartimeout(timer);timer=null;openlist($(this))}},function(){timer=settimeout(function(){closelist(list.parent())},o.delay)});function openlist(li){if(o.hideselects&&$.browser.msie&&parseint($.browser.version)<7){$("select").css("visibility","hidden")}li.addclass("open");list.show("slide",{duration:o.duration,direction:"up",easing:o.openeasing},function(){})}function closelist(li){timer=null;list.hide("slide",{duration:o.duration,direction:"up",easing:o.closeeasing},function(){li.removeclass("open");if(o.hideselects&&$.browser.msie&&parseint($.browser.version)<7){$("select").css("visibility","visible")}})}count++});if($.browser.msie){container.find("li ul li a").css({zoom:1,verticalalign:"top"})}$("a[href$='#']",container).css({cursor:"default"}).click(function(){return false})})}})(jquery); /*jquery pgfoucs*/ (function(e){e.fn.orbit=function(a){a=e.extend({animation:"fade",animationspeed:800,advancespeed:4e3,startclockonmouseout:true,startclockonmouseoutafter:3e3,directionalnav:true,captions:true,captionanimationspeed:800,timer:false,bullets:false},a);return this.each(function(){function m(c){function g(){f.eq(h).css({"z-index":1});s=false}var h=b,k=c;if(h==k)return false;if(!s){s=true;if(c=="next"){b++;if(b==n)b=0}else if(c=="prev"){b--;if(b<0)b=n-1}else{b=c;if(hb)k="prev"}a.bullets&& x();if(a.animation=="fade"){f.eq(h).css({"z-index":2});f.eq(b).css({opacity:0,"z-index":3}).animate({opacity:1},a.animationspeed,g);a.captions&&o()}if(a.animation=="horizontal-slide"){f.eq(h).css({"z-index":2});k=="next"&&f.eq(b).css({left:t,"z-index":3}).animate({left:0},a.animationspeed,g);k=="prev"&&f.eq(b).css({left:-t,"z-index":3}).animate({left:0},a.animationspeed,g);a.captions&&o()}if(a.animation=="vertical-slide"){f.eq(h).css({"z-index":2});k=="prev"&&f.eq(b).css({top:u,"z-index":3}).animate({top:0}, a.animationspeed,g);k=="next"&&f.eq(b).css({top:-u,"z-index":3}).animate({top:0},a.animationspeed,g);a.captions&&o()}}}var b=0,n=0,t,u,s,d=e(this).addclass("orbit"),f=d.find("img, a img");f.each(function(){var c=e(this),g=c.width();c=c.height();d.width(g);t=d.width();d.height(c);u=d.height();n++});f.eq(b).css({"z-index":3});if(a.timer){d.append('
');var j=e("div.timer"),p;if(j.length!=0){var c= a.advancespeed/180,v=e("div.timer span.rotator"),y=e("div.timer span.mask"),z=e("div.timer span.pause"),l=0,a,w=function(){p=true;z.removeclass("active");a=setinterval(function(){var c="rotate("+l+"deg)";l+=2;v.css({"-webkit-transform":c,"-moz-transform":c,"-o-transform":c});if(l>180){v.addclass("move");y.addclass("move")}if(l>360){v.removeclass("move");y.removeclass("move");l=0;m("next")}},c)},q=function(){p=false;clearinterval(a);z.addclass("active")};w();j.click(function(){p?q():w()});if(a.startclockonmouseout){var b; d.mouseleave(function(){b=settimeout(function(){p||w()},a.startclockonmouseoutafter)});d.mouseenter(function(){cleartimeout(b)})}}}if(a.captions){d.append('
');var r=d.children("div.caption").children("span").addclass("orbit-caption").show(),o=function(){var c=f.eq(b).attr("rel"),g=e("#"+c).html(),h=r.height()-16;r.attr("id","#"+c).html(g);g?r.parent().stop().animate({bottom:0},a.captionanimationspeed):r.parent().stop().animate({bottom:-h}, a.captionanimationspeed)};o()}if(a.directionalnav){d.append('
rightleft
');j=d.children("div.slider-nav").children("span.left");var d=d.children("div.slider-nav").children("span.right");j.click(function(){a.timer&&q();m("prev")});d.click(function(){a.timer&&q();m("next")})}if(a.bullets){d.append('
    ');var e=e("ul.orbit-bullets");for(i=0;i"+i+"");e("ul.orbit-bullets").append(j); j.data("index",i);j.click(function(){a.timer&&q();m(e(this).data("index"))})}var x=function(){e.children("li").removeclass("active").eq(b).addclass("active")};x()}})}})(jquery); /*honslides*/ (function($){$.fn.abxcarousel=function(options){var defaults={move:4,display_num:4,speed:350,margin:0,auto:false,auto_interval:2500,auto_dir:'next',auto_hover:false,next_text:'next',next_image:'',prev_text:'prev',prev_image:'',controls:true};var options=$.extend(defaults,options);return this.each(function(){var $this=$(this);var li=$this.find('li');var first=0;var fe=0;var last=options.display_num-1;var le=options.display_num-1;var is_working=false;var j='';var clicked=false;li.css({'float':'left','liststyle':'none','marginright':options.margin});var ow=li.outerwidth(true);wrap_width=(ow*options.display_num)-options.margin;var seg=ow*options.move;$this.wrap('
    ').width(999999);if(options.controls){if(options.next_image!=''||options.prev_image!=''){var controls='';}else{var controls='';}}$this.parent('.abinner').wrap('
    ').css({'position':'relative','width':wrap_width,'overflow':'hidden'}).before(controls);var w=li.slice(0,options.display_num).clone();var last_appended=(options.display_num+options.move)-1;$this.empty().append(w);get_p();get_a();$this.css({'position':'relative','left':-(seg)});$this.parent().siblings('.next').click(function(){slide_next();clearinterval(j);clicked=true;return false;});$this.parent().siblings('.prev').click(function(){slide_prev();clearinterval(j);clicked=true;return false;});if(options.auto){start_slide();if(options.auto_hover&&clicked!=true){$this.find('li').live('mouseenter',function(){if(!clicked){clearinterval(j);}});$this.find('li').live('mouseleave',function(){if(!clicked){start_slide();}});}}function start_slide(){if(options.auto_dir=='next'){j=setinterval(function(){slide_next()},options.auto_interval);}else{j=setinterval(function(){slide_prev()},options.auto_interval);}}function slide_next(){if(!is_working){is_working=true;set_pos('next');$this.animate({left:'-='+seg},options.speed,function(){$this.find('li').slice(0,options.move).remove();$this.css('left',-(seg));get_a();is_working=false;});}}function slide_prev(){if(!is_working){is_working=true;set_pos('prev');$this.animate({left:'+='+seg},options.speed,function(){$this.find('li').slice(-options.move).remove();$this.css('left',-(seg));get_p();is_working=false;});}}function get_a(){var str=new array();var lix=li.clone();le=last;for(i=0;i=li.length){first=first%li.length;}last+=options.move;if(last>=li.length){last=last%li.length;}}else if(dir=='prev'){first-=options.move;if(first<0){first=li.length+first;}last-=options.move;if(last<0){last=li.length+last;}}}});}})(jquery); /* jquerytab */ (function($){$.fn.jcarousellite=function(o){o=$.extend({btnprev:null,btnnext:null,btngo:null,mousewheel:false,auto:null,speed:200,easing:null,vertical:false,circular:true,visible:3,start:0,scroll:1,beforestart:null,afterend:null},o||{});return this.each(function(){var b=false,animcss=o.vertical?"top":"left",sizecss=o.vertical?"height":"width";var c=$(this),ul=$("ul",c),tli=$("li",ul),tl=tli.size(),v=o.visible;if(o.circular){ul.prepend(tli.slice(tl-v-1+1).clone()).append(tli.slice(0,v).clone());o.start+=v}var f=$("li",ul),itemlength=f.size(),curr=o.start;c.css("visibility","visible");f.css({overflow:"hidden",float:o.vertical?"none":"left"});ul.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"});c.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"});var g=o.vertical?height(f):width(f);var h=g*itemlength;var j=g*v;f.css({width:f.width(),height:f.height()});ul.css(sizecss,h+"px").css(animcss,-(curr*g));c.css(sizecss,j+"px");if(o.btnprev)$(o.btnprev).click(function(){return go(curr-o.scroll)});if(o.btnnext)$(o.btnnext).click(function(){return go(curr+o.scroll)});if(o.btngo)$.each(o.btngo,function(i,a){$(a).click(function(){return go(o.circular?o.visible+i:i)})});if(o.mousewheel&&c.mousewheel)c.mousewheel(function(e,d){return d>0?go(curr-o.scroll):go(curr+o.scroll)});if(o.auto)setinterval(function(){go(curr+o.scroll)},o.auto+o.speed);function vis(){return f.slice(curr).slice(0,v)};})};})(jquery);$.extend({tagswitch:function(stt,shcontent,saction){$(stt).bind(saction,function(){$(this).addclass('on').siblings().removeclass('on');$(shcontent).eq($(this).index()).addclass('on').siblings().removeclass('on');});}}); /*--¥��ѳ��tab--*/ (function(c){function p(e,b,a){var d=this,l=e.add(this),h=e.find(a.tabs),i=b.jquery?b:e.children(b),j;h.length||(h=e.children());i.length||(i=e.parent().find(b));i.length||(i=c(b));c.extend(this,{click:function(f,g){var k=h.eq(f);if(typeof f=="string"&&f.replace("#","")){k=h.filter("[href*="+f.replace("#","")+"]");f=math.max(h.index(k),0)}if(a.rotate){var n=h.length-1;if(f<0)return d.click(n,g);if(f>n)return d.click(0,g)}if(!k.length){if(j>=0)return d;f=a.initialindex;k=h.eq(f)}if(f===j)return d;g=g||c.event();g.type="onbeforeclick";l.trigger(g,[f]);if(!g.isdefaultprevented()){o[a.effect].call(d,f,function(){g.type="onclick";l.trigger(g,[f])});j=f;h.removeclass(a.current);k.addclass(a.current);return d}},getconf:function(){return a},gettabs:function(){return h},getpanes:function(){return i},getcurrentpane:function(){return i.eq(j)},getcurrenttab:function(){return h.eq(j)},getindex:function(){return j},next:function(){return d.click(j+1)},prev:function(){return d.click(j-1)},destroy:function(){h.unbind(a.event).removeclass(a.current);i.find("a[href^=#]").unbind("click.t");return d}});c.each("onbeforeclick,onclick".split(","),function(f,g){c.isfunction(a[g])&&c(d).bind(g,a[g]);d[g]=function(k){c(d).bind(g,k);return d}});if(a.history&&c.fn.history){c.tools.history.init(h);a.event="history"}h.each(function(f){c(this).bind(a.event,function(g){d.click(f,g);return g.preventdefault()})});i.find("a[href^=#]").bind("click.t",function(f){d.click(c(this).attr("href"),f)});if(location.hash)d.click(location.hash);else if(a.initialindex===0||a.initialindex>0)d.click(a.initialindex)}c.tools=c.tools||{version:"1.2.3"};c.tools.tabs={conf:{tabs:"a",current:"current",onbeforeclick:null,onclick:null,effect:"default",initialindex:0,event:"click",rotate:false,history:false},addeffect:function(e,b){o[e]=b}};var o={"default":function(e,b){this.getpanes().hide().eq(e).show();b.call()},fade:function(e,b){var a=this.getconf(),d=a.fadeoutspeed,l=this.getpanes();d?l.fadeout(d):l.hide();l.eq(e).fadein(a.fadeinspeed,b)},slide:function(e,b){this.getpanes().slideup(200);this.getpanes().eq(e).slidedown(400,b)},ajax:function(e,b){this.getpanes().eq(0).load(this.gettabs().eq(e).attr("href"),b)}},m;c.tools.tabs.addeffect("horizontal",function(e,b){m||(m=this.getpanes().eq(0).width());this.getcurrentpane().animate({width:0},function(){c(this).hide()});this.getpanes().eq(e).animate({width:m},function(){c(this).show();b.call()})});c.fn.tabs=function(e,b){var a=this.data("tabs");if(a){a.destroy();this.removedata("tabs")}if(c.isfunction(b))b={onbeforeclick:b};b=c.extend({},c.tools.tabs.conf,b);this.each(function(){a=new p(c(this),e,b);c(this).data("tabs",a)});return b.api?a:this}})(jquery); jquery.easing['jswing']=jquery.easing['swing'];jquery.extend(jquery.easing,{def:'easeoutquad',swing:function(x,t,b,c,d){return jquery.easing[jquery.easing.def](x,t,b,c,d)},easeinquad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeoutquad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeinoutquad:function(x,t,b,c,d){if((t/=d/ 2) < 1) return c /2*t*t+b;return-c/2*((--t)*(t-2)-1)+b},easeincubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeoutcubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeinoutcubic:function(x,t,b,c,d){if((t/=d/ 2) < 1) return c /2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b},easeinquart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeoutquart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b},easeinoutquart:function(x,t,b,c,d){if((t/=d/ 2) < 1) return c /2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b},easeinquint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeoutquint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeinoutquint:function(x,t,b,c,d){if((t/=d/ 2) < 1) return c /2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b},easeinsine:function(x,t,b,c,d){return-c*math.cos(t/d*(math.pi/2))+c+b},easeoutsine:function(x,t,b,c,d){return c*math.sin(t/d*(math.pi/2))+b},easeinoutsine:function(x,t,b,c,d){return-c/2*(math.cos(math.pi*t/d)-1)+b},easeinexpo:function(x,t,b,c,d){return(t==0)?b:c*math.pow(2,10*(t/d-1))+b},easeoutexpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-math.pow(2,-10*t/d)+1)+b},easeinoutexpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/ 2) < 1) return c /2*math.pow(2,10*(t-1))+b;return c/2*(-math.pow(2,-10*--t)+2)+b},easeincirc:function(x,t,b,c,d){return-c*(math.sqrt(1-(t/=d)*t)-1)+b},easeoutcirc:function(x,t,b,c,d){return c*math.sqrt(1-(t=t/d-1)*t)+b},easeinoutcirc:function(x,t,b,c,d){if((t/=d/ 2) < 1) return - c /2*(math.sqrt(1-t*t)-1)+b;return c/2*(math.sqrt(1-(t-=2)*t)+1)+b},easeinelastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(asize.h){c.b=size.h;} el.vml.image.shape.style.clip='rect('+c.t+'px '+(c.r+fudge)+'px '+c.b+'px '+(c.l+fudge)+'px)';} else{el.vml.image.shape.style.clip='rect('+dc.t+'px '+dc.r+'px '+dc.b+'px '+dc.l+'px)';}},figurepercentage:function(bg,size,axis,position){var horizontal,fraction;fraction=true;horizontal=(axis=='x');switch(position){case'left':case'top':bg[axis]=0;break;case'center':bg[axis]=0.5;break;case'right':case'bottom':bg[axis]=1;break;default:if(position.search('%')!=-1){bg[axis]=parseint(position,10)/100;} else{fraction=false;}} bg[axis]=math.ceil(fraction?((size[horizontal?'w':'h']*bg[axis])-(size[horizontal?'w':'h']*bg[axis])):parseint(position,10));if(bg[axis]%2===0){bg[axis]++;} return bg[axis];},fixpng:function(el){el.style.behavior='none';var lib,els,nodestr,v,e;if(el.nodename=='body'||el.nodename=='td'||el.nodename=='tr'){return;} el.isimg=false;if(el.nodename=='img'){if(el.src.tolowercase().search(/\.png$/)!=-1){el.isimg=true;el.style.visibility='hidden';} else{return;}} else if(el.currentstyle.backgroundimage.tolowercase().search('.png')==-1){return;} lib=png_belated;el.vml={color:{},image:{}};els={shape:{},fill:{}};for(v in el.vml){if(el.vml.hasownproperty(v)){for(e in els){if(els.hasownproperty(e)){nodestr=lib.ns+':'+e;el.vml[v][e]=document.createelement(nodestr);}} el.vml[v].shape.stroked=false;el.vml[v].shape.appendchild(el.vml[v].fill);el.parentnode.insertbefore(el.vml[v].shape,el);}} el.vml.image.shape.fillcolor='none';el.vml.image.fill.type='tile';el.vml.color.fill.on=false;lib.attachhandlers(el);lib.givelayout(el);lib.givelayout(el.offsetparent);el.vmlinitiated=true;lib.applyvml(el);}};try{document.execcommand("backgroundimagecache",false,true);}catch(r){} png_belated.createvmlnamespace();png_belated.createvmlstylesheet();