jQuery.cookie=function(b,c,a){if(typeof c!="undefined"){a=a||{};if(c===null){c="";a=$.extend({},a);a.expires=-1}var d="";if(a.expires&&(typeof a.expires=="number"||a.expires.toUTCString)){if(typeof a.expires=="number"){d=new Date;d.setTime(d.getTime()+a.expires*24*60*60*1E3)}else d=a.expires;d="; expires="+d.toUTCString()}var e=a.path?"; path="+a.path:"",k=a.domain?"; domain="+a.domain:"";a=a.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(c),d,e,k,a].join("")}else{c=null;if(document.cookie&&
document.cookie!=""){a=document.cookie.split(";");for(d=0;d<a.length;d++){e=jQuery.trim(a[d]);if(e.substring(0,b.length+1)==b+"="){c=decodeURIComponent(e.substring(b.length+1));break}}}return c}};jQuery.fn.extend({selectbox:function(b){return this.each(function(){new jQuery.SelectBox(this,b)})}});if(!window.console)var console={log:function(){}};
jQuery.SelectBox=function(b,c){function a(){o=0;i.hide()}function d(j){var h=$("li",i);if(!h||h.length==0)return false;z+=j;if(z<0)z=h.size();else if(z>h.size())z=0;j=h;var r=$(j[z]).get(0);j=i.get(0);if(r.offsetTop+r.offsetHeight>j.scrollTop+j.clientHeight)j.scrollTop=r.offsetTop+r.offsetHeight-j.clientHeight;else if(r.offsetTop<j.scrollTop)j.scrollTop=r.offsetTop;h.removeClass(k.hoverClass);$(h[z]).addClass(k.hoverClass)}function e(j){var h=document.createElement("ul");l.children("option").each(function(){var r=
document.createElement("li");r.setAttribute("id",j+"_"+$(this).val());r.innerHTML=$(this).html();$(r).data("title",this.title);if($(this).is(":selected")){f.val($(this).html());$(r).addClass(k.currentClass)}h.appendChild(r);$(r).mouseover(function(p){o=1;k.debug&&console.log("over on : "+this.id);jQuery(p.target,i).addClass(k.hoverClass)}).mouseout(function(p){o=-1;k.debug&&console.log("out on : "+this.id);jQuery(p.target,i).removeClass(k.hoverClass)}).click(function(){$("li."+k.hoverClass,i).get(0);
k.debug&&console.log("click on :"+this.id);$("li."+k.currentClass).removeClass(k.currentClass);$(this).addClass(k.currentClass);var p=$("li."+k.currentClass,i).get(0),q=(""+p.id).split("_");l.val(q[q.length-1]);f.val($(p).html());l.get(0).blur();a()})});return h}var k=c||{};k.inputClass=k.inputClass||"selectbox";k.containerClass=k.containerClass||"selectbox-wrapper";k.hoverClass=k.hoverClass||"current";k.currentClass=k.selectedClass||"selected";k.debug=k.debug||false;var w=b.id,z=0,g=false,o=0,l=
$(b),i=function(j){var h=document.createElement("div");i=$(h);i.attr("id",w+"_container");i.addClass(j.containerClass);return i}(k),f=function(j){var h=document.createElement("input");h=$(h);h.attr("id",w+"_input");h.attr("type","text");h.addClass(j.inputClass);h.attr("autocomplete","off");h.attr("readonly","readonly");h.attr("tabIndex",l.attr("tabindex"));return h}(k);l.hide().before(f).before(i);(function(){i.append(e(f.attr("id"))).hide();var j=f.css("width");i.width(j)})();f.click(function(){g||
i.toggle()}).focus(function(){if(i.not(":visible")){g=true;i.show()}}).keydown(function(j){switch(j.keyCode){case 38:j.preventDefault();d(-1);break;case 40:j.preventDefault();d(1);break;case 13:j.preventDefault();$("li."+k.hoverClass).trigger("click");break;case 27:a();break}}).blur(function(){if(i.is(":visible")&&o>0)k.debug&&console.log("container visible and has focus");else if($.browser.msie||$.browser.safari)document.activeElement.getAttribute("id").indexOf("_container")==-1?a():f.focus();else a()})};
jQuery.fn.makeacolumnlists=function(b){b=jQuery.extend({cols:2,colWidth:0,equalHeight:false,startN:1},b);jQuery("> li",this)&&this.each(function(c){c=jQuery(".li_container").size();var a=0,d=0,e=jQuery(this),k=e.attr("class"),w=jQuery("> li",this).size(),z=Math.ceil(w/b.cols),g=e.width(),o=isNaN(parseInt(e.css("borderLeftWidth"),10))?0:parseInt(e.css("borderLeftWidth"),10),l=isNaN(parseInt(e.css("borderRightWidth"),10))?0:parseInt(e.css("borderRightWidth"),10),i=parseInt(e.css("paddingLeft"),10),
f=parseInt(e.css("paddingRight"),10),j=parseInt(e.css("marginLeft"),10);e=parseInt(e.css("marginRight"),10);o=Math.floor((g-(b.cols-1)*(o+l+i+f+j+e))/b.cols);if(b.colWidth)o=b.colWidth;g=1;l=z;jQuery(this).addClass("li_cont1").wrap('<div id="li_container'+ ++c+'" class="li_container"></div>');for(i=0;i<=w;i++){if(i>=l){l+=z;g++}f=jQuery("> li:eq("+i+")",this);f.addClass("li_col"+g);if(jQuery(this).is("ol")){f.attr("value",""+(i+b.startN));f.addClass("li_num"+(i+b.startN))}}jQuery(this).css({cssFloat:"left",
width:""+o+"px"});for(g=2;g<=b.cols;g++)jQuery(this).is("ol")?jQuery("li.li_col"+g,this).appendTo("#li_container"+c).wrapAll('<ol class="li_cont'+g+" "+k+'" style="float:left; width: '+o+'px;"></ol>'):jQuery("li.li_col"+g,this).appendTo("#li_container"+c).wrapAll('<ul class="li_cont'+g+" "+k+'" style="float:left; width: '+o+'px;"></ul>');if(b.equalHeight=="li"){for(g=1;g<=b.cols;g++)jQuery("#li_container"+c+" li").each(function(){var h=jQuery(this),r=isNaN(parseInt(h.css("borderTopWidth"),10))?0:
parseInt(h.css("borderTopWidth"),10),p=isNaN(parseInt(h.css("borderBottomWidth"),10))?0:parseInt(h.css("borderBottomWidth"),10);a=h.height()+parseInt(h.css("paddingTop"),10)+parseInt(h.css("paddingBottom"),10)+r+p;d=a>d?a:d});for(g=1;g<=b.cols;g++){k=jQuery("#li_container"+c+" li");w=isNaN(parseInt(k.css("borderTopWidth"),10))?0:parseInt(k.css("borderTopWidth"),10);z=isNaN(parseInt(k.css("borderBottomWidth"),10))?0:parseInt(k.css("borderBottomWidth"),10);mh=d-(parseInt(k.css("paddingTop"),10)+parseInt(k.css("paddingBottom"),
10)+w+z);k.height(mh)}}else if(b.equalHeight=="ul"||b.equalHeight=="ol"){for(g=1;g<=b.cols;g++)jQuery("#li_container"+c+" .li_cont"+g).each(function(){var h=jQuery(this),r=isNaN(parseInt(h.css("borderTopWidth"),10))?0:parseInt(h.css("borderTopWidth"),10),p=isNaN(parseInt(h.css("borderBottomWidth"),10))?0:parseInt(h.css("borderBottomWidth"),10);a=h.height()+parseInt(h.css("paddingTop"),10)+parseInt(h.css("paddingBottom"),10)+r+p;d=a>d?a:d});for(g=1;g<=b.cols;g++){k=jQuery("#li_container"+c+" .li_cont"+
g);w=isNaN(parseInt(k.css("borderTopWidth"),10))?0:parseInt(k.css("borderTopWidth"),10);z=isNaN(parseInt(k.css("borderBottomWidth"),10))?0:parseInt(k.css("borderBottomWidth"),10);mh=d-(parseInt(k.css("paddingTop"),10)+parseInt(k.css("paddingBottom"),10)+w+z);k.height(mh)}}jQuery("#li_container"+c).append('<div style="clear:both; overflow:hidden; height:0px;"></div>')})};
jQuery.fn.uncolumnlists=function(){jQuery(".li_cont1").each(function(b){var c=jQuery("#li_container"+ ++b+" .li_cont1 > li").size();if(jQuery("#li_container"+b+" .li_cont1").is("ul")){jQuery("#li_container"+b+" > ul > li").appendTo("#li_container"+b+" ul:first");for(var a=1;a<=c;a++)jQuery("#li_container"+b+" ul:first li").removeAttr("class").removeAttr("style");jQuery("#li_container"+b+" ul:first").removeAttr("style").removeClass("li_cont1").insertBefore("#li_container"+b)}else{jQuery("#li_container"+
b+" > ol > li").appendTo("#li_container"+b+" ol:first");for(a=1;a<=c;a++)jQuery("#li_container"+b+" ol:first li").removeAttr("class").removeAttr("style");jQuery("#li_container"+b+" ol:first").removeAttr("style").removeClass("li_cont1").insertBefore("#li_container"+b)}jQuery("#li_container"+b).remove()})};
(function(b,c){function a(x,F){x=x?' id="'+q+x+'"':"";F=F?' style="'+F+'"':"";return b("<div"+x+F+"/>")}function d(x,F){F=F===h?D.width():D.height();return typeof x==="string"?Math.round(x.match(/%/)?F/100*parseInt(x,10):parseInt(x,10)):x}function e(x){x=b.isFunction(x)?x.call(O):x;return n.photo||x.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function k(){for(var x in n)if(b.isFunction(n[x])&&x.substring(0,2)!==j)n[x]=n[x].call(O);n.rel=n.rel||O.rel||f;n.href=n.href||b(O).attr("href");
n.title=n.title||O.title}function w(x){O=x;n=b.extend({},b(O).data(p));k();if(n.rel!==f){A=b("."+ia).filter(function(){return(b(this).data(p).rel||this.rel)===n.rel});N=A.index(O);if(N===-1){A=A.add(O);N=A.length-1}}else{A=b(O);N=0}if(!W){W=fa=i;la=O;try{la.blur()}catch(F){}b.event.trigger(K);n.onOpen&&n.onOpen.call(O);P.css({opacity:+n.opacity,cursor:n.overlayClose?"pointer":l}).show();n.w=d(n.initialWidth,h);n.h=d(n.initialHeight,o);J.position(0);V&&D.bind(g+S+" scroll."+S,function(){P.css({width:D.width(),
height:D.height(),top:D.scrollTop(),left:D.scrollLeft()})}).trigger("scroll."+S)}ma.add(ja).add(ka).add(Y).add(ga).hide();na.html(n.close).show();J.slideshow();J.load()}var z="click",g="resize.",o="y",l="auto",i=true,f="nofollow",j="on",h="x",r={transition:"elastic",speed:300,width:false,initialWidth:"600",innerWidth:false,maxWidth:false,height:false,initialHeight:"450",innerHeight:false,maxHeight:false,scalePhotos:i,scrolling:i,inline:false,html:false,iframe:false,photo:false,href:false,title:false,
rel:false,opacity:0.9,preloading:i,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:false,loop:i,slideshow:false,slideshowAuto:i,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false,overlayClose:i,escKey:i,arrowKey:i},p="colorbox",q="cbox",K=q+"_open",v=q+"_load",y=q+"_complete",E=q+"_cleanup",H=q+"_closed",I=b.browser.msie&&!b.support.opacity,V=I&&b.browser.version<
7,S=q+"_IE6",P,L,U,u,G,m,s,B,A,D,C,Q,T,ga,ma,Y,ka,ja,na,ca,da,Z,aa,O,la,N,n,W,fa,J,ia=q+"Element";J=b.fn[p]=b[p]=function(x,F){var M=this;if(!M[0]&&M.selector)return M;x=x||{};if(F)x.onComplete=F;if(!M[0]||M.selector===undefined){M=b("<a/>");x.open=i}M.each(function(){b(this).data(p,b.extend({},b(this).data(p)||r,x)).addClass(ia)});x.open&&w(M[0]);return M};J.init=function(){D=b(c);L=a().attr({id:p,"class":I?q+"IE":""});P=a("Overlay",V?"position:absolute":"").hide();U=a("Wrapper");u=a("Content").append(C=
a("LoadedContent","width:0; height:0"),T=a("LoadingOverlay").add(a("LoadingGraphic")),ga=a("Title"),ma=a("Current"),ka=a("Next"),ja=a("Previous"),Y=a("Slideshow"),na=a("Close"));U.append(a().append(a("TopLeft"),G=a("TopCenter"),a("TopRight")),a().append(m=a("MiddleLeft"),u,s=a("MiddleRight")),a().append(a("BottomLeft"),B=a("BottomCenter"),a("BottomRight"))).children().children().css({"float":"left"});Q=a(false,"position:absolute; width:9999px; visibility:hidden; display:none");b("body").prepend(P,
L.append(U,Q));u.children().hover(function(){b(this).addClass("hover")},function(){b(this).removeClass("hover")}).addClass("hover");ca=G.height()+B.height()+u.outerHeight(i)-u.height();da=m.width()+s.width()+u.outerWidth(i)-u.width();Z=C.outerHeight(i);aa=C.outerWidth(i);L.css({"padding-bottom":ca,"padding-right":da}).hide();ka.click(J.next);ja.click(J.prev);na.click(J.close);u.children().removeClass("hover");b("."+ia).live(z,function(x){if(x.button!==0&&typeof x.button!=="undefined"||x.ctrlKey||
x.shiftKey||x.altKey)return i;else{w(this);return false}});P.click(function(){n.overlayClose&&J.close()});b(document).bind("keydown",function(x){if(W&&n.escKey&&x.keyCode===27){x.preventDefault();J.close()}if(W&&n.arrowKey&&!fa&&A[1])if(x.keyCode===37&&(N||n.loop)){x.preventDefault();ja.click()}else if(x.keyCode===39&&(N<A.length-1||n.loop)){x.preventDefault();ka.click()}})};J.remove=function(){L.add(P).remove();b("."+ia).die(z).removeData(p).removeClass(ia)};J.position=function(x,F){function M(ba){G[0].style.width=
B[0].style.width=u[0].style.width=ba.style.width;T[0].style.height=T[1].style.height=u[0].style.height=m[0].style.height=s[0].style.height=ba.style.height}var R,X=Math.max(D.height()-n.h-Z-ca,0)/2+D.scrollTop(),ea=Math.max(D.width()-n.w-aa-da,0)/2+D.scrollLeft();R=L.width()===n.w+aa&&L.height()===n.h+Z?0:x;U[0].style.width=U[0].style.height="9999px";L.dequeue().animate({width:n.w+aa,height:n.h+Z,top:X,left:ea},{duration:R,complete:function(){M(this);fa=false;U[0].style.width=n.w+aa+da+"px";U[0].style.height=
n.h+Z+ca+"px";F&&F()},step:function(){M(this)}})};J.resize=function(x){if(W){x=x||{};if(x.width)n.w=d(x.width,h)-aa-da;if(x.innerWidth)n.w=d(x.innerWidth,h);C.css({width:n.w});if(x.height)n.h=d(x.height,o)-Z-ca;if(x.innerHeight)n.h=d(x.innerHeight,o);if(!x.innerHeight&&!x.height){x=C.wrapInner("<div style='overflow:auto'></div>").children();n.h=x.height();x.replaceWith(x.children())}C.css({height:n.h});J.position(n.transition==="none"?0:n.speed)}};J.prep=function(x){function F(X){var ea,ba,oa,pa,
ha=A.length,qa=n.loop;J.position(X,function(){function ra(){I&&L[0].style.removeAttribute("filter")}if(W){I&&M&&C.fadeIn(100);n.iframe&&b("<iframe frameborder=0"+(n.scrolling?"":" scrolling='no'")+(I?" allowtransparency='true'":"")+"/>").attr({src:n.href,name:(new Date).getTime()}).appendTo(C);C.show();ga.show().html(n.title);if(ha>1){ma.html(n.current.replace(/\{current\}/,N+1).replace(/\{total\}/,ha)).show();ka[qa||N<ha-1?"show":"hide"]().html(n.next);ja[qa||N?"show":"hide"]().html(n.previous);
ea=N?A[N-1]:A[ha-1];oa=N<ha-1?A[N+1]:A[0];if(n.slideshow){Y.show();N===ha-1&&!qa&&L.is("."+q+"Slideshow_on")&&Y.click()}if(n.preloading){pa=b(oa).data(p).href||oa.href;ba=b(ea).data(p).href||ea.href;if(e(pa))b("<img/>")[0].src=pa;if(e(ba))b("<img/>")[0].src=ba}}T.hide();n.transition==="fade"?L.fadeTo(R,1,function(){ra()}):ra();D.bind(g+q,function(){J.position(0)});b.event.trigger(y);n.onComplete&&n.onComplete.call(O)}})}if(W){var M,R=n.transition==="none"?0:n.speed;D.unbind(g+q);C.remove();C=a("LoadedContent").html(x);
C.hide().appendTo(Q.show()).css({width:function(){n.w=n.w||C.width();n.w=n.mw&&n.mw<n.w?n.mw:n.w;return n.w}(),overflow:n.scrolling?l:"hidden"}).css({height:function(){n.h=n.h||C.height();n.h=n.mh&&n.mh<n.h?n.mh:n.h;return n.h}()}).prependTo(u);Q.hide();b("#"+q+"Photo").css({cssFloat:"none"});V&&b("select").not(L.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(E,function(){this.style.visibility="inherit"});n.transition==="fade"?L.fadeTo(R,
0,function(){F(0)}):F(R)}};J.load=function(){var x,F,M,R=J.prep;fa=i;O=A[N];n=b.extend({},b(O).data(p));k();b.event.trigger(v);n.onLoad&&n.onLoad.call(O);n.h=n.height?d(n.height,o)-Z-ca:n.innerHeight&&d(n.innerHeight,o);n.w=n.width?d(n.width,h)-aa-da:n.innerWidth&&d(n.innerWidth,h);n.mw=n.w;n.mh=n.h;if(n.maxWidth){n.mw=d(n.maxWidth,h)-aa-da;n.mw=n.w&&n.w<n.mw?n.w:n.mw}if(n.maxHeight){n.mh=d(n.maxHeight,o)-Z-ca;n.mh=n.h&&n.h<n.mh?n.h:n.mh}x=n.href;T.show();if(n.inline){a("InlineTemp").hide().insertBefore(b(x)[0]).bind(v+
" "+E,function(){b(this).replaceWith(C.children())});R(b(x))}else if(n.iframe)R(" ");else if(n.html)R(n.html);else if(e(x)){F=new Image;F.onload=function(){var X;F.onload=null;F.id=q+"Photo";b(F).css({margin:l,border:"none",display:"block",cssFloat:"left"});if(n.scalePhotos){M=function(){F.height-=F.height*X;F.width-=F.width*X};if(n.mw&&F.width>n.mw){X=(F.width-n.mw)/F.width;M()}if(n.mh&&F.height>n.mh){X=(F.height-n.mh)/F.height;M()}}if(n.h)F.style.marginTop=Math.max(n.h-F.height,0)/2+"px";setTimeout(function(){R(F)},
1);A[1]&&(N<A.length-1||n.loop)&&b(F).css({cursor:"pointer"}).click(J.next);if(I)F.style.msInterpolationMode="bicubic"};F.src=x}else a().appendTo(Q).load(x,function(X,ea,ba){R(ea==="error"?"Request unsuccessful: "+ba.statusText:this)})};J.next=function(){if(!fa){N=N<A.length-1?N+1:0;J.load()}};J.prev=function(){if(!fa){N=N?N-1:A.length-1;J.load()}};J.slideshow=function(){function x(){Y.text(n.slideshowStop).bind(y,function(){M=setTimeout(J.next,n.slideshowSpeed)}).bind(v,function(){clearTimeout(M)}).one(z,
function(){F()});L.removeClass(R+"off").addClass(R+j)}var F,M,R=q+"Slideshow_";Y.bind(H,function(){Y.unbind();clearTimeout(M);L.removeClass(R+"off "+R+j)});F=function(){clearTimeout(M);Y.text(n.slideshowStart).unbind(y+" "+v).one(z,function(){x();M=setTimeout(J.next,n.slideshowSpeed)});L.removeClass(R+j).addClass(R+"off")};if(n.slideshow&&A[1])n.slideshowAuto?x():F()};J.close=function(){if(W){W=false;b.event.trigger(E);n.onCleanup&&n.onCleanup.call(O);D.unbind("."+q+" ."+S);P.fadeTo("fast",0);L.stop().fadeTo("fast",
0,function(){L.find("iframe").attr("src","about:blank");C.remove();L.add(P).css({opacity:1,cursor:l}).hide();try{la.focus()}catch(x){}setTimeout(function(){b.event.trigger(H);n.onClosed&&n.onClosed.call(O)},1)})}};J.element=function(){return b(O)};J.settings=r;b(J.init)})(jQuery,this);
(function(b){jQuery.autocomplete=function(c,a){function d(){I={};I.data={};I.length=0}function e(){if(S==46||S>8&&S<32)return v.hide();var m=q.val();if(!m.match("\u3000"))if(m!=E){E=m;if(m.length>=a.minChars){q.addClass(a.loadingClass);f(m)}else{q.removeClass(a.loadingClass);v.hide()}}}function k(m){var s=b("li",K);if(s){H+=m;if(H<0)H=0;else if(H>=s.size())H=s.size()-1;s.removeClass("ac_over");b(s[H]).addClass("ac_over")}}function w(){var m=b("li.ac_over",K)[0];if(!m){var s=b("li",K);if(a.selectOnly){if(s.length==
1)m=s[0]}else if(a.selectFirst)m=s[0]}if(m){z(m);return true}else return false}function z(m){if(!m){m=document.createElement("li");m.extra=[];m.selectValue=""}var s=b.trim(m.selectValue?m.selectValue:m.innerHTML);E=c.lastSelected=s;v.html("");q.val(s);g();a.onItemSelect&&setTimeout(function(){a.onItemSelect(m)},1)}function g(){y&&clearTimeout(y);q.removeClass(a.loadingClass);v.is(":visible")&&v.hide();a.mustMatch&&q.val()!=c.lastSelected&&z(null)}function o(m,s){if(s){q.removeClass(a.loadingClass);
K.innerHTML="";if(!V||s.length==0)return g();b.browser.msie&&v.append(document.createElement("iframe"));K.appendChild(i(s));if(a.autoFill&&q.val().toLowerCase()==m.toLowerCase()){var B=s[0][0];if(S!=8){q.val(q.val()+B.substring(E.length));var A=E.length;B=B.length;var D=q.get(0);if(D.createTextRange){var C=D.createTextRange();C.collapse(true);C.moveStart("character",A);C.moveEnd("character",B);C.select()}else if(D.setSelectionRange)D.setSelectionRange(A,B);else if(D.selectionStart){D.selectionStart=
A;D.selectionEnd=B}D.focus()}}A=c;B=A.offsetLeft||0;for(D=A.offsetTop||0;A=A.offsetParent;){B+=A.offsetLeft;D+=A.offsetTop}B+=a.offsetLeft?a.offsetLeft:0;D+=a.offsetTop?a.offsetTop:0;A={x:B,y:D};B=a.width>0?a.width:q.width();v.css({width:parseInt(B)+"px",top:A.y+c.offsetHeight+"px",left:A.x+"px"}).show()}else g()}function l(m){if(!m)return null;var s=[];m=m.split(a.lineSeparator);for(var B=0;B<m.length;B++){var A=b.trim(m[B]);if(A)s[s.length]=A.split(a.cellSeparator)}return s}function i(m){var s=
document.createElement("ul"),B=m.length;if(a.maxItemsToShow>0&&a.maxItemsToShow<B)B=a.maxItemsToShow;for(var A=0;A<B;A++){var D=m[A];if(D){var C=document.createElement("li");C.innerHTML=a.formatItem?a.formatItem(D,A,B):D[0];C.selectValue=D[0];var Q=null;if(D.length>1){Q=[];for(var T=1;T<D.length;T++)Q[Q.length]=D[T]}C.extra=Q;s.appendChild(C);b(C).hover(function(){b("li",s).removeClass("ac_over");b(this).addClass("ac_over");H=b("li",s).indexOf(b(this).get(0))},function(){b(this).removeClass("ac_over")}).click(function(ga){ga.preventDefault();
ga.stopPropagation();z(this)})}}return s}function f(m){a.matchCase||(m=m.toLowerCase());var s=a.cacheLength?h(m):null;if(s)o(m,s);else typeof a.url=="string"&&a.url.length>0?b.get(j(m),function(B){B=l(B);p(m,B);o(m,B)}):q.removeClass(a.loadingClass)}function j(m){m=a.url+"?"+(a.qName?a.qName:"q")+"="+encodeURI(m);for(var s in a.extraParams)m+="&"+s+"="+encodeURI(a.extraParams[s]);return m}function h(m){if(!m)return null;if(I.data[m])return I.data[m];if(a.matchSubset)for(var s=m.length-1;s>=a.minChars;s--){var B=
m.substr(0,s);if(B=I.data[B]){s=[];for(var A=0;A<B.length;A++){var D=B[A],C;C=D[0];var Q=m;a.matchCase||(C=C.toLowerCase());C=C.indexOf(Q);C=C==-1?false:C==0||a.matchContains;if(C)s[s.length]=D}return s}}return null}function r(m,s){s&&q.removeClass(a.loadingClass);for(var B=s?s.length:0,A=null,D=0;D<B;D++){var C=s[D];if(C[0].toLowerCase()==m.toLowerCase()){A=document.createElement("li");A.innerHTML=a.formatItem?a.formatItem(C,D,B):C[0];A.selectValue=C[0];var Q=null;if(C.length>1){Q=[];for(var T=1;T<
C.length;T++)Q[Q.length]=C[T]}A.extra=Q}}a.onFindValue&&setTimeout(function(){a.onFindValue(A)},1)}function p(m,s){if(!(!s||!m||!a.cacheLength)){if(!I.length||I.length>a.cacheLength){d();I.length++}else I[m]||I.length++;I.data[m]=s}}var q=b(c).attr("autocomplete","off");a.inputClass&&q.addClass(a.inputClass);var K=document.createElement("div"),v=b(K);v.hide().addClass(a.resultsClass).css("position","absolute");a.width>0&&v.css("width",a.width);b("body").append(K);c.autocompleter=this;var y=null,E=
"",H=-1,I={},V=false,S=null;d();if(a.data!=null){var P="",L={},U=[];if(typeof a.url!="string")a.cacheLength=1;for(var u=0;u<a.data.length;u++){U=typeof a.data[u]=="string"?[a.data[u]]:a.data[u];if(U[0].length>0){P=U[0].substring(0,1).toLowerCase();L[P]||(L[P]=[]);L[P].push(U)}}for(var G in L){a.cacheLength++;p(G,L[G])}}q.keyup(function(m){if(m.keyCode==13){H=-1;y&&clearTimeout(y);y=setTimeout(function(){e()},a.delay)}}).keydown(function(m){S=m.keyCode;switch(m.keyCode){case 38:m.preventDefault();
k(-1);break;case 40:m.preventDefault();k(1);break;case 9:case 13:if(w()){q.get(0).blur();m.preventDefault()}break;default:H=-1;y&&clearTimeout(y);y=setTimeout(function(){e()},a.delay);break}}).focus(function(){V=true}).blur(function(){V=false;y&&clearTimeout(y);y=setTimeout(g,200)});g();this.flushCache=function(){d()};this.setExtraParams=function(m){a.extraParams=m};this.findValue=function(){var m=q.val();a.matchCase||(m=m.toLowerCase());var s=a.cacheLength?h(m):null;if(s)r(m,s);else typeof a.url==
"string"&&a.url.length>0?b.get(j(m),function(B){B=l(B);p(m,B);r(m,B)}):r(m,null)}};jQuery.fn.autocomplete=function(c,a,d){a=a||{};a.url=c;a.data=typeof d=="object"&&d.constructor==Array?d:null;a.inputClass=a.inputClass||"ac_input";a.resultsClass=a.resultsClass||"ac_results";a.lineSeparator=a.lineSeparator||"\n";a.cellSeparator=a.cellSeparator||"|";a.minChars=a.minChars||1;a.delay=a.delay||400;a.matchCase=a.matchCase||0;a.matchSubset=a.matchSubset!=null?a.matchSubset:1;a.matchContains=a.matchContains||
0;a.cacheLength=a.cacheLength||1;a.mustMatch=a.mustMatch||0;a.extraParams=a.extraParams||{};a.loadingClass=a.loadingClass||"ac_loading";a.selectFirst=a.selectFirst||false;a.selectOnly=a.selectOnly||false;a.maxItemsToShow=a.maxItemsToShow||-1;a.autoFill=a.autoFill||false;a.width=parseInt(a.width,10)||0;this.each(function(){new b.autocomplete(this,a)});return this};jQuery.fn.autocompleteArray=function(c,a){return this.autocomplete(null,a,c)};jQuery.fn.indexOf=function(c){for(var a=0;a<this.length;a++)if(this[a]==
c)return a;return-1}})(jQuery);
jQuery.extend(jQuery.easing,{easeInQuad:function(b,c,a,d,e){return d*(c/=e)*c+a},easeOutQuad:function(b,c,a,d,e){return-d*(c/=e)*(c-2)+a},easeInOutQuad:function(b,c,a,d,e){if((c/=e/2)<1)return d/2*c*c+a;return-d/2*(--c*(c-2)-1)+a},easeInCubic:function(b,c,a,d,e){return d*(c/=e)*c*c+a},easeOutCubic:function(b,c,a,d,e){return d*((c=c/e-1)*c*c+1)+a},easeInOutCubic:function(b,c,a,d,e){if((c/=e/2)<1)return d/2*c*c*c+a;return d/2*((c-=2)*c*c+2)+a},easeInQuart:function(b,c,a,d,e){return d*(c/=e)*c*c*c+a},
easeOutQuart:function(b,c,a,d,e){return-d*((c=c/e-1)*c*c*c-1)+a},easeInOutQuart:function(b,c,a,d,e){if((c/=e/2)<1)return d/2*c*c*c*c+a;return-d/2*((c-=2)*c*c*c-2)+a},easeInQuint:function(b,c,a,d,e){return d*(c/=e)*c*c*c*c+a},easeOutQuint:function(b,c,a,d,e){return d*((c=c/e-1)*c*c*c*c+1)+a},easeInOutQuint:function(b,c,a,d,e){if((c/=e/2)<1)return d/2*c*c*c*c*c+a;return d/2*((c-=2)*c*c*c*c+2)+a},easeInSine:function(b,c,a,d,e){return-d*Math.cos(c/e*(Math.PI/2))+d+a},easeOutSine:function(b,c,a,d,e){return d*
Math.sin(c/e*(Math.PI/2))+a},easeInOutSine:function(b,c,a,d,e){return-d/2*(Math.cos(Math.PI*c/e)-1)+a},easeInExpo:function(b,c,a,d,e){return c==0?a:d*Math.pow(2,10*(c/e-1))+a},easeOutExpo:function(b,c,a,d,e){return c==e?a+d:d*(-Math.pow(2,-10*c/e)+1)+a},easeInOutExpo:function(b,c,a,d,e){if(c==0)return a;if(c==e)return a+d;if((c/=e/2)<1)return d/2*Math.pow(2,10*(c-1))+a;return d/2*(-Math.pow(2,-10*--c)+2)+a},easeInCirc:function(b,c,a,d,e){return-d*(Math.sqrt(1-(c/=e)*c)-1)+a},easeOutCirc:function(b,
c,a,d,e){return d*Math.sqrt(1-(c=c/e-1)*c)+a},easeInOutCirc:function(b,c,a,d,e){if((c/=e/2)<1)return-d/2*(Math.sqrt(1-c*c)-1)+a;return d/2*(Math.sqrt(1-(c-=2)*c)+1)+a},easeInElastic:function(b,c,a,d,e){b=1.70158;var k=0,w=d;if(c==0)return a;if((c/=e)==1)return a+d;k||(k=e*0.3);if(w<Math.abs(d)){w=d;b=k/4}else b=k/(2*Math.PI)*Math.asin(d/w);return-(w*Math.pow(2,10*(c-=1))*Math.sin((c*e-b)*2*Math.PI/k))+a},easeOutElastic:function(b,c,a,d,e){b=1.70158;var k=0,w=d;if(c==0)return a;if((c/=e)==1)return a+
d;k||(k=e*0.3);if(w<Math.abs(d)){w=d;b=k/4}else b=k/(2*Math.PI)*Math.asin(d/w);return w*Math.pow(2,-10*c)*Math.sin((c*e-b)*2*Math.PI/k)+d+a},easeInOutElastic:function(b,c,a,d,e){b=1.70158;var k=0,w=d;if(c==0)return a;if((c/=e/2)==2)return a+d;k||(k=e*0.3*1.5);if(w<Math.abs(d)){w=d;b=k/4}else b=k/(2*Math.PI)*Math.asin(d/w);if(c<1)return-0.5*w*Math.pow(2,10*(c-=1))*Math.sin((c*e-b)*2*Math.PI/k)+a;return w*Math.pow(2,-10*(c-=1))*Math.sin((c*e-b)*2*Math.PI/k)*0.5+d+a},easeInBack:function(b,c,a,d,e,k){if(k==
undefined)k=1.70158;return d*(c/=e)*c*((k+1)*c-k)+a},easeOutBack:function(b,c,a,d,e,k){if(k==undefined)k=1.70158;return d*((c=c/e-1)*c*((k+1)*c+k)+1)+a},easeInOutBack:function(b,c,a,d,e,k){if(k==undefined)k=1.70158;if((c/=e/2)<1)return d/2*c*c*(((k*=1.525)+1)*c-k)+a;return d/2*((c-=2)*c*(((k*=1.525)+1)*c+k)+2)+a},easeInBounce:function(b,c,a,d,e){return d-jQuery.easing.easeOutBounce(b,e-c,0,d,e)+a},easeOutBounce:function(b,c,a,d,e){return(c/=e)<1/2.75?d*7.5625*c*c+a:c<2/2.75?d*(7.5625*(c-=1.5/2.75)*
c+0.75)+a:c<2.5/2.75?d*(7.5625*(c-=2.25/2.75)*c+0.9375)+a:d*(7.5625*(c-=2.625/2.75)*c+0.984375)+a},easeInOutBounce:function(b,c,a,d,e){if(c<e/2)return jQuery.easing.easeInBounce(b,c*2,0,d,e)*0.5+a;return jQuery.easing.easeOutBounce(b,c*2-e,0,d,e)*0.5+d*0.5+a}});
(function(b){function c(a,d){return parseInt(b.css(a[0],d))||0}b.fn.jCarouselLite=function(a){a=b.extend({btnPrev:null,btnNext:null,btnGo:null,mouseWheel:false,auto:null,speed:200,easing:null,vertical:false,circular:true,visible:3,start:0,scroll:1,beforeStart:null,afterEnd:null},a||{});return this.each(function(){function d(q){if(!e){a.beforeStart&&a.beforeStart.call(this,f.slice(h).slice(0,i));if(a.circular)if(q<=a.start-i-1){g.css(k,-((j-i*2)*r)+"px");h=q==a.start-i-1?j-i*2-1:j-i*2-a.scroll}else if(q>=
j-i+1){g.css(k,-(i*r)+"px");h=q==j-i+1?i+1:i+a.scroll}else h=q;else if(q<0||q>j-i)return;else h=q;e=true;g.animate(k=="left"?{left:-(h*r)}:{top:-(h*r)},a.speed,a.easing,function(){a.afterEnd&&a.afterEnd.call(this,f.slice(h).slice(0,i));e=false});if(!a.circular){b(a.btnPrev+","+a.btnNext).removeClass("disabled");b(h-a.scroll<0&&a.btnPrev||h+a.scroll>j-i&&a.btnNext||[]).addClass("disabled")}}if(a.btnGo){b(a.btnGo).removeClass("cur");var K=1;K=q<1?q+l:q>l?q-l:q;b(a.btnGo[K-1]).addClass("cur")}return false}
var e=false,k=a.vertical?"top":"left",w=a.vertical?"height":"width",z=b(this),g=b(">ul",z),o=b(">li",g),l=o.size(),i=a.visible;if(a.circular){g.prepend(o.slice(l-i-1+1).clone()).append(o.slice(0,i).clone());a.start+=i}var f=b(">li",g),j=f.size(),h=a.start;z.css("visibility","visible");f.css({overflow:"hidden","float":a.vertical?"none":"left"});g.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"});z.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"});
var r=a.vertical?f[0].offsetHeight+c(f,"marginTop")+c(f,"marginBottom"):f[0].offsetWidth+c(f,"marginLeft")+c(f,"marginRight");o=r*j;var p=r*i;f.css({width:f.width(),height:f.height()});g.css(w,o+"px").css(k,-(h*r));z.css(w,p+"px");a.btnPrev&&b(a.btnPrev).click(function(){return d(h-a.scroll)});a.btnNext&&b(a.btnNext).click(function(){return d(h+a.scroll)});a.btnGo&&b.each(a.btnGo,function(q,K){b(K).click(function(){return d(a.circular?a.visible+q:q)})});a.mouseWheel&&z.mousewheel&&z.mousewheel(function(q,
K){return K>0?d(h-a.scroll):d(h+a.scroll)});a.auto&&setInterval(function(){d(h+a.scroll)},a.auto+a.speed)})}})(jQuery);
jQuery.ui||function(b){function c(g,o,l,i){function f(h){h=b[g][o][h]||[];return typeof h=="string"?h.split(/,?\s+/):h}var j=f("getter");if(i.length==1&&typeof i[0]=="string")j=j.concat(f("getterSetter"));return b.inArray(l,j)!=-1}var a=b.fn.remove,d=b.browser.mozilla&&parseFloat(b.browser.version)<1.9;b.ui={version:"1.7.2",plugin:{add:function(g,o,l){g=b.ui[g].prototype;for(var i in l){g.plugins[i]=g.plugins[i]||[];g.plugins[i].push([o,l[i]])}},call:function(g,o,l){if((o=g.plugins[o])&&g.element[0].parentNode)for(var i=
0;i<o.length;i++)g.options[o[i][0]]&&o[i][1].apply(g.element,l)}},contains:function(g,o){return document.compareDocumentPosition?g.compareDocumentPosition(o)&16:g!==o&&g.contains(o)},hasScroll:function(g,o){if(b(g).css("overflow")=="hidden")return false;var l=o&&o=="left"?"scrollLeft":"scrollTop",i=false;if(g[l]>0)return true;g[l]=1;i=g[l]>0;g[l]=0;return i},isOverAxis:function(g,o,l){return g>o&&g<o+l},isOver:function(g,o,l,i,f,j){return b.ui.isOverAxis(g,l,f)&&b.ui.isOverAxis(o,i,j)},keyCode:{BACKSPACE:8,
CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var e=b.attr,k=b.fn.removeAttr,w=/^aria-/,z=/^wairole:/;b.attr=function(g,o,l){var i=l!==undefined;return o=="role"?i?e.call(this,g,o,"wairole:"+l):(e.apply(this,arguments)||"").replace(z,""):w.test(o)?i?g.setAttributeNS("http://www.w3.org/2005/07/aaa",
o.replace(w,"aaa:"),l):e.call(this,g,o.replace(w,"aaa:")):e.apply(this,arguments)};b.fn.removeAttr=function(g){return w.test(g)?this.each(function(){this.removeAttributeNS("http://www.w3.org/2005/07/aaa",g.replace(w,""))}):k.call(this,g)}}b.fn.extend({remove:function(){b("*",this).add(this).each(function(){b(this).triggerHandler("remove")});return a.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable",
"on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var g;g=b.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(b.curCSS(this,"position",1))&&/(auto|scroll)/.test(b.curCSS(this,"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(b.curCSS(this,
"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!g.length?b(document):g}});b.extend(b.expr[":"],{data:function(g,o,l){return!!b.data(g,l[3])},focusable:function(g){var o=g.nodeName.toLowerCase(),l=b.attr(g,"tabindex");return(/input|select|textarea|button|object/.test(o)?!g.disabled:"a"==o||"area"==o?g.href||!isNaN(l):!isNaN(l))&&!b(g)["area"==o?"parents":"closest"](":hidden").length},tabbable:function(g){var o=b.attr(g,"tabindex");
return(isNaN(o)||o>=0)&&b(g).is(":focusable")}});b.widget=function(g,o){var l=g.split(".")[0];g=g.split(".")[1];b.fn[g]=function(i){var f=typeof i=="string",j=Array.prototype.slice.call(arguments,1);if(f&&i.substring(0,1)=="_")return this;if(f&&c(l,g,i,j)){var h=b.data(this[0],g);return h?h[i].apply(h,j):undefined}return this.each(function(){var r=b.data(this,g);!r&&!f&&b.data(this,g,new b[l][g](this,i))._init();r&&f&&b.isFunction(r[i])&&r[i].apply(r,j)})};b[l]=b[l]||{};b[l][g]=function(i,f){var j=
this;this.namespace=l;this.widgetName=g;this.widgetEventPrefix=b[l][g].eventPrefix||g;this.widgetBaseClass=l+"-"+g;this.options=b.extend({},b.widget.defaults,b[l][g].defaults,b.metadata&&b.metadata.get(i)[g],f);this.element=b(i).bind("setData."+g,function(h,r,p){if(h.target==i)return j._setData(r,p)}).bind("getData."+g,function(h,r){if(h.target==i)return j._getData(r)}).bind("remove",function(){return j.destroy()})};b[l][g].prototype=b.extend({},b.widget.prototype,o);b[l][g].getterSetter="option"};
b.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(g,o){var l=g,i=this;if(typeof g=="string"){if(o===undefined)return this._getData(g);l={};l[g]=o}b.each(l,function(f,j){i._setData(f,j)})},_getData:function(g){return this.options[g]},_setData:function(g,o){this.options[g]=o;if(g=="disabled")this.element[o?"addClass":"removeClass"](this.widgetBaseClass+
"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",o)},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(g,o,l){var i=this.options[g];g=g==this.widgetEventPrefix?g:this.widgetEventPrefix+g;o=b.Event(o);o.type=g;if(o.originalEvent){g=b.event.props.length;for(var f;g;){f=b.event.props[--g];o[f]=o.originalEvent[f]}}this.element.trigger(o,l);return!(b.isFunction(i)&&i.call(this.element[0],o,l)===false||o.isDefaultPrevented())}};
b.widget.defaults={disabled:false};b.ui.mouse={_mouseInit:function(){var g=this;this.element.bind("mousedown."+this.widgetName,function(o){return g._mouseDown(o)}).bind("click."+this.widgetName,function(o){if(g._preventClickEvent){g._preventClickEvent=false;o.stopImmediatePropagation();return false}});if(b.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);
b.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable)},_mouseDown:function(g){g.originalEvent=g.originalEvent||{};if(!g.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(g);this._mouseDownEvent=g;var o=this,l=g.which==1,i=typeof this.options.cancel=="string"?b(g.target).parents().add(g.target).filter(this.options.cancel).length:false;if(!l||i||!this._mouseCapture(g))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){o.mouseDelayMet=
true},this.options.delay);if(this._mouseDistanceMet(g)&&this._mouseDelayMet(g)){this._mouseStarted=this._mouseStart(g)!==false;if(!this._mouseStarted){g.preventDefault();return true}}this._mouseMoveDelegate=function(f){return o._mouseMove(f)};this._mouseUpDelegate=function(f){return o._mouseUp(f)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);b.browser.safari||g.preventDefault();return g.originalEvent.mouseHandled=true}},
_mouseMove:function(g){if(b.browser.msie&&!g.button)return this._mouseUp(g);if(this._mouseStarted){this._mouseDrag(g);return g.preventDefault()}if(this._mouseDistanceMet(g)&&this._mouseDelayMet(g))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,g)!==false)?this._mouseDrag(g):this._mouseUp(g);return!this._mouseStarted},_mouseUp:function(g){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=
false;this._preventClickEvent=g.target==this._mouseDownEvent.target;this._mouseStop(g)}return false},_mouseDistanceMet:function(g){return Math.max(Math.abs(this._mouseDownEvent.pageX-g.pageX),Math.abs(this._mouseDownEvent.pageY-g.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}};b.ui.mouse.defaults={cancel:null,distance:1,delay:0}}(jQuery);
(function(b){b.widget("ui.tabs",{_init:function(){if(this.options.deselectable!==undefined)this.options.collapsible=this.options.deselectable;this._tabify(true)},_setData:function(c,a){if(c=="selected")this.options.collapsible&&a==this.options.selected||this.select(a);else{this.options[c]=a;if(c=="deselectable")this.options.collapsible=a;this._tabify()}},_tabId:function(c){return c.title&&c.title.replace(/\s/g,"_").replace(/[^A-Za-z0-9\-_:\.]/g,"")||this.options.idPrefix+b.data(c)},_sanitizeSelector:function(c){return c.replace(/:/g,
"\\:")},_cookie:function(){var c=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+b.data(this.list[0]));return b.cookie.apply(null,[c].concat(b.makeArray(arguments)))},_ui:function(c,a){return{tab:c,panel:a,index:this.anchors.index(c)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var c=b(this);c.html(c.data("label.tabs")).removeData("label.tabs")})},_tabify:function(c){function a(f,j){f.css({display:""});
b.browser.msie&&j.opacity&&f[0].style.removeAttribute("filter")}this.list=this.element.children("ul:first");this.lis=b("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return b("a",this)[0]});this.panels=b([]);var d=this,e=this.options,k=/^#.+/;this.anchors.each(function(f,j){var h=b(j).attr("href"),r=h.split("#")[0],p;if(r&&(r===location.toString().split("#")[0]||(p=b("base")[0])&&r===p.href)){h=j.hash;j.href=h}if(k.test(h))d.panels=d.panels.add(d._sanitizeSelector(h));else if(h!=
"#"){b.data(j,"href.tabs",h);b.data(j,"load.tabs",h.replace(/#.*$/,""));h=d._tabId(j);j.href="#"+h;r=b("#"+h);if(!r.length){r=b(e.panelTemplate).attr("id",h).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(d.panels[f-1]||d.list);r.data("destroy.tabs",true)}d.panels=d.panels.add(r)}else e.disabled.push(f)});if(c){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");
this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(e.selected===undefined){location.hash&&this.anchors.each(function(f,j){if(j.hash==location.hash){e.selected=f;return false}});if(typeof e.selected!="number"&&e.cookie)e.selected=parseInt(d._cookie(),10);if(typeof e.selected!="number"&&this.lis.filter(".ui-tabs-selected").length)e.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));e.selected=e.selected||0}else if(e.selected===
null)e.selected=-1;e.selected=e.selected>=0&&this.anchors[e.selected]||e.selected<0?e.selected:0;e.disabled=b.unique(e.disabled.concat(b.map(this.lis.filter(".ui-state-disabled"),function(f){return d.lis.index(f)}))).sort();b.inArray(e.selected,e.disabled)!=-1&&e.disabled.splice(b.inArray(e.selected,e.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");if(e.selected>=0&&this.anchors.length){this.panels.eq(e.selected).removeClass("ui-tabs-hide");
this.lis.eq(e.selected).addClass("ui-tabs-selected ui-state-active");d.element.queue("tabs",function(){d._trigger("show",null,d._ui(d.anchors[e.selected],d.panels[e.selected]))});this.load(e.selected)}b(window).bind("unload",function(){d.lis.add(d.anchors).unbind(".tabs");d.lis=d.anchors=d.panels=null})}else e.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));this.element[e.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");e.cookie&&this._cookie(e.selected,e.cookie);c=0;for(var w;w=
this.lis[c];c++)b(w)[b.inArray(c,e.disabled)!=-1&&!b(w).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");e.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(e.event!="mouseover"){var z=function(f,j){j.is(":not(.ui-state-disabled)")&&j.addClass("ui-state-"+f)};this.lis.bind("mouseover.tabs",function(){z("hover",b(this))});this.lis.bind("mouseout.tabs",function(){b(this).removeClass("ui-state-hover")});this.anchors.bind("focus.tabs",
function(){z("focus",b(this).closest("li"))});this.anchors.bind("blur.tabs",function(){b(this).closest("li").removeClass("ui-state-focus")})}var g,o;if(e.fx)if(b.isArray(e.fx)){g=e.fx[0];o=e.fx[1]}else g=o=e.fx;var l=o?function(f,j){b(f).closest("li").removeClass("ui-state-default").addClass("ui-tabs-selected ui-state-active");j.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal",function(){a(j,o);d._trigger("show",null,d._ui(f,j[0]))})}:function(f,j){b(f).closest("li").removeClass("ui-state-default").addClass("ui-tabs-selected ui-state-active");
j.removeClass("ui-tabs-hide");d._trigger("show",null,d._ui(f,j[0]))},i=g?function(f,j){j.animate(g,g.duration||"normal",function(){d.lis.removeClass("ui-tabs-selected ui-state-active").addClass("ui-state-default");j.addClass("ui-tabs-hide");a(j,g);d.element.dequeue("tabs")})}:function(f,j){d.lis.removeClass("ui-tabs-selected ui-state-active").addClass("ui-state-default");j.addClass("ui-tabs-hide");d.element.dequeue("tabs")};this.anchors.bind(e.event+".tabs",function(){var f=this,j=b(this).closest("li"),
h=d.panels.filter(":not(.ui-tabs-hide)"),r=b(d._sanitizeSelector(this.hash));if(j.hasClass("ui-tabs-selected")&&!e.collapsible||j.hasClass("ui-state-disabled")||j.hasClass("ui-state-processing")||d._trigger("select",null,d._ui(this,r[0]))===false){this.blur();return false}e.selected=d.anchors.index(this);d.abort();if(e.collapsible)if(j.hasClass("ui-tabs-selected")){e.selected=-1;e.cookie&&d._cookie(e.selected,e.cookie);d.element.queue("tabs",function(){i(f,h)}).dequeue("tabs");this.blur();return false}else if(!h.length){e.cookie&&
d._cookie(e.selected,e.cookie);d.element.queue("tabs",function(){l(f,r)});d.load(d.anchors.index(this));this.blur();return false}e.cookie&&d._cookie(e.selected,e.cookie);if(r.length){h.length&&d.element.queue("tabs",function(){i(f,h)});d.element.queue("tabs",function(){l(f,r)});d.load(d.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";b.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},destroy:function(){var c=this.options;this.abort();
this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var a=b.data(this,"href.tabs");if(a)this.href=a;var d=b(this).unbind(".tabs");b.each(["href","load","cache"],function(e,k){d.removeData(k+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){b.data(this,"destroy.tabs")?
b(this).remove():b(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});c.cookie&&this._cookie(null,c.cookie)},add:function(c,a,d){if(d===undefined)d=this.anchors.length;var e=this,k=this.options;a=b(k.tabTemplate.replace(/#\{href\}/g,c).replace(/#\{label\}/g,a));c=!c.indexOf("#")?c.replace("#",""):this._tabId(b("a",a)[0]);a.addClass("ui-state-default ui-corner-top").data("destroy.tabs",
true);var w=b("#"+c);w.length||(w=b(k.panelTemplate).attr("id",c).data("destroy.tabs",true));w.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(d>=this.lis.length){a.appendTo(this.list);w.appendTo(this.list[0].parentNode)}else{a.insertBefore(this.lis[d]);w.insertBefore(this.panels[d])}k.disabled=b.map(k.disabled,function(z){return z>=d?++z:z});this._tabify();if(this.anchors.length==1){a.addClass("ui-tabs-selected ui-state-active");w.removeClass("ui-tabs-hide");this.element.queue("tabs",
function(){e._trigger("show",null,e._ui(e.anchors[0],e.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[d],this.panels[d]))},remove:function(c){var a=this.options,d=this.lis.eq(c).remove(),e=this.panels.eq(c).remove();if(d.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(c+(c+1<this.anchors.length?1:-1));a.disabled=b.map(b.grep(a.disabled,function(k){return k!=c}),function(k){return k>=c?--k:k});this._tabify();this._trigger("remove",null,this._ui(d.find("a")[0],
e[0]))},enable:function(c){var a=this.options;if(b.inArray(c,a.disabled)!=-1){this.lis.eq(c).removeClass("ui-state-disabled");a.disabled=b.grep(a.disabled,function(d){return d!=c});this._trigger("enable",null,this._ui(this.anchors[c],this.panels[c]))}},disable:function(c){var a=this.options;if(c!=a.selected){this.lis.eq(c).addClass("ui-state-disabled");a.disabled.push(c);a.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[c],this.panels[c]))}},select:function(c){if(typeof c=="string")c=
this.anchors.index(this.anchors.filter("[href$="+c+"]"));else if(c===null)c=-1;if(c==-1&&this.options.collapsible)c=this.options.selected;this.anchors.eq(c).trigger(this.options.event+".tabs")},load:function(c){var a=this,d=this.options,e=this.anchors.eq(c)[0],k=b.data(e,"load.tabs");this.abort();if(!k||this.element.queue("tabs").length!==0&&b.data(e,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(c).addClass("ui-state-processing");if(d.spinner){var w=b("span",e);w.data("label.tabs",w.html()).html(d.spinner)}this.xhr=
b.ajax(b.extend({},d.ajaxOptions,{url:k,success:function(z,g){b(a._sanitizeSelector(e.hash)).html(z);a._cleanup();d.cache&&b.data(e,"cache.tabs",true);a._trigger("load",null,a._ui(a.anchors[c],a.panels[c]));try{d.ajaxOptions.success(z,g)}catch(o){}a.element.dequeue("tabs")}}))}},abort:function(){this.element.queue([]);this.panels.stop(false,true);if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup()},url:function(c,a){this.anchors.eq(c).removeData("cache.tabs").data("load.tabs",a)},length:function(){return this.anchors.length}});
b.extend(b.ui.tabs,{version:"1.7.2",getter:"length",defaults:{ajaxOptions:null,cache:false,cookie:null,collapsible:false,disabled:[],event:"click",fx:null,idPrefix:"ui-tabs-",panelTemplate:"<div></div>",spinner:"<em>Loading&#8230;</em>",tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>'}});b.extend(b.ui.tabs.prototype,{rotation:null,rotate:function(c,a){var d=this,e=this.options,k=d._rotate||(d._rotate=function(z){clearTimeout(d.rotation);d.rotation=setTimeout(function(){var g=e.selected;
d.select(++g<d.anchors.length?g:0)},c);z&&z.stopPropagation()}),w=d._unrotate||(d._unrotate=!a?function(z){z.clientX&&d.rotate(null)}:function(){t=e.selected;k()});if(c){this.element.bind("tabsshow",k);this.anchors.bind(e.event+".tabs",w);k()}else{clearTimeout(d.rotation);this.element.unbind("tabsshow",k);this.anchors.unbind(e.event+".tabs",w);delete this._rotate;delete this._unrotate}}})})(jQuery);
(function(b){var c={dragStart:"start.draggable",drag:"drag.draggable",dragStop:"stop.draggable",maxHeight:"maxHeight.resizable",minHeight:"minHeight.resizable",maxWidth:"maxWidth.resizable",minWidth:"minWidth.resizable",resizeStart:"start.resizable",resize:"drag.resizable",resizeStop:"stop.resizable"};b.widget("ui.dialog",{_init:function(){this.originalTitle=this.element.attr("title");var a=this,d=this.options,e=d.title||this.originalTitle||"&nbsp;",k=b.ui.dialog.getTitleId(this.element),w=(this.uiDialog=
b("<div/>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+d.dialogClass).css({position:"absolute",overflow:"hidden",zIndex:d.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(o){d.closeOnEscape&&o.keyCode&&o.keyCode==b.ui.keyCode.ESCAPE&&a.close(o)}).attr({role:"dialog","aria-labelledby":k}).mousedown(function(o){a.moveToTop(false,o)});this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(w);
var z=(this.uiDialogTitlebar=b("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(w),g=b('<a href="#"/>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){g.addClass("ui-state-hover")},function(){g.removeClass("ui-state-hover")}).focus(function(){g.addClass("ui-state-focus")}).blur(function(){g.removeClass("ui-state-focus")}).mousedown(function(o){o.stopPropagation()}).click(function(o){a.close(o);return false}).appendTo(z);
(this.uiDialogTitlebarCloseText=b("<span/>")).addClass("ui-icon ui-icon-closethick").text(d.closeText).appendTo(g);b("<span/>").addClass("ui-dialog-title").attr("id",k).html(e).prependTo(z);z.find("*").add(z).disableSelection();d.draggable&&b.fn.draggable&&this._makeDraggable();d.resizable&&b.fn.resizable&&this._makeResizable();this._createButtons(d.buttons);this._isOpen=false;d.bgiframe&&b.fn.bgiframe&&w.bgiframe();d.autoOpen&&this.open()},destroy:function(){this.overlay&&this.overlay.destroy();
this.uiDialog.hide();this.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");this.uiDialog.remove();this.originalTitle&&this.element.attr("title",this.originalTitle)},close:function(a){var d=this;if(false!==d._trigger("beforeclose",a)){d.overlay&&d.overlay.destroy();d.uiDialog.unbind("keypress.ui-dialog");d.options.hide?d.uiDialog.hide(d.options.hide,function(){d._trigger("close",a)}):d.uiDialog.hide()&&d._trigger("close",a);b.ui.dialog.overlay.resize();
d._isOpen=false;if(d.options.modal){var e=0;b(".ui-dialog").each(function(){if(this!=d.uiDialog[0])e=Math.max(e,b(this).css("z-index"))});b.ui.dialog.maxZ=e}}},isOpen:function(){return this._isOpen},moveToTop:function(a,d){if(this.options.modal&&!a||!this.options.stack&&!this.options.modal)return this._trigger("focus",d);if(this.options.zIndex>b.ui.dialog.maxZ)b.ui.dialog.maxZ=this.options.zIndex;this.overlay&&this.overlay.$el.css("z-index",b.ui.dialog.overlay.maxZ=++b.ui.dialog.maxZ);var e={scrollTop:this.element.attr("scrollTop"),
scrollLeft:this.element.attr("scrollLeft")};this.uiDialog.css("z-index",++b.ui.dialog.maxZ);this.element.attr(e);this._trigger("focus",d)},open:function(){if(!this._isOpen){var a=this.options,d=this.uiDialog;this.overlay=a.modal?new b.ui.dialog.overlay(this):null;d.next().length&&d.appendTo("body");this._size();this._position(a.position);d.show(a.show);this.moveToTop(true);a.modal&&d.bind("keypress.ui-dialog",function(e){if(e.keyCode==b.ui.keyCode.TAB){var k=b(":tabbable",this),w=k.filter(":first")[0],
z=k.filter(":last")[0];if(e.target==z&&!e.shiftKey)setTimeout(function(){w.focus()},1);else e.target==w&&e.shiftKey&&setTimeout(function(){z.focus()},1)}});b([]).add(d.find(".ui-dialog-content :tabbable:first")).add(d.find(".ui-dialog-buttonpane :tabbable:first")).add(d).filter(":first").focus();this._trigger("open");this._isOpen=true}},_createButtons:function(a){var d=this,e=false,k=b("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");this.uiDialog.find(".ui-dialog-buttonpane").remove();
typeof a=="object"&&a!==null&&b.each(a,function(){return!(e=true)});if(e){b.each(a,function(w,z){b('<button type="button"></button>').addClass("ui-state-default ui-corner-all").text(w).click(function(){z.apply(d.element[0],arguments)}).hover(function(){b(this).addClass("ui-state-hover")},function(){b(this).removeClass("ui-state-hover")}).focus(function(){b(this).addClass("ui-state-focus")}).blur(function(){b(this).removeClass("ui-state-focus")}).appendTo(k)});k.appendTo(this.uiDialog)}},_makeDraggable:function(){var a=
this,d=this.options,e;this.uiDialog.draggable({cancel:".ui-dialog-content",handle:".ui-dialog-titlebar",containment:"document",start:function(){e=d.height;b(this).height(b(this).height()).addClass("ui-dialog-dragging");d.dragStart&&d.dragStart.apply(a.element[0],arguments)},drag:function(){d.drag&&d.drag.apply(a.element[0],arguments)},stop:function(){b(this).removeClass("ui-dialog-dragging").height(e);d.dragStop&&d.dragStop.apply(a.element[0],arguments);b.ui.dialog.overlay.resize()}})},_makeResizable:function(a){a=
a===undefined?this.options.resizable:a;var d=this,e=this.options;this.uiDialog.resizable({cancel:".ui-dialog-content",alsoResize:this.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:e.minHeight,start:function(){b(this).addClass("ui-dialog-resizing");e.resizeStart&&e.resizeStart.apply(d.element[0],arguments)},resize:function(){e.resize&&e.resize.apply(d.element[0],arguments)},handles:typeof a=="string"?a:"n,e,s,w,se,sw,ne,nw",stop:function(){b(this).removeClass("ui-dialog-resizing");
e.height=b(this).height();e.width=b(this).width();e.resizeStop&&e.resizeStop.apply(d.element[0],arguments);b.ui.dialog.overlay.resize()}}).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_position:function(a){var d=b(window),e=b(document),k=e.scrollTop();e=e.scrollLeft();var w=k;if(b.inArray(a,["center","top","right","bottom","left"])>=0)a=[a=="right"||a=="left"?a:"center",a=="top"||a=="bottom"?a:"middle"];if(a.constructor!=Array)a=["center","middle"];if(a[0].constructor==Number)e+=
a[0];else switch(a[0]){case "left":e+=0;break;case "right":e+=d.width()-this.uiDialog.outerWidth();break;default:case "center":e+=(d.width()-this.uiDialog.outerWidth())/2}if(a[1].constructor==Number)k+=a[1];else switch(a[1]){case "top":k+=0;break;case "bottom":k+=d.height()-this.uiDialog.outerHeight();break;default:case "middle":k+=(d.height()-this.uiDialog.outerHeight())/2}k=Math.max(k,w);this.uiDialog.css({top:k,left:e})},_setData:function(a,d){c[a]&&this.uiDialog.data(c[a],d);switch(a){case "buttons":this._createButtons(d);
break;case "closeText":this.uiDialogTitlebarCloseText.text(d);break;case "dialogClass":this.uiDialog.removeClass(this.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+d);break;case "draggable":d?this._makeDraggable():this.uiDialog.draggable("destroy");break;case "height":this.uiDialog.height(d);break;case "position":this._position(d);break;case "resizable":var e=this.uiDialog,k=this.uiDialog.is(":data(resizable)");k&&!d&&e.resizable("destroy");k&&typeof d=="string"&&
e.resizable("option","handles",d);k||this._makeResizable(d);break;case "title":b(".ui-dialog-title",this.uiDialogTitlebar).html(d||"&nbsp;");break;case "width":this.uiDialog.width(d);break}b.widget.prototype._setData.apply(this,arguments)},_size:function(){var a=this.options;this.element.css({height:0,minHeight:0,width:"auto"});var d=this.uiDialog.css({height:"auto",width:a.width}).height();this.element.css({minHeight:Math.max(a.minHeight-d,0),height:a.height=="auto"?"auto":Math.max(a.height-d,0)})}});
b.extend(b.ui.dialog,{version:"1.7.2",defaults:{autoOpen:true,bgiframe:false,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:"center",resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},getter:"isOpen",uuid:0,maxZ:0,getTitleId:function(a){return"ui-dialog-title-"+(a.attr("id")||++this.uuid)},overlay:function(a){this.$el=b.ui.dialog.overlay.create(a)}});
b.extend(b.ui.dialog.overlay,{instances:[],maxZ:0,events:b.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(a){if(this.instances.length===0){setTimeout(function(){b.ui.dialog.overlay.instances.length&&b(document).bind(b.ui.dialog.overlay.events,function(e){return(b(e.target).parents(".ui-dialog").css("zIndex")||0)>b.ui.dialog.overlay.maxZ})},1);b(document).bind("keydown.dialog-overlay",function(e){a.options.closeOnEscape&&
e.keyCode&&e.keyCode==b.ui.keyCode.ESCAPE&&a.close(e)});b(window).bind("resize.dialog-overlay",b.ui.dialog.overlay.resize)}var d=b("<div></div>").appendTo(document.body).addClass("ui-widget-overlay").css({width:this.width(),height:this.height()});a.options.bgiframe&&b.fn.bgiframe&&d.bgiframe();this.instances.push(d);return d},destroy:function(a){this.instances.splice(b.inArray(this.instances,a),1);this.instances.length===0&&b([document,window]).unbind(".dialog-overlay");a.remove();var d=0;b.each(this.instances,
function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){if(b.browser.msie&&b.browser.version<7){var a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return a<Math.max(document.documentElement.offsetHeight,document.body.offsetHeight)?b(window).height()+"px":a+"px"}else return b(document).height()+"px"},width:function(){if(b.browser.msie&&b.browser.version<7){var a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);return a<Math.max(document.documentElement.offsetWidth,
document.body.offsetWidth)?b(window).width()+"px":a+"px"}else return b(document).width()+"px"},resize:function(){var a=b([]);b.each(b.ui.dialog.overlay.instances,function(){a=a.add(this)});a.css({width:0,height:0}).css({width:b.ui.dialog.overlay.width(),height:b.ui.dialog.overlay.height()})}});b.extend(b.ui.dialog.overlay.prototype,{destroy:function(){b.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
(function(){function b(f){if(!f||typeof f!="object")return f;var j=new f.constructor;for(var h in f)if(f.hasOwnProperty(h))j[h]=b(f[h]);return j}function c(f,j){if(f){var h,r=0,p=f.length;if(p===undefined)for(h in f){if(j.call(f[h],h,f[h])===false)break}else for(h=f[0];r<p&&j.call(h,r,h)!==false;h=f[++r]);return f}}function a(f,j,h){if(typeof j!="object")return f;f&&j&&c(j,function(r,p){if(!h||typeof p!="function")f[r]=p});return f}function d(f){var j=f.indexOf(".");if(j!=-1){var h=f.substring(0,
j)||"*",r=f.substring(j+1,f.length),p=[];c(document.getElementsByTagName(h),function(){this.className&&this.className.indexOf(r)!=-1&&p.push(this)});return p}}function e(f){f=f||window.event;if(f.preventDefault){f.stopPropagation();f.preventDefault()}else{f.returnValue=false;f.cancelBubble=true}return false}function k(f,j,h){f[j]=f[j]||[];f[j].push(h)}function w(){return"_"+(""+Math.random()).substring(2,10)}function z(f,j,h){function r(){function u(m){!p.isLoaded()&&p._fireEvent("onBeforeClick")!==
false&&p.load();return e(m)}if($f(f)){$f(f).getParent().innerHTML="";S=$f(f).getIndex();i[S]=p}else{i.push(p);S=i.length-1}U=parseInt(f.style.height,10)||f.clientHeight;if(typeof j=="string")j={src:j};I=f.id||"fp"+w();V=j.id||I+"_api";j.id=V;h.playerId=I;if(typeof h=="string")h={clip:{url:h}};if(typeof h.clip=="string")h.clip={url:h.clip};h.clip=h.clip||{};if(f.getAttribute("href",2)&&!h.clip.url)h.clip.url=f.getAttribute("href",2);v=new o(h.clip,-1,p);h.playlist=h.playlist||[h.clip];var G=0;c(h.playlist,
function(){var m=this;if(typeof m=="object"&&m.length)m={url:""+m};c(h.clip,function(s,B){if(B!==undefined&&m[s]===undefined&&typeof B!="function")m[s]=B});h.playlist[G]=m;m=new o(m,G,p);y.push(m);G++});c(h,function(m,s){if(typeof s=="function"){v[m]?v[m](s):k(H,m,s);delete h[m]}});c(h.plugins,function(m,s){if(s)E[m]=new l(m,s,p)});if(!h.plugins||h.plugins.controls===undefined)E.controls=new l("controls",null,p);E.canvas=new l("canvas",null,p);j.bgcolor=j.bgcolor||"#000000";j.version=j.version||[9,
0];j.expressInstall="http://www.flowplayer.org/swf/expressinstall.swf";K=f.innerHTML;if(K.replace(/\s/g,"")!=="")if(f.addEventListener)f.addEventListener("click",u,false);else f.attachEvent&&f.attachEvent("onclick",u);else{f.addEventListener&&f.addEventListener("click",e,false);p.load()}}var p=this,q=null,K,v,y=[],E={},H={},I,V,S,P,L,U;a(p,{id:function(){return I},isLoaded:function(){return q!==null},getParent:function(){return f},hide:function(u){if(u)f.style.height="0px";if(q)q.style.height="0px";
return p},show:function(){f.style.height=U+"px";if(q)q.style.height=L+"px";return p},isHidden:function(){return q&&parseInt(q.style.height,10)===0},load:function(u){if(!q&&p._fireEvent("onBeforeLoad")!==false){c(i,function(){this.unload()});if((K=f.innerHTML)&&!flashembed.isSupported(j.version))f.innerHTML="";flashembed(f,j,{config:h});if(u){u.cached=true;k(H,"onLoad",u)}}return p},unload:function(){if(K.replace(/\s/g,"")!==""){if(p._fireEvent("onBeforeUnload")===false)return p;try{if(q){q.fp_close();
p._fireEvent("onUnload")}}catch(u){}q=null;f.innerHTML=K}return p},getClip:function(u){if(u===undefined)u=P;return y[u]},getCommonClip:function(){return v},getPlaylist:function(){return y},getPlugin:function(u){var G=E[u];if(!G&&p.isLoaded()){var m=p._api().fp_getPlugin(u);if(m){G=new l(u,m,p);E[u]=G}}return G},getScreen:function(){return p.getPlugin("screen")},getControls:function(){return p.getPlugin("controls")},getConfig:function(u){return u?b(h):h},getFlashParams:function(){return j},loadPlugin:function(u,
G,m,s){if(typeof m=="function"){s=m;m={}}var B=s?w():"_";p._api().fp_loadPlugin(u,G,m,B);G={};G[B]=s;s=new l(u,null,p,G);return E[u]=s},getState:function(){return q?q.fp_getState():-1},play:function(u,G){function m(){u!==undefined?p._api().fp_play(u,G):p._api().fp_play()}q?m():p.load(function(){m()});return p},getVersion:function(){if(q){var u=q.fp_getVersion();u.push("flowplayer.js 3.1.4");return u}return"flowplayer.js 3.1.4"},_api:function(){if(!q)throw"Flowplayer "+p.id()+" not loaded when calling an API method";
return q},setClip:function(u){p.setPlaylist([u]);return p},getIndex:function(){return S}});c("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut".split(","),function(){var u="on"+this;if(u.indexOf("*")!=-1){u=u.substring(0,u.length-1);var G="onBefore"+u.substring(2);p[G]=function(m){k(H,G,m);return p}}p[u]=function(m){k(H,u,m);return p}});c("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed".split(","),
function(){var u=this;p[u]=function(G,m){if(!q)return p;var s=null;s=G!==undefined&&m!==undefined?q["fp_"+u](G,m):G===undefined?q["fp_"+u]():q["fp_"+u](G);return s==="undefined"||s===undefined?p:s}});p._fireEvent=function(u){if(typeof u=="string")u=[u];var G=u[0],m=u[1],s=u[2],B=u[3],A=0;h.debug&&console.log("$f.fireEvent",[].slice.call(u));if(!q&&G=="onLoad"&&m=="player"){q=q||document.getElementById(V);L=q.clientHeight;c(y,function(){this._fireEvent("onLoad")});c(E,function(Q,T){T._fireEvent("onUpdate")});
v._fireEvent("onLoad")}if(!(G=="onLoad"&&m!="player")){if(G=="onError")if(typeof m=="string"||typeof m=="number"&&typeof s=="number"){m=s;s=B}if(G=="onContextMenu")c(h.contextMenu[m],function(Q,T){T.call(p)});else if(G=="onPluginEvent"){if(B=E[m.name||m]){B._fireEvent("onUpdate",m);B._fireEvent(s,u.slice(3))}}else{if(G=="onPlaylistReplace"){y=[];var D=0;c(m,function(){y.push(new o(this,D++,p))})}if(G=="onClipAdd"){if(m.isInStream)return;m=new o(m,s,p);y.splice(s,0,m);for(A=s+1;A<y.length;A++)y[A].index++}var C=
true;if(typeof m=="number"&&m<y.length){P=m;if(u=y[m])C=u._fireEvent(G,s,B);if(!u||C!==false)C=v._fireEvent(G,s,B,u)}c(H[G],function(){C=this.call(p,m,s);this.cached&&H[G].splice(A,1);if(C===false)return false;A++});return C}}};typeof f=="string"?flashembed.domReady(function(){var u=document.getElementById(f);if(u){f=u;r()}else throw"Flowplayer cannot access element: "+f;}):r()}function g(f){this.length=f.length;this.each=function(j){c(f,j)};this.size=function(){return f.length}}var o=function(f,
j,h){var r=this,p={},q={};r.index=j;if(typeof f=="string")f={url:f};a(this,f,true);c("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop".split(","),function(){var v="on"+this;if(v.indexOf("*")!=-1){v=v.substring(0,v.length-1);var y="onBefore"+v.substring(2);r[y]=function(E){k(q,y,E);return r}}r[v]=function(E){k(q,v,E);return r};if(j==-1){if(r[y])h[y]=r[y];if(r[v])h[v]=r[v]}});a(this,{onCuepoint:function(v,y){if(arguments.length==1){p.embedded=[null,
v];return r}if(typeof v=="number")v=[v];var E=w();p[E]=[v,y];h.isLoaded()&&h._api().fp_addCuepoints(v,j,E);return r},update:function(v){a(r,v);h.isLoaded()&&h._api().fp_updateClip(v,j);var y=h.getConfig();a(j==-1?y.clip:y.playlist[j],v,true)},_fireEvent:function(v,y,E,H){if(v=="onLoad"){c(p,function(S,P){P[0]&&h._api().fp_addCuepoints(P[0],j,S)});return false}H=H||r;if(v=="onCuepoint"){var I=p[y];if(I)return I[1].call(h,H,E)}if(y&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(v)!=-1){a(H,
y);if(y.metaData)if(H.duration)H.fullDuration=y.metaData.duration;else H.duration=y.metaData.duration}var V=true;c(q[v],function(){V=this.call(h,H,y,E)});return V}});if(f.onCuepoint){var K=f.onCuepoint;r.onCuepoint.apply(r,typeof K=="function"?[K]:K);delete f.onCuepoint}c(f,function(v,y){if(typeof y=="function"){k(q,v,y);delete f[v]}});if(j==-1)h.onCuepoint=this.onCuepoint},l=function(f,j,h,r){var p={},q=this,K=false;r&&a(p,r);c(j,function(v,y){if(typeof y=="function"){p[v]=y;delete j[v]}});a(this,
{animate:function(v,y,E){if(!v)return q;if(typeof y=="function"){E=y;y=500}if(typeof v=="string"){var H=v;v={};v[H]=y;y=500}if(E){var I=w();p[I]=E}if(y===undefined)y=500;j=h._api().fp_animate(f,v,y,I);return q},css:function(v,y){if(y!==undefined){var E={};E[v]=y;v=E}j=h._api().fp_css(f,v);a(q,j);return q},show:function(){this.display="block";h._api().fp_showPlugin(f);return q},hide:function(){this.display="none";h._api().fp_hidePlugin(f);return q},toggle:function(){this.display=h._api().fp_togglePlugin(f);
return q},fadeTo:function(v,y,E){if(typeof y=="function"){E=y;y=500}if(E){var H=w();p[H]=E}this.display=h._api().fp_fadeTo(f,v,y,H);this.opacity=v;return q},fadeIn:function(v,y){return q.fadeTo(1,v,y)},fadeOut:function(v,y){return q.fadeTo(0,v,y)},getName:function(){return f},getPlayer:function(){return h},_fireEvent:function(v,y){if(v=="onUpdate"){var E=h._api().fp_getPlugin(f);if(!E)return;a(q,E);delete q.methods;if(!K){c(E.methods,function(){var H=""+this;q[H]=function(){var I=[].slice.call(arguments);
I=h._api().fp_invoke(f,H,I);return I==="undefined"||I===undefined?q:I}});K=true}}if(E=p[v]){E.apply(q,y);v.substring(0,1)=="_"&&delete p[v]}}})},i=[];window.flowplayer=window.$f=function(){var f=null,j=arguments[0];if(!arguments.length){c(i,function(){if(this.isLoaded()){f=this;return false}});return f||i[0]}if(arguments.length==1)if(typeof j=="number")return i[j];else{if(j=="*")return new g(i);c(i,function(){if(this.id()==j.id||this.id()==j||this.getParent()==j){f=this;return false}});return f}if(arguments.length>
1){var h=arguments[1],r=arguments.length==3?arguments[2]:{};if(typeof j=="string")if(j.indexOf(".")!=-1){var p=[];c(d(j),function(){p.push(new z(this,b(h),b(r)))});return new g(p)}else{var q=document.getElementById(j);return new z(q!==null?q:j,h,r)}else if(j)return new z(j,h,r)}return null};a(window.$f,{fireEvent:function(){var f=[].slice.call(arguments),j=$f(f[0]);return j?j._fireEvent(f.slice(1)):null},addPlugin:function(f,j){z.prototype[f]=j;return $f},each:c,extend:a});if(typeof jQuery=="function")jQuery.prototype.flowplayer=
function(f,j){if(!arguments.length||typeof arguments[0]=="number"){var h=[];this.each(function(){var r=$f(this);r&&h.push(r)});return arguments.length?h[arguments[0]]:new g(h)}return this.each(function(){$f(this,b(f),j?b(j):{})})}})();
(function(){function b(){if(o.done)return false;var l=document;if(l&&l.getElementsByTagName&&l.getElementById&&l.body){clearInterval(o.timer);o.timer=null;for(l=0;l<o.ready.length;l++)o.ready[l].call();o.ready=null;o.done=true}}function c(l,i){if(i)for(key in i)if(i.hasOwnProperty(key))l[key]=i[key];return l}function a(l){switch(d(l)){case "string":l=l.replace(RegExp('(["\\\\])',"g"),"\\$1");l=l.replace(/^\s?(\d+)%/,"$1pct");return'"'+l+'"';case "array":return"["+e(l,function(j){return a(j)}).join(",")+
"]";case "function":return'"function()"';case "object":var i=[];for(var f in l)l.hasOwnProperty(f)&&i.push('"'+f+'":'+a(l[f]));return"{"+i.join(",")+"}"}return String(l).replace(/\s/g," ").replace(/\'/g,'"')}function d(l){if(l===null||l===undefined)return false;var i=typeof l;return i=="object"&&l.push?"array":i}function e(l,i){var f=[];for(var j in l)if(l.hasOwnProperty(j))f[j]=i(l[j]);return f}function k(l,i){var f=c({},l),j=document.all,h='<object width="'+f.width+'" height="'+f.height+'"';if(j&&
!f.id)f.id="_"+(""+Math.random()).substring(9);if(f.id)h+=' id="'+f.id+'"';if(f.cachebusting)f.src+=(f.src.indexOf("?")!=-1?"&":"?")+Math.random();h+=f.w3c||!j?' data="'+f.src+'" type="application/x-shockwave-flash"':' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';h+=">";if(f.w3c||j)h+='<param name="movie" value="'+f.src+'" />';f.width=f.height=f.id=f.w3c=f.src=null;for(var r in f)if(f[r]!==null)h+='<param name="'+r+'" value="'+f[r]+'" />';f="";if(i){for(var p in i)if(i[p]!==null)f+=p+"="+
(typeof i[p]=="object"?a(i[p]):i[p])+"&";f=f.substring(0,f.length-1);h+='<param name="flashvars" value=\''+f+"' />"}h+="</object>";return h}function w(l,i,f){var j=flashembed.getVersion();c(this,{getContainer:function(){return l},getConf:function(){return i},getVersion:function(){return j},getFlashvars:function(){return f},getApi:function(){return l.firstChild},getHTML:function(){return k(i,f)}});var h=i.version,r=i.expressInstall,p=!h||flashembed.isSupported(h);if(p){i.onFail=i.version=i.expressInstall=
null;l.innerHTML=k(i,f)}else if(h&&r&&flashembed.isSupported([6,65])){c(i,{src:r});f={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};l.innerHTML=k(i,f)}else if(l.innerHTML.replace(/\s/g,"")===""){l.innerHTML="<div class='not-installed-flash'><h2>Flash version "+h+" or greater is required</h2><h3>"+(j[0]>0?"Your version is "+j:"You have no flash plugin installed")+"</h3>"+(l.tagName=="A"?"<p>Click here to download latest version</p></div>":"<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer' target='_blank'>here</a></p></div>");
if(l.tagName=="A")l.onclick=function(){window.open("http://www.adobe.com/go/getflashplayer")}}if(!p&&i.onFail){h=i.onFail.call(this);if(typeof h=="string")l.innerHTML=h}if(document.all)window[i.id]=document.getElementById(i.id)}var z=typeof jQuery=="function",g={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(z){jQuery.tools=jQuery.tools||{};jQuery.tools.flashembed={version:"1.0.4",
conf:g}}var o=z?jQuery:function(l){if(o.done)return l();if(o.timer)o.ready.push(l);else{o.ready=[l];o.timer=setInterval(b,13)}};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}});window.flashembed=function(l,i,f){if(typeof l=="string"){var j=document.getElementById(l);if(j)l=j;else{o(function(){flashembed(l,i,f)});return}}if(l){if(typeof i=="string")i={src:i};j=c({},g);c(j,i);return new w(l,j,f)}};c(window.flashembed,
{getVersion:function(){var l=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var i=navigator.plugins["Shockwave Flash"].description;if(typeof i!="undefined"){i=i.replace(/^.*\s+(\S+\s+\S+$)/,"$1");l=parseInt(i.replace(/^(.*)\..*$/,"$1"),10);i=/r/.test(i)?parseInt(i.replace(/^.*r(.*)$/,"$1"),10):0;l=[l,i]}}else if(window.ActiveXObject){try{i=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(f){try{i=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");l=
[6,0];i.AllowScriptAccess="always"}catch(j){if(l[0]==6)return l}try{i=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(h){}}if(typeof i=="object"){i=i.GetVariable("$version");if(typeof i!="undefined"){i=i.replace(/^\S+\s+(.*)$/,"$1").split(",");l=[parseInt(i[0],10),parseInt(i[2],10)]}}}return l},isSupported:function(l){var i=flashembed.getVersion();return i[0]>l[0]||i[0]==l[0]&&i[1]>=l[1]},domReady:o,asString:a,getHTML:k});if(z)jQuery.fn.flashembed=function(l,i){var f=null;this.each(function(){f=
flashembed(this,l,i)});return l.api===false?this:f}})();function parseErr(b,c){document.getElementById(b).innerHTML=c}function redirectTo(b){location.href=b}function ajax_connect(b,c,a,d){$.ajax({type:c,url:b,data:a,success:function(e){$("#"+d).html(e)}})}
function toSendSong(b){var c=$.browser.msie;if(confirm("\u60a8\u8981\u9ede\u6b4c\u7d66 Facebook \u4e0a\u7684\u597d\u53cb\u561b?"))if(c)window.open("/fbsend_song.php?song_id="+b);else location.href="/fbsend_song.php?song_id="+b;else location.href="kkbox://send_song_"+b}
function toPush(b,c,a,d,e){if(d==""||d==undefined)d=document.URL;a=a.replace("(","\uff08");a=a.replace(")","\uff09");switch(c){case "plurk":toPlurk(e,b,a,d);break;case "twitter":toTwitter(b,a,d);break;case "facebook":toFacebook(e,a,d);break;case "sinavivi":toSinavivi(a,d);break}}
function toPlurk(b,c,a,d){window.open("http://www.plurk.com/?qualifier="+b+"&status=".concat(encodeURIComponent(c)).concat(" ").concat(encodeURIComponent(d)).concat(" ").concat("(").concat(encodeURIComponent(a)).concat(")"))}function toTwitter(b,c,a){window.open("http://twitter.com/home/?status=".concat(encodeURIComponent(b)).concat(" ").concat(encodeURIComponent(c)).concat(" ").concat(encodeURIComponent(a)))}
function toFacebook(b,c,a){window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(a)+"&t="+encodeURIComponent(c),b,"toolbar=0,status=0,width=626,height=436")}function toSinavivi(b,c){window.open("http://v.t.sina.com.cn/share/share.php?url="+encodeURIComponent(c)+"&title="+encodeURIComponent(b));encodeURIComponent(c)}function save_mv_record(b){b=parseInt(b);if(KKBOX.bIsKKBOX){window.external.KKGetMvInfo(b);window.external.KKPlayCtrlPause()}}
function test_debug(b){var c="";c=(c=$("#debug_span").text())?c+b:b;$("#debug_span").text(c)}function randomString(){return(new Date).getTime()}function get_comments(b){hideDiv("comments-"+b);var c=document.getElementById("read-comments-"+b);$.get(c.href,function(a){$(c).removeClass("comments-hide").addClass("comments-show").data("loaded",true).parents(".right-column").addClass("alt").append(a)});return false}var maxChars=200,msg={};msg.post="\u767c\u8868\u56de\u61c9";msg.remaining="\u5269\u9918\u7684\u5b57\u5143\u6578\uff1a";
msg.discard="\u53d6\u6d88";msg.exceeded="\u5b57\u5143\u6578\u8d85\u904e\u9650\u5236\uff1a";msg.add="\u6b63\u5728\u65b0\u589e,\u8acb\u7a0d\u5f8c...";msg.show_comment="\u8b80\u53d6\u56de\u61c9\u4e2d,\u8acb\u7a0d\u5f8c...";msg.empty="\u60a8\u5fc5\u9808\u8f38\u5165\u56de\u61c9\uff01";msg.toolong="\u60a8\u7684\u56de\u61c9\u5fc5\u9808\u5c11\u65bc "+maxChars+" \u500b\u5b57\u5143\uff01";
function add_comment(b,c){if(!KKBOX.isLogin){alert(login_error.unlogin);return false}var a="reply-comments"+b;if($("#"+c).find("#"+a).length>0)return false;var d="charCountId"+b,e="maxCharLabelId"+b;a='\t\t       <div id="'+a+'" class="clearfix">\t\t       <textarea id="'+("comment-textarea"+b)+'" name="comment" \t\t       cols="54" rows="5" onkeyup="updateCharCount(\''+d+"', '"+e+"', this); \"\t\t       onpaste=\"updateCharCount('"+d+"', '"+e+"', this);\"\t\t       oninput=\"updateCharCount('"+d+
"', '"+e+'\', this);"\t\t       ></textarea>\t\t       <br/>\t\t       <div style="float:left;clear:left">\t\t       <input align="left" type="button" id="'+("add_comment_button"+b)+'" name="add_comment_button"\t\t       value="'+msg.post+'" \t\t       onclick="postComment(\''+b+'\');">\t\t       <input align="left" type="button" name="discard_comment_button"\t\t       value="'+msg.discard+'"\t\t       onclick="hideDiv(\''+a+'\');">\t\t       <span id="'+e+'">'+msg.remaining+'</span><span class="count" id="'+
d+'">'+maxChars+"</span>\t\t       </div></div>";$("#"+c).prepend(a)}
function postComment(b){if(!KKBOX.isLogin){alert(login_error.unlogin);return false}var c="reply-comments"+b,a="comment-textarea"+b,d="add_comment_button"+b,e=/^\s{1,}$/g,k=document.getElementById(a).value;if(k.length==0||k==null||k.search(e)>-1){alert(msg.empty);document.getElementById(a).focus();return false}if(k.length>maxChars){alert(msg.toolong);return false}a.disabled=true;$("#"+d).attr("value",msg.add);$("#"+d).attr("disabled",true);$.get("/ajax/set_collect_rating.php",{act:"comment",review_id:b,
comment:k},function(){change_comments_total(b);hideDiv(c);hideDiv("comments-"+b);get_comments(b)})}function hideDiv(b){$("#"+b).remove()}
function updateCharCount(b,c,a,d){if(d>0)maxChars=d;if(a.value.length>maxChars){if(document.getElementById(c).innerHTML!=msg.exceeded){document.getElementById(c).innerHTML=msg.exceeded;document.getElementById(c).style.color="#FE2020"}document.getElementById(b).innerHTML=a.value.length-maxChars}else{if(document.getElementById(c).innerHTML!=msg.remaining){document.getElementById(c).innerHTML=msg.remaining;document.getElementById(c).style.color="#414141"}document.getElementById(b).innerHTML=maxChars-
a.value.length}}function set_rate(b,c){if(!KKBOX.isLogin){alert(login_error.unlogin);return false}ajax_connect("/ajax/set_collect_rating.php","get","act=rate&review_id="+b+"&rate="+c,"debug")}function change_rate(b,c){var a="recommend-count-"+b,d="recommend-total-"+b,e=parseInt($("#"+d).text());if(c>0){var k=parseInt($("#"+a).text());k++;$("#"+a).text(k)}e++;$("#"+d).text(e)}function change_comments_total(b){b="comment-total-"+b;var c=parseInt($("#"+b).text());c++;$("#"+b).text(c)}
function reg_mybox(){$.fn.colorbox({href:"/ajax/reg_mybox.php",open:true,width:450,height:270})}
function check_ie(b,c,a){if(KKBOX._AP=="WEB"){var d=$.browser.version;$.browser.msie&&d=="8.0"?ie8_new_func(b,c,a):alert("\u60a8\u7684\u700f\u89bd\u5668\u4e0d\u662fIE 8\uff0c\u672c\u529f\u80fd\u9700\u5728IE 8\u700f\u89bd\u5668\u4e2d\u958b\u555f\uff0c\u8acb\u958b\u555f\u60a8\u7684IE 8\u700f\u89bd\u5668\u518d\u8a66\u4e00\u6b21\u3002")}else(sure=confirm("\u672c\u529f\u80fd\u53ea\u80fd\u5728\u7db2\u9801\u700f\u89bd\u5668\u4e2d\u958b\u555f\uff0c\u78ba\u5b9a\u8981\u958b\u555f\u60a8\u7684\u7db2\u9801\u700f\u89bd\u5668\u55ce?"))&&window.open("http://www.kkbox.com/click.php?from=b792ee33&pno=0_185&pcomment=more_ie8",
"_blank")}function ie8_new_func(b,c,a){if(b=="accel")window.external.addService(c);else if(b=="slice")window.external.AddToFavoritesBar(c,a,"slice");else b=="search"&&window.external.AddSearchProvider(c)};
