$(document).ready(function(){$.fn.resize=function(n){var t=$.extend({scale:1,maxWidth:null,maxHeight:null},n);return this.each(function(){var n,i,u,f,e,r,o,s;return this.tagName.toLowerCase()!="img"?$(this):(n=this.naturalWidth,i=this.naturalHeight,n&&i||(u=document.createElement("img"),u.src=this.src,n=u.width,i=u.height),t.scale!=1&&(n=n*t.scale,i=i*t.scale),f=1,t.maxWidth!=null&&(f=n/t.maxWidth),e=1,t.maxHeight!=null&&(e=i/t.maxHeight),r=1,r=f<e?e:f,r<1&&(r=1),o=n/r,s=i/r,$(this).attr("width",o).attr("height",s))})}}),function(n){n.extend(n.fn,{swapClass:function(n,t){var i=this.filter("."+n);return this.filter("."+t).removeClass(t).addClass(n),i.removeClass(n).addClass(t),this},replaceClass:function(n,t){return this.filter("."+n).removeClass(n).addClass(t).end()},hoverClass:function(t){return t=t||"hover",this.hover(function(){n(this).addClass(t)},function(){n(this).removeClass(t)})},heightToggle:function(n,t){n?this.animate({height:"toggle"},n,t):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();t&&t.apply(this,arguments)})},heightHide:function(n,t){n?this.animate({height:"hide"},n,t):(this.hide(),t&&this.each(t))},prepareBranches:function(n){return n.prerendered||(this.filter(":last-child:not(ul)").addClass(t.last),this.filter((n.collapsed?"":"."+t.closed)+":not(."+t.open+")").find(">ul").hide()),this.filter(":has(>ul)")},applyClasses:function(i,r){this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(){r.apply(n(this).next())}).add(n("a",this)).hoverClass();i.prerendered||(this.filter(":has(>ul:hidden)").addClass(t.expandable).replaceClass(t.last,t.lastExpandable),this.not(":has(>ul:hidden)").addClass(t.collapsable).replaceClass(t.last,t.lastCollapsable),this.prepend('<div class="'+t.hitarea+'"/>').find("div."+t.hitarea).each(function(){var t="";n.each(n(this).parent().attr("class").split(" "),function(){t+=this+"-hitarea "});n(this).addClass(t)}));this.find("div."+t.hitarea).click(r)},treeview:function(i){function s(i,r){function u(r){return function(){return f.apply(n("div."+t.hitarea,i).filter(function(){return r?n(this).parent("."+r).length:!0})),!1}}n("a:eq(0)",r).click(u(t.collapsable));n("a:eq(1)",r).click(u(t.expandable));n("a:eq(2)",r).click(u())}function f(){n(this).parent().find(">.hitarea").swapClass(t.collapsableHitarea,t.expandableHitarea).swapClass(t.lastCollapsableHitarea,t.lastExpandableHitarea).end().swapClass(t.collapsable,t.expandable).swapClass(t.lastCollapsable,t.lastExpandable).find(">ul").heightToggle(i.animated,i.toggle);i.unique&&n(this).parent().siblings().find(">.hitarea").replaceClass(t.collapsableHitarea,t.expandableHitarea).replaceClass(t.lastCollapsableHitarea,t.lastExpandableHitarea).end().replaceClass(t.collapsable,t.expandable).replaceClass(t.lastCollapsable,t.lastExpandable).find(">ul").heightHide(i.animated,i.toggle)}function h(){var t=[];r.each(function(i,r){t[i]=n(r).is(":has(>ul:visible)")?1:0});n.cookie(i.cookieId,t.join(""))}function c(){var t=n.cookie(i.cookieId),u;t&&(u=t.split(""),r.each(function(t,i){n(i).find(">ul")[parseInt(u[t])?"show":"hide"]()}))}var o,r,e,u;if(i=n.extend({cookieId:"treeview"},i),i.add)return this.trigger("add",[i.add]);i.toggle&&(o=i.toggle,i.toggle=function(){return o.apply(n(this).parent()[0],arguments)});this.addClass("treeview");r=this.find("li").prepareBranches(i);switch(i.persist){case"cookie":e=i.toggle;i.toggle=function(){h();e&&e.apply(this,arguments)};c();break;case"location":u=this.find("a").filter(function(){return this.href.toLowerCase()==location.href.toLowerCase()});u.length&&u.addClass("selected").parents("ul, li").add(u.next()).show()}return r.applyClasses(i,f),i.control&&(s(this,i.control),n(i.control).show()),this.bind("add",function(r,u){n(u).prev().removeClass(t.last).removeClass(t.lastCollapsable).removeClass(t.lastExpandable).find(">.hitarea").removeClass(t.lastCollapsableHitarea).removeClass(t.lastExpandableHitarea);n(u).find("li").andSelf().prepareBranches(i).applyClasses(i,f)})}});var t=n.fn.treeview.classes={open:"open",closed:"closed",expandable:"expandable",expandableHitarea:"expandable-hitarea",lastExpandableHitarea:"lastExpandable-hitarea",collapsable:"collapsable",collapsableHitarea:"collapsable-hitarea",lastCollapsableHitarea:"lastCollapsable-hitarea",lastCollapsable:"lastCollapsable",lastExpandable:"lastExpandable",last:"last",hitarea:"hitarea"};n.fn.Treeview=n.fn.treeview}(jQuery);$(document).ready(function(){jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,t,i,r,u){return jQuery.easing[jQuery.easing.def](n,t,i,r,u)},easeInQuad:function(n,t,i,r,u){return r*(t/=u)*t+i},easeOutQuad:function(n,t,i,r,u){return-r*(t/=u)*(t-2)+i},easeInOutQuad:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t+i:-r/2*(--t*(t-2)-1)+i},easeInCubic:function(n,t,i,r,u){return r*(t/=u)*t*t+i},easeOutCubic:function(n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i},easeInOutCubic:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i},easeInQuart:function(n,t,i,r,u){return r*(t/=u)*t*t*t+i},easeOutQuart:function(n,t,i,r,u){return-r*((t=t/u-1)*t*t*t-1)+i},easeInOutQuart:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t+i:-r/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(n,t,i,r,u){return r*(t/=u)*t*t*t*t+i},easeOutQuint:function(n,t,i,r,u){return r*((t=t/u-1)*t*t*t*t+1)+i},easeInOutQuint:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t*t+i:r/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i},easeOutSine:function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i},easeInOutSine:function(n,t,i,r,u){return-r/2*(Math.cos(Math.PI*t/u)-1)+i},easeInExpo:function(n,t,i,r,u){return t==0?i:r*Math.pow(2,10*(t/u-1))+i},easeOutExpo:function(n,t,i,r,u){return t==u?i+r:r*(-Math.pow(2,-10*t/u)+1)+i},easeInOutExpo:function(n,t,i,r,u){return t==0?i:t==u?i+r:(t/=u/2)<1?r/2*Math.pow(2,10*(t-1))+i:r/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(n,t,i,r,u){return-r*(Math.sqrt(1-(t/=u)*t)-1)+i},easeOutCirc:function(n,t,i,r,u){return r*Math.sqrt(1-(t=t/u-1)*t)+i},easeInOutCirc:function(n,t,i,r,u){return(t/=u/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+i:r/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(n,t,i,r,u){var f=1.70158,e=0,o=r;return t==0?i:(t/=u)==1?i+r:(e||(e=u*.3),o<Math.abs(r)?(o=r,f=e/4):f=e/(2*Math.PI)*Math.asin(r/o),-(o*Math.pow(2,10*(t-=1))*Math.sin((t*u-f)*2*Math.PI/e))+i)},easeOutElastic:function(n,t,i,r,u){var f=1.70158,e=0,o=r;return t==0?i:(t/=u)==1?i+r:(e||(e=u*.3),o<Math.abs(r)?(o=r,f=e/4):f=e/(2*Math.PI)*Math.asin(r/o),o*Math.pow(2,-10*t)*Math.sin((t*u-f)*2*Math.PI/e)+r+i)},easeInOutElastic:function(n,t,i,r,u){var f=1.70158,e=0,o=r;return t==0?i:(t/=u/2)==2?i+r:(e||(e=u*.3*1.5),o<Math.abs(r)?(o=r,f=e/4):f=e/(2*Math.PI)*Math.asin(r/o),t<1)?-.5*o*Math.pow(2,10*(t-=1))*Math.sin((t*u-f)*2*Math.PI/e)+i:o*Math.pow(2,-10*(t-=1))*Math.sin((t*u-f)*2*Math.PI/e)*.5+r+i},easeInBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*(t/=u)*t*((f+1)*t-f)+i},easeOutBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*((t=t/u-1)*t*((f+1)*t+f)+1)+i},easeInOutBack:function(n,t,i,r,u,f){return(f==undefined&&(f=1.70158),(t/=u/2)<1)?r/2*t*t*(((f*=1.525)+1)*t-f)+i:r/2*((t-=2)*t*(((f*=1.525)+1)*t+f)+2)+i},easeInBounce:function(n,t,i,r,u){return r-jQuery.easing.easeOutBounce(n,u-t,0,r,u)+i},easeOutBounce:function(n,t,i,r,u){return(t/=u)<1/2.75?r*7.5625*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(n,t,i,r,u){return t<u/2?jQuery.easing.easeInBounce(n,t*2,0,r,u)*.5+i:jQuery.easing.easeOutBounce(n,t*2-u,0,r,u)*.5+r*.5+i}})});jQuery.cookie=function(n,t,i){var f,r,e,o,u,s;if(typeof t!="undefined"){i=i||{};t===null&&(t="",i.expires=-1);f="";i.expires&&(typeof i.expires=="number"||i.expires.toUTCString)&&(typeof i.expires=="number"?(r=new Date,r.setTime(r.getTime()+i.expires*864e5)):r=i.expires,f="; expires="+r.toUTCString());var h=i.path?"; path="+i.path:"",c=i.domain?"; domain="+i.domain:"",l=i.secure?"; secure":"";document.cookie=[n,"=",encodeURIComponent(t),f,h,c,l].join("")}else{if(e=null,document.cookie&&document.cookie!="")for(o=document.cookie.split(";"),u=0;u<o.length;u++)if(s=jQuery.trim(o[u]),s.substring(0,n.length+1)==n+"="){e=decodeURIComponent(s.substring(n.length+1));break}return e}},function(n){n.fn.fixPNG=function(){return this.each(function(){var t=n(this).css("backgroundImage");t.match(/^url\(["']?(.*\.png)["']?\)$/i)&&(t=RegExp.$1,n(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod="+(n(this).css("backgroundRepeat")=="no-repeat"?"crop":"scale")+", src='"+t+"')"}).each(function(){var t=n(this).css("position");t!="absolute"&&t!="relative"&&n(this).css("position","relative")}))})};var r,t,u=!1,i=new Image,e,o=1,s=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,f=n.browser.msie&&parseInt(n.browser.version.substr(0,1))<8;n.fn.fancybox=function(e){function v(){return r=this,t=e,y(),!1}function y(){var h,i,s;if(!u){if(n.isFunction(t.callbackOnStart)&&t.callbackOnStart(),t.itemArray=[],t.itemCurrent=0,e.itemArray.length>0)t.itemArray=e.itemArray;else if(i={},r.rel&&r.rel!=""){for(h=n(a).filter("a[rel="+r.rel+"]"),i={},s=0;s<h.length;s++)i={href:h[s].href,title:h[s].title},n(h[s]).children("img:first").length&&(i.orig=n(h[s]).children("img:first")),t.itemArray.push(i);while(t.itemArray[t.itemCurrent].href!=r.href)t.itemCurrent++}else i={href:r.href,title:r.title},n(r).children("img:first").length&&(i.orig=n(r).children("img:first")),t.itemArray.push(i);t.overlayShow&&(f&&n("embed, object, select").css("visibility","hidden"),n("#fancy_overlay").css("opacity",t.overlayOpacity).show());o()}}function o(){var u,f;n("#fancy_right, #fancy_left, #fancy_close, #fancy_title").hide();u=t.itemArray[t.itemCurrent].href;u.match(/#/)?(f=window.location.href.split("#")[0],f=u.replace(f,""),f=f.substr(f.indexOf("#")),h('<div id="fancy_div">'+n(f).html()+"<\/div>",t.frameWidth,t.frameHeight)):u.match(s)?(i=new Image,i.src=u,i.complete?l():(n.fn.fancybox.showLoading(),n(i).unbind().bind("load",function(){n(".fancy_loading").hide();l()}))):u.match("iframe")||r.className.indexOf("iframe")>=0?h('<iframe id="fancy_frame" scrolling="no" onload="$.fn.fancybox.showIframe()" name="fancy_iframe'+Math.round(Math.random()*1e3)+'" frameborder="0" hspace="0" src="'+u+'"><\/iframe>',t.frameWidth,t.frameHeight):n.get(u,function(n){h('<div id="fancy_ajax">'+n+"<\/div>",t.frameWidth,t.frameHeight)})}function l(){var r,u;if(t.imageScale)var f=n.fn.fancybox.getViewport(),e=Math.min(Math.min(f[0]-36,i.width)/i.width,Math.min(f[1]-60,i.height)/i.height),r=Math.round(e*i.width),u=Math.round(e*i.height);else r=i.width,u=i.height;h('<img alt="" id="fancy_img" src="'+i.src+'" />',r,u)}function p(){var n;t.itemArray.length-1>t.itemCurrent&&(n=t.itemArray[t.itemCurrent+1].href,n.match(s)&&(objNext=new Image,objNext.src=n));t.itemCurrent>0&&(n=t.itemArray[t.itemCurrent-1].href,n.match(s)&&(objNext=new Image,objNext.src=n))}function h(i,r,f){var e,h,l;if(u=!0,e=t.padding,e>0?(r+=e*2,f+=e*2,n("#fancy_content").css({top:e+"px",right:e+"px",bottom:e+"px",left:e+"px",width:"auto",height:"auto"})):n("#fancy_content").css({top:0,right:0,bottom:0,left:0,width:"100%",height:"100%"}),n("#fancy_outer").is(":visible")&&r==n("#fancy_outer").width()&&f==n("#fancy_outer").height()){n("#fancy_content").fadeOut("fast",function(){n("#fancy_content").empty().append(n(i)).fadeIn("normal",function(){c()})});return}var o=n.fn.fancybox.getViewport(),a=r+36>o[0]?o[2]:o[2]+Math.round((o[0]-r-36)/2),v=f+50>o[1]?o[3]:o[3]+Math.round((o[1]-f-50)/2),s={left:a,top:v,width:r+"px",height:f+"px"};n("#fancy_outer").is(":visible")?n("#fancy_content").fadeOut("normal",function(){n("#fancy_content").empty();n("#fancy_outer").animate(s,t.zoomSpeedChange,t.easingChange,function(){n("#fancy_content").append(n(i)).fadeIn("normal",function(){c()})})}):t.zoomSpeedIn>0&&t.itemArray[t.itemCurrent].orig!==undefined?(n("#fancy_content").empty().append(n(i)),h=t.itemArray[t.itemCurrent].orig,l=n.fn.fancybox.getPosition(h),n("#fancy_outer").css({left:l.left-18+"px",top:l.top-18+"px",width:n(h).width(),height:n(h).height()}),t.zoomOpacity&&(s.opacity="show"),n("#fancy_outer").animate(s,t.zoomSpeedIn,t.easingIn,function(){c()})):(n("#fancy_content").hide().empty().append(n(i)).show(),n("#fancy_outer").css(s).fadeIn("normal",function(){c()}))}function w(){t.itemCurrent!=0&&(n("#fancy_left, #fancy_left_ico").unbind().bind("click",function(n){return n.stopPropagation(),t.itemCurrent--,o(),!1}),n("#fancy_left").show());t.itemCurrent!=t.itemArray.length-1&&(n("#fancy_right, #fancy_right_ico").unbind().bind("click",function(n){return n.stopPropagation(),t.itemCurrent++,o(),!1}),n("#fancy_right").show())}function c(){w();p();n(document).keydown(function(i){i.keyCode==27?(n.fn.fancybox.close(),n(document).unbind("keydown")):i.keyCode==37&&t.itemCurrent!=0?(t.itemCurrent--,o(),n(document).unbind("keydown")):i.keyCode==39&&t.itemCurrent!=t.itemArray.length-1&&(t.itemCurrent++,o(),n(document).unbind("keydown"))});t.centerOnScroll?n(window).bind("resize scroll",n.fn.fancybox.scrollBox):n("div#fancy_outer").css("position","absolute");t.showCloseButton&&n("#fancy_close").bind("click",n.fn.fancybox.close).show();t.hideOnContentClick&&n("#fancy_wrap").click(n.fn.fancybox.close);n("#fancy_overlay, #fancy_close").bind("click",n.fn.fancybox.close);t.itemArray[t.itemCurrent].title!==undefined&&t.itemArray[t.itemCurrent].title.length>0&&n("#fancy_title div").html(t.itemArray[t.itemCurrent].title);t.overlayShow&&f&&n("embed, object, select",n("#fancy_content")).css("visibility","visible");n.isFunction(t.callbackOnShow)&&t.callbackOnShow();u=!1}e=n.extend({},n.fn.fancybox.defaults,e);var a=this;return this.unbind("click").click(v)};n.fn.fancybox.scrollBox=function(){var t=n.fn.fancybox.getViewport();n("#fancy_outer").css("left",n("#fancy_outer").width()+36>t[0]?t[2]:t[2]+Math.round((t[0]-n("#fancy_outer").width()-36)/2));n("#fancy_outer").css("top",n("#fancy_outer").height()+50>t[1]?t[3]:t[3]+Math.round((t[1]-n("#fancy_outer").height()-50)/2))};n.fn.fancybox.getNumeric=function(t,i){return parseInt(n.curCSS(t.jquery?t[0]:t,i,!0))||0};n.fn.fancybox.getPosition=function(t){var i=t.offset();return i.top+=n.fn.fancybox.getNumeric(t,"paddingTop"),i.top+=n.fn.fancybox.getNumeric(t,"borderTopWidth"),i.left+=n.fn.fancybox.getNumeric(t,"paddingLeft"),i.left+=n.fn.fancybox.getNumeric(t,"borderLeftWidth"),i};n.fn.fancybox.showIframe=function(){n(".fancy_loading").hide();n("#fancy_frame").show()};n.fn.fancybox.getViewport=function(){return[n(window).width(),n(window).height(),n(document).scrollLeft(),n(document).scrollTop()]};n.fn.fancybox.animateLoading=function(){if(!n("#fancy_loading").is(":visible")){clearInterval(e);return}n("#fancy_loading > div").css("top",o*-40+"px");o=(o+1)%12};n.fn.fancybox.showLoading=function(){clearInterval(e);var t=n.fn.fancybox.getViewport();n("#fancy_loading").css({left:(t[0]-40)/2+t[2],top:(t[1]-40)/2+t[3]}).show();n("#fancy_loading").bind("click",n.fn.fancybox.close);e=setInterval(n.fn.fancybox.animateLoading,66)};n.fn.fancybox.close=function(){if(u=!0,n(i).unbind(),n("#fancy_overlay, #fancy_close").unbind(),t.hideOnContentClick&&n("#fancy_wrap").unbind(),n("#fancy_close, .fancy_loading, #fancy_left, #fancy_right, #fancy_title").hide(),t.centerOnScroll&&n(window).unbind("resize scroll"),__cleanup=function(){n("#fancy_overlay, #fancy_outer").hide();t.centerOnScroll&&n(window).unbind("resize scroll");f&&n("embed, object, select").css("visibility","visible");n.isFunction(t.callbackOnClose)&&t.callbackOnClose();u=!1},n("#fancy_outer").is(":visible")!==!1)if(t.zoomSpeedOut>0&&t.itemArray[t.itemCurrent].orig!==undefined){var r=t.itemArray[t.itemCurrent].orig,e=n.fn.fancybox.getPosition(r),o={left:e.left-18+"px",top:e.top-18+"px",width:n(r).width(),height:n(r).height()};t.zoomOpacity&&(o.opacity="hide");n("#fancy_outer").stop(!1,!0).animate(o,t.zoomSpeedOut,t.easingOut,__cleanup)}else n("#fancy_outer").stop(!1,!0).fadeOut("fast",__cleanup);else __cleanup();return!1};n.fn.fancybox.build=function(){var t="";t+='<div id="fancy_overlay"><\/div>';t+='<div id="fancy_wrap">';t+='<div class="fancy_loading" id="fancy_loading"><div><\/div><\/div>';t+='<div id="fancy_outer">';t+='<div id="fancy_inner">';t+='<div id="fancy_close"><\/div>';t+='<div id="fancy_bg"><div class="fancy_bg fancy_bg_n"><\/div><div class="fancy_bg fancy_bg_ne"><\/div><div class="fancy_bg fancy_bg_e"><\/div><div class="fancy_bg fancy_bg_se"><\/div><div class="fancy_bg fancy_bg_s"><\/div><div class="fancy_bg fancy_bg_sw"><\/div><div class="fancy_bg fancy_bg_w"><\/div><div class="fancy_bg fancy_bg_nw"><\/div><\/div>';t+='<a href="javascript:;" id="fancy_left"><span class="fancy_ico" id="fancy_left_ico"><\/span><\/a><a href="javascript:;" id="fancy_right"><span class="fancy_ico" id="fancy_right_ico"><\/span><\/a>';t+='<div id="fancy_content"><\/div>';t+='<div id="fancy_title"><\/div>';t+="<\/div>";t+="<\/div>";t+="<\/div>";n(t).appendTo("body");n('<table cellspacing="0" cellpadding="0" border="0"><tr><td class="fancy_title" id="fancy_title_left"><\/td><td class="fancy_title" id="fancy_title_main"><div><\/div><\/td><td class="fancy_title" id="fancy_title_right"><\/td><\/tr><\/table>').appendTo("#fancy_title");f&&(n("#fancy_inner").prepend('<iframe class="fancy_bigIframe" scrolling="no" frameborder="0"><\/iframe>'),n("#fancy_close, .fancy_bg, .fancy_title, .fancy_ico").fixPNG())};n.fn.fancybox.defaults={padding:10,imageScale:!0,zoomOpacity:!1,zoomSpeedIn:0,zoomSpeedOut:0,zoomSpeedChange:300,easingIn:"swing",easingOut:"swing",easingChange:"swing",frameWidth:425,frameHeight:355,overlayShow:!0,overlayOpacity:.3,hideOnContentClick:!0,centerOnScroll:!0,itemArray:[],callbackOnStart:null,callbackOnShow:null,callbackOnClose:null,showCloseButton:!0};n(document).ready(function(){n.fn.fancybox.build()})}(jQuery),function(n){function i(n){return typeof n=="object"?n:{top:n,left:n}}var t=n.scrollTo=function(t,i,r){n(window).scrollTo(t,i,r)};t.defaults={axis:"y",duration:1};t.window=function(){return n(window).scrollable()};n.fn.scrollable=function(){return this.map(function(){var i=this.parentWindow||this.defaultView,t=this.nodeName=="#document"?i.frameElement||i:this,r=t.contentDocument||(t.contentWindow||t).document,u=t.setInterval;return t.nodeName=="IFRAME"||u&&n.browser.safari?r.body:u?r.documentElement:this})};n.fn.scrollTo=function(r,u,f){return typeof u=="object"&&(f=u,u=0),typeof f=="function"&&(f={onAfter:f}),f=n.extend({},t.defaults,f),u=u||f.speed||f.duration,f.queue=f.queue&&f.axis.length>1,f.queue&&(u/=2),f.offset=i(f.offset),f.over=i(f.over),this.scrollable().each(function(){function l(n){s.animate(e,u,f.easing,n&&function(){n.call(this,r,f)})}function a(n){var t="scroll"+n,i=o.ownerDocument;return c?Math.max(i.documentElement[t],i.body[t]):o[t]}var o=this,s=n(o),t=r,h,e={},c=s.is("html,body");switch(typeof t){case"number":case"string":if(/^([+-]=)?\d+(px)?$/.test(t)){t=i(t);break}t=n(t,this);case"object":(t.is||t.style)&&(h=(t=n(t)).offset())}n.each(f.axis.split(""),function(n,i){var v=i=="x"?"Left":"Top",u=v.toLowerCase(),r="scroll"+v,y=o[r],p=i=="x"?"Width":"Height",w=p.toLowerCase();h?(e[r]=h[u]+(c?0:y-s.offset()[u]),f.margin&&(e[r]-=parseInt(t.css("margin"+v))||0,e[r]-=parseInt(t.css("border"+v+"Width"))||0),e[r]+=f.offset[u]||0,f.over[u]&&(e[r]+=t[w]()*f.over[u])):e[r]=t[u];/^\d+$/.test(e[r])&&(e[r]=e[r]<=0?0:Math.min(e[r],a(p)));!n&&f.queue&&(y!=e[r]&&l(f.onAfterFirst),delete e[r])});l(f.onAfter)}).end()}}(jQuery),function(n){var r="serialScroll",i="."+r,t="bind",u=n[r]=function(t){n.scrollTo.window()[r](t)};u.defaults={duration:1e3,axis:"x",event:"click",start:0,step:1,lock:1,cycle:1,constant:1};n.fn[r]=function(r){r=n.extend({},u.defaults,r);var e=r.event,f=r.step,o=r.lazy;return this.each(function(){function p(n){n.data+=h;v(n,this)}function v(n,t){isNaN(t)||(n.data=t,t=c);var e=n.data,o,v=n.type,y=r.exclude?s().slice(0,-r.exclude):s(),b=y.length,a=y[e],p=r.duration;if(v&&n.preventDefault(),l&&(w(),k=setTimeout(d,r.interval)),!a){if(o=e<0?0:o=b-1,h!=o)e=o;else if(r.cycle)e=b-o-1;else return;a=y[e]}!a||v&&h==e||r.lock&&u.is(":animated")||v&&r.onBefore&&r.onBefore.call(t,n,a,u,s(),e)===!1||(r.stop&&u.queue("fx",[]).stop(),r.constant&&(p=Math.abs(p/f*(h-e))),u.scrollTo(a,p,r).trigger("notify"+i,[e]))}function d(){u.trigger("next"+i)}function w(){clearTimeout(k)}function s(){return n(b,c)}function g(n){if(!isNaN(n))return n;for(var i=s(),t;(t=i.index(n))==-1&&n!=c;)n=n.parentNode;return t}var y=r.target?this:document,u=n(r.target||this,y),c=u[0],b=r.items,h=r.start,l=r.interval,a=r.navigation,k;o||(b=s());r.force&&v({},h);n(r.prev||[],y)[t](e,-f,p);n(r.next||[],y)[t](e,f,p);c.ssbound||u[t]("prev"+i,-f,p)[t]("next"+i,f,p)[t]("goto"+i,v);l&&u[t]("start"+i,function(){l||(w(),l=1,d())})[t]("stop"+i,function(){w();l=0});u[t]("notify"+i,function(n,t){var i=g(t);i>-1&&(h=i)});c.ssbound=1;r.jump&&(o?u:s())[t](e,function(n){v(n,g(n.target))});a&&(a=n(a,y)[t](e,function(n){n.data=Math.round(s().length/a.length)*a.index(this);v(n,this)}))})}}(jQuery),function(n){function a(i,r,f){var s=this;s.id=f;s.options=r;s.status={animated:!1,rendered:!1,disabled:!1,focused:!1};s.elements={target:i.addClass(s.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};s.cache={mouse:{},position:{},toggle:0};s.timers={};n.extend(s,s.options.api,{show:function(t){function i(){s.options.position.type!=="static"&&s.focus();s.onShow.call(s,t);n.browser.msie&&s.elements.tooltip.get(0).style.removeAttribute("filter")}var u,r;if(!s.status.rendered)return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show");if(s.elements.tooltip.css("display")!=="none"||(s.elements.tooltip.stop(!0,!1),u=s.beforeShow.call(s,t),u===!1))return s;if(s.cache.toggle=1,s.options.position.type!=="static"&&s.updatePosition(t,s.options.show.effect.length>0),typeof s.options.show.solo=="object"?r=n(s.options.show.solo):s.options.show.solo===!0&&(r=n("div.qtip").not(s.elements.tooltip)),r&&r.each(function(){n(this).qtip("api").status.rendered===!0&&n(this).qtip("api").hide()}),typeof s.options.show.effect.type=="function")s.options.show.effect.type.call(s.elements.tooltip,s.options.show.effect.length),s.elements.tooltip.queue(function(){i();n(this).dequeue()});else{switch(s.options.show.effect.type.toLowerCase()){case"fade":s.elements.tooltip.fadeIn(s.options.show.effect.length,i);break;case"slide":s.elements.tooltip.slideDown(s.options.show.effect.length,function(){i();s.options.position.type!=="static"&&s.updatePosition(t,!0)});break;case"grow":s.elements.tooltip.show(s.options.show.effect.length,i);break;default:s.elements.tooltip.show(null,i)}s.elements.tooltip.addClass(s.options.style.classes.active)}return n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function(t){function i(){s.onHide.call(s,t)}var r;if(s.status.rendered){if(s.elements.tooltip.css("display")==="none")return s}else return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"hide");if(clearTimeout(s.timers.show),s.elements.tooltip.stop(!0,!1),r=s.beforeHide.call(s,t),r===!1)return s;if(s.cache.toggle=0,typeof s.options.hide.effect.type=="function")s.options.hide.effect.type.call(s.elements.tooltip,s.options.hide.effect.length),s.elements.tooltip.queue(function(){i();n(this).dequeue()});else{switch(s.options.hide.effect.type.toLowerCase()){case"fade":s.elements.tooltip.fadeOut(s.options.hide.effect.length,i);break;case"slide":s.elements.tooltip.slideUp(s.options.hide.effect.length,i);break;case"grow":s.elements.tooltip.hide(s.options.hide.effect.length,i);break;default:s.elements.tooltip.hide(null,i)}s.elements.tooltip.removeClass(s.options.style.classes.active)}return n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function(t,i){var o,r,e,f,y,h,u,l,w,a,c,v,p;if(s.status.rendered){if(s.options.position.type=="static")return n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}else return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition");if(r={position:{left:0,top:0},dimensions:{height:0,width:0},corner:s.options.position.corner.target},e={position:s.getPosition(),dimensions:s.getDimensions(),corner:s.options.position.corner.tooltip},s.options.position.target!=="mouse"){if(s.options.position.target.get(0).nodeName.toLowerCase()=="area"){for(f=s.options.position.target.attr("coords").split(","),o=0;o<f.length;o++)f[o]=parseInt(f[o]);y=s.options.position.target.parent("map").attr("name");h=n('img[usemap="#'+y+'"]:first').offset();r.position={left:Math.floor(h.left+f[0]),top:Math.floor(h.top+f[1])};switch(s.options.position.target.attr("shape").toLowerCase()){case"rect":r.dimensions={width:Math.ceil(Math.abs(f[2]-f[0])),height:Math.ceil(Math.abs(f[3]-f[1]))};break;case"circle":r.dimensions={width:f[2]+1,height:f[2]+1};break;case"poly":for(r.dimensions={width:f[0],height:f[1]},o=0;o<f.length;o++)o%2==0?(f[o]>r.dimensions.width&&(r.dimensions.width=f[o]),f[o]<f[0]&&(r.position.left=Math.floor(h.left+f[o]))):(f[o]>r.dimensions.height&&(r.dimensions.height=f[o]),f[o]<f[1]&&(r.position.top=Math.floor(h.top+f[o])));r.dimensions.width=r.dimensions.width-(r.position.left-h.left);r.dimensions.height=r.dimensions.height-(r.position.top-h.top);break;default:return n.fn.qtip.log.error.call(s,4,n.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition")}r.dimensions.width-=2;r.dimensions.height-=2}else s.options.position.target.add(document.body).length===1?(r.position={left:n(document).scrollLeft(),top:n(document).scrollTop()},r.dimensions={height:n(window).height(),width:n(window).width()}):(r.position=typeof s.options.position.target.attr("qtip")!="undefined"?s.options.position.target.qtip("api").cache.position:s.options.position.target.offset(),r.dimensions={height:s.options.position.target.outerHeight(),width:s.options.position.target.outerWidth()});u=n.extend({},r.position);r.corner.search(/right/i)!==-1&&(u.left+=r.dimensions.width);r.corner.search(/bottom/i)!==-1&&(u.top+=r.dimensions.height);r.corner.search(/((top|bottom)Middle)|center/)!==-1&&(u.left+=r.dimensions.width/2);r.corner.search(/((left|right)Middle)|center/)!==-1&&(u.top+=r.dimensions.height/2)}else r.position=u={left:s.cache.mouse.x,top:s.cache.mouse.y},r.dimensions={height:1,width:1};if(e.corner.search(/right/i)!==-1&&(u.left-=e.dimensions.width),e.corner.search(/bottom/i)!==-1&&(u.top-=e.dimensions.height),e.corner.search(/((top|bottom)Middle)|center/)!==-1&&(u.left-=e.dimensions.width/2),e.corner.search(/((left|right)Middle)|center/)!==-1&&(u.top-=e.dimensions.height/2),l=n.browser.msie?1:0,w=n.browser.msie&&parseInt(n.browser.version.charAt(0))===6?1:0,s.options.style.border.radius>0&&(e.corner.search(/Left/)!==-1?u.left-=s.options.style.border.radius:e.corner.search(/Right/)!==-1&&(u.left+=s.options.style.border.radius),e.corner.search(/Top/)!==-1?u.top-=s.options.style.border.radius:e.corner.search(/Bottom/)!==-1&&(u.top+=s.options.style.border.radius)),l&&(e.corner.search(/top/)!==-1?u.top-=l:e.corner.search(/bottom/)!==-1&&(u.top+=l),e.corner.search(/left/)!==-1?u.left-=l:e.corner.search(/right/)!==-1&&(u.left+=l),e.corner.search(/leftMiddle|rightMiddle/)!==-1&&(u.top-=1)),s.options.position.adjust.screen===!0&&(u=b.call(s,u,r,e)),s.options.position.target==="mouse"&&s.options.position.adjust.mouse===!0&&(a=s.options.position.adjust.screen===!0&&s.elements.tip?s.elements.tip.attr("rel"):s.options.position.corner.tooltip,u.left+=a.search(/right/i)!==-1?-6:6,u.top+=a.search(/bottom/i)!==-1?-6:6),!s.elements.bgiframe&&n.browser.msie&&parseInt(n.browser.version.charAt(0))==6&&n("select, object").each(function(){c=n(this).offset();c.bottom=c.top+n(this).height();c.right=c.left+n(this).width();u.top+e.dimensions.height>=c.top&&u.left+e.dimensions.width>=c.left&&k.call(s)}),u.left+=s.options.position.adjust.x,u.top+=s.options.position.adjust.y,v=s.getPosition(),u.left!=v.left||u.top!=v.top){if(p=s.beforePositionUpdate.call(s,t),p===!1)return s;s.cache.position=u;i===!0?(s.status.animated=!0,s.elements.tooltip.animate(u,200,"swing",function(){s.status.animated=!1})):s.elements.tooltip.css(u);s.onPositionUpdate.call(s,t);typeof t!="undefined"&&t.type&&t.type!=="mousemove"&&n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}return s},updateWidth:function(t){var i;if(s.status.rendered){if(t&&typeof t!="number")return n.fn.qtip.log.error.call(s,2,"newWidth must be of type number","updateWidth")}else return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth");return i=s.elements.contentWrapper.siblings().add(s.elements.tip).add(s.elements.button),t||(typeof s.options.style.width.value=="number"?t=s.options.style.width.value:(s.elements.tooltip.css({width:"auto"}),i.hide(),n.browser.msie&&s.elements.wrapper.add(s.elements.contentWrapper.children()).css({zoom:"normal"}),t=s.getDimensions().width+1,s.options.style.width.value||(t>s.options.style.width.max&&(t=s.options.style.width.max),t<s.options.style.width.min&&(t=s.options.style.width.min)))),t%2!=0&&(t-=1),s.elements.tooltip.width(t),i.show(),s.options.style.border.radius&&s.elements.tooltip.find(".qtip-betweenCorners").each(function(){n(this).width(t-s.options.style.border.radius*2)}),n.browser.msie&&(s.elements.wrapper.add(s.elements.contentWrapper.children()).css({zoom:"1"}),s.elements.wrapper.width(t),s.elements.bgiframe&&s.elements.bgiframe.width(t).height(s.getDimensions.height)),n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function(i){var r,a,f,o,v;if(s.status.rendered){if(typeof i!="string"||!n.fn.qtip.styles[i])return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}else return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle");return s.options.style=h.call(s,n.fn.qtip.styles[i],s.options.user.style),s.elements.content.css(t(s.options.style)),s.options.content.title.text!==!1&&s.elements.title.css(t(s.options.style.title,!0)),s.elements.contentWrapper.css({borderColor:s.options.style.border.color}),s.options.style.tip.corner!==!1&&(n("<canvas>").get(0).getContext?(r=s.elements.tooltip.find(".qtip-tip canvas:first"),f=r.get(0).getContext("2d"),f.clearRect(0,0,300,300),o=r.parent("div[rel]:first").attr("rel"),v=c(o,s.options.style.tip.size.width,s.options.style.tip.size.height),e.call(s,r,v,s.options.style.tip.color||s.options.style.border.color)):n.browser.msie&&(r=s.elements.tooltip.find('.qtip-tip [nodeName="shape"]'),r.attr("fillcolor",s.options.style.tip.color||s.options.style.border.color))),s.options.style.border.radius>0&&(s.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:s.options.style.border.color}),n("<canvas>").get(0).getContext?(a=l(s.options.style.border.radius),s.elements.tooltip.find(".qtip-wrapper canvas").each(function(){f=n(this).get(0).getContext("2d");f.clearRect(0,0,300,300);o=n(this).parent("div[rel]:first").attr("rel");u.call(s,n(this),a[o],s.options.style.border.radius,s.options.style.border.color)})):n.browser.msie&&s.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){n(this).attr("fillcolor",s.options.style.border.color)})),n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function(t,i){function e(){s.updateWidth();i!==!1&&(s.options.position.type!=="static"&&s.updatePosition(s.elements.tooltip.is(":visible"),!0),s.options.style.tip.corner!==!1&&o.call(s))}var r,u,f;if(s.status.rendered){if(!t)return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}else return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent");if(r=s.beforeContentUpdate.call(s,t),typeof r=="string")t=r;else if(r===!1)return;return n.browser.msie&&s.elements.contentWrapper.children().css({zoom:"normal"}),t.jquery&&t.length>0?t.clone(!0).appendTo(s.elements.content).show():s.elements.content.html(t),u=s.elements.content.find("img[complete=false]"),u.length>0?(f=0,u.each(function(){n('<img src="'+n(this).attr("src")+'" />').load(function(){++f==u.length&&e()})})):e(),s.onContentUpdate.call(s),n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function(t,i,r){function f(t){s.onContentLoad.call(s);n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");s.updateContent(t)}var u;return s.status.rendered?(u=s.beforeContentLoad.call(s),u===!1)?s:(r=="post"?n.post(t,i,f):n.get(t,i,f),s):n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent")},updateTitle:function(t){if(s.status.rendered){if(!t)return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}else return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle");return(returned=s.beforeTitleUpdate.call(s),returned===!1)?s:(s.elements.button&&(s.elements.button=s.elements.button.clone(!0)),s.elements.title.html(t),s.elements.button&&s.elements.title.prepend(s.elements.button),s.onTitleUpdate.call(s),n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle"))},focus:function(t){var u,i,r,f;if(s.status.rendered){if(s.options.position.type=="static")return n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}else return n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus");if(u=parseInt(s.elements.tooltip.css("z-index")),i=6e3+n("div.qtip[qtip]").length-1,!s.status.focused&&u!==i){if(f=s.beforeFocus.call(s,t),f===!1)return s;n("div.qtip[qtip]").not(s.elements.tooltip).each(function(){n(this).qtip("api").status.rendered===!0&&(r=parseInt(n(this).css("z-index")),typeof r=="number"&&r>-1&&n(this).css({zIndex:parseInt(n(this).css("z-index"))-1}),n(this).qtip("api").status.focused=!1)});s.elements.tooltip.css({zIndex:i});s.status.focused=!0;s.onFocus.call(s,t);n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_FOCUSED,"focus")}return s},disable:function(t){return s.status.rendered?(t?s.status.disabled?n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable"):(s.status.disabled=!0,n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_DISABLED,"disable")):s.status.disabled?(s.status.disabled=!1,n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_ENABLED,"disable")):n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable"),s):n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable")},destroy:function(){var i,r,t;if(r=s.beforeDestroy.call(s),r===!1)return s;if(s.status.rendered?(s.options.show.when.target.unbind("mousemove.qtip",s.updatePosition),s.options.show.when.target.unbind("mouseout.qtip",s.hide),s.options.show.when.target.unbind(s.options.show.when.event+".qtip"),s.options.hide.when.target.unbind(s.options.hide.when.event+".qtip"),s.elements.tooltip.unbind(s.options.hide.when.event+".qtip"),s.elements.tooltip.unbind("mouseover.qtip",s.focus),s.elements.tooltip.remove()):s.options.show.when.target.unbind(s.options.show.when.event+".qtip-create"),typeof s.elements.target.data("qtip")=="object"&&(t=s.elements.target.data("qtip").interfaces,typeof t=="object"&&t.length>0))for(i=0;i<t.length-1;i++)t[i].id==s.id&&t.splice(i,1);return delete n.fn.qtip.interfaces[s.id],typeof t=="object"&&t.length>0?s.elements.target.data("qtip").current=t.length-1:s.elements.target.removeData("qtip"),s.onDestroy.call(s),n.fn.qtip.log.error.call(s,1,n.fn.qtip.constants.EVENT_DESTROYED,"destroy"),s.elements.target},getPosition:function(){var t,i;return s.status.rendered?(t=s.elements.tooltip.css("display")!=="none"?!1:!0,t&&s.elements.tooltip.css({visiblity:"hidden"}).show(),i=s.elements.tooltip.offset(),t&&s.elements.tooltip.css({visiblity:"visible"}).hide(),i):n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition")},getDimensions:function(){var t,i;return s.status.rendered?(t=s.elements.tooltip.is(":visible")?!1:!0,t&&s.elements.tooltip.css({visiblity:"hidden"}).show(),i={height:s.elements.tooltip.outerHeight(),width:s.elements.tooltip.outerWidth()},t&&s.elements.tooltip.css({visiblity:"visible"}).hide(),i):n.fn.qtip.log.error.call(s,2,n.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getDimensions")}})}function r(){var i,r,u,e,o;i=this;i.beforeRender.call(i);i.status.rendered=!0;i.elements.tooltip='<div qtip="'+i.id+'" class="qtip '+(i.options.style.classes.tooltip||i.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+i.options.position.type+';">  <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;">    <div class="qtip-contentWrapper" style="overflow:hidden;">       <div class="qtip-content '+i.options.style.classes.content+'"><\/div><\/div><\/div><\/div>';i.elements.tooltip=n(i.elements.tooltip);i.elements.tooltip.appendTo(i.options.position.container);i.elements.tooltip.data("qtip",{current:0,interfaces:[i]});i.elements.wrapper=i.elements.tooltip.children("div:first");i.elements.contentWrapper=i.elements.wrapper.children("div:first").css({background:i.options.style.background});i.elements.content=i.elements.contentWrapper.children("div:first").css(t(i.options.style));n.browser.msie&&i.elements.wrapper.add(i.elements.content).css({zoom:1});i.options.hide.when.event=="unfocus"&&i.elements.tooltip.attr("unfocus",!0);typeof i.options.style.width.value=="number"&&i.updateWidth();n("<canvas>").get(0).getContext||n.browser.msie?(i.options.style.border.radius>0?v.call(i):i.elements.contentWrapper.css({border:i.options.style.border.width+"px solid "+i.options.style.border.color}),i.options.style.tip.corner!==!1&&f.call(i)):(i.elements.contentWrapper.css({border:i.options.style.border.width+"px solid "+i.options.style.border.color}),i.options.style.border.radius=0,i.options.style.tip.corner=!1,n.fn.qtip.log.error.call(i,2,n.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render"));typeof i.options.content.text=="string"&&i.options.content.text.length>0||i.options.content.text.jquery&&i.options.content.text.length>0?r=i.options.content.text:typeof i.elements.target.attr("title")=="string"&&i.elements.target.attr("title").length>0?(r=i.elements.target.attr("title").replace("\\n","<br />"),i.elements.target.attr("title","")):typeof i.elements.target.attr("alt")=="string"&&i.elements.target.attr("alt").length>0?(r=i.elements.target.attr("alt").replace("\\n","<br />"),i.elements.target.attr("alt","")):(r=" ",n.fn.qtip.log.error.call(i,1,n.fn.qtip.constants.NO_VALID_CONTENT,"render"));i.options.content.title.text!==!1&&p.call(i);i.updateContent(r);w.call(i);i.options.show.ready===!0&&i.show();i.options.content.url!==!1&&(u=i.options.content.url,e=i.options.content.data,o=i.options.content.method||"get",i.loadContent(u,e,o));i.onRender.call(i);n.fn.qtip.log.error.call(i,1,n.fn.qtip.constants.EVENT_RENDERED,"render")}function v(){var i,r,s,t,o,e,f,h,a,c,v,y,p,w,b;i=this;i.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();s=i.options.style.border.width;t=i.options.style.border.radius;o=i.options.style.border.color||i.options.style.tip.color;e=l(t);f={};for(r in e)f[r]='<div rel="'+r+'" style="'+(r.search(/Left/)!==-1?"left":"right")+":0; position:absolute; height:"+t+"px; width:"+t+'px; overflow:hidden; line-height:0.1px; font-size:1px">',n("<canvas>").get(0).getContext?f[r]+='<canvas height="'+t+'" width="'+t+'" style="vertical-align: top"><\/canvas>':n.browser.msie&&(h=t*2+3,f[r]+='<v:arc stroked="false" fillcolor="'+o+'" startangle="'+e[r][0]+'" endangle="'+e[r][1]+'" style="width:'+h+"px; height:"+h+"px; margin-top:"+(r.search(/bottom/)!==-1?-2:-1)+"px; margin-left:"+(r.search(/Right/)!==-1?e[r][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"><\/v:arc>'),f[r]+="<\/div>";a=i.getDimensions().width-Math.max(s,t)*2;c='<div class="qtip-betweenCorners" style="height:'+t+"px; width:"+a+"px; overflow:hidden; background-color:"+o+'; line-height:0.1px; font-size:1px;">';v='<div class="qtip-borderTop" dir="ltr" style="height:'+t+"px; margin-left:"+t+'px; line-height:0.1px; font-size:1px; padding:0;">'+f.topLeft+f.topRight+c;i.elements.wrapper.prepend(v);y='<div class="qtip-borderBottom" dir="ltr" style="height:'+t+"px; margin-left:"+t+'px; line-height:0.1px; font-size:1px; padding:0;">'+f.bottomLeft+f.bottomRight+c;i.elements.wrapper.append(y);n("<canvas>").get(0).getContext?i.elements.wrapper.find("canvas").each(function(){p=e[n(this).parent("[rel]:first").attr("rel")];u.call(i,n(this),p,t,o)}):n.browser.msie&&i.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"><\/v:image>');w=Math.max(t,t+(s-t));b=Math.max(s-t,0);i.elements.contentWrapper.css({border:"0px solid "+o,borderWidth:b+"px "+w+"px"})}function u(n,t,i,r){var u=n.get(0).getContext("2d");u.fillStyle=r;u.beginPath();u.arc(t[0],t[1],i,0,Math.PI*2,!1);u.fill()}function f(t){var i,f,r,s,u;(i=this,i.elements.tip!==null&&i.elements.tip.remove(),f=i.options.style.tip.color||i.options.style.border.color,i.options.style.tip.corner!==!1)&&(t||(t=i.options.style.tip.corner),r=c(t,i.options.style.tip.size.width,i.options.style.tip.size.height),i.elements.tip='<div class="'+i.options.style.classes.tip+'" dir="ltr" rel="'+t+'" style="position:absolute; height:'+i.options.style.tip.size.height+"px; width:"+i.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;">',n("<canvas>").get(0).getContext?i.elements.tip+='<canvas height="'+i.options.style.tip.size.height+'" width="'+i.options.style.tip.size.width+'"><\/canvas>':n.browser.msie&&(s=i.options.style.tip.size.width+","+i.options.style.tip.size.height,u="m"+r[0][0]+","+r[0][1],u+=" l"+r[1][0]+","+r[1][1],u+=" "+r[2][0]+","+r[2][1],u+=" xe",i.elements.tip+='<v:shape fillcolor="'+f+'" stroked="false" filled="true" path="'+u+'" coordsize="'+s+'" style="width:'+i.options.style.tip.size.width+"px; height:"+i.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+(t.search(/top/)!==-1?"bottom":"top")+'"><\/v:shape>',i.elements.tip+='<v:image style="behavior:url(#default#VML);"><\/v:image>',i.elements.contentWrapper.css("position","relative")),i.elements.tooltip.prepend(i.elements.tip+"<\/div>"),i.elements.tip=i.elements.tooltip.find("."+i.options.style.classes.tip).eq(0),n("<canvas>").get(0).getContext&&e.call(i,i.elements.tip.find("canvas:first"),r,f),t.search(/top/)!==-1&&n.browser.msie&&parseInt(n.browser.version.charAt(0))===6&&i.elements.tip.css({marginTop:-4}),o.call(i,t))}function e(n,t,i){var r=n.get(0).getContext("2d");r.fillStyle=i;r.beginPath();r.moveTo(t[0][0],t[0][1]);r.lineTo(t[1][0],t[1][1]);r.lineTo(t[2][0],t[2][1]);r.fill()}function o(t){var i,r,u,e,f;(i=this,i.options.style.tip.corner!==!1&&i.elements.tip)&&(t||(t=i.elements.tip.attr("rel")),r=positionAdjust=n.browser.msie?1:0,i.elements.tip.css(t.match(/left|right|top|bottom/)[0],0),t.search(/top|bottom/)!==-1?(n.browser.msie&&(positionAdjust=parseInt(n.browser.version.charAt(0))===6?t.search(/top/)!==-1?-3:1:t.search(/top/)!==-1?1:2),t.search(/Middle/)!==-1?i.elements.tip.css({left:"50%",marginLeft:-(i.options.style.tip.size.width/2)}):t.search(/Left/)!==-1?i.elements.tip.css({left:i.options.style.border.radius-r}):t.search(/Right/)!==-1&&i.elements.tip.css({right:i.options.style.border.radius+r}),t.search(/top/)!==-1?i.elements.tip.css({top:-positionAdjust}):i.elements.tip.css({bottom:positionAdjust})):t.search(/left|right/)!==-1&&(n.browser.msie&&(positionAdjust=parseInt(n.browser.version.charAt(0))===6?1:t.search(/left/)!==-1?1:2),t.search(/Middle/)!==-1?i.elements.tip.css({top:"50%",marginTop:-(i.options.style.tip.size.height/2)}):t.search(/Top/)!==-1?i.elements.tip.css({top:i.options.style.border.radius-r}):t.search(/Bottom/)!==-1&&i.elements.tip.css({bottom:i.options.style.border.radius+r}),t.search(/left/)!==-1?i.elements.tip.css({left:-positionAdjust}):i.elements.tip.css({right:positionAdjust})),u="padding-"+t.match(/left|right|top|bottom/)[0],e=i.options.style.tip.size[u.search(/left|right/)!==-1?"width":"height"],i.elements.tooltip.css("padding",0),i.elements.tooltip.css(u,e),n.browser.msie&&parseInt(n.browser.version.charAt(0))==6&&(f=parseInt(i.elements.tip.css("margin-top"))||0,f+=parseInt(i.elements.content.css("margin-top"))||0,i.elements.tip.css({marginTop:f})))}function p(){var i=this;i.elements.title!==null&&i.elements.title.remove();i.elements.title=n('<div class="'+i.options.style.classes.title+'">').css(t(i.options.style.title,!0)).css({zoom:n.browser.msie?1:0}).prependTo(i.elements.contentWrapper);i.options.content.title.text&&i.updateTitle.call(i,i.options.content.title.text);i.options.content.title.button!==!1&&typeof i.options.content.title.button=="string"&&(i.elements.button=n('<a class="'+i.options.style.classes.button+'" style="float:right; position: relative"><\/a>').css(t(i.options.style.button,!0)).html(i.options.content.title.button).prependTo(i.elements.title).click(function(n){i.status.disabled||i.hide(n)}))}function w(){function f(r){t.status.disabled!==!0&&(t.options.hide.when.event=="inactive"&&(n(u).each(function(){i.bind(this+".qtip-inactive",y);t.elements.content.bind(this+".qtip-inactive",y)}),y()),clearTimeout(t.timers.show),clearTimeout(t.timers.hide),t.timers.show=setTimeout(function(){t.show(r)},t.options.show.delay))}function e(i){if(t.status.disabled!==!0){if(t.options.hide.fixed===!0&&t.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&n(i.relatedTarget).parents("div.qtip[qtip]").length>0)return i.stopPropagation(),i.preventDefault(),clearTimeout(t.timers.hide),!1;clearTimeout(t.timers.show);clearTimeout(t.timers.hide);t.elements.tooltip.stop(!0,!0);t.timers.hide=setTimeout(function(){t.hide(i)},t.options.hide.delay)}}var t,r,i,u;if(t=this,r=t.options.show.when.target,i=t.options.hide.when.target,t.options.hide.fixed&&(i=i.add(t.elements.tooltip)),t.options.hide.when.event=="inactive"){u=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];function y(r){t.status.disabled!==!0&&(clearTimeout(t.timers.inactive),t.timers.inactive=setTimeout(function(){n(u).each(function(){i.unbind(this+".qtip-inactive");t.elements.content.unbind(this+".qtip-inactive")});t.hide(r)},t.options.hide.delay))}}else t.options.hide.fixed===!0&&t.elements.tooltip.bind("mouseover.qtip",function(){t.status.disabled!==!0&&clearTimeout(t.timers.hide)});t.options.show.when.target.add(t.options.hide.when.target).length===1&&t.options.show.when.event==t.options.hide.when.event&&t.options.hide.when.event!=="inactive"||t.options.hide.when.event=="unfocus"?(t.cache.toggle=0,r.bind(t.options.show.when.event+".qtip",function(n){t.cache.toggle==0?f(n):e(n)})):(r.bind(t.options.show.when.event+".qtip",f),t.options.hide.when.event!=="inactive"&&i.bind(t.options.hide.when.event+".qtip",e));t.options.position.type.search(/(fixed|absolute)/)!==-1&&t.elements.tooltip.bind("mouseover.qtip",t.focus);t.options.position.target==="mouse"&&t.options.position.type!=="static"&&r.bind("mousemove.qtip",function(n){t.cache.mouse={x:n.pageX,y:n.pageY};t.status.disabled===!1&&t.options.position.adjust.mouse===!0&&t.options.position.type!=="static"&&t.elements.tooltip.css("display")!=="none"&&t.updatePosition(n)})}function b(t,i,r){var e,u,h,o,s;return(e=this,r.corner=="center")?i.position:(u=n.extend({},t),o={x:!1,y:!1},s={left:u.left<n.fn.qtip.cache.screen.scroll.left,right:u.left+r.dimensions.width+2>=n.fn.qtip.cache.screen.width+n.fn.qtip.cache.screen.scroll.left,top:u.top<n.fn.qtip.cache.screen.scroll.top,bottom:u.top+r.dimensions.height+2>=n.fn.qtip.cache.screen.height+n.fn.qtip.cache.screen.scroll.top},h={left:s.left&&(r.corner.search(/right/i)!=-1||r.corner.search(/right/i)==-1&&!s.right),right:s.right&&(r.corner.search(/left/i)!=-1||r.corner.search(/left/i)==-1&&!s.left),top:s.top&&r.corner.search(/top/i)==-1,bottom:s.bottom&&r.corner.search(/bottom/i)==-1},h.left?(u.left=e.options.position.target!=="mouse"?i.position.left+i.dimensions.width:e.cache.mouse.x,o.x="Left"):h.right&&(u.left=e.options.position.target!=="mouse"?i.position.left-r.dimensions.width:e.cache.mouse.x-r.dimensions.width,o.x="Right"),h.top?(u.top=e.options.position.target!=="mouse"?i.position.top+i.dimensions.height:e.cache.mouse.y,o.y="top"):h.bottom&&(u.top=e.options.position.target!=="mouse"?i.position.top-r.dimensions.height:e.cache.mouse.y-r.dimensions.height,o.y="bottom"),u.left<0&&(u.left=t.left,o.x=!1),u.top<0&&(u.top=t.top,o.y=!1),e.options.style.tip.corner!==!1&&(u.corner=new String(r.corner),o.x!==!1&&(u.corner=u.corner.replace(/Left|Right|Middle/,o.x)),o.y!==!1&&(u.corner=u.corner.replace(/top|bottom/,o.y)),u.corner!==e.elements.tip.attr("rel")&&f.call(e,u.corner)),u)}function t(t,i){var r,u;r=n.extend(!0,{},t);for(u in r)i===!0&&u.search(/(tip|classes)/i)!==-1?delete r[u]:i||u.search(/(width|border|tip|title|classes|user)/i)===-1||delete r[u];return r}function s(n){return typeof n.tip!="object"&&(n.tip={corner:n.tip}),typeof n.tip.size!="object"&&(n.tip.size={width:n.tip.size,height:n.tip.size}),typeof n.border!="object"&&(n.border={width:n.border}),typeof n.width!="object"&&(n.width={value:n.width}),typeof n.width.max=="string"&&(n.width.max=parseInt(n.width.max.replace(/([0-9]+)/i,"$1"))),typeof n.width.min=="string"&&(n.width.min=parseInt(n.width.min.replace(/([0-9]+)/i,"$1"))),typeof n.tip.size.x=="number"&&(n.tip.size.width=n.tip.size.x,delete n.tip.size.x),typeof n.tip.size.y=="number"&&(n.tip.size.height=n.tip.size.y,delete n.tip.size.y),n}function h(){var u,r,f,i,t,e;for(u=this,f=[!0,{}],r=0;r<arguments.length;r++)f.push(arguments[r]);for(i=[n.extend.apply(n,f)];typeof i[0].name=="string";)i.unshift(s(n.fn.qtip.styles[i[0].name]));return i.unshift(!0,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},n.fn.qtip.styles.defaults),t=n.extend.apply(n,i),e=n.browser.msie?1:0,t.tip.size.width+=e,t.tip.size.height+=e,t.tip.size.width%2>0&&(t.tip.size.width+=1),t.tip.size.height%2>0&&(t.tip.size.height+=1),t.tip.corner===!0&&(t.tip.corner=u.options.position.corner.tooltip==="center"?!1:u.options.position.corner.tooltip),t}function c(n,t,i){var r={bottomRight:[[0,0],[t,i],[t,0]],bottomLeft:[[0,0],[t,0],[0,i]],topRight:[[0,i],[t,0],[t,i]],topLeft:[[0,0],[0,i],[t,i]],topMiddle:[[0,i],[t/2,0],[t,i]],bottomMiddle:[[0,0],[t,0],[t/2,i]],rightMiddle:[[0,0],[t,i/2],[0,i]],leftMiddle:[[t,0],[t,i],[0,i/2]]};return r.leftTop=r.bottomRight,r.rightTop=r.bottomLeft,r.leftBottom=r.topRight,r.rightBottom=r.topLeft,r[n]}function l(t){var i;return n("<canvas>").get(0).getContext?i={topLeft:[t,t],topRight:[0,t],bottomLeft:[t,0],bottomRight:[0,0]}:n.browser.msie&&(i={topLeft:[-90,90,0],topRight:[-90,90,-t],bottomLeft:[90,270,0],bottomRight:[90,270,-t]}),i}function k(){var n,i,t;n=this;t=n.getDimensions();i='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:false" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=\'0\'); border: 1px solid red; height:'+t.height+"px; width:"+t.width+'px" />';n.elements.bgiframe=n.elements.wrapper.prepend(i).children(".qtip-bgiframe:first")}n.fn.qtip=function(t,i){var f,l,e,o,y,c,u,v;if(typeof t=="string"){if(typeof n(this).data("qtip")!="object"&&n.fn.qtip.log.error.call(self,1,n.fn.qtip.constants.NO_TOOLTIP_PRESENT,!1),t=="api")return n(this).data("qtip").interfaces[n(this).data("qtip").current];if(t=="interfaces")return n(this).data("qtip").interfaces}else t||(t={}),(typeof t.content!="object"||t.content.jquery&&t.content.length>0)&&(t.content={text:t.content}),typeof t.content.title!="object"&&(t.content.title={text:t.content.title}),typeof t.position!="object"&&(t.position={corner:t.position}),typeof t.position.corner!="object"&&(t.position.corner={target:t.position.corner,tooltip:t.position.corner}),typeof t.show!="object"&&(t.show={when:t.show}),typeof t.show.when!="object"&&(t.show.when={event:t.show.when}),typeof t.show.effect!="object"&&(t.show.effect={type:t.show.effect}),typeof t.hide!="object"&&(t.hide={when:t.hide}),typeof t.hide.when!="object"&&(t.hide.when={event:t.hide.when}),typeof t.hide.effect!="object"&&(t.hide.effect={type:t.hide.effect}),typeof t.style!="object"&&(t.style={name:t.style}),t.style=s(t.style),o=n.extend(!0,{},n.fn.qtip.defaults,t),o.style=h.call({options:o},o.style),o.user=n.extend(!0,{},t);return n(this).each(function(){if(typeof t=="string"){if(c=t.toLowerCase(),e=n(this).qtip("interfaces"),typeof e=="object")if(i===!0&&c=="destroy")while(e.length>0)e[e.length-1].destroy();else for(i!==!0&&(e=[n(this).qtip("api")]),f=0;f<e.length;f++)c=="destroy"?e[f].destroy():e[f].status.rendered===!0&&(c=="show"?e[f].show():c=="hide"?e[f].hide():c=="focus"?e[f].focus():c=="disable"?e[f].disable(!0):c=="enable"&&e[f].disable(!1))}else{for(u=n.extend(!0,{},o),u.hide.effect.length=o.hide.effect.length,u.show.effect.length=o.show.effect.length,u.position.container===!1&&(u.position.container=n(document.body)),u.position.target===!1&&(u.position.target=n(this)),u.show.when.target===!1&&(u.show.when.target=n(this)),u.hide.when.target===!1&&(u.hide.when.target=n(this)),l=n.fn.qtip.interfaces.length,f=0;f<l;f++)if(typeof n.fn.qtip.interfaces[f]=="undefined"){l=f;break}y=new a(n(this),u,l);n.fn.qtip.interfaces[l]=y;typeof n(this).data("qtip")=="object"&&n(this).data("qtip")!==null?(typeof n(this).attr("qtip")=="undefined"&&(n(this).data("qtip").current=n(this).data("qtip").interfaces.length),n(this).data("qtip").interfaces.push(y)):n(this).data("qtip",{current:0,interfaces:[y]});u.content.prerender===!1&&u.show.when.event!==!1&&u.show.ready!==!0?u.show.when.target.bind(u.show.when.event+".qtip-"+l+"-create",{qtip:l},function(t){v=n.fn.qtip.interfaces[t.data.qtip];v.options.show.when.target.unbind(v.options.show.when.event+".qtip-"+t.data.qtip+"-create");v.cache.mouse={x:t.pageX,y:t.pageY};r.call(v);v.options.show.when.target.trigger(v.options.show.when.event)}):(y.cache.mouse={x:u.show.when.target.offset().left,y:u.show.when.target.offset().top},r.call(y))}})};n(document).ready(function(){n.fn.qtip.cache={screen:{scroll:{left:n(window).scrollLeft(),top:n(window).scrollTop()},width:n(window).width(),height:n(window).height()}};var t;n(window).bind("resize scroll",function(r){clearTimeout(t);t=setTimeout(function(){for(r.type==="scroll"?n.fn.qtip.cache.screen.scroll={left:n(window).scrollLeft(),top:n(window).scrollTop()}:(n.fn.qtip.cache.screen.width=n(window).width(),n.fn.qtip.cache.screen.height=n(window).height()),i=0;i<n.fn.qtip.interfaces.length;i++){var t=n.fn.qtip.interfaces[i];t.status.rendered===!0&&(t.options.position.type!=="static"||t.options.position.adjust.scroll&&r.type==="scroll"||t.options.position.adjust.resize&&r.type==="resize")&&t.updatePosition(r,!0)}},100)});n(document).bind("mousedown.qtip",function(t){n(t.target).parents("div.qtip").length===0&&n(".qtip[unfocus]").each(function(){var i=n(this).qtip("api");n(this).is(":visible")&&!i.status.disabled&&n(t.target).add(i.elements.target).length>1&&i.hide(t)})})});n.fn.qtip.interfaces=[];n.fn.qtip.log={error:function(){return this}};n.fn.qtip.constants={};n.fn.qtip.defaults={content:{prerender:!1,text:!1,url:!1,data:null,title:{text:!1,button:!1}},position:{target:!1,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:!0,screen:!1,scroll:!0,resize:!0},type:"absolute",container:!1},show:{when:{target:!1,event:"mouseover"},effect:{type:"fade",length:100},delay:140,solo:!1,ready:!1},hide:{when:{target:!1,event:"mouseout"},effect:{type:"fade",length:100},delay:0,fixed:!1},api:{beforeRender:function(){},onRender:function(){},beforePositionUpdate:function(){},onPositionUpdate:function(){},beforeShow:function(){},onShow:function(){},beforeHide:function(){},onHide:function(){},beforeContentUpdate:function(){},onContentUpdate:function(){},beforeContentLoad:function(){},onContentLoad:function(){},beforeTitleUpdate:function(){},onTitleUpdate:function(){},beforeDestroy:function(){},onDestroy:function(){},beforeFocus:function(){},onFocus:function(){}}};n.fn.qtip.styles={defaults:{background:"white",color:"#111",overflow:"hidden",textAlign:"left",width:{min:0,max:250},padding:"5px 9px",border:{width:1,radius:0,color:"#d3d3d3"},tip:{corner:!1,color:!1,size:{width:13,height:13},opacity:1},title:{background:"#e1e1e1",fontWeight:"bold",padding:"7px 12px"},button:{cursor:"pointer"},classes:{target:"",tip:"qtip-tip",title:"qtip-title",button:"qtip-button",content:"qtip-content",active:"qtip-active"}},cream:{border:{width:3,radius:0,color:"#F9E98E"},title:{background:"#F0DE7D",color:"#A27D35"},background:"#FBF7AA",color:"#A27D35",classes:{tooltip:"qtip-cream"}},light:{border:{width:3,radius:0,color:"#E2E2E2"},title:{background:"#f1f1f1",color:"#454545"},background:"white",color:"#454545",classes:{tooltip:"qtip-light"}},dark:{border:{width:3,radius:0,color:"#303030"},title:{background:"#404040",color:"#f3f3f3"},background:"#505050",color:"#f3f3f3",classes:{tooltip:"qtip-dark"}},red:{border:{width:3,radius:0,color:"#CE6F6F"},title:{background:"#f28279",color:"#9C2F2F"},background:"#F79992",color:"#9C2F2F",classes:{tooltip:"qtip-red"}},green:{border:{width:3,radius:0,color:"#A9DB66"},title:{background:"#b9db8c",color:"#58792E"},background:"#CDE6AC",color:"#58792E",classes:{tooltip:"qtip-green"}},blue:{border:{width:3,radius:0,color:"#ADD9ED"},title:{background:"#D0E9F5",color:"#5E99BD"},background:"#E5F6FE",color:"#4D9FBF",classes:{tooltip:"qtip-blue"}}}}(jQuery),function(n){function e(t,i){var s=t.data("jqae"),u,e,c;s||(s={});u=s.wrapperElement;u||(u=t.wrapInner("<div/>").find(">div"),u.css({margin:0,padding:0,border:0}));e=u.data("jqae");e||(e={});c=e.originalContent;c?u=e.originalContent.clone(!0).data("jqae",{originalContent:c}).replaceAll(u):u.data("jqae",{originalContent:u.clone(!0)});t.data("jqae",{wrapperElement:u,containerWidth:t.width(),containerHeight:t.height()});var l=t.height(),a=(parseInt(t.css("padding-top"),10)||0)+(parseInt(t.css("border-top-width"),10)||0)-(u.offset().top-t.offset().top),o=!1,v=u;i.selector&&(v=n(u.find(i.selector).get().reverse()));v.each(function(){var t=n(this),s=t.text(),e=!1;if(u.innerHeight()-t.innerHeight()>l+a)t.remove();else if(f(t),t.contents().length){for(o&&(r(t).get(0).nodeValue+=i.ellipsis,o=!1);u.innerHeight()>l+a;)if(e=h(t),e)if(f(t),t.contents().length)r(t).get(0).nodeValue+=i.ellipsis;else{o=!0;t.remove();break}else{o=!0;t.remove();break}i.setTitle=="onEllipsis"&&e||i.setTitle=="always"?t.attr("title",s):i.setTitle!="never"&&t.removeAttr("title")}})}function h(t){var u=r(t),i,f;return u.length?(i=u.get(0).nodeValue,f=i.lastIndexOf(" "),f>-1?(i=n.trim(i.substring(0,f)),u.get(0).nodeValue=i):u.get(0).nodeValue="",!0):!1}function r(n){var i,t;return n.contents().length?(t=n.contents(),i=t.eq(t.length-1),i.filter(o).length?i:r(i)):(n.append(""),t=n.contents(),t.eq(t.length-1))}function f(t){var u,i,r;if(t.contents().length){if(u=t.contents(),i=u.eq(u.length-1),i.filter(o).length)return r=i.get(0).nodeValue,r=n.trim(r),r==""?(i.remove(),!0):!1;while(f(i));return i.contents().length?!1:(i.remove(),!0)}return!1}function o(){return this.nodeType===3}function c(n,r){t[n]=r;i||(i=window.setInterval(function(){a()},200))}function l(n){t[n]&&(delete t[n],t.length||i&&(window.clearInterval(i),i=undefined))}function a(){if(!u){u=!0;for(var i in t)n(i).each(function(){var r,u;r=n(this);u=r.data("jqae");(u.containerWidth!=r.width()||u.containerHeight!=r.height())&&e(r,t[i])});u=!1}}var t={},i,u=!1,s={ellipsis:"...",setTitle:"never",live:!1};n.fn.ellipsis=function(t,i){var u,r;return u=n(this),typeof t!="string"&&(i=t,t=undefined),r=n.extend({},s,i),r.selector=t,u.each(function(){var t=n(this);e(t,r)}),r.live?c(u.selector,r):l(u.selector),this}}(jQuery),function(n){n.Jcrop=function(t,r){function f(n){return""+parseInt(n)+"px"}function k(n){return""+parseInt(n)+"%"}function ot(n){return u.baseClass+"-"+n}function at(t){var i=n(t).offset();return[i.left,i.top]}function st(n){return[n.pageX-et[0],n.pageY-et[1]]}function oi(n){n!=dt&&(y.setCursor(n),dt=n)}function si(n,t){if(et=at(l),y.setCursor(n=="move"?n:n+"-resize"),n=="move")return y.activateHandlers(ci(t),yt);var r=e.getFixed(),i=ti(n),u=e.getCorner(ti(i));e.setPressed(e.getCorner(i));e.setCurrent(u);y.activateHandlers(hi(n,r),yt)}function hi(n,t){return function(i){if(u.aspectRatio)switch(n){case"e":i[1]=t.y+1;break;case"w":i[1]=t.y+1;break;case"n":i[0]=t.x+1;break;case"s":i[0]=t.x+1}else switch(n){case"e":i[1]=t.y2;break;case"w":i[1]=t.y2;break;case"n":i[0]=t.x2;break;case"s":i[0]=t.x2}e.setCurrent(i);o.update()}}function ci(n){var t=n;return lt.watchKeys(),function(n){e.moveOffset([n[0]-t[0],n[1]-t[1]]);t=n;o.update()}}function ti(n){switch(n){case"n":return"sw";case"s":return"nw";case"e":return"nw";case"w":return"ne";case"ne":return"sw";case"nw":return"se";case"se":return"nw";case"sw":return"ne"}}function ii(n){return function(t){return u.disabled?!1:n=="move"&&!u.allowMove?!1:(rt=!0,si(n,st(t)),t.stopPropagation(),t.preventDefault(),!1)}}function li(n,t,i){var r=n.width(),u=n.height();r>t&&t>0&&(r=t,u=t/n.width()*n.height());u>i&&i>0&&(u=i,r=i/n.height()*n.width());a=n.width()/r;v=n.height()/u;n.width(r).height(u)}function vt(n){return{x:parseInt(n.x*a),y:parseInt(n.y*v),x2:parseInt(n.x2*a),y2:parseInt(n.y2*v),w:parseInt(n.w*a),h:parseInt(n.h*v)}}function yt(){var n=e.getFixed();n.w>u.minSelect[0]&&n.h>u.minSelect[1]?(o.enableHandles(),o.done()):o.release();y.setCursor(u.allowSelect?"crosshair":"default")}function ai(n){if(u.disabled||!u.allowSelect)return!1;rt=!0;et=at(l);o.disableHandles();oi("crosshair");var t=st(n);return e.setPressed(t),y.activateHandlers(vi,yt),lt.watchKeys(),o.update(),n.stopPropagation(),n.preventDefault(),!1}function vi(n){e.setCurrent(n);o.update()}function ri(){var t=n("<div><\/div>").addClass(ot("tracker"));return n.browser.msie&&t.css({opacity:0,backgroundColor:"white"}),t}function yi(n){function l(){window.setTimeout(c,w)}var y=n[0]/a,p=n[1]/v,s=n[2]/a,h=n[3]/v,c;if(!gt){var r=e.flipCoords(y,p,s,h),f=e.getFixed(),t=initcr=[f.x,f.y,f.x2,f.y2],w=u.animationDelay,b=t[0],k=t[1],s=t[2],h=t[3],d=r[0]-initcr[0],g=r[1]-initcr[1],nt=r[2]-initcr[2],tt=r[3]-initcr[3],i=0,it=u.swingSpeed;o.animMode(!0);c=function(){return function(){i+=(100-i)/it;t[0]=b+i/100*d;t[1]=k+i/100*g;t[2]=s+i/100*nt;t[3]=h+i/100*tt;i<100?l():o.done();i>=99.8&&(i=100);fi(t)}}();l()}}function ui(n){fi([n[0]/a,n[1]/v,n[2]/a,n[3]/v])}function fi(n){e.setPressed([n[0],n[1]]);e.setCurrent([n[2],n[3]]);o.update()}function ei(t){typeof t!="object"&&(t={});u=n.extend(u,t);typeof u.onChange!="function"&&(u.onChange=function(){});typeof u.onSelect!="function"&&(u.onSelect=function(){})}function pi(){return vt(e.getFixed())}function wi(){return e.getFixed()}function bi(n){ei(n);pt()}function ki(){u.disabled=!0;o.disableHandles();o.setCursor("default");y.setCursor("default")}function di(){u.disabled=!1;pt()}function gi(){o.done();y.activateHandlers(null,null)}function nr(){ht.remove();p.show()}function pt(n){u.allowResize?n?o.enableOnly():o.enableHandles():o.disableHandles();y.setCursor(u.allowSelect?"crosshair":"default");o.setCursor(u.allowMove?"move":"default");ht.css("backgroundColor",u.bgColor);"setSelect"in u&&(ui(r.setSelect),o.done(),delete u.setSelect);"trueSize"in u&&(a=u.trueSize[0]/c,v=u.trueSize[1]/s);g=u.maxSize[0]||0;nt=u.maxSize[1]||0;tt=u.minSize[0]||0;it=u.minSize[1]||0;"outerImage"in u&&(l.attr("src",u.outerImage),delete u.outerImage);o.refresh()}var t=t,r=r,bt,u,p,l,wt;typeof t!="object"&&(t=n(t)[0]);typeof r!="object"&&(r={});"trackDocument"in r||(r.trackDocument=n.browser.msie?!1:!0,n.browser.msie&&n.browser.version.split(".")[0]=="8"&&(r.trackDocument=!0));"keySupport"in r||(r.keySupport=n.browser.msie?!1:!0);bt={trackDocument:!1,baseClass:"jcrop",addClass:null,bgColor:"black",bgOpacity:.6,borderOpacity:.4,handleOpacity:.5,handlePad:5,handleSize:9,handleOffset:5,edgeMargin:14,aspectRatio:0,keySupport:!0,cornerHandles:!0,sideHandles:!0,drawBorders:!0,dragEdges:!0,boxWidth:0,boxHeight:0,boundary:8,animationDelay:20,swingSpeed:3,allowSelect:!0,allowMove:!0,allowResize:!0,minSelect:[0,0],maxSize:[0,0],minSize:[0,0],onChange:function(){},onSelect:function(){}};u=bt;ei(r);p=n(t);l=p.clone().removeAttr("id").css({position:"absolute"});l.width(p.width());l.height(p.height());p.after(l).hide();li(l,u.boxWidth,u.boxHeight);var c=l.width(),s=l.height(),ht=n("<div />").width(c).height(s).addClass(ot("holder")).css({position:"relative",backgroundColor:u.bgColor}).insertAfter(p).append(l);u.addClass&&ht.addClass(u.addClass);var kt=n("<img />").attr("src",l.attr("src")).css("position","absolute").width(c).height(s),ct=n("<div />").width(k(100)).height(k(100)).css({zIndex:310,position:"absolute",overflow:"hidden"}).append(kt),b=n("<div />").width(k(100)).height(k(100)).css("zIndex",320),ut=n("<div />").css({position:"absolute",zIndex:300}).insertBefore(l).append(ct,b),ft=u.boundary,d=ri().width(c+ft*2).height(s+ft*2).css({position:"absolute",top:f(-ft),left:f(-ft),zIndex:290}).mousedown(ai),g,nt,tt,it,a,v,et=at(l),rt,dt,gt,ni,e=function(){function b(u){var u=y(u);r=n=u[0];i=t=u[1]}function k(n){var n=y(n);e=n[0]-r;o=n[1]-i;r=n[0];i=n[1]}function d(){return[e,o]}function rt(u){var f=u[0],e=u[1];0>n+f&&(f-=f+n);0>t+e&&(e-=e+t);s<i+e&&(e+=s-(i+e));c<r+f&&(f+=c-(r+f));n+=f;r+=f;t+=e;i+=e}function ut(n){var t=l();switch(n){case"ne":return[t.x2,t.y];case"nw":return[t.x,t.y];case"se":return[t.x2,t.y2];case"sw":return[t.x,t.y2]}}function l(){if(!u.aspectRatio)return ft();var l=u.aspectRatio,b=u.minSize[0]/a,rt=u.minSize[1]/v,y=u.maxSize[0]/a,g=u.maxSize[1]/v,k=r-n,d=i-t,nt=Math.abs(k),tt=Math.abs(d),it=nt/tt,e,o;return y==0&&(y=c*10),g==0&&(g=s*10),it<l?(o=i,w=tt*l,e=k<0?n-w:w+n,e<0?(e=0,h=Math.abs((e-n)/l),o=d<0?t-h:h+t):e>c&&(e=c,h=Math.abs((e-n)/l),o=d<0?t-h:h+t)):(e=r,h=nt/l,o=d<0?t-h:t+h,o<0?(o=0,w=Math.abs((o-t)*l),e=k<0?n-w:w+n):o>s&&(o=s,w=Math.abs(o-t)*l,e=k<0?n-w:w+n)),e>n?(e-n<b?e=n+b:e-n>y&&(e=n+y),o=o>t?t+(e-n)/l:t-(e-n)/l):e<n&&(n-e<b?e=n-b:n-e>y&&(e=n-y),o=o>t?t+(n-e)/l:t-(n-e)/l),e<0?(n-=e,e=0):e>c&&(n-=e-c,e=c),o<0?(t-=o,o=0):o>s&&(t-=o-s,o=s),last=p(f(n,t,e,o))}function y(n){return n[0]<0&&(n[0]=0),n[1]<0&&(n[1]=0),n[0]>c&&(n[0]=c),n[1]>s&&(n[1]=s),[n[0],n[1]]}function f(n,t,i,r){var u=n,f=i,e=t,o=r;return i<n&&(u=i,f=n),r<t&&(e=r,o=t),[Math.round(u),Math.round(e),Math.round(f),Math.round(o)]}function ft(){var e=r-n,o=i-t,u;return g&&Math.abs(e)>g&&(r=e>0?n+g:n-g),nt&&Math.abs(o)>nt&&(i=o>0?t+nt:t-nt),it&&Math.abs(o)<it&&(i=o>0?t+it:t-it),tt&&Math.abs(e)<tt&&(r=e>0?n+tt:n-tt),n<0&&(r-=n,n-=n),t<0&&(i-=t,t-=t),r<0&&(n-=r,r-=r),i<0&&(t-=i,i-=i),r>c&&(u=r-c,n-=u,r-=u),i>s&&(u=i-s,t-=u,i-=u),n>c&&(u=n-s,i-=u,t-=u),t>s&&(u=t-s,i-=u,t-=u),p(f(n,t,r,i))}function p(n){return{x:n[0],y:n[1],x2:n[2],y2:n[3],w:n[2]-n[0],h:n[3]-n[1]}}var n=0,t=0,r=0,i=0,e,o;return{flipCoords:f,setPressed:b,setCurrent:k,getOffset:d,moveOffset:rt,getCorner:ut,getFixed:l}}(),o=function(){function h(t){var i=n("<div />").css({position:"absolute",opacity:u.borderOpacity}).addClass(ot(t));return ct.append(i),i}function d(t,i){var r=n("<div />").mousedown(ii(t)).css({cursor:t+"-resize",position:"absolute",zIndex:i});return b.append(r),r}function et(n){return d(n,w++).css({top:f(-r+1),left:f(-r+1),opacity:u.handleOpacity}).addClass(ot("handle"))}function c(n){var t=u.handleSize,i=r,e=t,o=t,s=i,h=i;switch(n){case"n":case"s":o=k(100);break;case"e":case"w":e=k(100)}return d(n,w++).width(o).height(e).css({top:f(-s+1),left:f(-h+1)})}function g(n){for(i in n)t[n[i]]=et(n[i])}function y(n){var e=Math.round(n.h/2-r),o=Math.round(n.w/2-r),s=west=-r+1,i=n.w-r,u=n.h-r;"e"in t&&t.e.css({top:f(e),left:f(i)})&&t.w.css({top:f(e)})&&t.s.css({top:f(u),left:f(o)})&&t.n.css({left:f(o)});"ne"in t&&t.ne.css({left:f(i)})&&t.se.css({top:f(u),left:f(i)})&&t.sw.css({top:f(u)});"b"in t&&t.b.css({top:f(u)})&&t.r.css({left:f(i)})}function st(n,t){kt.css({top:f(-t),left:f(-n)});ut.css({top:f(t),left:f(n)})}function ht(n,t){ut.width(n).height(t)}function nt(){var n=e.getFixed();e.setPressed([n.x,n.y]);e.setCurrent([n.x2,n.y2]);tt()}function tt(){if(s)return it()}function it(){var n=e.getFixed();ht(n.w,n.h);st(n.x,n.y);u.drawBorders&&v.right.css({left:f(n.w-1)})&&v.bottom.css({top:f(n.h-1)});o&&y(n);s||lt();u.onChange(vt(n))}function lt(){ut.show();l.css("opacity",u.bgOpacity);s=!0}function at(){a();ut.hide();l.css("opacity",1);s=!1}function yt(){o&&(y(e.getFixed()),b.show())}function rt(){return o=!0,u.allowResize?(y(e.getFixed()),b.show(),!0):void 0}function a(){o=!1;b.hide()}function ft(n){(gt=n)?a():rt()}function pt(){ft(!1);nt()}var s,w=370,v={},t={},o=!1,r=u.handleOffset,p;return u.drawBorders&&(v={top:h("hline").css("top",n.browser.msie?f(-1):f(0)),bottom:h("hline"),left:h("vline"),right:h("vline")}),u.dragEdges&&(t.t=c("n"),t.b=c("s"),t.r=c("e"),t.l=c("w")),u.sideHandles&&g(["n","s","e","w"]),u.cornerHandles&&g(["sw","nw","ne","se"]),p=ri().mousedown(ii("move")).css({cursor:"move",position:"absolute",zIndex:360}),ct.append(p),a(),{updateVisible:tt,update:it,release:at,refresh:nt,setCursor:function(n){p.css("cursor",n)},enableHandles:rt,enableOnly:function(){o=!0},showHandles:yt,disableHandles:a,animMode:ft,done:pt}}(),y=function(){function s(){d.css({zIndex:450});f&&n(document).mousemove(o).mouseup(t)}function h(){d.css({zIndex:290});f&&n(document).unbind("mousemove",o).unbind("mouseup",t)}function o(n){i(st(n))}function t(n){if(n.preventDefault(),n.stopPropagation(),rt){rt=!1;r(st(n));u.onSelect(vt(e.getFixed()));h();i=function(){};r=function(){}}return!1}function c(n,t){return rt=!0,i=n,r=t,s(),!1}function a(n){d.css("cursor",n)}var i=function(){},r=function(){},f=u.trackDocument;return f||d.mousemove(o).mouseup(t).mouseout(t),l.before(d),{activateHandlers:c,setCursor:a}}(),lt=function(){function f(){u.keySupport&&(t.show(),t.focus())}function s(){t.hide()}function i(n,t,i){u.allowMove&&(e.moveOffset([t,i]),o.updateVisible());n.preventDefault();n.stopPropagation()}function h(n){if(n.ctrlKey)return!0;ni=n.shiftKey?!0:!1;var t=ni?10:1;switch(n.keyCode){case 37:i(n,-t,0);break;case 39:i(n,t,0);break;case 38:i(n,0,-t);break;case 40:i(n,0,t);break;case 27:o.release();break;case 9:return!0}return nothing(n)}var t=n('<input type="radio" />').css({position:"absolute",left:"-30px"}).keypress(h).blur(s),r=n("<div />").css({position:"absolute",overflow:"hidden"}).append(t);return u.keySupport&&r.insertBefore(l),{watchKeys:f}}();return b.hide(),pt(!0),wt={animateTo:yi,setSelect:ui,setOptions:bi,tellSelect:pi,tellScaled:wi,disable:ki,enable:di,cancel:gi,focus:lt.watchKeys,getBounds:function(){return[c*a,s*v]},getWidgetSize:function(){return[c,s]},release:o.release,destroy:nr},p.data("Jcrop",wt),wt};n.fn.Jcrop=function(t){function i(i){var u=t.useImg||i.src,r=new Image;r.onload=function(){n.Jcrop(i,t)};r.src=u}return typeof t!="object"&&(t={}),this.each(function(){if(n(this).data("Jcrop")){if(t=="api")return n(this).data("Jcrop");n(this).data("Jcrop").setOptions(t)}else i(this)}),this}}(jQuery);jQuery.fn.quickpaginate=function(n){n=jQuery.extend({perpage:6,pager:null,showcounter:!0,prev:"qp_next",next:"qp_prev",pagenumber:"qp_pagenumber",totalnumber:"qp_totalnumber",counter:"qp_counter"},n);var t,f,e=!1,o=!0,i=jQuery(this),u,r,s=function(){i.show();f=i.size();i.size()>n.perpage&&(i.filter(":gt("+(n.perpage-1)+")").hide(),t=n.perpage,l())},h=function(){if(!e){var s=t+n.perpage;i.hide();i.slice(t,s).show();t=s;t>=f&&(e=!0,u.addClass("qp_disabled"));n.showcounter&&n.pager.find("."+n.pagenumber).text(t/n.perpage);r.removeClass("qp_disabled");o=!1}},c=function(){if(!o){var f=t-n.perpage;i.hide();i.slice(f-n.perpage,f).show();t=f;t==n.perpage&&(o=!0,r.addClass("qp_disabled"));n.showcounter&&n.pager.find("."+n.pagenumber).text(t/n.perpage);u.removeClass("qp_disabled");e=!1}},l=function(){var t,e;n.pager===null&&(n.pager=jQuery('<div class="qc_pager"><\/div>'),i.eq(i.size()-1).after(n.pager));t=$('<a class="'+n.prev+'" href="#"><img src="/images/fancy_left.png" align="middle" border="none"/><\/a><a class="'+n.next+'" href="#"><img src="/images/fancy_right.png" align="middle" border="none"/><\/a>');jQuery(n.pager).append(t);n.showcounter&&(e='<span class="'+n.counter+'" style="vertical-align:middle"><span class="'+n.pagenumber+'"><\/span> / <span class="'+n.totalnumber+'"><\/span><\/span>',n.pager.find("."+n.prev).after(e),n.pager.find("."+n.pagenumber).text(1),n.pager.find("."+n.totalnumber).text(Math.ceil(f/n.perpage)));u=n.pager.find("."+n.next);r=n.pager.find("."+n.prev);r.addClass("qp_disabled");u.click(function(){return h(),!1});r.click(function(){return c(),!1})};s()},function(n){n.fn.editable=function(t){var t;if(t=="disable")return this.unbind(this.data("editable.options").editBy,this.data("editable.options").toEditable);if(t=="enable")return this.bind(this.data("editable.options").editBy,this.data("editable.options").toEditable);if(t=="destroy")return this.unbind(this.data("editable.options").editBy,this.data("editable.options").toEditable).data("editable.previous",null).data("editable.current",null).data("editable.options",null);t=n.extend({onEdit:null,onSubmit:null,onCancel:null,editClass:null,submit:null,cancel:null,type:"text",submitBy:"blur",editBy:"click",options:null},t);t.toEditable=function(){if($this=n(this),$this.data("editable.current",$this.html()),opts=$this.data("editable.options"),n.editableFactory[opts.type].toEditable($this.empty(),opts),$this.data("editable.previous",$this.data("editable.current")).children().focus().addClass(opts.editClass),opts.submit)n("<button/>").appendTo($this).html(opts.submit).one("mouseup",function(){opts.toNonEditable(n(this).parent(),!0)});else $this.one(opts.submitBy,function(){opts.toNonEditable(n(this),!0)}).children().one(opts.submitBy,function(){opts.toNonEditable(n(this).parent(),!0)});if(opts.cancel)n("<button/>").appendTo($this).html(opts.cancel).one("mouseup",function(){opts.toNonEditable(n(this).parent(),!1)});n.isFunction(opts.onEdit)&&opts.onEdit.apply($this,[{current:$this.data("editable.current"),previous:$this.data("editable.previous")}])};t.toNonEditable=function(t,i){opts=t.data("editable.options");t.one(opts.editBy,opts.toEditable).data("editable.current",i?n.editableFactory[opts.type].getValue(t,opts):t.data("editable.current")).html(opts.type=="password"?"*****":t.data("editable.current"));var r=null;n.isFunction(opts.onSubmit)&&i==!0?r=opts.onSubmit:n.isFunction(opts.onCancel)&&i==!1&&(r=opts.onCancel);r!=null&&r.apply(t,[{current:t.data("editable.current"),previous:t.data("editable.previous")}])};this.data("editable.options",t);return this.one(t.editBy,t.toEditable)};n.editableFactory={text:{toEditable:function(t){n("<input/>").appendTo(t).val(t.data("editable.current"))},getValue:function(n){return n.children().val()}},password:{toEditable:function(t){t.data("editable.current",t.data("editable.password"));t.data("editable.previous",t.data("editable.password"));n('<input type="password"/>').appendTo(t).val(t.data("editable.current"))},getValue:function(n){return n.data("editable.password",n.children().val()),n.children().val()}},textarea:{toEditable:function(t){n("<textarea/>").appendTo(t).val(t.data("editable.current"))},getValue:function(n){return n.children().val()}},select:{toEditable:function(t,i){$select=n("<select/>").appendTo(t);n.each(i.options,function(t,i){n("<option/>").appendTo($select).html(i).attr("value",t)});$select.children().each(function(){var i=n(this);if(i.text()==t.data("editable.current"))return i.attr("selected","selected").text()})},getValue:function(t){var i=null;return n("select",t).children().each(function(){if(n(this).attr("selected"))return i=n(this).text()}),i}}}}(jQuery)