jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});(function(a){a.InFieldLabels=function(c,e,b){var d=this;d.$label=a(c);d.label=c;d.$field=a(e);d.field=e;d.$label.data("InFieldLabels",d);d.showing=true;d.init=function(){d.options=a.extend({},a.InFieldLabels.defaultOptions,b);if(d.$field.val()!=""){d.$label.hide();d.showing=false}d.$field.focus(function(){d.fadeOnFocus()}).blur(function(){d.checkForEmpty(true)}).bind("keydown.infieldlabel",function(f){d.hideOnChange(f)}).change(function(f){d.checkForEmpty()}).bind("onPropertyChange",function(){d.checkForEmpty()})};d.fadeOnFocus=function(){if(d.showing){d.setOpacity(d.options.fadeOpacity)}};d.setOpacity=function(f){d.$label.stop().animate({opacity:f},d.options.fadeDuration);d.showing=(f>0)};d.checkForEmpty=function(f){if(d.$field.val()==""){d.prepForShow();d.setOpacity(f?0.9:d.options.fadeOpacity)}else{d.setOpacity(0)}};d.prepForShow=function(f){if(!d.showing){d.$label.css({opacity:0}).show();d.$field.bind("keydown.infieldlabel",function(g){d.hideOnChange(g)})}};d.hideOnChange=function(f){if((f.keyCode==16)||(f.keyCode==9)){return}if(d.showing){d.$label.hide();d.showing=false}d.$field.unbind("keydown.infieldlabel")};d.init()};a.InFieldLabels.defaultOptions={fadeOpacity:0.5,fadeDuration:100};a.fn.inFieldLabels=function(b){return this.each(function(){var d=a(this).attr("for");if(!d){return}var c=a("input#"+d+"[type='text'],input#"+d+"[type='password'],textarea#"+d);if(c.length==0){return}(new a.InFieldLabels(this,c[0],b))})}})(jQuery);/*! jQuery Orbit Plugin 1.2.3 www.ZURB.com/playground Copyright 2010, ZURB  Free to use under the MIT license. http://www.opensource.org/licenses/mit-license.php */
(function(d){d.fn.orbit=function(a){a=d.extend({animation:"horizontal-push",animationSpeed:600,timer:!0,advanceSpeed:4E3,pauseOnHover:!1,startClockOnMouseOut:!1,startClockOnMouseOutAfter:1E3,directionalNav:!0,captions:!0,captionAnimation:"fade",captionAnimationSpeed:600,bullets:!1,bulletThumbs:!1,bulletThumbLocation:"",afterSlideChange:function(){}},a);return this.each(function(){function q(){if(!a.timer||a.timer=="false")return!1;else r.is(":hidden")?s=setInterval(function(){l("next")},a.advanceSpeed):
(o=!0,x.removeClass("active"),s=setInterval(function(){var a="rotate("+m+"deg)";m+=2;t.css({"-webkit-transform":a,"-moz-transform":a,"-o-transform":a});m>180&&(t.addClass("move"),z.addClass("move"));m>360&&(t.removeClass("move"),z.removeClass("move"),m=0,l("next"))},a.advanceSpeed/180))}function n(){if(!a.timer||a.timer=="false")return!1;else o=!1,clearInterval(s),x.addClass("active")}function A(){if(!a.captions||a.captions=="false")return!1;else{var y=e.eq(b).data("caption");(_captionHTML=d(y).html())?
(j.attr("id",y).html(_captionHTML),a.captionAnimation=="none"&&j.show(),a.captionAnimation=="fade"&&j.fadeIn(a.captionAnimationSpeed),a.captionAnimation=="slideOpen"&&j.slideDown(a.captionAnimationSpeed)):(a.captionAnimation=="none"&&j.hide(),a.captionAnimation=="fade"&&j.fadeOut(a.captionAnimationSpeed),a.captionAnimation=="slideOpen"&&j.slideUp(a.captionAnimationSpeed))}}function B(){if(a.bullets)D.children("li").removeClass("active").eq(b).addClass("active");else return!1}function l(d){function c(){e.eq(f).css({"z-index":1});
u=!1;a.afterSlideChange.call(this)}var f=b,g=d;if(f==g)return!1;if(e.length=="1")return!1;u||(u=!0,d=="next"?(b++,b==p&&(b=0)):d=="prev"?(b--,b<0&&(b=p-1)):(b=d,f<b?g="next":f>b&&(g="prev")),B(),e.eq(f).css({"z-index":2}),a.animation=="fade"&&e.eq(b).css({opacity:0,"z-index":3}).animate({opacity:1},a.animationSpeed,c),a.animation=="horizontal-slide"&&(g=="next"&&e.eq(b).css({left:h,"z-index":3}).animate({left:0},a.animationSpeed,c),g=="prev"&&e.eq(b).css({left:-h,"z-index":3}).animate({left:0},a.animationSpeed,
c)),a.animation=="vertical-slide"&&(g=="prev"&&e.eq(b).css({top:v,"z-index":3}).animate({top:0},a.animationSpeed,c),g=="next"&&e.eq(b).css({top:-v,"z-index":3}).animate({top:0},a.animationSpeed,c)),a.animation=="horizontal-push"&&(g=="next"&&(e.eq(b).css({left:h,"z-index":3}).animate({left:0},a.animationSpeed,c),e.eq(f).animate({left:-h},a.animationSpeed)),g=="prev"&&(e.eq(b).css({left:-h,"z-index":3}).animate({left:0},a.animationSpeed,c),e.eq(f).animate({left:h},a.animationSpeed))),A())}var b=0,
p=0,h,v,u,f=d(this).addClass("orbit"),c=f.wrap('<div class="orbit-wrapper" />').parent();f.add(h).width("1px").height("1px");var e=f.children("img, a, div");e.each(function(){var a=d(this),b=a.width(),a=a.height();b>f.width()&&(f.add(c).width(b),h=f.width());a>f.height()&&(f.add(c).height(a),v=f.height());p++});if(e.length==1)a.directionalNav=!1,a.timer=!1,a.bullets=!1;e.eq(b).css({"z-index":3}).fadeIn(function(){e.css({display:"block"})});if(a.timer){c.append('<div class="timer"><span class="mask"><span class="rotator"></span></span><span class="pause"></span></div>');
var r=d("div.timer"),o;if(r.length!=0){var t=d("div.timer span.rotator"),z=d("div.timer span.mask"),x=d("div.timer span.pause"),m=0,s;q();r.click(function(){o?n():q()});if(a.startClockOnMouseOut){var C;c.mouseleave(function(){C=setTimeout(function(){o||q()},a.startClockOnMouseOutAfter)});c.mouseenter(function(){clearTimeout(C)})}}}a.pauseOnHover&&c.mouseenter(function(){n()});if(a.captions){c.append('<div class="orbit-caption"></div>');var j=c.children(".orbit-caption");A()}if(a.directionalNav){if(a.directionalNav==
"false")return!1;c.append('<div class="slider-nav"><span class="right">Right</span><span class="left">Left</span></div>');var k=c.children("div.slider-nav").children("span.left"),w=c.children("div.slider-nav").children("span.right");k.click(function(){n();l("prev")});w.click(function(){n();l("next")})}if(a.bullets){c.append('<ul class="orbit-bullets"></ul>');var D=d("ul.orbit-bullets");for(i=0;i<p;i++){k=d("<li>"+(i+1)+"</li>");if(a.bulletThumbs&&(w=e.eq(i).data("thumb")))k=d('<li class="has-thumb">'+
i+"</li>"),k.css({background:"url("+a.bulletThumbLocation+w+") no-repeat"});d("ul.orbit-bullets").append(k);k.data("index",i);k.click(function(){n();l(d(this).data("index"))})}B()}})}})(jQuery);(function(a){a.fn.tipTip=function(c){var g={activation:"hover",keepAlive:false,maxWidth:"200px",edgeOffset:3,defaultPosition:"bottom",delay:-100,fadeIn:-200,fadeOut:-200,attribute:"title",content:false,enter:function(){},exit:function(){}};var e=a.extend(g,c);if(a("#tiptip_holder").length<=0){var b=a('<div id="tiptip_holder" style="max-width:'+e.maxWidth+';"></div>');var d=a('<div id="tiptip_content"></div>');var f=a('<div id="tiptip_arrow"></div>');a("body").append(b.html(d).prepend(f.html('<div id="tiptip_arrow_inner"></div>')))}else{var b=a("#tiptip_holder");var d=a("#tiptip_content");var f=a("#tiptip_arrow")}return this.each(function(){var i=a(this);if(e.content){var l=e.content}else{var l=i.attr(e.attribute)}if(l!=""){if(!e.content){i.removeAttr(e.attribute)}var h=false;if(e.activation=="hover"){i.hover(function(){k()},function(){if(!e.keepAlive){j()}});if(e.keepAlive){b.hover(function(){},function(){j()})}}else{if(e.activation=="focus"){i.focus(function(){k()}).blur(function(){j()})}else{if(e.activation=="click"){i.click(function(){k();return false}).hover(function(){},function(){if(!e.keepAlive){j()}});if(e.keepAlive){b.hover(function(){},function(){j()})}}}}function k(){e.enter.call(this);d.html(l);b.hide().removeAttr("class").css("margin","0");f.removeAttr("style");var y=parseInt(i.offset()["top"]);var p=parseInt(i.offset()["left"]);var v=parseInt(i.outerWidth());var A=parseInt(i.outerHeight());var x=b.outerWidth();var s=b.outerHeight();var w=Math.round((v-x)/2);var o=Math.round((A-s)/2);var n=Math.round(p+w);var m=Math.round(y+A+e.edgeOffset);var t="";var C="";var u=Math.round(x-12)/2;if(e.defaultPosition=="bottom"){t="_bottom"}else{if(e.defaultPosition=="top"){t="_top"}else{if(e.defaultPosition=="left"){t="_left"}else{if(e.defaultPosition=="right"){t="_right"}}}}var r=(w+p)<parseInt(a(window).scrollLeft());var q=(x+p)>parseInt(a(window).width());if((r&&w<0)||(t=="_right"&&!q)||(t=="_left"&&p<(x+e.edgeOffset+5))){t="_right";C=Math.round(s-13)/2;u=-12;n=Math.round(p+v+e.edgeOffset);m=Math.round(y+o)}else{if((q&&w<0)||(t=="_left"&&!r)){t="_left";C=Math.round(s-13)/2;u=Math.round(x);n=Math.round(p-(x+e.edgeOffset+5));m=Math.round(y+o)}}var z=(y+A+e.edgeOffset+s+8)>parseInt(a(window).height()+a(window).scrollTop());var B=((y+A)-(e.edgeOffset+s+8))<0;if(z||(t=="_bottom"&&z)||(t=="_top"&&!B)){if(t=="_top"||t=="_bottom"){t="_top"}else{t=t+"_top"}C=s;m=Math.round(y-(s+5+e.edgeOffset))}else{if(B|(t=="_top"&&B)||(t=="_bottom"&&!z)){if(t=="_top"||t=="_bottom"){t="_bottom"}else{t=t+"_bottom"}C=-12;m=Math.round(y+A+e.edgeOffset)}}if(t=="_right_top"||t=="_left_top"){m=m+5}else{if(t=="_right_bottom"||t=="_left_bottom"){m=m-5}}if(t=="_left_top"||t=="_left_bottom"){n=n+5}f.css({"margin-left":u+"px","margin-top":C+"px"});b.css({"margin-left":n+"px","margin-top":m+"px"}).attr("class","tip"+t);if(h){clearTimeout(h)}h=setTimeout(function(){b.stop(true,true).fadeIn(e.fadeIn)},e.delay)}function j(){e.exit.call(this);if(h){clearTimeout(h)}b.fadeOut(e.fadeOut)}}})}})(jQuery);window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};(function(e){function h(){}for(var g="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),f;f=g.pop();){e[f]=e[f]||h}})((function(){try{console.log();return window.console}catch(a){return window.console={}}})());
/*! begin jQuery Easing */
(function(a){jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(f,g,e,j,h){return jQuery.easing[jQuery.easing.def](f,g,e,j,h)},easeInQuad:function(f,g,e,j,h){return j*(g/=h)*g+e},easeOutQuad:function(f,g,e,j,h){return -j*(g/=h)*(g-2)+e},easeInOutQuad:function(f,g,e,j,h){if((g/=h/2)<1){return j/2*g*g+e}return -j/2*((--g)*(g-2)-1)+e},easeInCubic:function(f,g,e,j,h){return j*(g/=h)*g*g+e},easeOutCubic:function(f,g,e,j,h){return j*((g=g/h-1)*g*g+1)+e},easeInOutCubic:function(f,g,e,j,h){if((g/=h/2)<1){return j/2*g*g*g+e}return j/2*((g-=2)*g*g+2)+e},easeInQuart:function(f,g,e,j,h){return j*(g/=h)*g*g*g+e},easeOutQuart:function(f,g,e,j,h){return -j*((g=g/h-1)*g*g*g-1)+e},easeInOutQuart:function(f,g,e,j,h){if((g/=h/2)<1){return j/2*g*g*g*g+e}return -j/2*((g-=2)*g*g*g-2)+e},easeInQuint:function(f,g,e,j,h){return j*(g/=h)*g*g*g*g+e},easeOutQuint:function(f,g,e,j,h){return j*((g=g/h-1)*g*g*g*g+1)+e},easeInOutQuint:function(f,g,e,j,h){if((g/=h/2)<1){return j/2*g*g*g*g*g+e}return j/2*((g-=2)*g*g*g*g+2)+e},easeInSine:function(f,g,e,j,h){return -j*Math.cos(g/h*(Math.PI/2))+j+e},easeOutSine:function(f,g,e,j,h){return j*Math.sin(g/h*(Math.PI/2))+e},easeInOutSine:function(f,g,e,j,h){return -j/2*(Math.cos(Math.PI*g/h)-1)+e},easeInExpo:function(f,g,e,j,h){return(g==0)?e:j*Math.pow(2,10*(g/h-1))+e},easeOutExpo:function(f,g,e,j,h){return(g==h)?e+j:j*(-Math.pow(2,-10*g/h)+1)+e},easeInOutExpo:function(f,g,e,j,h){if(g==0){return e}if(g==h){return e+j}if((g/=h/2)<1){return j/2*Math.pow(2,10*(g-1))+e}return j/2*(-Math.pow(2,-10*--g)+2)+e},easeInCirc:function(f,g,e,j,h){return -j*(Math.sqrt(1-(g/=h)*g)-1)+e},easeOutCirc:function(f,g,e,j,h){return j*Math.sqrt(1-(g=g/h-1)*g)+e},easeInOutCirc:function(f,g,e,j,h){if((g/=h/2)<1){return -j/2*(Math.sqrt(1-g*g)-1)+e}return j/2*(Math.sqrt(1-(g-=2)*g)+1)+e},easeInElastic:function(f,h,e,m,l){var j=1.70158;var k=0;var g=m;if(h==0){return e}if((h/=l)==1){return e+m}if(!k){k=l*0.3}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k))+e},easeOutElastic:function(f,h,e,m,l){var j=1.70158;var k=0;var g=m;if(h==0){return e}if((h/=l)==1){return e+m}if(!k){k=l*0.3}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}return g*Math.pow(2,-10*h)*Math.sin((h*l-j)*(2*Math.PI)/k)+m+e},easeInOutElastic:function(f,h,e,m,l){var j=1.70158;var k=0;var g=m;if(h==0){return e}if((h/=l/2)==2){return e+m}if(!k){k=l*(0.3*1.5)}if(g<Math.abs(m)){g=m;var j=k/4}else{var j=k/(2*Math.PI)*Math.asin(m/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*l-j)*(2*Math.PI)/k)*0.5+m+e},easeInBack:function(f,g,e,k,j,h){if(h==undefined){h=1.70158}return k*(g/=j)*g*((h+1)*g-h)+e},easeOutBack:function(f,g,e,k,j,h){if(h==undefined){h=1.70158}return k*((g=g/j-1)*g*((h+1)*g+h)+1)+e},easeInOutBack:function(f,g,e,k,j,h){if(h==undefined){h=1.70158}if((g/=j/2)<1){return k/2*(g*g*(((h*=(1.525))+1)*g-h))+e}return k/2*((g-=2)*g*(((h*=(1.525))+1)*g+h)+2)+e},easeInBounce:function(f,g,e,j,h){return j-jQuery.easing.easeOutBounce(f,h-g,0,j,h)+e},easeOutBounce:function(f,g,e,j,h){if((g/=h)<(1/2.75)){return j*(7.5625*g*g)+e}else{if(g<(2/2.75)){return j*(7.5625*(g-=(1.5/2.75))*g+0.75)+e}else{if(g<(2.5/2.75)){return j*(7.5625*(g-=(2.25/2.75))*g+0.9375)+e}else{return j*(7.5625*(g-=(2.625/2.75))*g+0.984375)+e
}}}},easeInOutBounce:function(f,g,e,j,h){if(g<h/2){return jQuery.easing.easeInBounce(f,g*2,0,j,h)*0.5+e}return jQuery.easing.easeOutBounce(f,g*2-h,0,j,h)*0.5+j*0.5+e}})})(this.jQuery);
/*! end jQuery Easing */
/*! begin TipTip */
(function(a){(function(b){b.fn.tipTip=function(d){var h={activation:"hover",keepAlive:false,maxWidth:"200px",edgeOffset:3,defaultPosition:"bottom",delay:400,fadeIn:200,fadeOut:200,attribute:"title",content:false,enter:function(){},exit:function(){}};var f=b.extend(h,d);if(b("#tiptip_holder").length<=0){var c=b('<div id="tiptip_holder" style="max-width:'+f.maxWidth+';"></div>');var e=b('<div id="tiptip_content"></div>');var g=b('<div id="tiptip_arrow"></div>');b("body").append(c.html(e).prepend(g.html('<div id="tiptip_arrow_inner"></div>')))}else{var c=b("#tiptip_holder");var e=b("#tiptip_content");var g=b("#tiptip_arrow")}return this.each(function(){var k=b(this);if(f.content){var n=f.content}else{var n=k.attr(f.attribute)}if(n!=""){if(!f.content){k.removeAttr(f.attribute)}var j=false;if(f.activation=="hover"){k.hover(function(){m()},function(){if(!f.keepAlive){l()}});if(f.keepAlive){c.hover(function(){},function(){l()})}}else{if(f.activation=="focus"){k.focus(function(){m()}).blur(function(){l()})}else{if(f.activation=="click"){k.click(function(){m();return false}).hover(function(){},function(){if(!f.keepAlive){l()}});if(f.keepAlive){c.hover(function(){},function(){l()})}}}}function m(){f.enter.call(this);e.html(n);c.hide().removeAttr("class").css("margin","0");g.removeAttr("style");var A=parseInt(k.offset()["top"]);var r=parseInt(k.offset()["left"]);var x=parseInt(k.outerWidth());var C=parseInt(k.outerHeight());var z=c.outerWidth();var u=c.outerHeight();var y=Math.round((x-z)/2);var q=Math.round((C-u)/2);var p=Math.round(r+y);var o=Math.round(A+C+f.edgeOffset);var v="";var E="";var w=Math.round(z-12)/2;if(f.defaultPosition=="bottom"){v="_bottom"}else{if(f.defaultPosition=="top"){v="_top"}else{if(f.defaultPosition=="left"){v="_left"}else{if(f.defaultPosition=="right"){v="_right"}}}}var t=(y+r)<parseInt(b(window).scrollLeft());var s=(z+r)>parseInt(b(window).width());if((t&&y<0)||(v=="_right"&&!s)||(v=="_left"&&r<(z+f.edgeOffset+5))){v="_right";E=Math.round(u-13)/2;w=-12;p=Math.round(r+x+f.edgeOffset);o=Math.round(A+q)}else{if((s&&y<0)||(v=="_left"&&!t)){v="_left";E=Math.round(u-13)/2;w=Math.round(z);p=Math.round(r-(z+f.edgeOffset+5));o=Math.round(A+q)}}var B=(A+C+f.edgeOffset+u+8)>parseInt(b(window).height()+b(window).scrollTop());var D=((A+C)-(f.edgeOffset+u+8))<0;if(B||(v=="_bottom"&&B)||(v=="_top"&&!D)){if(v=="_top"||v=="_bottom"){v="_top"}else{v=v+"_top"}E=u;o=Math.round(A-(u+5+f.edgeOffset))}else{if(D|(v=="_top"&&D)||(v=="_bottom"&&!B)){if(v=="_top"||v=="_bottom"){v="_bottom"}else{v=v+"_bottom"}E=-12;o=Math.round(A+C+f.edgeOffset)}}if(v=="_right_top"||v=="_left_top"){o=o+5}else{if(v=="_right_bottom"||v=="_left_bottom"){o=o-5}}if(v=="_left_top"||v=="_left_bottom"){p=p+5}g.css({"margin-left":w+"px","margin-top":E+"px"});c.css({"margin-left":p+"px","margin-top":o+"px"}).attr("class","tip"+v);if(j){clearTimeout(j)}j=setTimeout(function(){c.stop(true,true).fadeIn(f.fadeIn)},f.delay)}function l(){f.exit.call(this);if(j){clearTimeout(j)}c.fadeOut(f.fadeOut)}}})}})(jQuery)})(this.jQuery);
/*! end TipTip */
/*! begin orbit slider */
(function(a){(function(b){b.fn.orbit=function(c){c=b.extend({animation:"horizontal-push",animationSpeed:600,timer:!0,advanceSpeed:4000,pauseOnHover:!1,startClockOnMouseOut:!1,startClockOnMouseOutAfter:1000,directionalNav:!0,captions:!0,captionAnimation:"fade",captionAnimationSpeed:600,bullets:!1,bulletThumbs:!1,bulletThumbLocation:"",afterSlideChange:function(){}},c);return this.each(function(){function M(){if(!c.timer||c.timer=="false"){return !1}else{K.is(":hidden")?I=setInterval(function(){S("next")},c.advanceSpeed):(P=!0,g.removeClass("active"),I=setInterval(function(){var e="rotate("+R+"deg)";R+=2;G.css({"-webkit-transform":e,"-moz-transform":e,"-o-transform":e});R>180&&(G.addClass("move"),d.addClass("move"));
R>360&&(G.removeClass("move"),d.removeClass("move"),R=0,S("next"))},c.advanceSpeed/180))}}function Q(){if(!c.timer||c.timer=="false"){return !1}else{P=!1,clearInterval(I),g.addClass("active")}}function N(){if(!c.captions||c.captions=="false"){return !1}else{var e=X.eq(Z).data("caption");(_captionHTML=b(e).html())?(U.attr("id",e).html(_captionHTML),c.captionAnimation=="none"&&U.show(),c.captionAnimation=="fade"&&U.fadeIn(c.captionAnimationSpeed),c.captionAnimation=="slideOpen"&&U.slideDown(c.captionAnimationSpeed)):(c.captionAnimation=="none"&&U.hide(),c.captionAnimation=="fade"&&U.fadeOut(c.captionAnimationSpeed),c.captionAnimation=="slideOpen"&&U.slideUp(c.captionAnimationSpeed))}}function L(){if(c.bullets){H.children("li").removeClass("active").eq(Z).addClass("active")}else{return !1}}function S(j){function k(){X.eq(h).css({"z-index":1});F=!1;c.afterSlideChange.call(this)}var h=Z,e=j;if(h==e){return !1}if(X.length=="1"){return !1}F||(F=!0,j=="next"?(Z++,Z==O&&(Z=0)):j=="prev"?(Z--,Z<0&&(Z=O-1)):(Z=j,h<Z?e="next":h>Z&&(e="prev")),L(),X.eq(h).css({"z-index":2}),c.animation=="fade"&&X.eq(Z).css({opacity:0,"z-index":3}).animate({opacity:1},c.animationSpeed,k),c.animation=="horizontal-slide"&&(e=="next"&&X.eq(Z).css({left:V,"z-index":3}).animate({left:0},c.animationSpeed,k),e=="prev"&&X.eq(Z).css({left:-V,"z-index":3}).animate({left:0},c.animationSpeed,k)),c.animation=="vertical-slide"&&(e=="prev"&&X.eq(Z).css({top:E,"z-index":3}).animate({top:0},c.animationSpeed,k),e=="next"&&X.eq(Z).css({top:-E,"z-index":3}).animate({top:0},c.animationSpeed,k)),c.animation=="horizontal-push"&&(e=="next"&&(X.eq(Z).css({left:V,"z-index":3}).animate({left:0},c.animationSpeed,k),X.eq(h).animate({left:-V},c.animationSpeed)),e=="prev"&&(X.eq(Z).css({left:-V,"z-index":3}).animate({left:0},c.animationSpeed,k),X.eq(h).animate({left:V},c.animationSpeed))),N())}var Z=0,O=0,V,E,F,W=b(this).addClass("orbit"),Y=W.wrap('<div class="orbit-wrapper" />').parent();W.add(V).width("1px").height("1px");var X=W.children("img, a, div");X.each(function(){var f=b(this),e=f.width(),f=f.height();e>W.width()&&(W.add(Y).width(e),V=W.width());f>W.height()&&(W.add(Y).height(f),E=W.height());O++});if(X.length==1){c.directionalNav=!1,c.timer=!1,c.bullets=!1}X.eq(Z).css({"z-index":3}).fadeIn(function(){X.css({display:"block"})});if(c.timer){Y.append('<div class="timer"><span class="mask"><span class="rotator"></span></span><span class="pause"></span></div>');var K=b("div.timer"),P;if(K.length!=0){var G=b("div.timer span.rotator"),d=b("div.timer span.mask"),g=b("div.timer span.pause"),R=0,I;M();K.click(function(){P?Q():M()});if(c.startClockOnMouseOut){var J;Y.mouseleave(function(){J=setTimeout(function(){P||M()},c.startClockOnMouseOutAfter)});Y.mouseenter(function(){clearTimeout(J)})}}}c.pauseOnHover&&Y.mouseenter(function(){Q()});if(c.captions){Y.append('<div class="orbit-caption"></div>');var U=Y.children(".orbit-caption");N()}if(c.directionalNav){if(c.directionalNav=="false"){return !1}Y.append('<div class="slider-nav"><span class="right">Right</span><span class="left">Left</span></div>');var T=Y.children("div.slider-nav").children("span.left"),y=Y.children("div.slider-nav").children("span.right");T.click(function(){Q();S("prev")});y.click(function(){Q();S("next")})}if(c.bullets){Y.append('<ul class="orbit-bullets"></ul>');var H=b("ul.orbit-bullets");for(i=0;i<O;i++){T=b("<li>"+(i+1)+"</li>");if(c.bulletThumbs&&(y=X.eq(i).data("thumb"))){T=b('<li class="has-thumb">'+i+"</li>"),T.css({background:"url("+c.bulletThumbLocation+y+") no-repeat"})}b("ul.orbit-bullets").append(T);T.data("index",i);T.click(function(){Q();S(b(this).data("index"))})}L()}})}})(jQuery)})(this.jQuery);
/*! end orbit slider */
$(window).load(function(){$("ul.mainnavlist li").hover(function(){$(this).addClass("dropActive");$("ul.children:first",this).fadeIn({duration:200,easing:"easeOutQuint"}).css("zIndex","20000")},function(){$(this).removeClass("dropActive");$("ul.children:first",this).fadeOut({duration:200})});if($("#theOrbit").length>0){$("#theOrbit").orbit({directionalNav:false,advanceSpeed:4000,bullets:false,startClockOnMouseOut:true,startClockOnMouseOutAfter:8000})}if($("#searchbox label").length>0){$("#searchbox label").inFieldLabels({fadeOpacity:0.1,fadeDuration:200,setOpacity:0.1})}if($(".tiptip").length>0){$(".tiptip").tipTip({fadeIn:200,fadeOut:400,maxWidth:"320px"})}$("#mainfooter ul li:last").css("border-right","none");$("ul#menu-all-services li:nth-child(1)").addClass("icon-software-dev-32");$("ul#menu-all-services li:nth-child(2)").addClass("icon-human-resource-32");$("ul#menu-all-services li:nth-child(3)").addClass("icon-it-services-32");$("ul#menu-all-services li:nth-child(4)").addClass("icon-software-testing-32");$("ul#menu-all-services li:nth-child(5)").addClass("icon-customer-support-32");$("ul#menu-all-services li:nth-child(6)").addClass("icon-offshore-office-32	");$("ul#serviceList li:nth-child(1)").addClass("icon-software-dev");$("ul#serviceList li:nth-child(2)").addClass("icon-human-resource");$("ul#serviceList li:nth-child(3)").addClass("icon-it-services");$("ul#serviceList li:nth-child(4)").addClass("icon-software-testing");$("ul#serviceList li:nth-child(5)").addClass("icon-customer-support");$("ul#serviceList li:nth-child(6)").addClass("icon-offshore-office")});WebFontConfig={google:{families:["Quattrocento+Sans:latin"]}};(function(){var a=document.createElement("script");a.src=("https:"==document.location.protocol?"https":"http")+"://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js";a.type="text/javascript";a.async="true";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)})();
