﻿/**
* http://www.modernizr.com - Detecting: borderradius | touch
*/
window.Modernizr=function(a,b,c){function G(){}function F(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+p.join(c+" ")+c).split(" ");return!!E(d,b)}function E(a,b){for(var d in a)if(k[a[d]]!==c&&(!b||b(a[d],j)))return!0}function D(a,b){return(""+a).indexOf(b)!==-1}function C(a,b){return typeof a===b}function B(a,b){return A(o.join(a+";")+(b||""))}function A(a){k.cssText=a}var d="1.7pre",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l=b.createElement("input"),m=":)",n=Object.prototype.toString,o=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),p="Webkit Moz O ms Khtml".split(" "),q={svg:"http://www.w3.org/2000/svg"},r={},s={},t={},u=[],v,w=function(a){var c=b.createElement("style"),d=b.createElement("div"),e;c.textContent=a+"{#modernizr{height:3px}}",h.appendChild(c),d.id="modernizr",g.appendChild(d),e=d.offsetHeight===3,c.parentNode.removeChild(c),d.parentNode.removeChild(d);return!!e},x=function(){function d(d,e){e=e||b.createElement(a[d]||"div");var f=(d="on"+d)in e;f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=C(e[d],"function"),C(e[d],c)||(e[d]=c),e.removeAttribute(d))),e=null;return f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),y=({}).hasOwnProperty,z;C(y,c)||C(y.call,c)?z=function(a,b){return b in a&&C(a.constructor.prototype[b],c)}:z=function(a,b){return y.call(a,b)},r.touch=function(){return"ontouchstart"in a||w("@media ("+o.join("touch-enabled),(")+"modernizr)")},r.borderradius=function(){return F("borderRadius","",function(a){return D(a,"orderRadius")})};for(var H in r)z(r,H)&&(v=H.toLowerCase(),e[v]=r[H](),u.push((e[v]?"":"no-")+v));e.input||G(),e.crosswindowmessaging=e.postmessage,e.historymanagement=e.history,e.addTest=function(a,b){a=a.toLowerCase();if(!e[a]){b=!!b(),g.className+=" "+(b?"":"no-")+a,e[a]=b;return e}},A(""),j=l=null,e._enableHTML5=f,e._version=d,g.className=g.className.replace(/\bno-js\b/,"")+" js "+u.join(" ");return e}(this,this.document)

/*
 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
 *
 * Uses the built in easing capabilities added In jQuery 1.1
 * to offer multiple easing options
 *
 * TERMS OF USE - jQuery Easing
 * 
 * Open source under the BSD License. 
 * 
 * Copyright Â© 2008 George McGinley Smith
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
*/
jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,a,c,b,d){return jQuery.easing[jQuery.easing.def](e,a,c,b,d)},easeInQuad:function(e,a,c,b,d){return b*(a/=d)*a+c},easeOutQuad:function(e,a,c,b,d){return-b*(a/=d)*(a-2)+c},easeInOutQuad:function(e,a,c,b,d){if((a/=d/2)<1)return b/2*a*a+c;return-b/2*(--a*(a-2)-1)+c},easeInCubic:function(e,a,c,b,d){return b*(a/=d)*a*a+c},easeOutCubic:function(e,a,c,b,d){return b*((a=a/d-1)*a*a+1)+c},easeInOutCubic:function(e,a,c,b,d){if((a/=d/2)<1)return b/
2*a*a*a+c;return b/2*((a-=2)*a*a+2)+c},easeInQuart:function(e,a,c,b,d){return b*(a/=d)*a*a*a+c},easeOutQuart:function(e,a,c,b,d){return-b*((a=a/d-1)*a*a*a-1)+c},easeInOutQuart:function(e,a,c,b,d){if((a/=d/2)<1)return b/2*a*a*a*a+c;return-b/2*((a-=2)*a*a*a-2)+c},easeInQuint:function(e,a,c,b,d){return b*(a/=d)*a*a*a*a+c},easeOutQuint:function(e,a,c,b,d){return b*((a=a/d-1)*a*a*a*a+1)+c},easeInOutQuint:function(e,a,c,b,d){if((a/=d/2)<1)return b/2*a*a*a*a*a+c;return b/2*((a-=2)*a*a*a*a+2)+c},easeInSine:function(e,
a,c,b,d){return-b*Math.cos(a/d*(Math.PI/2))+b+c},easeOutSine:function(e,a,c,b,d){return b*Math.sin(a/d*(Math.PI/2))+c},easeInOutSine:function(e,a,c,b,d){return-b/2*(Math.cos(Math.PI*a/d)-1)+c},easeInExpo:function(e,a,c,b,d){return a==0?c:b*Math.pow(2,10*(a/d-1))+c},easeOutExpo:function(e,a,c,b,d){return a==d?c+b:b*(-Math.pow(2,-10*a/d)+1)+c},easeInOutExpo:function(e,a,c,b,d){if(a==0)return c;if(a==d)return c+b;if((a/=d/2)<1)return b/2*Math.pow(2,10*(a-1))+c;return b/2*(-Math.pow(2,-10*--a)+2)+c},
easeInCirc:function(e,a,c,b,d){return-b*(Math.sqrt(1-(a/=d)*a)-1)+c},easeOutCirc:function(e,a,c,b,d){return b*Math.sqrt(1-(a=a/d-1)*a)+c},easeInOutCirc:function(e,a,c,b,d){if((a/=d/2)<1)return-b/2*(Math.sqrt(1-a*a)-1)+c;return b/2*(Math.sqrt(1-(a-=2)*a)+1)+c},easeInElastic:function(e,a,c,b,d){e=1.70158;var f=0,g=b;if(a==0)return c;if((a/=d)==1)return c+b;f||(f=d*0.3);if(g<Math.abs(b)){g=b;e=f/4}else e=f/(2*Math.PI)*Math.asin(b/g);return-(g*Math.pow(2,10*(a-=1))*Math.sin((a*d-e)*2*Math.PI/f))+c},easeOutElastic:function(e,
a,c,b,d){e=1.70158;var f=0,g=b;if(a==0)return c;if((a/=d)==1)return c+b;f||(f=d*0.3);if(g<Math.abs(b)){g=b;e=f/4}else e=f/(2*Math.PI)*Math.asin(b/g);return g*Math.pow(2,-10*a)*Math.sin((a*d-e)*2*Math.PI/f)+b+c},easeInOutElastic:function(e,a,c,b,d){e=1.70158;var f=0,g=b;if(a==0)return c;if((a/=d/2)==2)return c+b;f||(f=d*0.3*1.5);if(g<Math.abs(b)){g=b;e=f/4}else e=f/(2*Math.PI)*Math.asin(b/g);if(a<1)return-0.5*g*Math.pow(2,10*(a-=1))*Math.sin((a*d-e)*2*Math.PI/f)+c;return g*Math.pow(2,-10*(a-=1))*Math.sin((a*
d-e)*2*Math.PI/f)*0.5+b+c},easeInBack:function(e,a,c,b,d,f){if(f==undefined)f=1.70158;return b*(a/=d)*a*((f+1)*a-f)+c},easeOutBack:function(e,a,c,b,d,f){if(f==undefined)f=1.70158;return b*((a=a/d-1)*a*((f+1)*a+f)+1)+c},easeInOutBack:function(e,a,c,b,d,f){if(f==undefined)f=1.70158;if((a/=d/2)<1)return b/2*a*a*(((f*=1.525)+1)*a-f)+c;return b/2*((a-=2)*a*(((f*=1.525)+1)*a+f)+2)+c},easeInBounce:function(e,a,c,b,d){return b-jQuery.easing.easeOutBounce(e,d-a,0,b,d)+c},easeOutBounce:function(e,a,c,b,d){return(a/=
d)<1/2.75?b*7.5625*a*a+c:a<2/2.75?b*(7.5625*(a-=1.5/2.75)*a+0.75)+c:a<2.5/2.75?b*(7.5625*(a-=2.25/2.75)*a+0.9375)+c:b*(7.5625*(a-=2.625/2.75)*a+0.984375)+c},easeInOutBounce:function(e,a,c,b,d){if(a<d/2)return jQuery.easing.easeInBounce(e,a*2,0,b,d)*0.5+c;return jQuery.easing.easeOutBounce(e,a*2-d,0,b,d)*0.5+b*0.5+c}});

/**
 * jQuery.ScrollTo - Easy element scrolling using jQuery.
 * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 5/25/2009
 * @author Ariel Flesler
 * @version 1.4.2
 *
 * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
 */
;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);

/*
 * jQuery.SerialScroll - Animated scrolling of series
 * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 06/14/2009
 * @author Ariel Flesler
 * @version 1.2.2
 * http://flesler.blogspot.com/2008/02/jqueryserialscroll.html
 */
;(function(a){var b=a.serialScroll=function(c){return a(window).serialScroll(c)};b.defaults={duration:1e3,axis:"x",event:"click",start:0,step:1,lock:!0,cycle:!0,constant:!0};a.fn.serialScroll=function(c){return this.each(function(){var t=a.extend({},b.defaults,c),s=t.event,i=t.step,r=t.lazy,e=t.target?this:document,u=a(t.target||this,e),p=u[0],m=t.items,h=t.start,g=t.interval,k=t.navigation,l;if(!r){m=d()}if(t.force){f({},h)}a(t.prev||[],e).bind(s,-i,q);a(t.next||[],e).bind(s,i,q);if(!p.ssbound){u.bind("prev.serialScroll",-i,q).bind("next.serialScroll",i,q).bind("goto.serialScroll",f)}if(g){u.bind("start.serialScroll",function(v){if(!g){o();g=!0;n()}}).bind("stop.serialScroll",function(){o();g=!1})}u.bind("notify.serialScroll",function(x,w){var v=j(w);if(v>-1){h=v}});p.ssbound=!0;if(t.jump){(r?u:d()).bind(s,function(v){f(v,j(v.target))})}if(k){k=a(k,e).bind(s,function(v){v.data=Math.round(d().length/k.length)*k.index(this);f(v,this)})}function q(v){v.data+=h;f(v,this)}function f(B,z){if(!isNaN(z)){B.data=z;z=p}var C=B.data,v,D=B.type,A=t.exclude?d().slice(0,-t.exclude):d(),y=A.length,w=A[C],x=t.duration;if(D){B.preventDefault()}if(g){o();l=setTimeout(n,t.interval)}if(!w){v=C<0?0:y-1;if(h!=v){C=v}else{if(!t.cycle){return}else{C=y-v-1}}w=A[C]}if(!w||t.lock&&u.is(":animated")||D&&t.onBefore&&t.onBefore(B,w,u,d(),C)===!1){return}if(t.stop){u.queue("fx",[]).stop()}if(t.constant){x=Math.abs(x/i*(h-C))}u.scrollTo(w,x,t).trigger("notify.serialScroll",[C])}function n(){u.trigger("next.serialScroll")}function o(){clearTimeout(l)}function d(){return a(m,p)}function j(w){if(!isNaN(w)){return w}var x=d(),v;while((v=x.index(w))==-1&&w!=p){w=w.parentNode}return v}})}})(jQuery);

/**
* Cornerz 0.6 - Bullet Proof Corners
* Jonah Fox (jonah@parkerfox.co.uk) 2008
*/
(function(f){f.browser.msie&&document.namespaces.v==null&&document.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML");f.fn.cornerz=function(t){function u(c,b,a,d,g,e){var i,l,m,n,q,r,k="position:absolute;";if(c){i=-1.57;n=a;r=0;k+="top:-"+d+"px;"}else{i=1.57;n=0;r=a;k+="bottom:-"+d+"px;"}if(b){l=3.14;m=a;q=0;k+="left:-"+d+"px;"}else{m=l=0;q=a;k+="right:-"+d+"px;"}k=f("<canvas width="+a+"px height="+a+"px style='"+k+"' ></canvas>");var j=k[0].getContext("2d");j.beginPath();j.lineWidth=
d*2;j.arc(m,n,a,i,l,!(c^b));j.strokeStyle=g;j.stroke();j.lineWidth=0;j.lineTo(q,r);j.fillStyle=e;j.fill();return k}function v(c,b,a,d,g){var e=f("<div style='display: inherit' />");f.each(c.split(" "),function(){e.append(u(this[0]=="t",this[1]=="l",b,a,d,g))});return e}function s(c,b,a,d,g,e,i){return"<v:arc filled='False' strokeweight='"+b+"px' strokecolor='"+a+"' startangle='0' endangle='361' style=' top:"+(d-e)+"px;left: "+(d-g-i)+"px;width:"+c+"px; height:"+c+"px' />"}function w(c,b,a,d,g){var e=
"<div style='text-align:left; '>";f.each(f.trim(c).split(" "),function(){var i,l=1,m=1,n=0;if(this.charAt(0)=="t")i="top:-"+a+"px;";else{i="bottom:-"+a+"px;";m=b+1}if(this.charAt(1)=="l")i+="left:-"+a+"px;";else{i+="right:-"+a+"px; ";l=b;n=1}e+="<div style='"+i+"; position: absolute; overflow:hidden; width:"+b+"px; height: "+b+"px;'>";e+="<v:group  style='width:1000px;height:1000px;position:absolute;' coordsize='1000,1000' >";e+=s(b*3,b+a,g,-b/2,l,m,n);if(a>0)e+=s(b*2-a,a,d,Math.floor(a/2+0.5),l,
m,n);e+="</v:group>";e+="</div>"});e+="</div>";return e}var o={corners:"tl tr bl br",radius:10,background:"white",borderWidth:0,fixIE:true};f.extend(o,t||{});var p=function(c,b,a){var d=parseInt(c.css(b),10)||0;c.css(b,a+d)};return this.each(function(){var c=f(this),b=o.radius*1,a=(o.borderWidth||parseInt(c.css("borderTopWidth"),10)||0)*1,d=o.background,g=o.borderColor;g=g||(a>0?c.css("borderTopColor"):d);var e=o.corners;if(f.browser.msie){h=w(e,b,a,g,d,f(this).width());this.insertAdjacentHTML("beforeEnd",
h)}else c.append(v(e,b,a,g,d));if(this.style.position!="absolute")this.style.position="relative";this.style.zoom=1;if(f.browser.msie&&o.fixIE){b=c.outerWidth();a=c.outerHeight();if(b%2==1){p(c,"padding-right",1);p(c,"margin-right",1)}if(a%2==1){p(c,"padding-bottom",1);p(c,"margin-bottom",1)}}})}})(jQuery);

/*
 * jQuery clueTip plugin
 * Version 1.0.7  (January 28, 2010)
 * @requires jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */

(function(d){d.cluetip={version:"1.0.6"};var e,g,K,A,B,C,u,D;d.fn.cluetip=function(h,Y){if(typeof h=="object"){Y=h;h=null}if(h=="destroy")return this.removeData("thisInfo").unbind(".cluetip");return this.each(function(ga){function ha(){return false}var j=this,c=d(this),a=d.extend(true,{},d.fn.cluetip.defaults,Y||{},d.metadata?c.metadata():d.meta?c.data():{}),L=false,U=+a.cluezIndex;c.data("thisInfo",{title:j.title,zIndex:U});var x=false,Z=0;if(!d("#cluetip").length){d('<div id="cluetip"><div id="cluetip-outer"><h3 id="cluetip-title"></h3><div id="cluetip-inner"></div></div><div id="cluetip-extra"></div><div id="cluetip-arrows" class="cluetip-arrows"></div></div>')[$](aa).hide();
e=d("#cluetip").css({position:"absolute"});K=d("#cluetip-outer").css({position:"relative",zIndex:U});g=d("#cluetip-inner");A=d("#cluetip-title");B=d("#cluetip-arrows");C=d('<div id="cluetip-waitimage"></div>').css({position:"absolute"}).insertBefore(e).hide()}var ba=a.dropShadow?+a.dropShadowSteps:0;if(!u){u=d([]);for(var M=0;M<ba;M++)u=u.add(d("<div></div>").css({zIndex:U-1,opacity:0.1,top:-2+M,left:-2+M}));u.css({position:"absolute",backgroundColor:"#222"}).prependTo(e)}var l=c.attr(a.attribute),
N=a.cluetipClass;if(!l&&!a.splitTitle&&!h)return true;if(a.local&&a.localPrefix)l=a.localPrefix+l;a.local&&a.hideLocal&&d(l+":first").hide();var o=parseInt(a.topOffset,10),v=parseInt(a.leftOffset,10),q,V,O=isNaN(parseInt(a.height,10))?"auto":/\D/g.test(a.height)?a.height:a.height+"px",P,r,p,E,Q,W=parseInt(a.width,10)||275,k=W+(parseInt(e.css("paddingLeft"),10)||0)+(parseInt(e.css("paddingRight"),10)||0)+ba,F=this.offsetWidth,s,i,m,y,z,n=a.attribute!="title"?c.attr(a.titleAttribute):"";if(a.splitTitle){if(n==
undefined)n="";z=n.split(a.splitTitle);n=z.shift()}if(a.escapeTitle)n=n.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;");var S=function(b){if(!a.onActivate(c))return false;x=true;e.removeClass().css({width:W});l==c.attr("href")&&c.css("cursor",a.cursor);a.hoverClass&&c.addClass(a.hoverClass);r=c.offset().top;s=c.offset().left;m=b.pageX;E=b.pageY;if(j.tagName.toLowerCase()!="area"){P=d(document).scrollTop();y=d(window).width()}if(a.positionBy=="fixed"){i=F+s+v;e.css({left:i})}else{i=
F>s&&s>k||s+F+k+v>y?s-k-v:F+s+v;if(j.tagName.toLowerCase()=="area"||a.positionBy=="mouse"||F+k>y)if(m+20+k>y){e.addClass(" cluetip-"+N);i=m-k-v>=0?m-k-v-parseInt(e.css("marginLeft"),10)+parseInt(g.css("marginRight"),10):m-k/2}else i=m+v;var f=i<0?b.pageY+o:b.pageY;e.css({left:i>0&&a.positionBy!="bottomTop"?i:m+k/2>y?y/2-k/2:Math.max(m-k/2,0),zIndex:c.data("thisInfo").zIndex});B.css({zIndex:c.data("thisInfo").zIndex+1})}V=d(window).height();if(h){if(typeof h=="function")h=h.call(j);g.html(h);w(f)}else if(z){b=
z.length;g.html(b?z[0]:"");if(b>1)for(var G=1;G<b;G++)g.append('<div class="split-body">'+z[G]+"</div>");w(f)}else if(!a.local&&l.indexOf("#")!==0)if(/\.(jpe?g|tiff?|gif|png)$/i.test(l)){g.html('<img src="'+l+'" alt="'+n+'" />');w(f)}else if(L&&a.ajaxCache){g.html(L);w(f)}else{var H=a.ajaxSettings.beforeSend,ca=a.ajaxSettings.error,da=a.ajaxSettings.success,ea=a.ajaxSettings.complete;b=d.extend(true,{},a.ajaxSettings,{cache:false,url:l,beforeSend:function(t){H&&H.call(j,t,e,g);K.children().empty();
a.waitImage&&C.css({top:E+20,left:m+20,zIndex:c.data("thisInfo").zIndex-1}).show()},error:function(t,I){if(x)ca?ca.call(j,t,I,e,g):g.html("<i>sorry, the contents could not be loaded</i>")},success:function(t,I){L=a.ajaxProcess.call(j,t);if(x){da&&da.call(j,t,I,e,g);g.html(L)}},complete:function(t,I){ea&&ea.call(j,t,I,e,g);var R=g[0].getElementsByTagName("img");D=R.length;for(var X=0,ia=R.length;X<ia;X++)R[X].complete&&D--;if(D&&!d.browser.opera)d(R).bind("load error",function(){D--;if(D<1){C.hide();
x&&w(f)}});else{C.hide();x&&w(f)}}});d.ajax(b)}else if(a.local){b=d(l+(/#\S+$/.test(l)?"":":eq("+ga+")")).clone(true).show();g.html(b);w(f)}},w=function(b){e.addClass("cluetip-"+N);if(a.truncate){var f=g.text().slice(0,a.truncate)+"...";g.html(f)}n?A.show().html(n):a.showTitle?A.show().html("&nbsp;"):A.hide();if(a.sticky){f=d('<div id="cluetip-close"><a href="#">'+a.closeText+"</a></div>");a.closePosition=="bottom"?f.appendTo(g):a.closePosition=="title"?f.prependTo(A):f.prependTo(g);f.bind("click.cluetip",
function(){J();return false});a.mouseOutClose?e.bind("mouseleave.cluetip",function(){J()}):e.unbind("mouseleave.cluetip")}f="";K.css({zIndex:c.data("thisInfo").zIndex,overflow:O=="auto"?"visible":"auto",height:O});q=O=="auto"?Math.max(e.outerHeight(),e.height()):parseInt(O,10);p=r;Q=P+V;if(a.positionBy=="fixed")p=r-a.dropShadowSteps+o;else if(i<m&&Math.max(i,0)+k>m||a.positionBy=="bottomTop")if(r+q+o>Q&&E-P>q+o){p=E-q-o;f="top"}else{p=E+o;f="bottom"}else p=r+q+o>Q?q>=V?P:Q-q-o:c.css("display")=="block"||
j.tagName.toLowerCase()=="area"||a.positionBy=="mouse"?b-o:r-a.dropShadowSteps;if(f=="")i<s?f="left":f="right";e.css({top:p+"px"}).removeClass().addClass("clue-"+f+"-"+N).addClass(" cluetip-"+N);if(a.arrows){b=r-p-a.dropShadowSteps;B.css({top:/(left|right)/.test(f)&&i>=0&&b>0?b+"px":/(left|right)/.test(f)?0:""}).show()}else B.hide();u.hide();e.hide()[a.fx.open](a.fx.openSpeed||0);a.dropShadow&&u.css({height:q,width:W,zIndex:c.data("thisInfo").zIndex-1}).show();d.fn.bgiframe&&e.bgiframe();if(a.delayedClose>
0)Z=setTimeout(J,a.delayedClose);a.onShow.call(j,e,g)},T=function(){x=false;C.hide();if(!a.sticky||/click|toggle/.test(a.activation)){J();clearTimeout(Z)}a.hoverClass&&c.removeClass(a.hoverClass)},J=function(){K.parent().hide().removeClass();a.onHide.call(j,e,g);c.removeClass("cluetip-clicked");n&&c.attr(a.titleAttribute,n);c.css("cursor","");a.arrows&&B.css({top:""})};d(document).bind("hideCluetip",function(){J()});if(/click|toggle/.test(a.activation))c.bind("click.cluetip",function(b){if(e.is(":hidden")||
!c.is(".cluetip-clicked")){S(b);d(".cluetip-clicked").removeClass("cluetip-clicked");c.addClass("cluetip-clicked")}else T(b);this.blur();return false});else if(a.activation=="focus"){c.bind("focus.cluetip",function(b){S(b)});c.bind("blur.cluetip",function(b){T(b)})}else{c[a.clickThrough?"unbind":"bind"]("click",ha);var fa=function(b){if(a.tracking==true){var f=i-b.pageX,G=p?p-b.pageY:r-b.pageY;c.bind("mousemove.cluetip",function(H){e.css({left:H.pageX+f,top:H.pageY+G})})}};d.fn.hoverIntent&&a.hoverIntent?
c.hoverIntent({sensitivity:a.hoverIntent.sensitivity,interval:a.hoverIntent.interval,over:function(b){S(b);fa(b)},timeout:a.hoverIntent.timeout,out:function(b){T(b);c.unbind("mousemove.cluetip")}}):c.bind("mouseenter.cluetip",function(b){S(b);fa(b)}).bind("mouseleave.cluetip",function(b){T(b);c.unbind("mousemove.cluetip")});c.bind("mouseover.cluetip",function(){c.attr("title","")}).bind("mouseleave.cluetip",function(){c.attr("title",c.data("thisInfo").title)})}})};d.fn.cluetip.defaults={width:275,
height:"auto",cluezIndex:97,positionBy:"auto",topOffset:15,leftOffset:15,local:false,localPrefix:null,hideLocal:true,attribute:"rel",titleAttribute:"title",splitTitle:"",escapeTitle:false,showTitle:true,cluetipClass:"default",hoverClass:"",waitImage:true,cursor:"help",arrows:false,dropShadow:true,dropShadowSteps:6,sticky:false,mouseOutClose:false,activation:"hover",clickThrough:false,tracking:false,delayedClose:0,closePosition:"top",closeText:"Close",truncate:0,fx:{open:"show",openSpeed:""},hoverIntent:{sensitivity:3,
interval:50,timeout:0},onActivate:function(){return true},onShow:function(){},onHide:function(){},ajaxCache:true,ajaxProcess:function(h){return h=h.replace(/<(script|style|title)[^<]+<\/(script|style|title)>/gm,"").replace(/<(link|meta)[^>]+>/g,"")},ajaxSettings:{dataType:"html"},debug:false};var $="appendTo",aa="body";d.cluetip.setup=function(h){if(h&&h.insertionType&&h.insertionType.match(/appendTo|prependTo|insertBefore|insertAfter/))$=h.insertionType;if(h&&h.insertionElement)aa=h.insertionElement}})(jQuery);

/*
 * 
 * jFontSizer Plugin
 * Written by fluidByte - http://www.fluidbyte.net
 * 
 * 
 */

jQuery.fn.jfontsizer=function(a){function e(b){if(document.cookie.length>0){c_start=document.cookie.indexOf(b+"=");if(c_start!=-1){c_start=c_start+b.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end))}}return""}a=jQuery.extend({applyTo:"body",changesmall:"2",changelarge:"2",expire:30},a);var f="",c="",g="",h="fs_med";if(e("fsizer")!=""){h=e("fsizer");switch(h){case "fs_sml":f="fsactive";jQuery(a.applyTo).css("font-size",
"."+(10-a.changesmall)+"em");break;case "fs_med":c="fsactive";jQuery(a.applyTo).css("font-size","1em");break;case "fs_lrg":g="fsactive";jQuery(a.applyTo).css("font-size","1."+a.changelarge+"em")}}else c="fsactive";jQuery(this).html('<div class="fsizer"><a id="fs_sml" class="'+f+'">A</a><a id="fs_med" class="'+c+'">A</a><a id="fs_lrg" class="'+g+'">A</a><br style="clear: both" /></div>');jQuery(".fsizer a").click(function(){var b=jQuery(this).attr("id"),i=a.expire,d=new Date;d.setDate(d.getDate()+
i);document.cookie="fsizer="+escape(b)+(i==null?"":";expires="+d.toGMTString());jQuery(".fsizer a").removeClass("fsactive");jQuery(this).addClass("fsactive");jQuery(a.applyTo).css("font-size");switch(b){case "fs_sml":jQuery(a.applyTo).css("font-size","."+(10-a.changesmall)+"em");break;case "fs_med":jQuery(a.applyTo).css("font-size","1em");break;case "fs_lrg":jQuery(a.applyTo).css("font-size","1."+a.changelarge+"em")}})};



