function gaTrack(e){_gaq=window._gaq||[],_gaq.push(["_trackPageview",e])}function gaEvent(e){_gaq=window._gaq||[],e.splice(0,0,"_trackEvent"),_gaq.push(e),window.tf&&window.tf.isDebug()&&console.log("GA Event: "+e)}function showOverlay(e){window.helpPopup&&helpPopup.hide();var t=$("#overlay");tf.ie6&&t.height(Math.max($("body").height(),1200)),t.show(),e&&t.css("opacity",0).animate({opacity:.7},e),tf.ie6||$("#headerAnnounce").css("top","0px")}function hideOverlay(){window.helpPopup&&helpPopup.hide(),$("#overlay").hide(),tf.ie6||$("#headerAnnounce").css("top",null)}function initLoginIframe(){function e(t,i,n,r){t.length>0?t[0]($.extend({},i),function(o){o&&(n.willReload=n.willReload&&o.willReload,n.href=n.href||o.href),e(t.slice(1),i,n,r)}):r&&r(n)}tf=window.tf||{},tf.loginIframeReload=1;var t=new tf.Mutex,i=[];tf.loginIframeAddcallback=function(e,t){i.splice(t?0:i.length,0,e)},tf.loginIframeRemoveCallback=function(e){i=$.grep(i,function(t){return t!=e})},tf.loginIframeAddcallback(function(e,t){if(e.isLoggedIn&&(tf.toggleLogInPane(0,1),$("#headerSignInPane").toggle(!e.isLoggedIn),$("#headerSignedInPane").toggle(e.isLoggedIn),e.isLoggedIn)){var i=getLoggedInUser();i&&($("#headerUsername").text(tf.truncate(i.fullName,25)).toggleClass("broadcastingEvents",tf.isAdmin()&&!i.silent),$("#headerMyInfo").attr("href",getHost()+"/profile?uid="+i.userId))}t(e)}),tf.access={pro:1,prior:2,granted:3,email:4,cancel:5},tf.accessType={pnl:0,pdf:1,analyst_text:2,article:3},tf.accessTypeInv=["pnl","pdf","analyst_text","article"],tf.requireAccess=function(e,i,n,r,o){function s(e,t){t&&(c.hide(),window.hideOverlay&&hideOverlay()),r&&r({status:e,access:e<4})}function a(t,n){"success"==tf.status(t,n)?(t.granted&&(properties.fullAccessSymbols().push(e),gaEvent(["fullaccess","granted:"+e,tf.accessTypeInv[i]])),h&&h.notifyAccessGranted(),$(".lockAccessBlue").hide(),s(t.granted?tf.access.granted:tf.access.prior)):(l(),gaEvent(["fullaccess","failed:"+e,tf.accessTypeInv[i]]))}function l(){function o(e,t,i,n){var r=tf.accessType;return t==r.analyst_text?"/company?hm="+e+".trefis&from=accessEmail"+(1==i.type||3==i.type?"&driver="+i.id:"")+(1==i.type?"&div=true":"")+"&scroll=1":t==r.article?"/articles/"+i.articleId+"?from=accessEmail":t==r.pdf?"/company?hm="+e+".trefis&from=accessEmail&pdf=1":t==r.pnl?"/company?hm="+e+".trefis&from=accessEmail&driver="+i.id:void 0}function a(o){t.a()&&tf.ajax({type:"POST",url:getHost()+"/servlet/AccessService/scheduleEmail",dataType:"json",data:{symbol:e,type:i,extra:JSON.stringify(n)},success:function(a,l){t.r(),"success"==tf.status(a,l)?s(tf.access.email,1):(announce("Error scheduling email",1),o&&tf.requireAccess(e,i,n,r))},error:function(s,a,l){t.r(),tf.ajaxError(s,a,l),announce("Unexpected error scheduling email",1),o&&tf.requireAccess(e,i,n,r)}})}function l(){return s(tf.access.cancel,1),!1}function h(t,o,s){o&&o(),c.css({zIndex:100}),s?a(1):tf.requireAccess(e,i,n,r)}function d(e,t){h(e,t,1)}tf.getComponent("popup/accessPopup",function(t){var r=window.getSwfObj&&-1!=location.href.indexOf("company"),s=r?getSwfObj():0,f=s&&s.userModelId?s.userModelId():0,p="postSubscribe="+escape(o(e,i,n,!u&&f?["userModelId="+f]:[]))+"; path=/";announceClear(),c.html(t).show(),tf.initPopup(c,l),c.find(".acp_registered").toggle(u),c.find(".acp_unregistered").toggle(!u),c.find(".acp_symbol").text(e),c.show(),c.find(".acp_cancelBtn").click(l),c.find("#acp_emailBtn").click(function(){return a(),!1}),c.find("#acp_registerBtn").click(function(){return c.css({zIndex:9}),tf.requireLogin(d,"Please register to be notified when you have access to "+e,1,function(){h()}),!1}),c.find(".acp_loginBtn").click(function(){return c.css({zIndex:9}),tf.requireLogin(h,"Please log in for Pro access",1,function(){h()},1),!1}),c.find("#acp_proUpgradeBtn").click(function(){return document.cookie=p,location.href=getHost()+"/subscribe/billing?from=requireAccess",!1}),c.find("#acp_proSignupBtn").click(function(){return document.cookie=p,location.href=getHost()+"/subscribe/email?from=requireAccess",!1}),tf.ie6&&window.DD_belatedPNG&&DD_belatedPNG.fix("#accessPopupHolder .coAll,#accessPopupHolder .pngfix,#accessPopupHolder .obutton,#accessPopupHolder .obutton span,#accessPopupHolder .csp_greyx"),c.css("margin-top",tf.scrollY()+20+"px"),showOverlay()})}var c=$("#accessPopupHolder"),u=!!getLoggedInUser(),h=getSwfObj();u&&getLoggedInUser().fullAccessAll?s(tf.access.pro):tf.hasAccess(e)?s(tf.access.prior):o?l():$.ajax({type:"POST",url:getHost()+"/servlet/AccessService/attemptFullAccess",data:{s:e,t:i},dataType:"json",success:a})},tf.accessStatus=function(e){return tf.hasAccess(e)?2:properties.fullAccessSymbols().length<3?1:0},tf.hasAccess=function(e){return getLoggedInUser()&&getLoggedInUser().fullAccessAll||-1!=$.inArray(e,properties.fullAccessSymbols())},tf.requireLogin=function(e,t,i,n,r){if(getLoggedInUser())e({hasStatusChanged:!1,isLoggedIn:!0,willReload:!1,newUser:!1},function(){});else{var o=function(t,i){tf.loginIframeRemoveCallback(o),t.isLoggedIn?e(t,i):n?n(t,i):i()};tf.loginIframeAddcallback(o,1),tf.toggleLogInPane(1,1,i,t,0,r)}},tf.canSaveModel=function(e,t){function i(i,a){function l(e,t){return"/company"+(t.length>0?"?"+t.join("&"):"")+"#/"+e}function c(e,i){o.hide(),window.hideOverlay&&hideOverlay(),t(e,i)}function u(e,t){tf.ajax({type:"POST",url:getHost()+"/servlet/ProfileService/setAutosaveModels",dataType:"json",data:{a:e},success:function(e,i){t("success"==tf.status(e,i))},error:function(e,i,n){tf.ajaxError(e,i,n),t(r)}})}function h(){return announceClear(),c(r,r),!1}tf.getComponent("popup/canSaveModelPopup",function(t){function r(){return o.find("#csp_autosaveCB").prop("checked")}function d(){var e=[];return ulObj.find("a").each(function(){var t=$(this);t.find(".csp_undo").is(":visible")&&$.each(t[0].className.split(" "),function(t,i){"symbol."==i.substring(0,7)&&e.push(i.substring(7))})}),e}function f(e,t){return p(e)&&t}function p(e){return"number"==typeof a&&i.length-e.length>=a}function g(){csp_okBtn.toggleClass("gbutton2-disabled",f(d(),r())),tf.ie6&&window.DD_belatedPNG&&DD_belatedPNG.fix("#csp_okBtn")}o.html(t).show(),tf.initPopup(o,h);var m=window.getSwfObj&&-1!=location.href.indexOf("company"),v=m?getSwfObj():0,y=v?v.userModelId():0,b="postSubscribe="+escape(l(e,!s&&y?["userModelId="+y]:[]))+"; path=/";ulObj=o.find(".csp_models"),csp_okBtn=o.find("#csp_okBtn"),$(".numToDelete").text(1+i.length-a),$.each(i,function(e,t){ulObj.append("
m&&(i=!1)):a+d>p&&(a=p-d,g&&a+h m&&s>c?(s=ye(m,c),r=2*c-s):s=p&&h<=p+t&&(p=h+s+c)),p+t>s+l&&(p=ye(s,s+l-t-c)),{x:d,y:p}},refresh:function(e,t){function i(){var e,t=this,i=t.points||d(t),n=i[0].series;return e=[n.tooltipHeaderFormatter(i[0].key)],each(i,function(t){n=t.series,e.push(n.tooltipFormatter&&n.tooltipFormatter(t)||t.point.tooltipFormatter(n.tooltipOptions.pointFormat))}),e.push(m.footerFormat||""),e.join("")}var n,r,o,s,a,l,c,u,h=this,p=h.chart,g=h.label,m=h.options,v={},y=[],b=m.formatter||i,w=p.hoverPoints,x=m.crosshairs,_=h.shared;if(s=h.getAnchor(e,t),n=s[0],r=s[1],!_||e.series&&e.series.noSharedTooltip?v=e.getLabelConfig():(w&&each(w,function(e){e.setState()}),p.hoverPoints=e,each(e,function(e){e.setState("hover"),y.push(e.getLabelConfig())}),v={x:e[0].category,y:e[0].y},v.points=y,e=e[0]),a=b.call(v),u=e.series,o=_||!u.isCartesian||u.tooltipOutsidePlot||p.isInsidePlot(n,r),!1!==a&&o?(h.tooltipIsHidden&&g.show(),g.attr({text:a}),c=m.borderColor||e.color||u.color||"#606060",g.attr({stroke:c}),l=(m.positioner||h.getPosition).call(h,g.width,g.height,{plotX:n,plotY:r}),h.move(ge(l.x),ge(l.y)),h.tooltipIsHidden=!1):this.hide(),x){x=d(x);for(var k,D,C,T=x.length;T--;)C=e.series[T?"yAxis":"xAxis"],x[T]&&C&&(k=C.getPlotLinePath(T?f(e.stackY,e.y):e.x,1),h.crosshairs[T]?h.crosshairs[T].attr({d:k,visibility:Re}):(D={"stroke-width":x[T].width||1,stroke:x[T].color||"#C0C0C0",zIndex:x[T].zIndex||2},x[T].dashStyle&&(D.dashstyle=x[T].dashStyle),h.crosshairs[T]=p.renderer.path(k).attr(D).add()))}fireEvent(p,"tooltipRefresh",{text:a,x:n+p.plotLeft,y:r+p.plotTop,borderColor:c})},tick:function(){this.tooltipTick&&this.tooltipTick()}},W.prototype={normalizeMouseEvent:function(t){var i,n,r,o;return t=t||fe.event,t.target||(t.target=t.srcElement),t.originalEvent&&(t=t.originalEvent),t.event&&(t=t.event),o=t.touches?t.touches.item(0):t,this.chartPosition=i=offset(this.chart.container),o.pageX===V?(n=t.x,r=t.y):(n=o.pageX-i.left,r=o.pageY-i.top),e(t,{chartX:ge(n),chartY:ge(r)})},getMouseCoordinates:function(e){var t={xAxis:[],yAxis:[]},i=this.chart;return each(i.axes,function(n){var r=n.isXAxis,o=i.inverted?!r:r;t[r?"xAxis":"yAxis"].push({axis:n,value:n.translate(o?e.chartX-i.plotLeft:i.plotHeight-e.chartY+i.plotTop,!0)})}),t},onmousemove:function(e){var t,i,n,r,o=this,s=o.chart,a=s.series,l=s.hoverPoint,c=s.hoverSeries,u=s.chartWidth,h=s.inverted?s.plotHeight+s.plotTop-e.chartY:e.chartX-s.plotLeft;if(s.tooltip&&o.options.tooltip.shared&&(!c||!c.noSharedTooltip)){for(i=[],n=a.length,r=0;r
',pointFormat:"x: {point.x}
y: {point.y}
"}});var Tt=m(yt,{type:"scatter",sorted:!1,translate:function(){var e=this;yt.prototype.translate.apply(e),each(e.points,function(t){t.shapeType="circle",t.shapeArgs={x:t.plotX,y:t.plotY,r:e.chart.options.tooltip.snap}})},drawTracker:function(){for(var e,t=this,i=t.options.cursor,n=i&&{cursor:i},r=t.points,o=r.length;o--;)(e=r[o].graphic)&&(e.element._i=o);t._hasTracking?t._hasTracking=!0:t.group.attr({isTracker:!0}).on(Oe?"touchstart":"mouseover",function(e){t.onMouseOver(),e.target._i!==V&&r[e.target._i].onMouseOver()}).on("mouseout",function(){t.options.stickyTracking||t.onMouseOut()}).css(n)}});it.scatter=Tt,lt.pie=merge(ct,{borderColor:"#FFFFFF",borderWidth:1,center:["50%","50%"],colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name},y:5},legendType:"point",marker:null,size:"75%",showInLegend:!1,slicedOffset:10,states:{hover:{brightness:.1,shadow:!1}}});var At=m(vt,{init:function(){vt.prototype.init.apply(this,arguments);var t,i=this;return e(i,{visible:!1!==i.visible,name:f(i.name,"Slice")}),t=function(){i.slice()},addEvent(i,"select",t),addEvent(i,"unselect",t),i},setVisible:function(e){var t,i=this,n=i.series.chart,r=i.tracker,o=i.dataLabel,s=i.connector,a=i.shadowGroup;i.visible=e=e===V?!i.visible:e,t=e?"show":"hide",i.group[t](),r&&r[t](),o&&o[t](),s&&s[t](),a&&a[t](),i.legendItem&&n.legend.colorizeItem(i,e)},slice:function(e,t,i){var n,r=this,o=r.series,s=o.chart,a=r.slicedTranslation;I(i,s),t=f(t,!0),e=r.sliced=u(e)?e:!r.sliced,n={translateX:e?a[0]:s.plotLeft,translateY:e?a[1]:s.plotTop},r.group.animate(n),r.shadowGroup&&r.shadowGroup.animate(n)}}),St={type:"pie",isCartesian:!1,pointClass:At,pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},getColor:function(){this.initialColor=this.chart.counters.color},animate:function(){var e=this,t=e.points;each(t,function(t){var i=t.graphic,n=t.shapeArgs,r=-ke/2;i&&(i.attr({r:0,start:r,end:r}),i.animate({r:n.r,start:n.start,end:n.end},e.options.animation))}),e.animate=null},setData:function(e,t){yt.prototype.setData.call(this,e,!1),this.processData(),this.generatePoints(),f(t,!0)&&this.chart.redraw()},getCenter:function(){var e,t=this.options,n=this.chart,r=n.plotWidth,o=n.plotHeight,s=t.center.concat([t.size,t.innerSize||0]),a=be(r,o);return map(s,function(t,n){return e=/%$/.test(t),e?[r,o,a,a][n]*i(t)/100:t})},translate:function(){this.generatePoints();var e,t,i,n,r,o,s,a=0,l=this,c=-.25,u=l.options,h=u.slicedOffset,d=h+u.borderWidth,f=l.chart,p=l.points,g=2*ke,m=u.dataLabels.distance;l.center=e=l.getCenter(),l.getX=function(t,i){return n=pe.asin((t-e[1])/(e[2]/2+m)),e[0]+(i?-1:1)*(xe(n)*(e[2]/2+m))},each(p,function(e){a+=e.y}),each(p,function(l){r=a?l.y/a:0,t=ge(c*g*1e3)/1e3,c+=r,i=ge(c*g*1e3)/1e3,l.shapeType="arc",l.shapeArgs={x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2,start:t,end:i},n=(i+t)/2,l.slicedTranslation=map([xe(n)*h+f.plotLeft,_e(n)*h+f.plotTop],ge),o=xe(n)*e[2]/2,s=_e(n)*e[2]/2,l.tooltipPos=[e[0]+.7*o,e[1]+.7*s],l.labelPos=[e[0]+o+xe(n)*m,e[1]+s+_e(n)*m,e[0]+o+xe(n)*d,e[1]+s+_e(n)*d,e[0]+o,e[1]+s,m<0?"center":n
Advanced",save:function(e){if(e!==o){var i=e.replace(/[^\d.eE\-+]/g,"");xe.changeUserInputValue(t,i)}s.dialog().dialog("close")}}).generateElement().styledDialog({tooltipFor:e,temporary:!0});$(".explanation").on("click","#advancedOptionsForPreciseDriver"+i.Identifier,function(){new PreciseDriverAdvancedOptions(xe,Q,t,n,r,o,window).show()})}B(1),$.isFunction(Z.onMouseOver)&&(Z.onMouseOver(),Z.series.onMouseOver())}}function R(){var e,t,n,r,o,s,a,l,c=[],u=[],h=q.xAxis[0],d=h.categories.length,f=Math.max(Math.round(d/3),1),p=(h.translate(d-1),h.translate(d-f));$.each(ke,function(e,t){if(!t.series.yAxis)return s=1,!1;u[e]=t.visible,c[e]=W(t,f)}),s||$.each(ke,function(s,h){if((e=h.label)&&(t=Number.MAX_VALUE,n=0,r=c[s],$.each(c,function(e,i){s!=e&&u[e]&&(o=Math.abs(i-r))
");var u;if(u=d==o||d==s?p:d==a?e.modelName:ue,u=TextUtil.truncate(u,45),c){if(p.length>18&&(p=p.substring(0,18)),e!==Q||ye){var m;m=0!=tf.period.format(t)?tf.period.format(t)+" ":"",h+='
"+(null==i?"n/a":NumberFormatUtil.numToRoundedString(i,3))+(g.length?" ("+g+")":"")+"";return $("",{class:"point-tooltip-container"}).html(h).html()}var i,n=q.xAxis[0].categories[e.x],l=e.series,c=$("");$.each(ke,function(r,o){i=null,$.each(o.array,function(e,t){tf.period.nonColSpecificPeriod(t.Year)==tf.period.nonColSpecificPeriod(n)&&(affectsAnyOutputs=t.AffectsAnyOutputs,historical=t.Historical,i=t.Value)}),"undefined"!=ge&&ge?c.append(t(o,n,i,affectsAnyOutputs,historical,!0)):o.series==l&&c.append(t(o,n,e.y,affectsAnyOutputs,historical,!1))}),ge&&(Ie.addClass("gridViewMode"),function(){var t,i,n=q.chartWidth,r=e.plotX+Ie.width();r"),d=$("",{text:"Community",class:"checkboxDropdownHeader"}),f=$("",{text:"Competition",class:"checkboxDropdownHeader"}),p=$("",{text:"Relevant Benchmarks",class:"checkboxDropdownHeader"}),g=$("",{text:n||"No competition data available",class:"checkboxDropdownHeader"}),m=$("").click(a),v=$("",{change:s}),y=$("").append(m).append(v),b=$("",{html:"You can view people's forecasts here by following them. Find people to follow"});e.append(h),$.extend(u,{setOptions:r,div:e,showLoading:l})}function CompetitionManager(e,t,i,n,r,o,s,a){function l(e,t,i,n){h=e,d=t,f=n,g.stop(),m[t]?u():i||a||o?c():g.reset(2e3)}function c(){g.stop();var e=getLoggedInUser(),t=d;WidgetRPC.rpc({type:"GET",url:getHost()+"/servlet/FlexService/loadCompare",data:{driver:t,userId:n&&e?e.userId:void 0,caWeekly:o||void 0,caDate:s},success:function(e,i){e&&(m[t]=e.chartData,t==d&&u())},error:function(){a=null}})}function u(){var s,l,c,u,p,g=0,v=[];a&&(a=a.split(",")),$.each(m[d],function(t,h){s=h.identifier,l=h.type==ChartType.community,c=l?"community":"comp"+t,p=l&&(i(c)||o)||a&&$.inArray(c,a)>=0,(l||n&&h.type==ChartType.otherUser||h.type==ChartType.competition||r&&h.type==ChartType.benchmark)&&(u=e.registerSeries(c,l?o?"Members' Forecast":"Community":h.title,h,g++),v.push({id:c,text:h.title,color:u,type:h.type,selected:p}),p&&e.setSeriesVisible(c,!0))}),f&&e.registerSeries("community","Community",e.copyChartData(h.getChartData(d),"Community",ChartType.community),g),t(v),a=null,o=0}var h,d,f,p=this,g=$.timer(1e4,c),m={};g.stop(),$.extend(p,{prepForDriver:l})}function getSeriesType(e){var t=[];return e.isSuperDivision&&t.push("Super Division"),e.isDivision&&t.push("Division"),e.isStream&&t.push("Stream"),e.isCategory&&t.push("Category"),e.isDriver&&t.push("Driver"),t}function getBenchmarkTooltip(e){var t=getSeriesType(e);return"Series: "+(t.length?t.join(", "):"None")+", Provider: "+getBenchmarkProvider(e)}function getBenchmarkProvider(e){return e.providerString?e.providerString.charAt(0).toUpperCase()+e.providerString.slice(1):"None"}function getSeriesDescription(e){var t=getSeriesType(e);if(t.length>0){t.join(",")}var i=getDriverThumbnailUrlFromDoc(e),n=$("#benchmark-hover-template"),r=$($.parseHTML(_.template(n.html(),{title:e.title,modelName:e.modelName,ticker:e.lead_symbol,provider:getBenchmarkProvider(e),types:t.length>0?t.join(","):"None",breadcrumbs:e.breadcrumbs&&e.breadcrumbs.length>0?e.breadcrumbs.join("\n"):""})));return r.find(".chartImage").css("backgroundImage","url("+i+")"),r.find(".chart-title").text(getItemDisplayNameNoUnits(e)),r}function getDriverThumbnailUrlFromDoc(e){var t=getDriverDataFromDoc(e);return new StreamDriverUtil(window.demoWidget.modelManager,window.demoWidget.periodSelectionManager,window.demoWidget.companyData,null).driverThumbnailUrl(null,t,110,85)}function getDriverDataFromDoc(e){var t=(e.trefisData,$.parseJSON(e.trefisData).chartData[0]);t.array.sort(compareDataUsingPeriod);var i=[];return $.each(t.array,function(e,t){i.push(t.Value)}),i}function compareDataUsingPeriod(e,t){return tf.period.sortOrder(e.Year)-tf.period.sortOrder(t.Year)}function getItemPeriodsToDisplay(e){if(e.periodData){var t="";return e.periodData.periods.forEach(function(e,i,n){e.isPlottable&&(t+=e.label+" "+e.counts+", ")}),t.replace(/(^\s*,)|(,\s*$)/g,"")}}function getItemDisplayName(e){var t=UnitUtil.calculateScaleFactorForDisplay(e.unit,e.scaleFactor).unit;t&&(t="("+t+") ");var i=e.lead_symbol;return""==i&&(i=e.modelName),t+e.title+" for "+i}function getItemDisplayNameNoUnits(e){var t=e.lead_symbol;return""==t&&(t=e.modelName),e.title+" for "+t}function getInfo(e){var t,i=getSeriesDescription(e);return e.isDriver?t=e.driverBreadcrumb:e.isCategory?t=e.categoryBreadcrumb:e.isStream&&(breadcrum=e.streamBreadcrumb),t&&i.append($(" ")),i}function ChartButtonBar(e,t,i,n,r){function o(){u.toggleClass("cwSmoothingActive",f),i.setSmoothing(f)}function s(){return p=!p,t.toggle(p),d.toggleClass("cwCompetitionActive",p),$("body")[p?"bind":"unbind"]("click",a),p&&!g&&(m.showLoading(),v.prepForDriver(i.getCompanyData(),i.getDriver(),!0,!1),g=1),!1}function a(e){var i=e.target;t.has(i).length||i==d[0]||s()}function l(){p&&s()}function c(){return f}var u,h,d;u=e.find(".cwSmoothing"),h=e.find(".cwReset"),d=e.find(".cwCompetition");var f,p,g,m=new CheckboxDropdown(t,i.setSeriesVisible,n),v=new CompetitionManager(i,m.setOptions,function(){return!1},n,n),y=$.cookie("smoothing");f=void 0===y||null===y||r?!window.tf||!window.tf.modelPreferences||window.tf.modelPreferences.defaultSmoothing:"true"==y;e.find(".cwBenchmarks");o(),u.click(function(){return f=!f,$.cookie("smoothing",""+f,{path:"/"}),o(),$(this).blur(),!1}),h.click(function(e){return i.reset(),$(this).blur(),e.preventDefault(),!1}),d.click(function(){return s(),$(this).blur(),!1}),i.addDriverListener(function(){g=0,l()}),$.extend(this,{hidePopups:l,getSmoothing:c})}function Crumbtrail(e,t){function i(t){n(t,e),e.removeAttr("threedots").ThreeDots({max_rows:1,alt_text_t:!0,alt_text_e:!0})}function n(e,i){i.empty(),$.each(e,function(e,n){e&&i.append($("",{class:t+"-caret",text:" > "}));var r=[]
;n.back&&r.push(t+"-back"),n.threedots&&r.push("ellipsis_text"),i.append($(n.callback?"":"",{text:n.text,title:n.title,click:n.callback,class:r.join(" "),href:n.callback&&"#"}))})}function r(t){e.append(o),n(t,o);var i=o.width();return o.empty().remove(),i}t=t||"crumbtrail";var o=$("",{css:{position:"absolute",display:"none"}});$.extend(this,{set:i,measure:r,div:e})}function ForecastView(e,t,i,n,r,o,s,a,l){function c(e){!_!=!e&&(_=!!e,t.toggleClass("cwFVActive",_),u())}function u(){A=b.stop(!0,!0).css("color")}function h(e){var t=k?D.getAnswer(o?o.getSelectedPeriod():null):C;if(e){var i=function(){d(S,t)};E?(y=setTimeout(i,E),E=0):(y&&clearTimeout(y),i())}else f(t);S=t}function d(e,t){0==e||e||(e=t);var i=0;b.stop(!0,!0),v&&clearInterval(v),!1!==l.animateColor&&b.css({color:"#f93"}).animate({color:A},I),v=setInterval(function(){++i>P?clearInterval(v):f(i>=P?t:e+(t-e)*i/P)},I/P)}function f(e){var t=FormatUtil,n=k&&D?D.companyData.getPrimaryAnswer().answerUnit:"$",r=T?t.formatMarketCap(e*i,n):t.formatSharePrice(e,n);r=r.replace("$","$").replace("£","£").replace("¤","¤"),b.html(r)}function p(e){T=e,h()}function g(e){E=e}function m(e,t){void 0===e?k=1:(k=0,C=e),h(t)}var v,y,b,w,x,_,k,D,C,T,A,S,M=this,P=10,I=500,E=0;l=l||{},"number"==typeof e?C=e:(k=1,D=e),t?(b=t.find(".cwFVPrice"),w=t.find(".cwFVCreator"),_=t.is(".cwFVActive"),1==a&&h(1)):(t=$("",{class:"cwFV"}).append(b=$("",{class:"cwFVPrice"})).append(w=$("",{class:"cwFVCreator"})),h(),function(){var e,t,i=ForecastModel;k&&!n?(t=D.type,D.compType,e=t==i.TYPE_TREFIS?D.creator.first:t==i.TYPE_YOURS?"YOURS":TextUtil.possessive(D.creator.first).toUpperCase()):e=n,w.text(e)}()),s&&t.click(function(){_&&s()}),u(),k&&D.type==ForecastModel.TYPE_YOURS&&(D.addChangeListener(function(e,t){h(1)}),r&&t.mouseenter(function(){x.show()}).mouseleave(function(){x.hide()}).append(x=$("",{class:"XClose",click:function(){confirm("Are you sure you want to delete your model?")&&r(M)}}))),k&&o&&o.addChangeListener(function(){h()}),$.extend(M,{div:t,setActive:c,model:D,setMarketCap:p,setFixedPrice:m,setDelayAnimation:g,updateOrigColor:u})}function ForecastViewManager(e,t,i,n,r,o){function s(e,t){var s=ForecastView,a=e.shares();c=[f=new s(i.get("active"),$("#cwFVUser"),a,null,null,n,r,t,o),d=new s(i.get("trefis"),$("#cwFVTrefis"),a,null,null,n,r,!1,o)],c[0].setDelayAnimation(400),$("#cwFVMarket").length&&c.push(new s(e.market()||0,$("#cwFVMarket"),a,null,null,n,r,!1,o))}function a(n,r){if(u||r){var o,s=0,a=[],l=0,d=n?400:0,f=e||125,g=$("#cwSaveBtn"),m=$("#cwFadePrompt");$.each(c,function(e,t){(a[e]=!t.model||t.model.type!=ForecastModel.TYPE_YOURS||t.model.isModified())&&l++}),$.each(c,function(e,i){i.div.toggle(a[e]),a[e]?(i.setActive(!s),i.div.stop().animate({top:f},d),i.model&&i.model.type==ForecastModel.TYPE_YOURS&&!t&&(o=1),f+=i.div.height()+(s?10:p),s++):i.div.stop().css({top:f})}),o&&!g.is(":visible")?(h||(g.click(function(){return $("#userModel").val(JSON.stringify(i.get("active").packageForSave())),$("#toCompany").submit(),!1}),tf.initPopup(m),h=1),g.fadeIn(d,function(){m.fadeIn().delay(15e3).fadeOut()})):!o&&g.is(":visible")&&(g.fadeOut(),m.stop().fadeOut())}u=1}function l(){$.each(c,function(e,t){t.updateOrigColor()})}var c,u,h,d,f,p=65;o=o||{},$.extend(this,{updatePositions:a,setCompany:s,setSpaceBelowActiveFV:function(e){p=e},updateOrigColor:l,trefis:function(){return d},user:function(){return f}})}function ReducedDivisionPopup(e){function t(t,n,r,c){if(null==t)return void window.alert("No equation, please email dev@trefis.com!");a.html(i(t,n,r)),a.find("a").click(function(){l&&l(this.id.substring(6))}),o.empty(),$.each(t,function(e,t){t.name&&o.append("
")}),null==c?s.hide():(s.html(c),s.show()),e.show()}function i(e,t,i){return null==e?"MISSING EQUATION":(result=null==t?"":""+t+" ="+(null==i?"\n":" "+i+" =\n"),$.each(e,function(e,t){t.name?null!=t.id?result+=""+n(t.name)+" ":result+=n(t.name):result+="*"==t?"X":t}),result)}function n(e){return e}var r=this,o=e.find(".valuesGrid"),s=e.find(".subtextLabel"),a=e.find(".equationText"),l=null;$.extend(r,{setData:t,hide:function(){e.hide()},setDriverClickListener:function(e){l=e}})}function Sankey(e,t,i,n){function r(t,i,n){t!=b?(b=t,null==b&&e.derivedModelPopupModel&&e.derivedModelPopupModel.set("inspectorOpen",!1),e.noanim&&(i=0),l(i,n),o()):n&&n()}function o(){_&&(g[b]&&!m[b]?_.find(".perSharePrice").hide():_.find(".perSharePrice").show())}function s(t){if(t=t||b,!e.mouseoverSankeyURL||o||!e.allStates&&t||x){var n;i&&(n=i.getSelectedPeriod());var r=[],o=k.getOverrideValues&&k.getOverrideValues(n);return r.push(getHost()+"/servlet/SankeyData/image.png?a"),e.symbol?(r.push("&symbol="),r.push(e.symbol)):e.modelId&&(r.push("&modelId="),r.push(e.modelId)),r.push("&width="),r.push(e.sankeyWidth),t&&!e.allStates&&(r.push("&division="),r.push(t)),e.allStates&&r.push("&allStates=true"),x&&(r.push("&period="),r.push(x)),o&&$.each(o,function(e,t){r.push("&i="),r.push(encodeURIComponent(e)),r.push("&v="),r.push(encodeURIComponent(t))}),r.join("")}return e.mouseoverSankeyURL}function a(t,i){var n=0;if(e.allStates)t&&(n=$.inArray(t,v));else{var r=g[t||C],o=r&&r.mouseovers;o&&i&&(n=$.inArray(i,o))}return n<0&&(n=0),"0 -"+y*n+"px"}function l(t,i){e.allStates?c(t,i):$("",{load:function(){c(t,i)}}).attr("src",s())}function c(e,i){var r=g[b||C],o=t.find(".sshSankey,.sshDivTbl"),l=$("",{class:"sshSankey"}).appendTo(t);_=$("",{class:"sshDivTbl",css:{width:r.width}}).appendTo(t),l.css({backgroundImage:"url("+s()+")",height:r.height+"px",backgroundPosition:a(b)}),w=1,_.append($("#sshTemplateTop").jqote(r)),$.each(r.divisions,function(e,t){n&&(t.estimatedValue=FormatUtil.formatMarketCap(t.value,"$")),_.append($("#sshTemplateDivs").jqote($.extend(t,{width:r.width})))}),$.each(r.partialSums,function(e,t){_.append($("#sshTemplateSums").jqote(t))}),_.append($("#sshTemplateBottom").jqote(r)),b&&b!=k.getRootIdentifier()&&!m[b]&&_.find(".sshDivTblHR,.sshDivTblTotal,.sshDivTblTotalVal").remove(),d(_),e?(o.fadeOut(D,function(){o.empty().remove(),w=0,tf.ie6&&window.DD_belatedPNG&&DD_belatedPNG.fix(".sshSankey,.sshDivPctLink")}),l.add(_).hide().fadeIn(D,tf.fixFilter)):(o.empty().remove(),tf.ie6&&window.DD_belatedPNG&&DD_belatedPNG.fix(".sshSankey")),i&&i()}function u(t){function n(i){g=i.data,m=i.supers,v=i.states,y=i.height,t&&l(!!e.noanim)}var r;i&&(r=i.getSelectedPeriod());var o={width:e.sankeyWidth,type:e.type},s=k.getOverrideValues&&k.getOverrideValues(r);!s&&e.sankeyData?n(JSON.parse(e.sankeyData)):(e.symbol?o.symbol=e.symbol:e.modelId&&(o.modelId=e.modelId),s&&(o.i=[],o.v=[],$.each(s,function(e,t){o.i.push(e),o.v.push(t)})),x&&(o.period=x),WidgetRPC.rpc({type:"GET",url:getHost()+"/servlet/SankeyData/data",data:o,traditional:!0,success:n}))}function h(e){var t=/sshDiv_(\S+)/.exec(e.className);return t&&t[1]}function d(i){var r=["PERCENT","$ PER SHARE"];e.modelType==ModelType.ABSOLUTE||e.modelType==ModelType.GOVERNMENT||e.isOldModel&&(r=["% of STOCK PRICE","PER SHARE PRICE"]),n||t.find(".sshDivTblAbsMarket").toggle(!1);var o=i.find(".marketCap");n&&o.length&&(o.show(),new HeaderDropdown(i.find(".marketCap"),f,["STOCK PRICE","MARKET CAP"],S),1==S&&(r=["% of STOCK MARKET","ESTIMATED VALUE"])),i.find(".perSharePrice").length&&(new HeaderDropdown(i.find(".perSharePrice"),p,r,T),p(T))}function f(e){S=e,c(1),o(),p(T),n.callback&&n.callback(e)}function p(e){T=e,1==S?(t.find(".sshDivTblAbs").toggle(!1),t.find(".sshDivTblAbsMarket").toggle(!!e)):(t.find(".sshDivTblAbs").toggle(!!e),t.find(".sshDivTblAbsMarket").toggle(!1)),t.find(".sshDivTblPct").toggle(!e)}var g,m,v,y,b,w,x,_,k=this,D=600,C="ROOT",T=0;e.allStates?e.mouseoverSankeyURL=t.find(".sshSankey").css("backgroundImage").replace(/^url\(/,"").replace(/\)$/,""):$("",{load:function(){t.find(".sshSankey").css({backgroundImage:"url("+s()+")"})}}).attr("src",s()),u(),$.jqotetag("*"),i&&i.addChangeListener(function(){x=i.getSelectedPeriod(),u(1)}),d(t.find(".sshDivTbl"));var A=".sshDivTblDiv,.sshDivTblNeg a,.sshDivTblArm";t.delegate(A,"click",function(){if(g){window.debug&&(window.imageTimestamp=(new Date).getTime());var t=h(this);t&&(t==b||t==k.getRootIdentifier()?k.beforeDivisionClose(function(){r(null,1,k.afterDivisionClose)}):m[t]?(e.app&&gaEvent([e.app,"superdivision",this.attributes.title.value]),k.beforeDivisionClose(function(){r(t,1,k.afterDivisionClose)})):(e.app&&gaEvent([e.app,"division",this.attributes.title.value]),k.beforeDivisionClick(t,function(e){e&&g[t]?r(t,1,function(){k.afterDivisionClick(t)}):k.afterDivisionClick(t)})))}return!1}).delegate(A,"mouseover",function(){if(g&&!w){var i=h(this);b!=i&&t.find(".sshDivTblDiv.sshDiv_"+i).addClass("sshDivTblDivGlow"),i&&!e.allStates&&(t.find(".sshSankey").css({backgroundPosition:a(b,i)}),tf.ie6&&window.DD_belatedPNG&&DD_belatedPNG.fix(".sshSankey"))}}).delegate(A,"mouseout",function(){w||(g&&!e.allStates&&(t.find(".sshSankey").css({backgroundPosition:a(b)}),tf.ie6&&window.DD_belatedPNG&&DD_belatedPNG.fix(".sshSankey")),t.find(".sshDivTblDivGlow").removeClass("sshDivTblDivGlow"))});var S=0;$.extend(k,{setDivision:r,updateSankeyData:u})}function initWidgetFAQ(){return $("#widgetFAQ li").each(function(e,t){$(t).find("a").click(function(){return $(this).toggleClass("widgetFAQOpen"),$(t).find("div").slideToggle(),!1}).end().find("div").hide()}),{companyListener:function(e){$(".widgetFAQCompany").text(e.companyName())}}}function BaseWidgetTracker(e,t,i){function n(t){var n=properties.loggedInUser();!i||!i.track||n&&11&n.bitFlags||(s.push(e+":"+t),a.push((new Date).getTime()),r||(o.reset(1e4),r=1))}var r,o=$.timer(1e4,function(){var e=[],i=(new Date).getTime();$.each(a,function(t,n){e[t]=n-i}),WidgetRPC.rpc({type:"POST",url:getHost()+"/servlet/FlexService/"+(t?"widgetTrack":"track"),data:{tokens:s,times:e},success:$.noop,error:$.noop}),s=[],a=[],r=0,o.stop()}),s=[],a=[];o.stop(),this.queue=n}function WidgetTracker(e,t,i){var n=this,r=new BaseWidgetTracker(e,t,i).queue;n.companyListOpened=function(){r("list")},n.companyChanged=function(e){r("company:"+e)},n.divisionChanged=function(e){r("division:"+e)},n.driverChanged=function(e){r("driver:"+e)},n.faqClicked=function(){r("howItWorks")},n.chartModified=function(e){r("chartModified:"+e)},n.shareOpened=function(){r("share:opened")},n.share=function(e,t){r("share:"+e+":"+t)},n.scroll=function(e,t){r("scroll:"+e+":"+(t?"down":"up"))},n.sshScroll=function(e){r("scroll:"+(e?"drivers":"sankey"))},n.home=function(){r("crumbtrailhome")},n.caption=function(e){r("captionexpand:"+(e||"null"))}}function initSlideshow(e,t,i){function n(t){return"id"+e.symbol+"."+t}function r(e){$(".sshFAQCont")[e?"fadeIn":"fadeOut"](),$(".sshFAQLink").text(e?"Back":"FAQ"),e&&y.running&&y.stop(),w=e}function o(){y.running&&y.stop(),x=1}function s(){Y.trefis().setFixedPrice(),(new Date).getTime()-_>=4e3&&(x=1)}function a(e){var t=b.getDivisionTreeDatum(e),i=UnitUtil.getDisplayString(t.value,t.unit)+" ("+UnitUtil.getDisplayString(t.value/b.shares(),"$")+" per share)",n=null;t.bitFlags&NodeBitflags.CASH&&!b.privateCompany()&&(n="Source: "+b.companyName()+" 10-Q (quarterly report)"),j.setData(t.equation,t.text,i,n)}function l(e,t){if(j.hide(),r(),e){H||(t?(D=b.getTopForecasts(t),selectedDivision=t,W.onNewDivision&&W.onNewDivision(selectedDivision)):D=b.getTopCompanyForecasts());var n=H;H=e,P&&(clearTimeout(P),P=null),n?c():P=setTimeout(c,E+N+50),u(!0,t,function(){var t=selectedDivision||b.getTopDivisionsAndDrivers()[e-1][0];t!=C&&(B.set([{text:b.companyName(),back:!0,callback:function(){return z.setDivision(),l(0),F.home(),!1}},{text:b.getDivisionName(t),threedots:1},{text:""}]),C=t)})}else u(!1),D=b.getTopCompanyForecasts(),selectedDivision=null,v&&v.hidePopups(),W.onNewDivision&&W.onNewDivision(selectedDivision),M&&(z.updateSankeyData(1),M=0);H=e,$(".sshSlide span").text(H+1+" of "+(D.length+1)),$(".sshCont .arrow-left").toggleClass("arrow-left-enabled",!!H),$(".sshCont .arrow-right").toggleClass("arrow-right-enabled",H!=D.length),p(!1),d(),tf.ie6&&window.DD_belatedPNG&&DD_belatedPNG.fix(".arrow-left,.arrow-right"),i&&i(H?D[H-1]:null,H?selectedDivision||b.getTopDivisionsAndDrivers()[e-1][0]:null)}function c(){m||(m=new ChartWrapper("sshChart",L,F,1,-4,{xAxis:{labels:{style:{fontSize:"11px"}}}}),m.mainChart.setAxisTitleFontSize("12px"),m.mainChart.setAxisLabelFontSize("11px"),m.setGapAboveChart(0),m.addMouseDownListener(o),v=new ChartButtonBar($(".cwButtonBar"),$("#sshCompetitionPopup"),m),y=new IntroAnim(m,s)),y&&y.running&&y.stop(1),m.setData(b,null,D[H-1]),x||(y.run(),_=(new Date).getTime())}function u(e,t,i){if(k!=e)if(e&&t){var n=$(".sshDiv_"+t.substr(t.indexOf(".")+1)+" a"),r=$(".sshDivTbl"),o=n.clone().appendTo(r),s=$(".sshCont").offset(),a=r.offset(),l=n.offset();n.hide(),o.css({position:"absolute",left:l.left-a.left,top:l.top-a.top}).animate({left:s.left-a.left+112,top:s.top-a.top+44},N,function(){o.fadeOut(200,function(){$(this).remove(),n.show()}),h(e),i&&i()})}else h(e),i&&i();else i&&i()}function h(e){$(".sshChartSlide")[e?"fadeIn":"fadeOut"](E,tf.fixFilter),$(".sshDivTbl").toggle(!e),$(".cwFVPrice,.cwFVCreator").css({color:e?"#000":""}),Y.setSpaceBelowActiveFV(e?30:65),Y.updateOrigColor(),!e&&y&&y.running&&y.stop(1),k=e,Y.updatePositions()}function d(){if(H){var e,t=selectedDivision||"default";T[t]?(e=D[H-1],f(T[t][e]||"Drag the "+b.getDriverName(e)+" trendline to create your own price estimate.")):A[t]||(WidgetRPC.rpc({type:"GET",url:getHost()+"/servlet/HtmlService/getDriverCaptions",data:{drivers:D},success:function(e,i){e&&e.data&&(T[t]=e.data,$.each(T[t],function(e,i){T[t][e]=i.replace(/(<(\/?p|br\/?)>|\n)/gi," ").replace(/<\/?(span|b|u|i|div)[^>]*?>/gi,"").replace(/\s+/gi," ").replace(/(^\s+|\s+$)/gi,"")}),d()),A[t]=0},error:function(){A[t]=0}}),A[t]=1)}else f(R)}function f(e){var t=$(".sshCaptionSmallInner"),i=t.find(".ellipsis_text");$(".sshCaptionLargeInner").html(e),i.html(e),t.find(".threedots_ellipsis").remove(),t.removeAttr("threedots").ThreeDots({max_rows:2,ellipsis_string:'... More'}),$(".sshCaptionMore").toggle(i.html()!=e)}function p(e){if(e?!S:S){S=e;var t=$(".sshCaptionLarge").show(),i=t.height();S?t.hide():g(),$(".sshCaptionInner").stop().animate({height:e?i+12:48},200,g)}}function g(){$(".sshCaptionLarge").toggle(S),$(".sshCaptionSmall").toggle(!S)}window.oldCharts&&initHighcharts(),initDraggableChart();var m,v,y,b,w,x,_,k,D,C,T,A,S,M,P,I=t||"slideshow",E=200,N=500,O=new CompanyLoader(null,null,null,1,I),L=new ModelManager,F=new WidgetTracker(I,1,e),B=new Crumbtrail($(".sshCrumbtrail")),H=0,j=new ReducedDivisionPopup($(".reducedDivisionPopup")),R=e.companyCaption,W={},z=new Sankey(e,$(".sshCont")),Y=new ForecastViewManager(e.fvTop,e.nosave,L);return z.getOverrideValues=function(){var t,i=L.get("active"),n={};if(i&&i.isModified())return $.each(e.sankeyIdentifiers,function(e,r){void 0!==(t=i.cs.getValue(r))&&(n[r]=Math.round(t))}),n},z.beforeDivisionClick=function(e,t){b&&(e=n(e),b.getDivisionDatum(e)?(l(1,e),F.divisionChanged(e)):a(e)),t&&t(!1)},z.afterDivisionClick=function(e){},z.beforeDivisionClose=function(e){e&&e()},z.afterDivisionClose=function(){},z.getRootIdentifier=function(){var e=b.getTree().identifier;return e.substr(e.indexOf(".")+1)},tf.initPopup($(".reducedDivisionPopup")),O.addCallback(initWidgetFAQ().companyListener),O.addCallback(function(e,t){L.setCompany(e,0),L.createNewUserModel(!1,!1),b=e,L.on("userChange",function(e,t){y&&y.running?Y.trefis().setFixedPrice(L.get("active").getAnswer(),!y.stopping):(Y.updatePositions(1),e&&F.chartModified(D[H-1]),M=1)}),Y.setCompany(e,L),T={},A={},l(0)}),O.loadCompany(e.symbol),$(".sshCont .arrow-left").click(function(){return D&&H&&(l(H-1),H?F.driverChanged(D[H-1]):F.sshScroll(0)),$(this).blur(),!1}),$(".sshCont .arrow-right").click(function(){if(D&&H"+t.name+" = "+UnitUtil.getDisplayString(t.value,t.unit)+" 1){var d=l[1].shortName,f=tf.truncate(d,45);d!=f&&(l[1]=$.extend({},l[1],{title:d,shortName:f}))}u.find(".divisionNav").html($("#bingDivisionNavTemplate").jqote({selected:t,menu:a.length>3?a.slice(1):[],shorten:l.length>0?l[l.length-1].name:null,shown:l,companyLink:e.companyLink})).find(".divisionNav_inner").ThreeDots({max_rows:1,alt_text_t:!0,alt_text_e:!0});var p=u.find(".companyoverviewinner"),g=n[0].index,m=p.eq(g),v=!m.attr("threedots");v&&!tf.ie67&&m.show().ThreeDots({max_height:h}).hide(),tf.animateToggle(p,g,!tf.ie67),v&&tf.ie67&&m.ThreeDots({max_height:h}),c=t,u.find(".moremenu").hide(),u.find(".readmore a").attr("href",o(e.companyLink,n[0])+"&from=bing:overviewmore"),u.find(".readmore").css("visibility",0==m.find(".threedots_ellipsis").length?"hidden":"visible")}}$.jqotetag("*"),tf.ie=$.browser.msie,tf.bv=$.browser.version,tf.webkit=$.browser.webkit,tf.ie6=tf.ie&&"6.0"==tf.bv,tf.ie7=tf.ie&&"7.0"==tf.bv,tf.ie8=tf.ie&&"8.0"==tf.bv,tf.ie67=tf.ie6||tf.ie7,$(".articlebody .ellipsis_text").html($(".latestUpdate .bodyalt").html()),$(".articlebody").ThreeDots({max_rows:3,alt_text_t:!0,alt_text_e:!0});var a=$(".bingBullish").prepend($("#bullishStatsTemplate").jqote({hideLabels:1})),l=new PercentileBar(a.find(".mod_stat")),c=i[0].name,u=$(".bing .company"),h=285,d=$(".companyoverviewinner"),f=d.eq(0);$(".insight_text_inner").ThreeDots({max_rows:4,alt_text_t:!0,alt_text_e:!0}),u.find(".divisionNav_inner").ThreeDots({max_rows:1,alt_text_t:!0,alt_text_e:!0}),$(".latestUpdate .title_inner").ThreeDots({max_rows:1,alt_text_t:!0,alt_text_e:!0}),u.find(".divisionNav").css("overflow","visible"),setTimeout(function(){f.ThreeDots({max_height:h}),d.find("a").attr("target","_blank"),u.find(".readmore").css("visibility",0==f.find(".threedots_ellipsis").length?"hidden":"visible")},1e3),l.setBarWidth(136),l.update(e),$(".divisionNav a",$(".divisionNav")[0]).live("click",function(e){if("actlink_more"==this.id){var t=$(this),i=u.find(".moremenu");n(),i.css("left",Math.max(0,t.offset().left+t.width()-i.width()-5))}else s(this.id.substring(8).replace("_","."));return!1}),slideshowObj=initSlideshow(t,"bing"),slideshowObj.onNewDivision=function(e){var t=e||i[0].name;t!=c&&s(t)},tf.ie6&&window.DD_belatedPNG&&DD_belatedPNG.fix(".pngfix")}if(function(e,t){function i(e){var t=e.length,i=ue.type(e);return!ue.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===i||"function"!==i&&(0===t||"number"==typeof t&&t>0&&t-1 in e)))}function n(e){var t=Ce[e]={};return ue.each(e.match(de)||[],function(e,i){t[i]=!0}),t}function r(e,i,n,r){if(ue.acceptData(e)){var o,s,a=ue.expando,l=e.nodeType,c=l?ue.cache:e,u=l?e[a]:e[a]&&a;if(u&&c[u]&&(r||c[u].data)||n!==t||"string"!=typeof i)return u||(u=l?e[a]=te.pop()||ue.guid++:a),c[u]||(c[u]=l?{}:{toJSON:ue.noop}),("object"==typeof i||"function"==typeof i)&&(r?c[u]=ue.extend(c[u],i):c[u].data=ue.extend(c[u].data,i)),s=c[u],r||(s.data||(s.data={}),s=s.data),n!==t&&(s[ue.camelCase(i)]=n),"string"==typeof i?null==(o=s[i])&&(o=s[ue.camelCase(i)]):o=s,o}}function o(e,t,i){if(ue.acceptData(e)){var n,r,o=e.nodeType,s=o?ue.cache:e,l=o?e[ue.expando]:ue.expando;if(s[l]){if(t&&(n=i?s[l]:s[l].data)){ue.isArray(t)?t=t.concat(ue.map(t,ue.camelCase)):t in n?t=[t]:(t=ue.camelCase(t),t=t in n?[t]:t.split(" ")),r=t.length;for(;r--;)delete n[t[r]];if(i?!a(n):!ue.isEmptyObject(n))return}(i||(delete s[l].data,a(s[l])))&&(o?ue.cleanData([e],!0):ue.support.deleteExpando||s!=s.window?delete s[l]:s[l]=null)}}}function s(e,i,n){if(n===t&&1===e.nodeType){var r="data-"+i.replace(Ae,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Te.test(n)?ue.parseJSON(n):n)}catch(e){}ue.data(e,i,n)}else n=t}return n}function a(e){var t;for(t in e)if(("data"!==t||!ue.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function l(){return!0}function c(){return!1}function u(){try{return Q.activeElement}catch(e){}}function h(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function d(e,t,i){if(ue.isFunction(t))return ue.grep(e,function(e,n){return!!t.call(e,n,e)!==i});if(t.nodeType)return ue.grep(e,function(e){return e===t!==i});if("string"==typeof t){if(We.test(t))return ue.filter(t,e,i);t=ue.filter(t,e)}return ue.grep(e,function(e){return ue.inArray(e,t)>=0!==i})}function f(e){var t=Ve.split("|"),i=e.createDocumentFragment();if(i.createElement)for(;t.length;)i.createElement(t.pop());return i}function p(e,t){return ue.nodeName(e,"table")&&ue.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function g(e){return e.type=(null!==ue.find.attr(e,"type"))+"/"+e.type,e}function m(e){var t=rt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function v(e,t){for(var i,n=0;null!=(i=e[n]);n++)ue._data(i,"globalEval",!t||ue._data(t[n],"globalEval"))}function y(e,t){if(1===t.nodeType&&ue.hasData(e)){var i,n,r,o=ue._data(e),s=ue._data(t,o),a=o.events;if(a){delete s.handle,s.events={};for(i in a)for(n=0,r=a[i].length;r>n;n++)ue.event.add(t,i,a[i][n])}s.data&&(s.data=ue.extend({},s.data))}}function b(e,t){var i,n,r;if(1===t.nodeType){if(i=t.nodeName.toLowerCase(),!ue.support.noCloneEvent&&t[ue.expando]){r=ue._data(t);for(n in r.events)ue.removeEvent(t,n,r.handle);t.removeAttribute(ue.expando)}"script"===i&&t.text!==e.text?(g(t).text=e.text,m(t)):"object"===i?(t.parentNode&&(t.outerHTML=e.outerHTML),ue.support.html5Clone&&e.innerHTML&&!ue.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===i&&tt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===i?t.defaultSelected=t.selected=e.defaultSelected:("input"===i||"textarea"===i)&&(t.defaultValue=e.defaultValue)}}function w(e,i){var n,r,o=0,s=typeof e.getElementsByTagName!==G?e.getElementsByTagName(i||"*"):typeof e.querySelectorAll!==G?e.querySelectorAll(i||"*"):t;if(!s)for(s=[],n=e.childNodes||e;null!=(r=n[o]);o++)!i||ue.nodeName(r,i)?s.push(r):ue.merge(s,w(r,i));return i===t||i&&ue.nodeName(e,i)?ue.merge([e],s):s}function x(e){tt.test(e.type)&&(e.defaultChecked=e.checked)}function _(e,t){if(t in e)return t;for(var i=t.charAt(0).toUpperCase()+t.slice(1),n=t,r=Dt.length;r--;)if((t=Dt[r]+i)in e)return t;return n}function k(e,t){return e=t||e,"none"===ue.css(e,"display")||!ue.contains(e.ownerDocument,e)}function D(e,t){for(var i,n,r,o=[],s=0,a=e.length;a>s;s++)n=e[s],n.style&&(o[s]=ue._data(n,"olddisplay"),i=n.style.display,t?(o[s]||"none"!==i||(n.style.display=""),""===n.style.display&&k(n)&&(o[s]=ue._data(n,"olddisplay",S(n.nodeName)))):o[s]||(r=k(n),(i&&"none"!==i||!r)&&ue._data(n,"olddisplay",r?i:ue.css(n,"display"))));for(s=0;a>s;s++)n=e[s],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?o[s]||"":"none"));return e}function C(e,t,i){var n=vt.exec(t);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):t}function T(e,t,i,n,r){for(var o=i===(n?"border":"content")?4:"width"===t?1:0,s=0;4>o;o+=2)"margin"===i&&(s+=ue.css(e,i+kt[o],!0,r)),n?("content"===i&&(s-=ue.css(e,"padding"+kt[o],!0,r)),"margin"!==i&&(s-=ue.css(e,"border"+kt[o]+"Width",!0,r))):(s+=ue.css(e,"padding"+kt[o],!0,r),"padding"!==i&&(s+=ue.css(e,"border"+kt[o]+"Width",!0,r)));return s}function A(e,t,i){var n=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=ut(e),s=ue.support.boxSizing&&"border-box"===ue.css(e,"boxSizing",!1,o);if(0>=r||null==r){if(r=ht(e,t,o),(0>r||null==r)&&(r=e.style[t]),yt.test(r))return r;n=s&&(ue.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+T(e,t,i||(s?"border":"content"),n,o)+"px"}function S(e){var t=Q,i=wt[e];return i||(i=M(e,t),"none"!==i&&i||(ct=(ct||ue("").css("cssText","display:block !important")).appendTo(t.documentElement),t=(ct[0].contentWindow||ct[0].contentDocument).document,t.write(""),t.close(),i=M(e,t),ct.detach()),wt[e]=i),i}function M(e,t){var i=ue(t.createElement(e)).appendTo(t.body),n=ue.css(i[0],"display");return i.remove(),n}function P(e,t,i,n){var r;if(ue.isArray(t))ue.each(t,function(t,r){i||Tt.test(e)?n(e,r):P(e+"["+("object"==typeof r?t:"")+"]",r,i,n)});else if(i||"object"!==ue.type(t))n(e,t);else for(r in t)P(e+"["+r+"]",t[r],i,n)}function I(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,r=0,o=t.toLowerCase().match(de)||[];if(ue.isFunction(i))for(;n=o[r++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function E(e,i,n,r){function o(l){var c;return s[l]=!0,ue.each(e[l]||[],function(e,l){var u=l(i,n,r);return"string"!=typeof u||a||s[u]?a?!(c=u):t:(i.dataTypes.unshift(u),o(u),!1)}),c}var s={},a=e===zt;return o(i.dataTypes[0])||!s["*"]&&o("*")}function N(e,i){var n,r,o=ue.ajaxSettings.flatOptions||{};for(r in i)i[r]!==t&&((o[r]?e:n||(n={}))[r]=i[r]);return n&&ue.extend(!0,e,n),e}function O(e,i,n){for(var r,o,s,a,l=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),o===t&&(o=e.mimeType||i.getResponseHeader("Content-Type"));if(o)for(a in l)if(l[a]&&l[a].test(o)){c.unshift(a);break}if(c[0]in n)s=c[0];else{for(a in n){if(!c[0]||e.converters[a+" "+c[0]]){s=a;break}r||(r=a)}s=s||r}return s?(s!==c[0]&&c.unshift(s),n[s]):t}function L(e,t,i,n){var r,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(i[e.responseFields[o]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(r in c)if(a=r.split(" "),a[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}function $(){try{return new e.XMLHttpRequest}catch(e){}}function F(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function B(){return setTimeout(function(){Kt=t}),Kt=ue.now()}function H(e,t,i){for(var n,r=(ni[t]||[]).concat(ni["*"]),o=0,s=r.length;s>o;o++)if(n=r[o].call(i,t,e))return n}function j(e,t,i){var n,r,o=0,s=ii.length,a=ue.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Kt||B(),i=Math.max(0,c.startTime+c.duration-t),n=i/c.duration||0,o=1-n,s=0,l=c.tweens.length;l>s;s++)c.tweens[s].run(o);return a.notifyWith(e,[c,o,i]),1>o&&l?i:(a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:ue.extend({},t),opts:ue.extend(!0,{specialEasing:{}},i),originalProperties:t,originalOptions:i,startTime:Kt||B(),duration:i.duration,tweens:[],createTween:function(t,i){var n=ue.Tween(e,c.opts,t,i,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var i=0,n=t?c.tweens.length:0;if(r)return this;for(r=!0;n>i;i++)c.tweens[i].run(1);return t?a.resolveWith(e,[c,t]):a.rejectWith(e,[c,t]),this}}),u=c.props;for(R(u,c.opts.specialEasing);s>o;o++)if(n=ii[o].call(c,e,u,c.opts))return n;return ue.map(u,H,c),ue.isFunction(c.opts.start)&&c.opts.start.call(e,c),ue.fx.timer(ue.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function R(e,t){var i,n,r,o,s;for(i in e)if(n=ue.camelCase(i),r=t[n],o=e[i],ue.isArray(o)&&(r=o[1],o=e[i]=o[0]),i!==n&&(e[n]=o,delete e[i]),(s=ue.cssHooks[n])&&"expand"in s){o=s.expand(o),delete e[n];for(i in o)i in e||(e[i]=o[i],t[i]=r)}else t[n]=r}function W(e,t,i){var n,r,o,s,a,l,c=this,u={},h=e.style,d=e.nodeType&&k(e),f=ue._data(e,"fxshow");i.queue||(a=ue._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,ue.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[h.overflow,h.overflowX,h.overflowY],"inline"===ue.css(e,"display")&&"none"===ue.css(e,"float")&&(ue.support.inlineBlockNeedsLayout&&"inline"!==S(e.nodeName)?h.zoom=1:h.display="inline-block")),i.overflow&&(h.overflow="hidden",ue.support.shrinkWrapBlocks||c.always(function(){h.overflow=i.overflow[0],h.overflowX=i.overflow[1],h.overflowY=i.overflow[2]}));for(n in t)if(r=t[n],Zt.exec(r)){if(delete t[n],o=o||"toggle"===r,r===(d?"hide":"show"))continue;u[n]=f&&f[n]||ue.style(e,n)}if(!ue.isEmptyObject(u)){f?"hidden"in f&&(d=f.hidden):f=ue._data(e,"fxshow",{}),o&&(f.hidden=!d),d?ue(e).show():c.done(function(){ue(e).hide()}),c.done(function(){var t;ue._removeData(e,"fxshow");for(t in u)ue.style(e,t,u[t])});for(n in u)s=H(d?f[n]:0,n,c),n in f||(f[n]=s.start,d&&(s.end=s.start,s.start="width"===n||"height"===n?1:0))}}function z(e,t,i,n,r){return new z.prototype.init(e,t,i,n,r)}function Y(e,t){var i,n={height:e},r=0;for(t=t?1:0;4>r;r+=2-t)i=kt[r],n["margin"+i]=n["padding"+i]=e;return t&&(n.opacity=n.width=e),n}function U(e){return ue.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var V,q,G=typeof t,X=e.location,Q=e.document,K=Q.documentElement,J=e.jQuery,Z=e.$,ee={},te=[],ie="1.10.2",ne=te.concat,re=te.push,oe=te.slice,se=te.indexOf,ae=ee.toString,le=ee.hasOwnProperty,ce=ie.trim,ue=function(e,t){return new ue.fn.init(e,t,q)},he=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,de=/\S+/g,fe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,pe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ge=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,me=/^[\],:{}\s]*$/,ve=/(?:^|:|,)(?:\s*\[)+/g,ye=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,be=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,we=/^-ms-/,xe=/-([\da-z])/gi,_e=function(e,t){return t.toUpperCase()},ke=function(e){(Q.addEventListener||"load"===e.type||"complete"===Q.readyState)&&(De(),ue.ready())},De=function(){Q.addEventListener?(Q.removeEventListener("DOMContentLoaded",ke,!1),e.removeEventListener("load",ke,!1)):(Q.detachEvent("onreadystatechange",ke),e.detachEvent("onload",ke))};ue.fn=ue.prototype={jquery:ie,constructor:ue,init:function(e,i,n){var r,o;if(!e)return this;if("string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:pe.exec(e))||!r[1]&&i)return!i||i.jquery?(i||n).find(e):this.constructor(i).find(e);if(r[1]){if(i=i instanceof ue?i[0]:i,ue.merge(this,ue.parseHTML(r[1],i&&i.nodeType?i.ownerDocument||i:Q,!0)),ge.test(r[1])&&ue.isPlainObject(i))for(r in i)ue.isFunction(this[r])?this[r](i[r]):this.attr(r,i[r]);return this}if((o=Q.getElementById(r[2]))&&o.parentNode){if(o.id!==r[2])return n.find(e);this.length=1,this[0]=o}return this.context=Q,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ue.isFunction(e)?n.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),ue.makeArray(e,this))},selector:"",length:0,toArray:function(){return oe.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=ue.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return ue.each(this,e,t)},ready:function(e){return ue.ready.promise().done(e),this},slice:function(){
return this.pushStack(oe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(0>e?t:0);return this.pushStack(i>=0&&t>i?[this[i]]:[])},map:function(e){return this.pushStack(ue.map(this,function(t,i){return e.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:re,sort:[].sort,splice:[].splice},ue.fn.init.prototype=ue.fn,ue.extend=ue.fn.extend=function(){var e,i,n,r,o,s,a=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[1]||{},l=2),"object"==typeof a||ue.isFunction(a)||(a={}),c===l&&(a=this,--l);c>l;l++)if(null!=(o=arguments[l]))for(r in o)e=a[r],n=o[r],a!==n&&(u&&n&&(ue.isPlainObject(n)||(i=ue.isArray(n)))?(i?(i=!1,s=e&&ue.isArray(e)?e:[]):s=e&&ue.isPlainObject(e)?e:{},a[r]=ue.extend(u,s,n)):n!==t&&(a[r]=n));return a},ue.extend({expando:"jQuery"+(ie+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===ue&&(e.$=Z),t&&e.jQuery===ue&&(e.jQuery=J),ue},isReady:!1,readyWait:1,holdReady:function(e){e?ue.readyWait++:ue.ready(!0)},ready:function(e){if(!0===e?!--ue.readyWait:!ue.isReady){if(!Q.body)return setTimeout(ue.ready);ue.isReady=!0,!0!==e&&--ue.readyWait>0||(V.resolveWith(Q,[ue]),ue.fn.trigger&&ue(Q).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===ue.type(e)},isArray:Array.isArray||function(e){return"array"===ue.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ee[ae.call(e)]||"object":typeof e},isPlainObject:function(e){var i;if(!e||"object"!==ue.type(e)||e.nodeType||ue.isWindow(e))return!1;try{if(e.constructor&&!le.call(e,"constructor")&&!le.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(ue.support.ownLast)for(i in e)return le.call(e,i);for(i in e);return i===t||le.call(e,i)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,i){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(i=t,t=!1),t=t||Q;var n=ge.exec(e),r=!i&&[];return n?[t.createElement(n[1])]:(n=ue.buildFragment([e],t,r),r&&ue(r).remove(),ue.merge([],n.childNodes))},parseJSON:function(i){return e.JSON&&e.JSON.parse?e.JSON.parse(i):null===i?i:"string"==typeof i&&(i=ue.trim(i))&&me.test(i.replace(ye,"@").replace(be,"]").replace(ve,""))?Function("return "+i)():(ue.error("Invalid JSON: "+i),t)},parseXML:function(i){var n,r;if(!i||"string"!=typeof i)return null;try{e.DOMParser?(r=new DOMParser,n=r.parseFromString(i,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(i))}catch(e){n=t}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||ue.error("Invalid XML: "+i),n},noop:function(){},globalEval:function(t){t&&ue.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(we,"ms-").replace(xe,_e)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,o=e.length,s=i(e);if(n){if(s)for(;o>r&&!1!==t.apply(e[r],n);r++);else for(r in e)if(!1===t.apply(e[r],n))break}else if(s)for(;o>r&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:ce&&!ce.call("\ufeff ")?function(e){return null==e?"":ce.call(e)}:function(e){return null==e?"":(e+"").replace(fe,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?ue.merge(n,"string"==typeof e?[e]:e):re.call(n,e)),n},inArray:function(e,t,i){var n;if(t){if(se)return se.call(t,e,i);for(n=t.length,i=i?0>i?Math.max(0,n+i):i:0;n>i;i++)if(i in t&&t[i]===e)return i}return-1},merge:function(e,i){var n=i.length,r=e.length,o=0;if("number"==typeof n)for(;n>o;o++)e[r++]=i[o];else for(;i[o]!==t;)e[r++]=i[o++];return e.length=r,e},grep:function(e,t,i){var n,r=[],o=0,s=e.length;for(i=!!i;s>o;o++)n=!!t(e[o],o),i!==n&&r.push(e[o]);return r},map:function(e,t,n){var r,o=0,s=e.length,a=i(e),l=[];if(a)for(;s>o;o++)null!=(r=t(e[o],o,n))&&(l[l.length]=r);else for(o in e)null!=(r=t(e[o],o,n))&&(l[l.length]=r);return ne.apply([],l)},guid:1,proxy:function(e,i){var n,r,o;return"string"==typeof i&&(o=e[i],i=e,e=o),ue.isFunction(e)?(n=oe.call(arguments,2),r=function(){return e.apply(i||this,n.concat(oe.call(arguments)))},r.guid=e.guid=e.guid||ue.guid++,r):t},access:function(e,i,n,r,o,s,a){var l=0,c=e.length,u=null==n;if("object"===ue.type(n)){o=!0;for(l in n)ue.access(e,i,l,n[l],!0,s,a)}else if(r!==t&&(o=!0,ue.isFunction(r)||(a=!0),u&&(a?(i.call(e,r),i=null):(u=i,i=function(e,t,i){return u.call(ue(e),i)})),i))for(;c>l;l++)i(e[l],n,a?r:r.call(e[l],l,i(e[l],n)));return o?e:u?i.call(e):c?i(e[0],n):s},now:function(){return(new Date).getTime()},swap:function(e,t,i,n){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];r=i.apply(e,n||[]);for(o in t)e.style[o]=s[o];return r}}),ue.ready.promise=function(t){if(!V)if(V=ue.Deferred(),"complete"===Q.readyState)setTimeout(ue.ready);else if(Q.addEventListener)Q.addEventListener("DOMContentLoaded",ke,!1),e.addEventListener("load",ke,!1);else{Q.attachEvent("onreadystatechange",ke),e.attachEvent("onload",ke);var i=!1;try{i=null==e.frameElement&&Q.documentElement}catch(e){}i&&i.doScroll&&function e(){if(!ue.isReady){try{i.doScroll("left")}catch(t){return setTimeout(e,50)}De(),ue.ready()}}()}return V.promise(t)},ue.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()}),q=ue(Q),function(e,t){function i(e,t,i,n){var r,o,s,a,l,c,d,f,p,g;if((t?t.ownerDocument||t:B)!==P&&M(t),t=t||P,i=i||[],!e||"string"!=typeof e)return i;if(1!==(a=t.nodeType)&&9!==a)return[];if(E&&!n){if(r=ve.exec(e))if(s=r[1]){if(9===a){if(!(o=t.getElementById(s))||!o.parentNode)return i;if(o.id===s)return i.push(o),i}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&$(t,o)&&o.id===s)return i.push(o),i}else{if(r[2])return J.apply(i,t.getElementsByTagName(e)),i;if((s=r[3])&&x.getElementsByClassName&&t.getElementsByClassName)return J.apply(i,t.getElementsByClassName(s)),i}if(x.qsa&&(!N||!N.test(e))){if(f=d=F,p=t,g=9===a&&e,1===a&&"object"!==t.nodeName.toLowerCase()){for(c=u(e),(d=t.getAttribute("id"))?f=d.replace(we,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",l=c.length;l--;)c[l]=f+h(c[l]);p=he.test(e)&&t.parentNode||t,g=c.join(",")}if(g)try{return J.apply(i,p.querySelectorAll(g)),i}catch(e){}finally{d||t.removeAttribute("id")}}}return b(e.replace(ae,"$1"),t,i,n)}function n(){function e(i,n){return t.push(i+=" ")>k.cacheLength&&delete e[t.shift()],e[i]=n}var t=[];return e}function r(e){return e[F]=!0,e}function o(e){var t=P.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function s(e,t){for(var i=e.split("|"),n=e.length;n--;)k.attrHandle[i[n]]=t}function a(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||q)-(~e.sourceIndex||q);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function l(e){return r(function(t){return t=+t,r(function(i,n){for(var r,o=e([],i.length,t),s=o.length;s--;)i[r=o[s]]&&(i[r]=!(n[r]=i[r]))})})}function c(){}function u(e,t){var n,r,o,s,a,l,c,u=W[e+" "];if(u)return t?0:u.slice(0);for(a=e,l=[],c=k.preFilter;a;){(!n||(r=le.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),n=!1,(r=ce.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(ae," ")}),a=a.slice(n.length));for(s in k.filter)!(r=ge[s].exec(a))||c[s]&&!(r=c[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?i.error(e):W(e,l).slice(0)}function h(e){for(var t=0,i=e.length,n="";i>t;t++)n+=e[t].value;return n}function d(e,t,i){var n=t.dir,r=i&&"parentNode"===n,o=j++;return t.first?function(t,i,o){for(;t=t[n];)if(1===t.nodeType||r)return e(t,i,o)}:function(t,i,s){var a,l,c,u=H+" "+o;if(s){for(;t=t[n];)if((1===t.nodeType||r)&&e(t,i,s))return!0}else for(;t=t[n];)if(1===t.nodeType||r)if(c=t[F]||(t[F]={}),(l=c[n])&&l[0]===u){if(!0===(a=l[1])||a===_)return!0===a}else if(l=c[n]=[u],l[1]=e(t,i,s)||_,!0===l[1])return!0}}function f(e){return e.length>1?function(t,i,n){for(var r=e.length;r--;)if(!e[r](t,i,n))return!1;return!0}:e[0]}function p(e,t,i,n,r){for(var o,s=[],a=0,l=e.length,c=null!=t;l>a;a++)(o=e[a])&&(!i||i(o,n,r))&&(s.push(o),c&&t.push(a));return s}function g(e,t,i,n,o,s){return n&&!n[F]&&(n=g(n)),o&&!o[F]&&(o=g(o,s)),r(function(r,s,a,l){var c,u,h,d=[],f=[],g=s.length,m=r||y(t||"*",a.nodeType?[a]:a,[]),v=!e||!r&&t?m:p(m,d,e,a,l),b=i?o||(r?e:g||n)?[]:s:v;if(i&&i(v,b,a,l),n)for(c=p(b,f),n(c,[],a,l),u=c.length;u--;)(h=c[u])&&(b[f[u]]=!(v[f[u]]=h));if(r){if(o||e){if(o){for(c=[],u=b.length;u--;)(h=b[u])&&c.push(v[u]=h);o(null,b=[],c,l)}for(u=b.length;u--;)(h=b[u])&&(c=o?ee.call(r,h):d[u])>-1&&(r[c]=!(s[c]=h))}}else b=p(b===s?b.splice(g,b.length):b),o?o(null,s,b,l):J.apply(s,b)})}function m(e){for(var t,i,n,r=e.length,o=k.relative[e[0].type],s=o||k.relative[" "],a=o?1:0,l=d(function(e){return e===t},s,!0),c=d(function(e){return ee.call(t,e)>-1},s,!0),u=[function(e,i,n){return!o&&(n||i!==A)||((t=i).nodeType?l(e,i,n):c(e,i,n))}];r>a;a++)if(i=k.relative[e[a].type])u=[d(f(u),i)];else{if(i=k.filter[e[a].type].apply(null,e[a].matches),i[F]){for(n=++a;r>n&&!k.relative[e[n].type];n++);return g(a>1&&f(u),a>1&&h(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),i,n>a&&m(e.slice(a,n)),r>n&&m(e=e.slice(n)),r>n&&h(e))}u.push(i)}return f(u)}function v(e,t){var n=0,o=t.length>0,s=e.length>0,a=function(r,a,l,c,u){var h,d,f,g=[],m=0,v="0",y=r&&[],b=null!=u,w=A,x=r||s&&k.find.TAG("*",u&&a.parentNode||a),D=H+=null==w?1:Math.random()||.1;for(b&&(A=a!==P&&a,_=n);null!=(h=x[v]);v++){if(s&&h){for(d=0;f=e[d++];)if(f(h,a,l)){c.push(h);break}b&&(H=D,_=++n)}o&&((h=!f&&h)&&m--,r&&y.push(h))}if(m+=v,o&&v!==m){for(d=0;f=t[d++];)f(y,g,a,l);if(r){if(m>0)for(;v--;)y[v]||g[v]||(g[v]=Q.call(c));g=p(g)}J.apply(c,g),b&&!r&&g.length>0&&m+t.length>1&&i.uniqueSort(c)}return b&&(H=D,A=w),y};return o?r(a):a}function y(e,t,n){for(var r=0,o=t.length;o>r;r++)i(e,t[r],n);return n}function b(e,t,i,n){var r,o,s,a,l,c=u(e);if(!n&&1===c.length){if(o=c[0]=c[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&x.getById&&9===t.nodeType&&E&&k.relative[o[1].type]){if(!(t=(k.find.ID(s.matches[0].replace(xe,_e),t)||[])[0]))return i;e=e.slice(o.shift().value.length)}for(r=ge.needsContext.test(e)?0:o.length;r--&&(s=o[r],!k.relative[a=s.type]);)if((l=k.find[a])&&(n=l(s.matches[0].replace(xe,_e),he.test(o[0].type)&&t.parentNode||t))){if(o.splice(r,1),!(e=n.length&&h(o)))return J.apply(i,n),i;break}}return T(e,c)(n,t,!E,i,he.test(e)),i}var w,x,_,k,D,C,T,A,S,M,P,I,E,N,O,L,$,F="sizzle"+-new Date,B=e.document,H=0,j=0,R=n(),W=n(),z=n(),Y=!1,U=function(e,t){return e===t?(Y=!0,0):0},V=typeof t,q=1<<31,G={}.hasOwnProperty,X=[],Q=X.pop,K=X.push,J=X.push,Z=X.slice,ee=X.indexOf||function(e){for(var t=0,i=this.length;i>t;t++)if(this[t]===e)return t;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",ne="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",re=ne.replace("w","w#"),oe="\\["+ie+"*("+ne+")"+ie+"*(?:([*^$|!~]?=)"+ie+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+re+")|)|)"+ie+"*\\]",se=":("+ne+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+oe.replace(3,8)+")*)|.*)\\)|)",ae=RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),le=RegExp("^"+ie+"*,"+ie+"*"),ce=RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),he=RegExp(ie+"*[+~]"),de=RegExp("="+ie+"*([^\\]'\"]*)"+ie+"*\\]","g"),fe=RegExp(se),pe=RegExp("^"+re+"$"),ge={ID:RegExp("^#("+ne+")"),CLASS:RegExp("^\\.("+ne+")"),TAG:RegExp("^("+ne.replace("w","w*")+")"),ATTR:RegExp("^"+oe),PSEUDO:RegExp("^"+se),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:RegExp("^(?:"+te+")$","i"),needsContext:RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},me=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/^(?:input|select|textarea|button)$/i,be=/^h\d$/i,we=/'|\\/g,xe=RegExp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),_e=function(e,t,i){var n="0x"+t-65536;return n!==n||i?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{J.apply(X=Z.call(B.childNodes),B.childNodes),X[B.childNodes.length].nodeType}catch(e){J={apply:X.length?function(e,t){K.apply(e,Z.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}C=i.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},x=i.support={},M=i.setDocument=function(e){var i=e?e.ownerDocument||e:B,n=i.defaultView;return i!==P&&9===i.nodeType&&i.documentElement?(P=i,I=i.documentElement,E=!C(i),n&&n.attachEvent&&n!==n.top&&n.attachEvent("onbeforeunload",function(){M()}),x.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=o(function(e){return e.appendChild(i.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=o(function(e){return e.innerHTML="",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),x.getById=o(function(e){return I.appendChild(e).id=F,!i.getElementsByName||!i.getElementsByName(F).length}),x.getById?(k.find.ID=function(e,t){if(typeof t.getElementById!==V&&E){var i=t.getElementById(e);return i&&i.parentNode?[i]:[]}},k.filter.ID=function(e){var t=e.replace(xe,_e);return function(e){return e.getAttribute("id")===t}}):(delete k.find.ID,k.filter.ID=function(e){var t=e.replace(xe,_e);return function(e){var i=typeof e.getAttributeNode!==V&&e.getAttributeNode("id");return i&&i.value===t}}),k.find.TAG=x.getElementsByTagName?function(e,i){return typeof i.getElementsByTagName!==V?i.getElementsByTagName(e):t}:function(e,t){var i,n=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;i=o[r++];)1===i.nodeType&&n.push(i);return n}return o},k.find.CLASS=x.getElementsByClassName&&function(e,i){return typeof i.getElementsByClassName!==V&&E?i.getElementsByClassName(e):t},O=[],N=[],(x.qsa=me.test(i.querySelectorAll))&&(o(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||N.push("\\["+ie+"*(?:value|"+te+")"),e.querySelectorAll(":checked").length||N.push(":checked")}),o(function(e){var t=i.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&N.push("[*^$]="+ie+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||N.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),N.push(",.*:")})),(x.matchesSelector=me.test(L=I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&o(function(e){x.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),O.push("!=",se)}),N=N.length&&RegExp(N.join("|")),O=O.length&&RegExp(O.join("|")),$=me.test(I.contains)||I.compareDocumentPosition?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=I.compareDocumentPosition?function(e,t){if(e===t)return Y=!0,0;var n=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return n?1&n||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===i||$(B,e)?-1:t===i||$(B,t)?1:S?ee.call(S,e)-ee.call(S,t):0:4&n?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var n,r=0,o=e.parentNode,s=t.parentNode,l=[e],c=[t];if(e===t)return Y=!0,0;if(!o||!s)return e===i?-1:t===i?1:o?-1:s?1:S?ee.call(S,e)-ee.call(S,t):0;if(o===s)return a(e,t);for(n=e;n=n.parentNode;)l.unshift(n);for(n=t;n=n.parentNode;)c.unshift(n);for(;l[r]===c[r];)r++;return r?a(l[r],c[r]):l[r]===B?-1:c[r]===B?1:0},i):P},i.matches=function(e,t){return i(e,null,null,t)},i.matchesSelector=function(e,t){if((e.ownerDocument||e)!==P&&M(e),t=t.replace(de,"='$1']"),!(!x.matchesSelector||!E||O&&O.test(t)||N&&N.test(t)))try{var n=L.call(e,t);if(n||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return i(t,P,null,[e]).length>0},i.contains=function(e,t){return(e.ownerDocument||e)!==P&&M(e),$(e,t)},i.attr=function(e,i){(e.ownerDocument||e)!==P&&M(e);var n=k.attrHandle[i.toLowerCase()],r=n&&G.call(k.attrHandle,i.toLowerCase())?n(e,i,!E):t;return r===t?x.attributes||!E?e.getAttribute(i):(r=e.getAttributeNode(i))&&r.specified?r.value:null:r},i.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},i.uniqueSort=function(e){var t,i=[],n=0,r=0;if(Y=!x.detectDuplicates,S=!x.sortStable&&e.slice(0),e.sort(U),Y){for(;t=e[r++];)t===e[r]&&(n=i.push(r));for(;n--;)e.splice(i[n],1)}return e},D=i.getText=function(e){var t,i="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=D(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[n];n++)i+=D(t);return i},k=i.selectors={cacheLength:50,createPseudo:r,match:ge,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,_e),e[3]=(e[4]||e[5]||"").replace(xe,_e),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||i.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&i.error(e[0]),e},PSEUDO:function(e){var i,n=!e[5]&&e[2];return ge.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:n&&fe.test(n)&&(i=u(n,!0))&&(i=n.indexOf(")",n.length-i)-n.length)&&(e[0]=e[0].slice(0,i),e[2]=n.slice(0,i)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,_e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=R[e+" "];return t||(t=RegExp("(^|"+ie+")"+e+"("+ie+"|$)"))&&R(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==V&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var o=i.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,i,n,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,i,l){var c,u,h,d,f,p,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a;if(m){if(o){for(;g;){for(h=t;h=h[g];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&y){for(u=m[F]||(m[F]={}),c=u[e]||[],f=c[0]===H&&c[1],d=c[0]===H&&c[2],h=f&&m.childNodes[f];h=++f&&h&&h[g]||(d=f=0)||p.pop();)if(1===h.nodeType&&++d&&h===t){u[e]=[H,f,d];break}}else if(y&&(c=(t[F]||(t[F]={}))[e])&&c[0]===H)d=c[1];else for(;(h=++f&&h&&h[g]||(d=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++d||(y&&((h[F]||(h[F]={}))[e]=[H,d]),h!==t)););return(d-=r)===n||0==d%n&&d/n>=0}}},PSEUDO:function(e,t){var n,o=k.pseudos[e]||k.setFilters[e.toLowerCase()]||i.error("unsupported pseudo: "+e);return o[F]?o(t):o.length>1?(n=[e,e,"",t],k.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,i){for(var n,r=o(e,t),s=r.length;s--;)n=ee.call(e,r[s]),e[n]=!(i[n]=r[s])}):function(e){return o(e,0,n)}):o}},pseudos:{not:r(function(e){var t=[],i=[],n=T(e.replace(ae,"$1"));return n[F]?r(function(e,t,i,r){for(var o,s=n(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,r,o){return t[0]=e,n(t,null,o,i),!i.pop()}}),has:r(function(e){return function(t){return i(e,t).length>0}}),contains:r(function(e){return function(t){return(t.textContent||t.innerText||D(t)).indexOf(e)>-1}}),lang:r(function(e){return pe.test(e||"")||i.error("unsupported lang: "+e),e=e.replace(xe,_e).toLowerCase(),function(t){var i;do{if(i=E?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===I},focus:function(e){return e===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return be.test(e.nodeName)},input:function(e){return ye.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,i){return[0>i?i+t:i]}),even:l(function(e,t){for(var i=0;t>i;i+=2)e.push(i);return e}),odd:l(function(e,t){for(var i=1;t>i;i+=2)e.push(i);return e}),lt:l(function(e,t,i){for(var n=0>i?i+t:i;--n>=0;)e.push(n);return e}),gt:l(function(e,t,i){for(var n=0>i?i+t:i;t>++n;)e.push(n);return e})}},k.pseudos.nth=k.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[w]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(w);for(w in{submit:!0,reset:!0})k.pseudos[w]=function(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}(w);c.prototype=k.filters=k.pseudos,k.setFilters=new c,T=i.compile=function(e,t){var i,n=[],r=[],o=z[e+" "];if(!o){for(t||(t=u(e)),i=t.length;i--;)o=m(t[i]),o[F]?n.push(o):r.push(o);o=z(e,v(r,n))}return o},x.sortStable=F.split("").sort(U).join("")===F,x.detectDuplicates=Y,M(),x.sortDetached=o(function(e){return 1&e.compareDocumentPosition(P.createElement("div"))}),o(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||s("type|href|height|width",function(e,i,n){return n?t:e.getAttribute(i,"type"===i.toLowerCase()?1:2)}),x.attributes&&o(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||s("value",function(e,i,n){return n||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||s(te,function(e,i,n){var r;return n?t:(r=e.getAttributeNode(i))&&r.specified?r.value:!0===e[i]?i.toLowerCase():null}),ue.find=i,ue.expr=i.selectors,ue.expr[":"]=ue.expr.pseudos,ue.unique=i.uniqueSort,ue.text=i.getText,ue.isXMLDoc=i.isXML,ue.contains=i.contains}(e);var Ce={};ue.Callbacks=function(e){e="string"==typeof e?Ce[e]||n(e):ue.extend({},e);var i,r,o,s,a,l,c=[],u=!e.once&&[],h=function(t){for(r=e.memory&&t,o=!0,a=l||0,l=0,s=c.length,i=!0;c&&s>a;a++)if(!1===c[a].apply(t[0],t[1])&&e.stopOnFalse){r=!1;break}i=!1,c&&(u?u.length&&h(u.shift()):r?c=[]:d.disable())},d={add:function(){if(c){var t=c.length;(function t(i){ue.each(i,function(i,n){var r=ue.type(n);"function"===r?e.unique&&d.has(n)||c.push(n):n&&n.length&&"string"!==r&&t(n)})})(arguments),i?s=c.length:r&&(l=t,h(r))}return this},remove:function(){return c&&ue.each(arguments,function(e,t){for(var n;(n=ue.inArray(t,c,n))>-1;)c.splice(n,1),i&&(s>=n&&s--,a>=n&&a--)}),this},has:function(e){return e?ue.inArray(e,c)>-1:!(!c||!c.length)},empty:function(){return c=[],s=0,this},disable:function(){return c=u=r=t,this},disabled:function(){return!c},lock:function(){return u=t,r||d.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!c||o&&!u||(t=t||[],t=[e,t.slice?t.slice():t],i?u.push(t):h(t)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!o}};return d},ue.extend({Deferred:function(e){var t=[["resolve","done",ue.Callbacks("once memory"),"resolved"],["reject","fail",ue.Callbacks("once memory"),"rejected"],["notify","progress",ue.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ue.Deferred(function(i){ue.each(t,function(t,o){var s=o[0],a=ue.isFunction(e[t])&&e[t];r[o[1]](function(){var e=a&&a.apply(this,arguments);e&&ue.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[s+"With"](this===n?i.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ue.extend(e,n):n}},r={};return n.pipe=n.then,ue.each(t,function(e,o){var s=o[2],a=o[3];n[o[1]]=s.add,a&&s.add(function(){i=a},t[1^e][2].disable,t[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?n:this,arguments),this},r[o[0]+"With"]=s.fireWith}),n.promise(r),e&&e.call(r,r),r},when:function(e){var t,i,n,r=0,o=oe.call(arguments),s=o.length,a=1!==s||e&&ue.isFunction(e.promise)?s:0,l=1===a?e:ue.Deferred(),c=function(e,i,n){return function(r){i[e]=this,n[e]=arguments.length>1?oe.call(arguments):r,n===t?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(s>1)for(t=Array(s),i=Array(s),n=Array(s);s>r;r++)o[r]&&ue.isFunction(o[r].promise)?o[r].promise().done(c(r,n,o)).fail(l.reject).progress(c(r,i,t)):--a;return a||l.resolveWith(n,o),l.promise()}}),ue.support=function(t){var i,n,r,o,s,a,l,c,u,h=Q.createElement("div");if(h.setAttribute("className","t"),h.innerHTML=" a",i=h.getElementsByTagName("*")||[],!(n=h.getElementsByTagName("a")[0])||!n.style||!i.length)return t;o=Q.createElement("select"),a=o.appendChild(Q.createElement("option")),r=h.getElementsByTagName("input")[0],n.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==h.className,t.leadingWhitespace=3===h.firstChild.nodeType,t.tbody=!h.getElementsByTagName("tbody").length,t.htmlSerialize=!!h.getElementsByTagName("link").length,t.style=/top/.test(n.getAttribute("style")),t.hrefNormalized="/a"===n.getAttribute("href"),t.opacity=/^0.5/.test(n.style.opacity),t.cssFloat=!!n.style.cssFloat,t.checkOn=!!r.value,t.optSelected=a.selected,t.enctype=!!Q.createElement("form").enctype,t.html5Clone="<:nav>"!==Q.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,r.checked=!0,t.noCloneChecked=r.cloneNode(!0).checked,o.disabled=!0,t.optDisabled=!a.disabled;try{delete h.test}catch(e){t.deleteExpando=!1}r=Q.createElement("input"),r.setAttribute("value",""),t.input=""===r.getAttribute("value"),r.value="t",r.setAttribute("type","radio"),t.radioValue="t"===r.value,r.setAttribute("checked","t"),r.setAttribute("name","t"),s=Q.createDocumentFragment(),s.appendChild(r),t.appendChecked=r.checked,t.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,h.attachEvent&&(h.attachEvent("onclick",function(){t.noCloneEvent=!1}),h.cloneNode(!0).click());for(u in{submit:!0,change:!0,focusin:!0})h.setAttribute(l="on"+u,"t"),t[u+"Bubbles"]=l in e||!1===h.attributes[l].expando;h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===h.style.backgroundClip;for(u in ue(t))break;return t.ownLast="0"!==u,ue(function(){var i,n,r,o="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",s=Q.getElementsByTagName("body")[0];s&&(i=Q.createElement("div"),i.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(i).appendChild(h),h.innerHTML="
",r=h.getElementsByTagName("td"),r[0].style.cssText="padding:0;margin:0;border:0;display:none",c=0===r[0].offsetHeight,r[0].style.display="",r[1].style.display="none",t.reliableHiddenOffsets=c&&0===r[0].offsetHeight,h.innerHTML="",h.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",ue.swap(s,null!=s.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===h.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(h,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(h,null)||{width:"4px"}).width,n=h.appendChild(Q.createElement("div")),n.style.cssText=h.style.cssText=o,n.style.marginRight=n.style.width="0",h.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(n,null)||{}).marginRight)),typeof h.style.zoom!==G&&(h.innerHTML="",h.style.cssText=o+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===h.offsetWidth,h.style.display="block",h.innerHTML="",h.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==h.offsetWidth,t.inlineBlockNeedsLayout&&(s.style.zoom=1)),s.removeChild(i),i=h=r=n=null)}),i=o=s=a=n=r=null,t}({});var Te=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Ae=/([A-Z])/g;ue.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?ue.cache[e[ue.expando]]:e[ue.expando])&&!a(e)},data:function(e,t,i){return r(e,t,i)},removeData:function(e,t){return o(e,t)},_data:function(e,t,i){return r(e,t,i,!0)},_removeData:function(e,t){return o(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&ue.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),ue.fn.extend({data:function(e,i){var n,r,o=null,a=0,l=this[0];if(e===t){if(this.length&&(o=ue.data(l),1===l.nodeType&&!ue._data(l,"parsedAttrs"))){for(n=l.attributes;n.length>a;a++)r=n[a].name,0===r.indexOf("data-")&&(r=ue.camelCase(r.slice(5)),s(l,r,o[r]));ue._data(l,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){ue.data(this,e)}):arguments.length>1?this.each(function(){ue.data(this,e,i)}):l?s(l,e,ue.data(l,e)):null},removeData:function(e){return this.each(function(){ue.removeData(this,e)})}}),ue.extend({queue:function(e,i,n){var r;return e?(i=(i||"fx")+"queue",r=ue._data(e,i),n&&(!r||ue.isArray(n)?r=ue._data(e,i,ue.makeArray(n)):r.push(n)),r||[]):t},dequeue:function(e,t){t=t||"fx";var i=ue.queue(e,t),n=i.length,r=i.shift(),o=ue._queueHooks(e,t),s=function(){ue.dequeue(e,t)};"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===t&&i.unshift("inprogress"),delete o.stop,r.call(e,s,o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return ue._data(e,i)||ue._data(e,i,{empty:ue.Callbacks("once memory").add(function(){ue._removeData(e,t+"queue"),ue._removeData(e,i)})})}}),ue.fn.extend({queue:function(e,i){var n=2;return"string"!=typeof e&&(i=e,e="fx",n--),n>arguments.length?ue.queue(this[0],e):i===t?this:this.each(function(){var t=ue.queue(this,e,i);ue._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&ue.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ue.dequeue(this,e)})},delay:function(e,t){return e=ue.fx?ue.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,i){var n=setTimeout(t,e);i.stop=function(){clearTimeout(n)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,i){var n,r=1,o=ue.Deferred(),s=this,a=this.length,l=function(){
--r||o.resolveWith(s,[s])};for("string"!=typeof e&&(i=e,e=t),e=e||"fx";a--;)(n=ue._data(s[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(l));return l(),o.promise(i)}});var Se,Me,Pe=/[\t\r\n\f]/g,Ie=/\r/g,Ee=/^(?:input|select|textarea|button|object)$/i,Ne=/^(?:a|area)$/i,Oe=/^(?:checked|selected)$/i,Le=ue.support.getSetAttribute,$e=ue.support.input;ue.fn.extend({attr:function(e,t){return ue.access(this,ue.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ue.removeAttr(this,e)})},prop:function(e,t){return ue.access(this,ue.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ue.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(e){}})},addClass:function(e){var t,i,n,r,o,s=0,a=this.length,l="string"==typeof e&&e;if(ue.isFunction(e))return this.each(function(t){ue(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(de)||[];a>s;s++)if(i=this[s],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(Pe," "):" ")){for(o=0;r=t[o++];)0>n.indexOf(" "+r+" ")&&(n+=r+" ");i.className=ue.trim(n)}return this},removeClass:function(e){var t,i,n,r,o,s=0,a=this.length,l=0===arguments.length||"string"==typeof e&&e;if(ue.isFunction(e))return this.each(function(t){ue(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(de)||[];a>s;s++)if(i=this[s],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(Pe," "):"")){for(o=0;r=t[o++];)for(;n.indexOf(" "+r+" ")>=0;)n=n.replace(" "+r+" "," ");i.className=e?ue.trim(n):""}return this},toggleClass:function(e,t){var i=typeof e;return"boolean"==typeof t&&"string"===i?t?this.addClass(e):this.removeClass(e):ue.isFunction(e)?this.each(function(i){ue(this).toggleClass(e.call(this,i,this.className,t),t)}):this.each(function(){if("string"===i)for(var t,n=0,r=ue(this),o=e.match(de)||[];t=o[n++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else(i===G||"boolean"===i)&&(this.className&&ue._data(this,"__className__",this.className),this.className=this.className||!1===e?"":ue._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(Pe," ").indexOf(t)>=0)return!0;return!1},val:function(e){var i,n,r,o=this[0];return arguments.length?(r=ue.isFunction(e),this.each(function(i){var o;1===this.nodeType&&(o=r?e.call(this,i,ue(this).val()):e,null==o?o="":"number"==typeof o?o+="":ue.isArray(o)&&(o=ue.map(o,function(e){return null==e?"":e+""})),(n=ue.valHooks[this.type]||ue.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&n.set(this,o,"value")!==t||(this.value=o))})):o?(n=ue.valHooks[o.type]||ue.valHooks[o.nodeName.toLowerCase()],n&&"get"in n&&(i=n.get(o,"value"))!==t?i:(i=o.value,"string"==typeof i?i.replace(Ie,""):null==i?"":i)):void 0}}),ue.extend({valHooks:{option:{get:function(e){var t=ue.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){for(var t,i,n=e.options,r=e.selectedIndex,o="select-one"===e.type||0>r,s=o?null:[],a=o?r+1:n.length,l=0>r?a:o?r:0;a>l;l++)if(i=n[l],!(!i.selected&&l!==r||(ue.support.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&ue.nodeName(i.parentNode,"optgroup"))){if(t=ue(i).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var i,n,r=e.options,o=ue.makeArray(t),s=r.length;s--;)n=r[s],(n.selected=ue.inArray(ue(n).val(),o)>=0)&&(i=!0);return i||(e.selectedIndex=-1),o}}},attr:function(e,i,n){var r,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===G?ue.prop(e,i,n):(1===s&&ue.isXMLDoc(e)||(i=i.toLowerCase(),r=ue.attrHooks[i]||(ue.expr.match.bool.test(i)?Me:Se)),n===t?r&&"get"in r&&null!==(o=r.get(e,i))?o:(o=ue.find.attr(e,i),null==o?t:o):null!==n?r&&"set"in r&&(o=r.set(e,n,i))!==t?o:(e.setAttribute(i,n+""),n):(ue.removeAttr(e,i),t))},removeAttr:function(e,t){var i,n,r=0,o=t&&t.match(de);if(o&&1===e.nodeType)for(;i=o[r++];)n=ue.propFix[i]||i,ue.expr.match.bool.test(i)?$e&&Le||!Oe.test(i)?e[n]=!1:e[ue.camelCase("default-"+i)]=e[n]=!1:ue.attr(e,i,""),e.removeAttribute(Le?i:n)},attrHooks:{type:{set:function(e,t){if(!ue.support.radioValue&&"radio"===t&&ue.nodeName(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},propFix:{for:"htmlFor",class:"className"},prop:function(e,i,n){var r,o,s,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return s=1!==a||!ue.isXMLDoc(e),s&&(i=ue.propFix[i]||i,o=ue.propHooks[i]),n!==t?o&&"set"in o&&(r=o.set(e,n,i))!==t?r:e[i]=n:o&&"get"in o&&null!==(r=o.get(e,i))?r:e[i]},propHooks:{tabIndex:{get:function(e){var t=ue.find.attr(e,"tabindex");return t?parseInt(t,10):Ee.test(e.nodeName)||Ne.test(e.nodeName)&&e.href?0:-1}}}}),Me={set:function(e,t,i){return!1===t?ue.removeAttr(e,i):$e&&Le||!Oe.test(i)?e.setAttribute(!Le&&ue.propFix[i]||i,i):e[ue.camelCase("default-"+i)]=e[i]=!0,i}},ue.each(ue.expr.match.bool.source.match(/\w+/g),function(e,i){var n=ue.expr.attrHandle[i]||ue.find.attr;ue.expr.attrHandle[i]=$e&&Le||!Oe.test(i)?function(e,i,r){var o=ue.expr.attrHandle[i],s=r?t:(ue.expr.attrHandle[i]=t)!=n(e,i,r)?i.toLowerCase():null;return ue.expr.attrHandle[i]=o,s}:function(e,i,n){return n?t:e[ue.camelCase("default-"+i)]?i.toLowerCase():null}}),$e&&Le||(ue.attrHooks.value={set:function(e,i,n){return ue.nodeName(e,"input")?(e.defaultValue=i,t):Se&&Se.set(e,i,n)}}),Le||(Se={set:function(e,i,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=i+="","value"===n||i===e.getAttribute(n)?i:t}},ue.expr.attrHandle.id=ue.expr.attrHandle.name=ue.expr.attrHandle.coords=function(e,i,n){var r;return n?t:(r=e.getAttributeNode(i))&&""!==r.value?r.value:null},ue.valHooks.button={get:function(e,i){var n=e.getAttributeNode(i);return n&&n.specified?n.value:t},set:Se.set},ue.attrHooks.contenteditable={set:function(e,t,i){Se.set(e,""!==t&&t,i)}},ue.each(["width","height"],function(e,i){ue.attrHooks[i]={set:function(e,n){return""===n?(e.setAttribute(i,"auto"),n):t}}})),ue.support.hrefNormalized||ue.each(["href","src"],function(e,t){ue.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),ue.support.style||(ue.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),ue.support.optSelected||(ue.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),ue.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ue.propFix[this.toLowerCase()]=this}),ue.support.enctype||(ue.propFix.enctype="encoding"),ue.each(["radio","checkbox"],function(){ue.valHooks[this]={set:function(e,i){return ue.isArray(i)?e.checked=ue.inArray(ue(e).val(),i)>=0:t}},ue.support.checkOn||(ue.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Fe=/^(?:input|select|textarea)$/i,Be=/^key/,He=/^(?:mouse|contextmenu)|click/,je=/^(?:focusinfocus|focusoutblur)$/,Re=/^([^.]*)(?:\.(.+)|)$/;ue.event={global:{},add:function(e,i,n,r,o){var s,a,l,c,u,h,d,f,p,g,m,v=ue._data(e);if(v){for(n.handler&&(c=n,n=c.handler,o=c.selector),n.guid||(n.guid=ue.guid++),(a=v.events)||(a=v.events={}),(h=v.handle)||(h=v.handle=function(e){return typeof ue===G||e&&ue.event.triggered===e.type?t:ue.event.dispatch.apply(h.elem,arguments)},h.elem=e),i=(i||"").match(de)||[""],l=i.length;l--;)s=Re.exec(i[l])||[],p=m=s[1],g=(s[2]||"").split(".").sort(),p&&(u=ue.event.special[p]||{},p=(o?u.delegateType:u.bindType)||p,u=ue.event.special[p]||{},d=ue.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&ue.expr.match.needsContext.test(o),namespace:g.join(".")},c),(f=a[p])||(f=a[p]=[],f.delegateCount=0,u.setup&&!1!==u.setup.call(e,r,g,h)||(e.addEventListener?e.addEventListener(p,h,!1):e.attachEvent&&e.attachEvent("on"+p,h))),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,d):f.push(d),ue.event.global[p]=!0);e=null}},remove:function(e,t,i,n,r){var o,s,a,l,c,u,h,d,f,p,g,m=ue.hasData(e)&&ue._data(e);if(m&&(u=m.events)){for(t=(t||"").match(de)||[""],c=t.length;c--;)if(a=Re.exec(t[c])||[],f=g=a[1],p=(a[2]||"").split(".").sort(),f){for(h=ue.event.special[f]||{},f=(n?h.delegateType:h.bindType)||f,d=u[f]||[],a=a[2]&&RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=d.length;o--;)s=d[o],!r&&g!==s.origType||i&&i.guid!==s.guid||a&&!a.test(s.namespace)||n&&n!==s.selector&&("**"!==n||!s.selector)||(d.splice(o,1),s.selector&&d.delegateCount--,h.remove&&h.remove.call(e,s));l&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,p,m.handle)||ue.removeEvent(e,f,m.handle),delete u[f])}else for(f in u)ue.event.remove(e,f+t[c],i,n,!0);ue.isEmptyObject(u)&&(delete m.handle,ue._removeData(e,"events"))}},trigger:function(i,n,r,o){var s,a,l,c,u,h,d,f=[r||Q],p=le.call(i,"type")?i.type:i,g=le.call(i,"namespace")?i.namespace.split("."):[];if(l=h=r=r||Q,3!==r.nodeType&&8!==r.nodeType&&!je.test(p+ue.event.triggered)&&(p.indexOf(".")>=0&&(g=p.split("."),p=g.shift(),g.sort()),a=0>p.indexOf(":")&&"on"+p,i=i[ue.expando]?i:new ue.Event(p,"object"==typeof i&&i),i.isTrigger=o?2:3,i.namespace=g.join("."),i.namespace_re=i.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,i.result=t,i.target||(i.target=r),n=null==n?[i]:ue.makeArray(n,[i]),u=ue.event.special[p]||{},o||!u.trigger||!1!==u.trigger.apply(r,n))){if(!o&&!u.noBubble&&!ue.isWindow(r)){for(c=u.delegateType||p,je.test(c+p)||(l=l.parentNode);l;l=l.parentNode)f.push(l),h=l;h===(r.ownerDocument||Q)&&f.push(h.defaultView||h.parentWindow||e)}for(d=0;(l=f[d++])&&!i.isPropagationStopped();)i.type=d>1?c:u.bindType||p,s=(ue._data(l,"events")||{})[i.type]&&ue._data(l,"handle"),s&&s.apply(l,n),(s=a&&l[a])&&ue.acceptData(l)&&s.apply&&!1===s.apply(l,n)&&i.preventDefault();if(i.type=p,!o&&!i.isDefaultPrevented()&&(!u._default||!1===u._default.apply(f.pop(),n))&&ue.acceptData(r)&&a&&r[p]&&!ue.isWindow(r)){h=r[a],h&&(r[a]=null),ue.event.triggered=p;try{r[p]()}catch(e){}ue.event.triggered=t,h&&(r[a]=h)}return i.result}},dispatch:function(e){e=ue.event.fix(e);var i,n,r,o,s,a=[],l=oe.call(arguments),c=(ue._data(this,"events")||{})[e.type]||[],u=ue.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=ue.event.handlers.call(this,e,c),i=0;(o=a[i++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,s=0;(r=o.handlers[s++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(r.namespace))&&(e.handleObj=r,e.data=r.data,(n=((ue.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l))!==t&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,i){var n,r,o,s,a=[],l=i.delegateCount,c=e.target;if(l&&c.nodeType&&(!e.button||"click"!==e.type))for(;c!=this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==e.type)){for(o=[],s=0;l>s;s++)r=i[s],n=r.selector+" ",o[n]===t&&(o[n]=r.needsContext?ue(n,this).index(c)>=0:ue.find(n,this,null,[c]).length),o[n]&&o.push(r);o.length&&a.push({elem:c,handlers:o})}return i.length>l&&a.push({elem:this,handlers:i.slice(l)}),a},fix:function(e){if(e[ue.expando])return e;var t,i,n,r=e.type,o=e,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=He.test(r)?this.mouseHooks:Be.test(r)?this.keyHooks:{}),n=s.props?this.props.concat(s.props):this.props,e=new ue.Event(o),t=n.length;t--;)i=n[t],e[i]=o[i];return e.target||(e.target=o.srcElement||Q),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,i){var n,r,o,s=i.button,a=i.fromElement;return null==e.pageX&&null!=i.clientX&&(r=e.target.ownerDocument||Q,o=r.documentElement,n=r.body,e.pageX=i.clientX+(o&&o.scrollLeft||n&&n.scrollLeft||0)-(o&&o.clientLeft||n&&n.clientLeft||0),e.pageY=i.clientY+(o&&o.scrollTop||n&&n.scrollTop||0)-(o&&o.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?i.toElement:a),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==u()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===u()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return ue.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return ue.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,i,n){var r=ue.extend(new ue.Event,i,{type:e,isSimulated:!0,originalEvent:{}});n?ue.event.trigger(r,null,t):ue.event.dispatch.call(t,r),r.isDefaultPrevented()&&i.preventDefault()}},ue.removeEvent=Q.removeEventListener?function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i,!1)}:function(e,t,i){var n="on"+t;e.detachEvent&&(typeof e[n]===G&&(e[n]=null),e.detachEvent(n,i))},ue.Event=function(e,i){return this instanceof ue.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?l:c):this.type=e,i&&ue.extend(this,i),this.timeStamp=e&&e.timeStamp||ue.now(),this[ue.expando]=!0,t):new ue.Event(e,i)},ue.Event.prototype={isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=l,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=l,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=l,this.stopPropagation()}},ue.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){ue.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=this,r=e.relatedTarget,o=e.handleObj;return(!r||r!==n&&!ue.contains(n,r))&&(e.type=o.origType,i=o.handler.apply(this,arguments),e.type=t),i}}}),ue.support.submitBubbles||(ue.event.special.submit={setup:function(){return!ue.nodeName(this,"form")&&(ue.event.add(this,"click._submit keypress._submit",function(e){var i=e.target,n=ue.nodeName(i,"input")||ue.nodeName(i,"button")?i.form:t;n&&!ue._data(n,"submitBubbles")&&(ue.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),ue._data(n,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&ue.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return!ue.nodeName(this,"form")&&(ue.event.remove(this,"._submit"),t)}}),ue.support.changeBubbles||(ue.event.special.change={setup:function(){return Fe.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(ue.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),ue.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),ue.event.simulate("change",this,e,!0)})),!1):(ue.event.add(this,"beforeactivate._change",function(e){var t=e.target;Fe.test(t.nodeName)&&!ue._data(t,"changeBubbles")&&(ue.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ue.event.simulate("change",this.parentNode,e,!0)}),ue._data(t,"changeBubbles",!0))}),t)},handle:function(e){var i=e.target;return this!==i||e.isSimulated||e.isTrigger||"radio"!==i.type&&"checkbox"!==i.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return ue.event.remove(this,"._change"),!Fe.test(this.nodeName)}}),ue.support.focusinBubbles||ue.each({focus:"focusin",blur:"focusout"},function(e,t){var i=0,n=function(e){ue.event.simulate(t,e.target,ue.event.fix(e),!0)};ue.event.special[t]={setup:function(){0==i++&&Q.addEventListener(e,n,!0)},teardown:function(){0==--i&&Q.removeEventListener(e,n,!0)}}}),ue.fn.extend({on:function(e,i,n,r,o){var s,a;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=t);for(s in e)this.on(s,i,n,e[s],o);return this}if(null==n&&null==r?(r=i,n=i=t):null==r&&("string"==typeof i?(r=n,n=t):(r=n,n=i,i=t)),!1===r)r=c;else if(!r)return this;return 1===o&&(a=r,r=function(e){return ue().off(e),a.apply(this,arguments)},r.guid=a.guid||(a.guid=ue.guid++)),this.each(function(){ue.event.add(this,e,r,n,i)})},one:function(e,t,i,n){return this.on(e,t,i,n,1)},off:function(e,i,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ue(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,i,e[o]);return this}return(!1===i||"function"==typeof i)&&(n=i,i=t),!1===n&&(n=c),this.each(function(){ue.event.remove(this,e,n,i)})},trigger:function(e,t){return this.each(function(){ue.event.trigger(e,t,this)})},triggerHandler:function(e,i){var n=this[0];return n?ue.event.trigger(e,i,n,!0):t}});var We=/^.[^:#\[\.,]*$/,ze=/^(?:parents|prev(?:Until|All))/,Ye=ue.expr.match.needsContext,Ue={children:!0,contents:!0,next:!0,prev:!0};ue.fn.extend({find:function(e){var t,i=[],n=this,r=n.length;if("string"!=typeof e)return this.pushStack(ue(e).filter(function(){for(t=0;r>t;t++)if(ue.contains(n[t],this))return!0}));for(t=0;r>t;t++)ue.find(e,n[t],i);return i=this.pushStack(r>1?ue.unique(i):i),i.selector=this.selector?this.selector+" "+e:e,i},has:function(e){var t,i=ue(e,this),n=i.length;return this.filter(function(){for(t=0;n>t;t++)if(ue.contains(this,i[t]))return!0})},not:function(e){return this.pushStack(d(this,e||[],!0))},filter:function(e){return this.pushStack(d(this,e||[],!1))},is:function(e){return!!d(this,"string"==typeof e&&Ye.test(e)?ue(e):e||[],!1).length},closest:function(e,t){for(var i,n=0,r=this.length,o=[],s=Ye.test(e)||"string"!=typeof e?ue(e,t||this.context):0;r>n;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(11>i.nodeType&&(s?s.index(i)>-1:1===i.nodeType&&ue.find.matchesSelector(i,e))){i=o.push(i);break}return this.pushStack(o.length>1?ue.unique(o):o)},index:function(e){return e?"string"==typeof e?ue.inArray(this[0],ue(e)):ue.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var i="string"==typeof e?ue(e,t):ue.makeArray(e&&e.nodeType?[e]:e),n=ue.merge(this.get(),i);return this.pushStack(ue.unique(n))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ue.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ue.dir(e,"parentNode")},parentsUntil:function(e,t,i){return ue.dir(e,"parentNode",i)},next:function(e){return h(e,"nextSibling")},prev:function(e){return h(e,"previousSibling")},nextAll:function(e){return ue.dir(e,"nextSibling")},prevAll:function(e){return ue.dir(e,"previousSibling")},nextUntil:function(e,t,i){return ue.dir(e,"nextSibling",i)},prevUntil:function(e,t,i){return ue.dir(e,"previousSibling",i)},siblings:function(e){return ue.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return ue.sibling(e.firstChild)},contents:function(e){return ue.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ue.merge([],e.childNodes)}},function(e,t){ue.fn[e]=function(i,n){var r=ue.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=ue.filter(n,r)),this.length>1&&(Ue[e]||(r=ue.unique(r)),ze.test(e)&&(r=r.reverse())),this.pushStack(r)}}),ue.extend({filter:function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?ue.find.matchesSelector(n,e)?[n]:[]:ue.find.matches(e,ue.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,i,n){for(var r=[],o=e[i];o&&9!==o.nodeType&&(n===t||1!==o.nodeType||!ue(o).is(n));)1===o.nodeType&&r.push(o),o=o[i];return r},sibling:function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}});var Ve="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",qe=/ jQuery\d+="(?:null|\d+)"/g,Ge=RegExp("<(?:"+Ve+")[\\s/>]","i"),Xe=/^\s+/,Qe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ke=/<([\w:]+)/,Je=/\s*$/g,st={option:[1,""],legend:[1,""],area:[1,""],param:[1,""],thead:[1,"t ","
"],tr:[2,"","
"],col:[2,"
"],td:[3,"
"],_default:ue.support.htmlSerialize?[0,"",""]:[1,"X","