//--------------------- Last Modified --> 2006.11.10 ---------------------//
//------------------------------------------------------------------------------------//



/*
 * jQuery Nivo Slider v1.9
 * http://nivo.dev7studios.com
 *
 * Copyright 2010, Gilbert Pellegrom
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 * 
 * April 2010 - controlNavThumbs option added by Jamie Thompson (http://jamiethompson.co.uk)
 * March 2010 - manualAdvance option added by HelloPablo (http://hellopablo.co.uk)
 */

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(9($){$.1h.1i=9(1T){b 4=$.2b({},$.1h.1i.21,1T);K g.F(9(){b 3={e:0,n:\'\',T:0,u:\'\',H:l,1f:l,1O:l};b 5=$(g);5.1Q(\'7:3\',3);5.f(\'2h\',\'2i\');5.w(\'1X\');5.x(\'1X\');5.1c(\'1i\');b d=5.2f();d.F(9(){b o=$(g);6(!o.J(\'D\')){6(o.J(\'a\')){o.1c(\'7-2e\')}o=o.1n(\'D:1m\')}b 13=o.w();6(13==0)13=o.t(\'w\');b 18=o.x();6(18==0)18=o.t(\'x\');6(13>5.w()){5.w(13)}6(18>5.x()){5.x(18)}o.f(\'S\',\'1z\');3.T++});6(4.16>0){6(4.16>=3.T)4.16=3.T-1;3.e=4.16}6($(d[3.e]).J(\'D\')){3.n=$(d[3.e])}k{3.n=$(d[3.e]).1n(\'D:1m\')}6($(d[3.e]).J(\'a\')){$(d[3.e]).f(\'S\',\'1v\')}5.f(\'Y\',\'W(\'+3.n.t(\'M\')+\') Q-R\');23(b i=0;i<4.h;i++){b E=1d.2a(5.w()/4.h);6(i==4.h-1){5.P($(\'<A B="7-c"></A>\').f({29:(E*i)+\'12\',w:(5.w()-(E*i))+\'12\'}))}k{5.P($(\'<A B="7-c"></A>\').f({29:(E*i)+\'12\',w:E+\'12\'}))}}5.P($(\'<A B="7-L"><p></p></A>\').f({S:\'1z\',y:4.20}));6(3.n.t(\'1a\')!=\'\'){$(\'.7-L p\',5).1B(3.n.t(\'1a\'));$(\'.7-L\',5).1y(4.q)}b j=0;6(!4.1g){j=1o(9(){C(5,d,4,l)},4.1j)}6(4.V){5.P(\'<A B="7-V"><a B="7-25">2d</a><a B="7-27">2k</a></A>\');6(4.1N){$(\'.7-V\',5).24();5.1W(9(){$(\'.7-V\',5).2c()},9(){$(\'.7-V\',5).24()})}$(\'a.7-25\',5).1s(\'1u\',9(){6(3.H)K l;X(j);j=\'\';3.e-=2;C(5,d,4,\'1r\')});$(\'a.7-27\',5).1s(\'1u\',9(){6(3.H)K l;X(j);j=\'\';C(5,d,4,\'1q\')})}6(4.G){b 1l=$(\'<A B="7-G"></A>\');5.P(1l);23(b i=0;i<d.22;i++){6(4.1L){b o=d.1w(i);6(!o.J(\'D\')){o=o.1n(\'D:1m\')}1l.P(\'<a B="7-1t" 1x="\'+i+\'"><D M="\'+o.t(\'M\').2g(4.1R,4.1S)+\'"></a>\')}k{1l.P(\'<a B="7-1t" 1x="\'+i+\'">\'+i+\'</a>\')}}$(\'.7-G a:1w(\'+3.e+\')\',5).1c(\'1b\');$(\'.7-G a\',5).1s(\'1u\',9(){6(3.H)K l;6($(g).2j(\'1b\'))K l;X(j);j=\'\';5.f(\'Y\',\'W(\'+3.n.t(\'M\')+\') Q-R\');3.e=$(g).t(\'1x\')-1;C(5,d,4,\'1t\')})}6(4.1Z){$(2m).2z(9(1A){6(1A.1V==\'2w\'){6(3.H)K l;X(j);j=\'\';3.e-=2;C(5,d,4,\'1r\')}6(1A.1V==\'2y\'){6(3.H)K l;X(j);j=\'\';C(5,d,4,\'1q\')}})}6(4.1U){5.1W(9(){3.1f=N;X(j);j=\'\'},9(){3.1f=l;6(j==\'\'&&!4.1g){j=1o(9(){C(5,d,4,l)},4.1j)}})}5.2A(\'7:U\',9(){3.H=l;$(d).F(9(){6($(g).J(\'a\')){$(g).f(\'S\',\'1z\')}});6($(d[3.e]).J(\'a\')){$(d[3.e]).f(\'S\',\'1v\')}6(j==\'\'&&!3.1f&&!4.1g){j=1o(9(){C(5,d,4,l)},4.1j)}4.1M.1p(g)})});9 C(5,d,4,14){b 3=5.1Q(\'7:3\');6((!3||3.1O)&&!14)K l;4.1K.1p(g);6(!14){5.f(\'Y\',\'W(\'+3.n.t(\'M\')+\') Q-R\')}k{6(14==\'1r\'){5.f(\'Y\',\'W(\'+3.n.t(\'M\')+\') Q-R\')}6(14==\'1q\'){5.f(\'Y\',\'W(\'+3.n.t(\'M\')+\') Q-R\')}}3.e++;6(3.e==3.T){3.e=0;4.1P.1p(g)}6(3.e<0)3.e=(3.T-1);6($(d[3.e]).J(\'D\')){3.n=$(d[3.e])}k{3.n=$(d[3.e]).1n(\'D:1m\')}6(4.G){$(\'.7-G a\',5).2B(\'1b\');$(\'.7-G a:1w(\'+3.e+\')\',5).1c(\'1b\')}6(3.n.t(\'1a\')!=\'\'){6($(\'.7-L\',5).f(\'S\')==\'1v\'){$(\'.7-L p\',5).28(4.q,9(){$(g).1B(3.n.t(\'1a\'));$(g).1y(4.q)})}k{$(\'.7-L p\',5).1B(3.n.t(\'1a\'))}$(\'.7-L\',5).1y(4.q)}k{$(\'.7-L\',5).28(4.q)}b i=0;$(\'.7-c\',5).F(9(){b E=1d.2a(5.w()/4.h);$(g).f({x:\'O\',y:\'0\',Y:\'W(\'+3.n.t(\'M\')+\') Q-R -\'+((E+(i*E))-E)+\'12 0%\'});i++});6(4.m==\'1G\'){b 1J=2x 2u("1H","10","1I","19","1C","Z","1D","1k");3.u=1J[1d.2l(1d.1G()*(1J.22+1))];6(3.u==2n)3.u=\'1k\'}3.H=N;6(4.m==\'2v\'||4.m==\'1H\'||3.u==\'1H\'||4.m==\'10\'||3.u==\'10\'){b r=0;b i=0;b h=$(\'.7-c\',5);6(4.m==\'10\'||3.u==\'10\')h=$(\'.7-c\',5).17();h.F(9(){b c=$(g);c.f(\'1E\',\'O\');6(i==4.h-1){I(9(){c.z({x:\'s%\',y:\'1.0\'},4.q,\'\',9(){5.11(\'7:U\')})},(s+r))}k{I(9(){c.z({x:\'s%\',y:\'1.0\'},4.q)},(s+r))}r+=1e;i++})}k 6(4.m==\'2p\'||4.m==\'1I\'||3.u==\'1I\'||4.m==\'19\'||3.u==\'19\'){b r=0;b i=0;b h=$(\'.7-c\',5);6(4.m==\'19\'||3.u==\'19\')h=$(\'.7-c\',5).17();h.F(9(){b c=$(g);c.f(\'26\',\'O\');6(i==4.h-1){I(9(){c.z({x:\'s%\',y:\'1.0\'},4.q,\'\',9(){5.11(\'7:U\')})},(s+r))}k{I(9(){c.z({x:\'s%\',y:\'1.0\'},4.q)},(s+r))}r+=1e;i++})}k 6(4.m==\'1C\'||4.m==\'2q\'||3.u==\'1C\'||4.m==\'Z\'||3.u==\'Z\'){b r=0;b i=0;b v=0;b h=$(\'.7-c\',5);6(4.m==\'Z\'||3.u==\'Z\')h=$(\'.7-c\',5).17();h.F(9(){b c=$(g);6(i==0){c.f(\'1E\',\'O\');i++}k{c.f(\'26\',\'O\');i=0}6(v==4.h-1){I(9(){c.z({x:\'s%\',y:\'1.0\'},4.q,\'\',9(){5.11(\'7:U\')})},(s+r))}k{I(9(){c.z({x:\'s%\',y:\'1.0\'},4.q)},(s+r))}r+=1e;v++})}k 6(4.m==\'1D\'||3.u==\'1D\'){b r=0;b i=0;$(\'.7-c\',5).F(9(){b c=$(g);b 1F=c.w();c.f({1E:\'O\',x:\'s%\',w:\'O\'});6(i==4.h-1){I(9(){c.z({w:1F,y:\'1.0\'},4.q,\'\',9(){5.11(\'7:U\')})},(s+r))}k{I(9(){c.z({w:1F,y:\'1.0\'},4.q)},(s+r))}r+=1e;i++})}k 6(4.m==\'1k\'||3.u==\'1k\'){b i=0;$(\'.7-c\',5).F(9(){$(g).f(\'x\',\'s%\');6(i==4.h-1){$(g).z({y:\'1.0\'},(4.q*2),\'\',9(){5.11(\'7:U\')})}k{$(g).z({y:\'1.0\'},(4.q*2))}i++})}}};$.1h.1i.21={m:\'1G\',h:15,q:2t,1j:2s,16:0,V:N,1N:N,G:N,1L:l,1R:\'.1Y\',1S:\'2r.1Y\',1Z:N,1U:N,1g:l,20:0.8,1K:9(){},1M:9(){},1P:9(){}};$.1h.17=[].17})(2o);',62,162,'|||vars|settings|slider|if|nivo||function||var|slice|kids|currentSlide|css|this|slices||timer|else|false|effect|currentImage|child||animSpeed|timeBuff|100|attr|randAnim||width|height|opacity|animate|div|class|nivoRun|img|sliceWidth|each|controlNav|running|setTimeout|is|return|caption|src|true|0px|append|no|repeat|display|totalSlides|animFinished|directionNav|url|clearInterval|background|sliceUpDownLeft|sliceDownLeft|trigger|px|childWidth|nudge||startSlide|reverse|childHeight|sliceUpLeft|title|active|addClass|Math|50|paused|manualAdvance|fn|nivoSlider|pauseTime|fade|nivoControl|first|find|setInterval|call|next|prev|live|control|click|block|eq|rel|fadeIn|none|event|html|sliceUpDown|fold|top|origWidth|random|sliceDownRight|sliceUpRight|anims|beforeChange|controlNavThumbs|afterChange|directionNavHide|stop|slideshowEnd|data|controlNavThumbsSearch|controlNavThumbsReplace|options|pauseOnHover|keyCode|hover|1px|jpg|keyboardNav|captionOpacity|defaults|length|for|hide|prevNav|bottom|nextNav|fadeOut|left|round|extend|show|Prev|imageLink|children|replace|position|relative|hasClass|Next|floor|window|undefined|jQuery|sliceUp|sliceUpDownRight|_thumb|3000|500|Array|sliceDown|37|new|39|keypress|bind|removeClass'.split('|'),0,{}))




// ============
// = Nivo Slider =
// ============



		jQuery(window).load(function() {
		
		setTimeout(function(){

			jQuery('#headerSlider').nivoSlider({
			    effect:'fade',
			    animSpeed:900,
			    pauseTime:4000,
			    startSlide:0, //Set starting Slide (0 index)
			    directionNav:false, //Next and Prev
			    directionNavHide:true, //Only show on hover
			    controlNav:true, //1,2,3...
			    controlNavThumbs:false, //Use thumbnails for Control Nav
			    controlNavThumbsSearch: '.jpg', //Replace this with...
			    controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
			    keyboardNav:true, //Use left and right arrows
			    pauseOnHover:true, //Stop animation while hovering
			    manualAdvance:false, //Force manual transitions
			    captionOpacity:0.8, //Universal caption opacity
			    beforeChange: function(){},
			    afterChange: function(){},
			    slideshowEnd: function(){} //Triggers after all slides have been shown
			});
			
			}, 900);

		});




/**
 * jCarouselLite - jQuery plugin to navigate images/any content in a carousel style widget.
 * @requires jQuery v1.2 or above
 *
 * http://gmarwaha.com/jquery/jcarousellite/
 *
 * Copyright (c) 2007 Ganeshji Marwaha (gmarwaha.com)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Version: 1.0.1
 * Note: Requires jquery 1.2 or above from version 1.0.1
 */

/**
 * Creates a carousel-style navigation widget for images/any-content from a simple HTML markup.
 *
 * The HTML markup that is used to build the carousel can be as simple as...
 *
 *  <div class="carousel">
 *      <ul>
 *          <li><img src="image/1.jpg" alt="1"></li>
 *          <li><img src="image/2.jpg" alt="2"></li>
 *          <li><img src="image/3.jpg" alt="3"></li>
 *      </ul>
 *  </div>
 *
 * As you can see, this snippet is nothing but a simple div containing an unordered list of images.
 * You don't need any special "class" attribute, or a special "css" file for this plugin.
 * I am using a class attribute just for the sake of explanation here.
 *
 * To navigate the elements of the carousel, you need some kind of navigation buttons.
 * For example, you will need a "previous" button to go backward, and a "next" button to go forward.
 * This need not be part of the carousel "div" itself. It can be any element in your page.
 * Lets assume that the following elements in your document can be used as next, and prev buttons...
 *
 * <button class="prev">&lt;&lt;</button>
 * <button class="next">&gt;&gt;</button>
 *
 * Now, all you need to do is call the carousel component on the div element that represents it, and pass in the
 * navigation buttons as options.
 *
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev"
 * });
 *
 * That's it, you would have now converted your raw div, into a magnificient carousel.
 *
 * There are quite a few other options that you can use to customize it though.
 * Each will be explained with an example below.
 *
 * @param an options object - You can specify all the options shown below as an options object param.
 *
 * @option btnPrev, btnNext : string - no defaults
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev"
 * });
 * @desc Creates a basic carousel. Clicking "btnPrev" navigates backwards and "btnNext" navigates forward.
 *
 * @option btnGo - array - no defaults
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev",
 *      btnGo: [".0", ".1", ".2"]
 * });
 * @desc If you don't want next and previous buttons for navigation, instead you prefer custom navigation based on
 * the item number within the carousel, you can use this option. Just supply an array of selectors for each element
 * in the carousel. The index of the array represents the index of the element. What i mean is, if the
 * first element in the array is ".0", it means that when the element represented by ".0" is clicked, the carousel
 * will slide to the first element and so on and so forth. This feature is very powerful. For example, i made a tabbed
 * interface out of it by making my navigation elements styled like tabs in css. As the carousel is capable of holding
 * any content, not just images, you can have a very simple tabbed navigation in minutes without using any other plugin.
 * The best part is that, the tab will "slide" based on the provided effect. :-)
 *
 * @option mouseWheel : boolean - default is false
 * @example
 * $(".carousel").jCarouselLite({
 *      mouseWheel: true
 * });
 * @desc The carousel can also be navigated using the mouse wheel interface of a scroll mouse instead of using buttons.
 * To get this feature working, you have to do 2 things. First, you have to include the mouse-wheel plugin from brandon.
 * Second, you will have to set the option "mouseWheel" to true. That's it, now you will be able to navigate your carousel
 * using the mouse wheel. Using buttons and mouseWheel or not mutually exclusive. You can still have buttons for navigation
 * as well. They complement each other. To use both together, just supply the options required for both as shown below.
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev",
 *      mouseWheel: true
 * });
 *
 * @option auto : number - default is null, meaning autoscroll is disabled by default
 * @example
 * $(".carousel").jCarouselLite({
 *      auto: 800,
 *      speed: 500
 * });
 * @desc You can make your carousel auto-navigate itself by specfying a millisecond value in this option.
 * The value you specify is the amount of time between 2 slides. The default is null, and that disables auto scrolling.
 * Specify this value and magically your carousel will start auto scrolling.
 *
 * @option speed : number - 200 is default
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev",
 *      speed: 800
 * });
 * @desc Specifying a speed will slow-down or speed-up the sliding speed of your carousel. Try it out with
 * different speeds like 800, 600, 1500 etc. Providing 0, will remove the slide effect.
 *
 * @option easing : string - no easing effects by default.
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev",
 *      easing: "bounceout"
 * });
 * @desc You can specify any easing effect. Note: You need easing plugin for that. Once specified,
 * the carousel will slide based on the provided easing effect.
 *
 * @option vertical : boolean - default is false
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev",
 *      vertical: true
 * });
 * @desc Determines the direction of the carousel. true, means the carousel will display vertically. The next and
 * prev buttons will slide the items vertically as well. The default is false, which means that the carousel will
 * display horizontally. The next and prev items will slide the items from left-right in this case.
 *
 * @option circular : boolean - default is true
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev",
 *      circular: false
 * });
 * @desc Setting it to true enables circular navigation. This means, if you click "next" after you reach the last
 * element, you will automatically slide to the first element and vice versa. If you set circular to false, then
 * if you click on the "next" button after you reach the last element, you will stay in the last element itself
 * and similarly for "previous" button and first element.
 *
 * @option visible : number - default is 3
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev",
 *      visible: 4
 * });
 * @desc This specifies the number of items visible at all times within the carousel. The default is 3.
 * You are even free to experiment with real numbers. Eg: "3.5" will have 3 items fully visible and the
 * last item half visible. This gives you the effect of showing the user that there are more images to the right.
 *
 * @option start : number - default is 0
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev",
 *      start: 2
 * });
 * @desc You can specify from which item the carousel should start. Remember, the first item in the carousel
 * has a start of 0, and so on.
 *
 * @option scrool : number - default is 1
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev",
 *      scroll: 2
 * });
 * @desc The number of items that should scroll/slide when you click the next/prev navigation buttons. By
 * default, only one item is scrolled, but you may set it to any number. Eg: setting it to "2" will scroll
 * 2 items when you click the next or previous buttons.
 *
 * @option beforeStart, afterEnd : function - callbacks
 * @example
 * $(".carousel").jCarouselLite({
 *      btnNext: ".next",
 *      btnPrev: ".prev",
 *      beforeStart: function(a) {
 *          alert("Before animation starts:" + a);
 *      },
 *      afterEnd: function(a) {
 *          alert("After animation ends:" + a);
 *      }
 * });
 * @desc If you wanted to do some logic in your page before the slide starts and after the slide ends, you can
 * register these 2 callbacks. The functions will be passed an argument that represents an array of elements that
 * are visible at the time of callback.
 *
 *
 * @cat Plugins/Image Gallery
 * @author Ganeshji Marwaha/ganeshread@gmail.com
 */

(function($) {                                          // Compliant with jquery.noConflict()
$.fn.jCarouselLite = function(o) {
    o = $.extend({
        btnPrev: null,
        btnNext: null,
        btnGo: null,
        mouseWheel: false,
        auto: null,
        hoverPause: false,

        speed: 200,
        easing: null,

        vertical: false,
        circular: true,
        visible: 3,
        start: 0,
        scroll: 1,

        beforeStart: null,
        afterEnd: null
    }, o || {});

    return this.each(function() {                           // Returns the element collection. Chainable.

        var running = false, animCss=o.vertical?"top":"left", sizeCss=o.vertical?"height":"width";
        var div = $(this), ul = $("ul", div), tLi = $("li", ul), tl = tLi.size(), v = o.visible;

        if(o.circular) {
            ul.prepend(tLi.slice(tl-v+1).clone())
              .append(tLi.slice(0,o.scroll).clone());
            o.start += v-1;
        }

        var li = $("li", ul), itemLength = li.size(), curr = o.start;
        div.css("visibility", "visible");

        li.css({overflow: "hidden", float: o.vertical ? "none" : "left"});
        ul.css({margin: "0", padding: "0", position: "relative", "list-style-type": "none", "z-index": "1"});
        div.css({overflow: "hidden", position: "relative", "z-index": "2", left: "0px"});

        var liSize = o.vertical ? height(li) : width(li);   // Full li size(incl margin)-Used for animation
        var ulSize = liSize * itemLength;                   // size of full ul(total length, not just for the visible items)
        var divSize = liSize * v;                           // size of entire div(total length for just the visible items)

        li.css({width: li.width(), height: li.height()});
        ul.css(sizeCss, ulSize+"px").css(animCss, -(curr*liSize));

        div.css(sizeCss, divSize+"px");                     // Width of the DIV. length of visible images

        if(o.btnPrev) {
            $(o.btnPrev).click(function() {
                return go(curr-o.scroll);
            });
            if(o.hoverPause) {
                $(o.btnPrev).hover(function(){stopAuto();}, function(){startAuto();});
            }
        }


        if(o.btnNext) {
            $(o.btnNext).click(function() {
                return go(curr+o.scroll);
            });
            if(o.hoverPause) {
                $(o.btnNext).hover(function(){stopAuto();}, function(){startAuto();});
            }
        }

        if(o.btnGo)
            $.each(o.btnGo, function(i, val) {
                $(val).click(function() {
                    return go(o.circular ? o.visible+i : i);
                });
            });

        if(o.mouseWheel && div.mousewheel)
            div.mousewheel(function(e, d) {
                return d>0 ? go(curr-o.scroll) : go(curr+o.scroll);
            });

        var autoInterval;

        function startAuto() {
          stopAuto();
          autoInterval = setInterval(function() {
                  go(curr+o.scroll);
              }, o.auto+o.speed);
        };

        function stopAuto() {
            clearInterval(autoInterval);
        };

        if(o.auto) {
            if(o.hoverPause) {
                div.hover(function(){stopAuto();}, function(){startAuto();});
            }
            startAuto();
        };

        function vis() {
            return li.slice(curr).slice(0,v);
        };

        function go(to) {
            if(!running) {

                if(o.beforeStart)
                    o.beforeStart.call(this, vis());

                if(o.circular) {            // If circular we are in first or last, then goto the other end
                    if(to<0) {           // If before range, then go around
                        ul.css(animCss, -( (curr + tl) * liSize)+"px");
                        curr = to + tl;
                    } else if(to>itemLength-v) { // If beyond range, then come around
                        ul.css(animCss, -( (curr - tl) * liSize ) + "px" );
                        curr = to - tl;
                    } else curr = to;
                } else {                    // If non-circular and to points to first or last, we just return.
                    if(to<0 || to>itemLength-v) return;
                    else curr = to;
                }                           // If neither overrides it, the curr will still be "to" and we can proceed.

                running = true;

                ul.animate(
                    animCss == "left" ? { left: -(curr*liSize) } : { top: -(curr*liSize) } , o.speed, o.easing,
                    function() {
                        if(o.afterEnd)
                            o.afterEnd.call(this, vis());
                        running = false;
                    }
                );
                // Disable buttons when the carousel reaches the last/first, and enable when not
                if(!o.circular) {
                    $(o.btnPrev + "," + o.btnNext).removeClass("disabled");
                    $( (curr-o.scroll<0 && o.btnPrev)
                        ||
                       (curr+o.scroll > itemLength-v && o.btnNext)
                        ||
                       []
                     ).addClass("disabled");
                }

            }
            return false;
        };
    });
};

function css(el, prop) {
    return parseInt($.css(el[0], prop)) || 0;
};
function width(el) {
    return  el[0].offsetWidth + css(el, 'marginLeft') + css(el, 'marginRight');
};
function height(el) {
    return el[0].offsetHeight + css(el, 'marginTop') + css(el, 'marginBottom');
};

})(jQuery);











/*
 * Inline Form Validation Engine 1.6.4, jQuery plugin - jquery.validationEngine-en.js
 * 
*/



(function($) {
	$.fn.validationEngineLanguage = function() {};
	$.validationEngineLanguage = {
		newLang: function() {
			$.validationEngineLanguage.allRules = 	{"required":{    			// Add your regex rules here, you can take telephone as an example
						"regex":"none",
						"alertText":"* This field is required",
						"alertTextCheckboxMultiple":"* Please select an option",
						"alertTextCheckboxe":"* This checkbox is required"},
					"length":{
						"regex":"none",
						"alertText":"*Between ",
						"alertText2":" and ",
						"alertText3": " characters allowed"},
					"maxCheckbox":{
						"regex":"none",
						"alertText":"* Checks allowed Exceeded"},	
					"minCheckbox":{
						"regex":"none",
						"alertText":"* Please select ",
						"alertText2":" options"},	
					"confirm":{
						"regex":"none",
						"alertText":"* Your field is not matching"},		
					"telephone":{
						"regex":"/^[0-9\-\(\)\ ]+$/",
						"alertText":"* Invalid phone number"},	
					"email":{
						"regex":"/^[a-zA-Z0-9_\.\-]+\@([a-zA-Z0-9\-]+\.)+[a-zA-Z0-9]{2,4}$/",
						"alertText":"* Invalid email address"},	
					"date":{
                         "regex":"/^[0-9]{4}\-\[0-9]{1,2}\-\[0-9]{1,2}$/",
                         "alertText":"* Invalid date, must be in YYYY-MM-DD format"},
					"onlyNumber":{
						"regex":"/^[0-9\ ]+$/",
						"alertText":"* Numbers only"},	
					"noSpecialCaracters":{
						"regex":"/^[0-9a-zA-Z]+$/",
						"alertText":"* No special caracters allowed"},	
					"ajaxUser":{
						"file":"validateUser.php",
						"extraData":"name=eric",
						"alertTextOk":"* This user is available",	
						"alertTextLoad":"* Loading, please wait",
						"alertText":"* This user is already taken"},	
					"ajaxName":{
						"file":"validateUser.php",
						"alertText":"* This name is already taken",
						"alertTextOk":"* This name is available",	
						"alertTextLoad":"* Loading, please wait"},		
					"onlyLetter":{
						"regex":"/^[a-zA-Z\ \']+$/",
						"alertText":"* Letters only"},
					"validate2fields":{
    					"nname":"validate2fields",
    					"alertText":"* You must have a firstname and a lastname"}	
					}	
					
		}
	}
})(jQuery);

jQuery(document).ready(function($) {	
	$.validationEngineLanguage.newLang()
});




/*
 * Inline Form Validation Engine 1.6.4, jQuery plugin
 * 
 * Copyright(c) 2009, Cedric Dugas
 * http://www.position-relative.net
 *	
 * Form validation engine allowing custom regex rules to be added.
 * Thanks to Francois Duquette and Teddy Limousin 
 * and everyone helping me find bugs on the forum
 * Licenced under the MIT Licence
 */
 
(function($) {
	
	$.fn.validationEngine = function(settings) {
		
	if($.validationEngineLanguage){				// IS THERE A LANGUAGE LOCALISATION ?
		allRules = $.validationEngineLanguage.allRules;
	}else{
		$.validationEngine.debug("Validation engine rules are not loaded check your external file");
	}
 	settings = jQuery.extend({
		allrules:allRules,
		validationEventTriggers:"focusout",					
		inlineValidation: true,	
		returnIsValid:false,
		liveEvent:true,
		unbindEngine:true,
		ajaxSubmit: false,
		scroll:true,
		promptPosition: "topRight",	// OPENNING BOX POSITION, IMPLEMENTED: topLeft, topRight, bottomLeft, centerRight, bottomRight
		success : false,
		beforeSuccess :  function() {},
		failure : function() {}
	}, settings);	
	$.validationEngine.settings = settings;
	$.validationEngine.ajaxValidArray = new Array();	// ARRAY FOR AJAX: VALIDATION MEMORY 
	
	if(settings.inlineValidation == true){ 		// Validating Inline ?
		if(!settings.returnIsValid){					// NEEDED FOR THE SETTING returnIsValid
			allowReturnIsvalid = false;
			if(settings.liveEvent){						// LIVE event, vast performance improvement over BIND
				$(this).find("[class*=validate][type!=checkbox]").live(settings.validationEventTriggers, function(caller){ _inlinEvent(this);})
				$(this).find("[class*=validate][type=checkbox]").live("click", function(caller){ _inlinEvent(this); })
			}else{
				$(this).find("[class*=validate]").not("[type=checkbox]").bind(settings.validationEventTriggers, function(caller){ _inlinEvent(this); })
				$(this).find("[class*=validate][type=checkbox]").bind("click", function(caller){ _inlinEvent(this); })
			}
			firstvalid = false;
		}
			function _inlinEvent(caller){
				$.validationEngine.settings = settings;
				if($.validationEngine.intercept == false || !$.validationEngine.intercept){		// STOP INLINE VALIDATION THIS TIME ONLY
					$.validationEngine.onSubmitValid=false;
					$.validationEngine.loadValidation(caller); 
				}else{
					$.validationEngine.intercept = false;
				}
			}
	}
	if (settings.returnIsValid){		// Do validation and return true or false, it bypass everything;
		if ($.validationEngine.submitValidation(this,settings)){
			return false;
		}else{
			return true;
		}
	}
	$(this).bind("submit", function(caller){   // ON FORM SUBMIT, CONTROL AJAX FUNCTION IF SPECIFIED ON DOCUMENT READY
		$.validationEngine.onSubmitValid = true;
		$.validationEngine.settings = settings;
		if($.validationEngine.submitValidation(this,settings) == false){
			if($.validationEngine.submitForm(this,settings) == true) {return false;}
		}else{
			settings.failure && settings.failure(); 
			return false;
		}		
	})
	$(".formError").live("click",function(){	 // REMOVE BOX ON CLICK
		$(this).fadeOut(150,function(){
			$(this).remove();
		}) 
	})
};	
$.validationEngine = {
	defaultSetting : function(caller) {		// NOT GENERALLY USED, NEEDED FOR THE API, DO NOT TOUCH
		if($.validationEngineLanguage){				
			allRules = $.validationEngineLanguage.allRules;
		}else{
			$.validationEngine.debug("Validation engine rules are not loaded check your external file");
		}	
		settings = {
			allrules:allRules,
			validationEventTriggers:"blur",					
			inlineValidation: true,	
			returnIsValid:false,
			scroll:true,
			unbindEngine:true,
			ajaxSubmit: false,
			promptPosition: "topRight",	// OPENNING BOX POSITION, IMPLEMENTED: topLeft, topRight, bottomLeft, centerRight, bottomRight
			success : false,
			failure : function() {}
		}	
		$.validationEngine.settings = settings;
	},
	loadValidation : function(caller) {		// GET VALIDATIONS TO BE EXECUTED
		if(!$.validationEngine.settings){
			$.validationEngine.defaultSetting()
		}
		rulesParsing = $(caller).attr('class');
		rulesRegExp = /\[(.*)\]/;
		getRules = rulesRegExp.exec(rulesParsing);
		str = getRules[1];
		pattern = /\[|,|\]/;
		result= str.split(pattern);	
		var validateCalll = $.validationEngine.validateCall(caller,result)
		return validateCalll;
	},
	validateCall : function(caller,rules) {	// EXECUTE VALIDATION REQUIRED BY THE USER FOR THIS FIELD
		var promptText =""	
		
		if(!$(caller).attr("id")) { $.validationEngine.debug("This field have no ID attribut( name & class displayed): "+$(caller).attr("name")+" "+$(caller).attr("class")) }

		caller = caller;
		ajaxValidate = false;
		var callerName = $(caller).attr("name");
		$.validationEngine.isError = false;
		$.validationEngine.showTriangle = true;
		callerType = $(caller).attr("type");

		for (i=0; i<rules.length;i++){
			switch (rules[i]){
			case "optional": 
				if(!$(caller).val()){
					$.validationEngine.closePrompt(caller);
					return $.validationEngine.isError;
				}
			break;
			case "required": 
				_required(caller,rules);
			break;
			case "custom": 
				 _customRegex(caller,rules,i);
			break;
			case "exemptString": 
				 _exemptString(caller,rules,i);
			break;
			case "ajax": 
				if(!$.validationEngine.onSubmitValid){
					_ajax(caller,rules,i);	
				};
			break;
			case "length": 
				 _length(caller,rules,i);
			break;
			case "maxCheckbox": 
				_maxCheckbox(caller,rules,i);
			 	groupname = $(caller).attr("name");
			 	caller = $("input[name='"+groupname+"']");
			break;
			case "minCheckbox": 
				_minCheckbox(caller,rules,i);
				groupname = $(caller).attr("name");
			 	caller = $("input[name='"+groupname+"']");
			break;
			case "confirm": 
				 _confirm(caller,rules,i);
			break;
			case "funcCall": 
		     	_funcCall(caller,rules,i);
			break;
			default :;
			};
		};
		radioHack();
		if ($.validationEngine.isError == true){
			linkTofield = $.validationEngine.linkTofield(caller);
			
			($("div."+linkTofield).size() ==0) ? $.validationEngine.buildPrompt(caller,promptText,"error")	: $.validationEngine.updatePromptText(caller,promptText);
		}else{ $.validationEngine.closePrompt(caller);}			
		/* UNFORTUNATE RADIO AND CHECKBOX GROUP HACKS */
		/* As my validation is looping input with id's we need a hack for my validation to understand to group these inputs */
		function radioHack(){
	      if($("input[name='"+callerName+"']").size()> 1 && (callerType == "radio" || callerType == "checkbox")) {        // Hack for radio/checkbox group button, the validation go the first radio/checkbox of the group
	          caller = $("input[name='"+callerName+"'][type!=hidden]:first");     
	          $.validationEngine.showTriangle = false;
	      }      
	    }
		/* VALIDATION FUNCTIONS */
		function _required(caller,rules){   // VALIDATE BLANK FIELD
			callerType = $(caller).attr("type");
			if (callerType == "text" || callerType == "password" || callerType == "textarea"){
								
				if(!$(caller).val()){
					$.validationEngine.isError = true;
					promptText += $.validationEngine.settings.allrules[rules[i]].alertText+"<br />";
				}	
			}	
			if (callerType == "radio" || callerType == "checkbox" ){
				callerName = $(caller).attr("name");
		
				if($("input[name='"+callerName+"']:checked").size() == 0) {
					$.validationEngine.isError = true;
					if($("input[name='"+callerName+"']").size() ==1) {
						promptText += $.validationEngine.settings.allrules[rules[i]].alertTextCheckboxe+"<br />"; 
					}else{
						 promptText += $.validationEngine.settings.allrules[rules[i]].alertTextCheckboxMultiple+"<br />";
					}	
				}
			}	
			if (callerType == "select-one") { // added by paul@kinetek.net for select boxes, Thank you		
				if(!$(caller).val()) {
					$.validationEngine.isError = true;
					promptText += $.validationEngine.settings.allrules[rules[i]].alertText+"<br />";
				}
			}
			if (callerType == "select-multiple") { // added by paul@kinetek.net for select boxes, Thank you	
				if(!$(caller).find("option:selected").val()) {
					$.validationEngine.isError = true;
					promptText += $.validationEngine.settings.allrules[rules[i]].alertText+"<br />";
				}
			}
		}
		function _customRegex(caller,rules,position){		 // VALIDATE REGEX RULES
			customRule = rules[position+1];
			pattern = eval($.validationEngine.settings.allrules[customRule].regex);
			
			if(!pattern.test($(caller).attr('value'))){
				$.validationEngine.isError = true;
				promptText += $.validationEngine.settings.allrules[customRule].alertText+"<br />";
			}
		}
		function _exemptString(caller,rules,position){		 // VALIDATE REGEX RULES
			customString = rules[position+1];
			if(customString == $(caller).attr('value')){
				$.validationEngine.isError = true;
				promptText += $.validationEngine.settings.allrules['required'].alertText+"<br />";
			}
		}
		
		function _funcCall(caller,rules,position){  		// VALIDATE CUSTOM FUNCTIONS OUTSIDE OF THE ENGINE SCOPE
			customRule = rules[position+1];
			funce = $.validationEngine.settings.allrules[customRule].nname;
			
			var fn = window[funce];
			if (typeof(fn) === 'function'){
				var fn_result = fn();
				$.validationEngine.isError = fn_result;
				promptText += $.validationEngine.settings.allrules[customRule].alertText+"<br />";
			}
		}
		function _ajax(caller,rules,position){				 // VALIDATE AJAX RULES
			
			customAjaxRule = rules[position+1];
			postfile = $.validationEngine.settings.allrules[customAjaxRule].file;
			fieldValue = $(caller).val();
			ajaxCaller = caller;
			fieldId = $(caller).attr("id");
			ajaxValidate = true;
			ajaxisError = $.validationEngine.isError;
			
			if(!$.validationEngine.settings.allrules[customAjaxRule].extraData){
				extraData = $.validationEngine.settings.allrules[customAjaxRule].extraData;
			}else{
				extraData = "";
			}
			/* AJAX VALIDATION HAS ITS OWN UPDATE AND BUILD UNLIKE OTHER RULES */	
			if(!ajaxisError){
				$.ajax({
				   	type: "POST",
				   	url: postfile,
				   	async: true,
				   	data: "validateValue="+fieldValue+"&validateId="+fieldId+"&validateError="+customAjaxRule+extraData,
				   	beforeSend: function(){		// BUILD A LOADING PROMPT IF LOAD TEXT EXIST		   			
				   		if($.validationEngine.settings.allrules[customAjaxRule].alertTextLoad){
				   		
				   			if(!$("div."+fieldId+"formError")[0]){				   				
	 			 				return $.validationEngine.buildPrompt(ajaxCaller,$.validationEngine.settings.allrules[customAjaxRule].alertTextLoad,"load");
	 			 			}else{
	 			 				$.validationEngine.updatePromptText(ajaxCaller,$.validationEngine.settings.allrules[customAjaxRule].alertTextLoad,"load");
	 			 			}
			   			}
			  	 	},
			  	 	error: function(data,transport){ $.validationEngine.debug("error in the ajax: "+data.status+" "+transport) },
					success: function(data){					// GET SUCCESS DATA RETURN JSON
						data = eval( "("+data+")");				// GET JSON DATA FROM PHP AND PARSE IT
						ajaxisError = data.jsonValidateReturn[2];
						customAjaxRule = data.jsonValidateReturn[1];
						ajaxCaller = $("#"+data.jsonValidateReturn[0])[0];
						fieldId = ajaxCaller;
						ajaxErrorLength = $.validationEngine.ajaxValidArray.length;
						existInarray = false;
						
			 			 if(ajaxisError == "false"){			// DATA FALSE UPDATE PROMPT WITH ERROR;
			 			 	
			 			 	_checkInArray(false)				// Check if ajax validation alreay used on this field
			 			 	
			 			 	if(!existInarray){		 			// Add ajax error to stop submit		 		
				 			 	$.validationEngine.ajaxValidArray[ajaxErrorLength] =  new Array(2);
				 			 	$.validationEngine.ajaxValidArray[ajaxErrorLength][0] = fieldId;
				 			 	$.validationEngine.ajaxValidArray[ajaxErrorLength][1] = false;
				 			 	existInarray = false;
			 			 	}
				
			 			 	$.validationEngine.ajaxValid = false;
							promptText += $.validationEngine.settings.allrules[customAjaxRule].alertText+"<br />";
							$.validationEngine.updatePromptText(ajaxCaller,promptText,"",true);				
						 }else{	 
						 	_checkInArray(true);
						 	$.validationEngine.ajaxValid = true; 			
						 	if(!customAjaxRule)	{$.validationEngine.debug("wrong ajax response, are you on a server or in xampp? if not delete de ajax[ajaxUser] validating rule from your form ")}		   
	 			 			if($.validationEngine.settings.allrules[customAjaxRule].alertTextOk){	// NO OK TEXT MEAN CLOSE PROMPT	 			
	 			 				 				$.validationEngine.updatePromptText(ajaxCaller,$.validationEngine.settings.allrules[customAjaxRule].alertTextOk,"pass",true);
 			 				}else{
				 			 	ajaxValidate = false;		 	
				 			 	$.validationEngine.closePrompt(ajaxCaller);
 			 				}		
			 			 }
			 			function  _checkInArray(validate){
			 				for(x=0;x<ajaxErrorLength;x++){
			 			 		if($.validationEngine.ajaxValidArray[x][0] == fieldId){
			 			 			$.validationEngine.ajaxValidArray[x][1] = validate;
			 			 			existInarray = true;
			 			 		
			 			 		}
			 			 	}
			 			}
			 		}				
				});
			}
		}
		function _confirm(caller,rules,position){		 // VALIDATE FIELD MATCH
			confirmField = rules[position+1];
			
			if($(caller).attr('value') != $("#"+confirmField).attr('value')){
				$.validationEngine.isError = true;
				promptText += $.validationEngine.settings.allrules["confirm"].alertText+"<br />";
			}
		}
		function _length(caller,rules,position){    	  // VALIDATE LENGTH
		
			startLength = eval(rules[position+1]);
			endLength = eval(rules[position+2]);
			feildLength = $(caller).attr('value').length;

			if(feildLength<startLength || feildLength>endLength){
				$.validationEngine.isError = true;
				promptText += $.validationEngine.settings.allrules["length"].alertText+startLength+$.validationEngine.settings.allrules["length"].alertText2+endLength+$.validationEngine.settings.allrules["length"].alertText3+"<br />"
			}
		}
		function _maxCheckbox(caller,rules,position){  	  // VALIDATE CHECKBOX NUMBER
		
			nbCheck = eval(rules[position+1]);
			groupname = $(caller).attr("name");
			groupSize = $("input[name='"+groupname+"']:checked").size();
			if(groupSize > nbCheck){	
				$.validationEngine.showTriangle = false;
				$.validationEngine.isError = true;
				promptText += $.validationEngine.settings.allrules["maxCheckbox"].alertText+"<br />";
			}
		}
		function _minCheckbox(caller,rules,position){  	  // VALIDATE CHECKBOX NUMBER
		
			nbCheck = eval(rules[position+1]);
			groupname = $(caller).attr("name");
			groupSize = $("input[name='"+groupname+"']:checked").size();
			if(groupSize < nbCheck){	
			
				$.validationEngine.isError = true;
				$.validationEngine.showTriangle = false;
				promptText += $.validationEngine.settings.allrules["minCheckbox"].alertText+" "+nbCheck+" "+$.validationEngine.settings.allrules["minCheckbox"].alertText2+"<br />";
			}
		}
		return($.validationEngine.isError) ? $.validationEngine.isError : false;
	},
	submitForm : function(caller){
		if($.validationEngine.settings.ajaxSubmit){		
			if($.validationEngine.settings.ajaxSubmitExtraData){
				extraData = $.validationEngine.settings.ajaxSubmitExtraData;
			}else{
				extraData = "";
			}
			$.ajax({
			   	type: "POST",
			   	url: $.validationEngine.settings.ajaxSubmitFile,
			   	async: true,
			   	data: $(caller).serialize()+"&"+extraData,
			   	error: function(data,transport){ $.validationEngine.debug("error in the ajax: "+data.status+" "+transport) },
			   	success: function(data){
			   		if(data == "true"){			// EVERYTING IS FINE, SHOW SUCCESS MESSAGE
			   			$(caller).css("opacity",1)
			   			$(caller).animate({opacity: 0, height: 0}, function(){
			   				$(caller).css("display","none");
			   				$(caller).before("<div class='ajaxSubmit'>"+$.validationEngine.settings.ajaxSubmitMessage+"</div>");
			   				$.validationEngine.closePrompt(".formError",true); 	
			   				$(".ajaxSubmit").show("slow");
			   				if ($.validationEngine.settings.success){	// AJAX SUCCESS, STOP THE LOCATION UPDATE
								$.validationEngine.settings.success && $.validationEngine.settings.success(); 
								return false;
							}
			   			})
		   			}else{						// HOUSTON WE GOT A PROBLEM (SOMETING IS NOT VALIDATING)
			   			data = eval( "("+data+")");	
			   			if(!data.jsonValidateReturn){
			   				 $.validationEngine.debug("you are not going into the success fonction and jsonValidateReturn return nothing");
			   			}
			   			errorNumber = data.jsonValidateReturn.length	
			   			for(index=0; index<errorNumber; index++){	
			   				fieldId = data.jsonValidateReturn[index][0];
			   				promptError = data.jsonValidateReturn[index][1];
			   				type = data.jsonValidateReturn[index][2];
			   				$.validationEngine.buildPrompt(fieldId,promptError,type);
		   				}
	   				}
   				}
			})	
			return true;
		}
		// LOOK FOR BEFORE SUCCESS METHOD		
			if(!$.validationEngine.settings.beforeSuccess()){
				if ($.validationEngine.settings.success){	// AJAX SUCCESS, STOP THE LOCATION UPDATE
					if($.validationEngine.settings.unbindEngine){ $(caller).unbind("submit") }
					$.validationEngine.settings.success && $.validationEngine.settings.success(); 
					return true;
				}
			}else{
				return true;
			} 
		return false;
	},
	buildPrompt : function(caller,promptText,type,ajaxed) {			// ERROR PROMPT CREATION AND DISPLAY WHEN AN ERROR OCCUR
		if(!$.validationEngine.settings){
			$.validationEngine.defaultSetting()
		}
		deleteItself = "." + $(caller).attr("id") + "formError"
	
		if($(deleteItself)[0]){
			$(deleteItself).stop();
			$(deleteItself).remove();
		}
		var divFormError = document.createElement('div');
		var formErrorContent = document.createElement('div');
		linkTofield = $.validationEngine.linkTofield(caller)
		$(divFormError).addClass("formError")
		
		if(type == "pass"){ $(divFormError).addClass("greenPopup") }
		if(type == "load"){ $(divFormError).addClass("blackPopup") }
		if(ajaxed){ $(divFormError).addClass("ajaxed") }
		
		$(divFormError).addClass(linkTofield);
		$(formErrorContent).addClass("formErrorContent");
		
		$("body").append(divFormError);
		$(divFormError).append(formErrorContent);
			
		if($.validationEngine.showTriangle != false){		// NO TRIANGLE ON MAX CHECKBOX AND RADIO
			var arrow = document.createElement('div');
			$(arrow).addClass("formErrorArrow");
			$(divFormError).append(arrow);
			if($.validationEngine.settings.promptPosition == "bottomLeft" || $.validationEngine.settings.promptPosition == "bottomRight"){
			$(arrow).addClass("formErrorArrowBottom")
			$(arrow).html('<div class="line1"><!-- --></div><div class="line2"><!-- --></div><div class="line3"><!-- --></div><div class="line4"><!-- --></div><div class="line5"><!-- --></div><div class="line6"><!-- --></div><div class="line7"><!-- --></div><div class="line8"><!-- --></div><div class="line9"><!-- --></div><div class="line10"><!-- --></div>');
		}
			if($.validationEngine.settings.promptPosition == "topLeft" || $.validationEngine.settings.promptPosition == "topRight"){
				$(divFormError).append(arrow);
				$(arrow).html('<div class="line10"><!-- --></div><div class="line9"><!-- --></div><div class="line8"><!-- --></div><div class="line7"><!-- --></div><div class="line6"><!-- --></div><div class="line5"><!-- --></div><div class="line4"><!-- --></div><div class="line3"><!-- --></div><div class="line2"><!-- --></div><div class="line1"><!-- --></div>');
			}
		}
		$(formErrorContent).html(promptText)
	
		callerTopPosition = $(caller).offset().top;
		callerleftPosition = $(caller).offset().left;
		callerWidth =  $(caller).width();
		inputHeight = $(divFormError).height();
	
		/* POSITIONNING */
		if($.validationEngine.settings.promptPosition == "topRight"){callerleftPosition +=  callerWidth -30; callerTopPosition += -inputHeight -10; }
		if($.validationEngine.settings.promptPosition == "topLeft"){ callerTopPosition += -inputHeight -10; }
		
		if($.validationEngine.settings.promptPosition == "centerRight"){ callerleftPosition +=  callerWidth +13; }
		
		if($.validationEngine.settings.promptPosition == "bottomLeft"){
			callerHeight =  $(caller).height();
			callerleftPosition = callerleftPosition;
			callerTopPosition = callerTopPosition + callerHeight + 15;
		}
		if($.validationEngine.settings.promptPosition == "bottomRight"){
			callerHeight =  $(caller).height();
			callerleftPosition +=  callerWidth -30;
			callerTopPosition +=  callerHeight + 15;
		}
		$(divFormError).css({
			top:callerTopPosition,
			left:callerleftPosition,
			opacity:0
		})
		return $(divFormError).animate({"opacity":0.87},function(){return true;});	
	},
	updatePromptText : function(caller,promptText,type,ajaxed) {	// UPDATE TEXT ERROR IF AN ERROR IS ALREADY DISPLAYED
		
		linkTofield = $.validationEngine.linkTofield(caller);
		var updateThisPrompt =  "."+linkTofield;
		
		if(type == "pass") { $(updateThisPrompt).addClass("greenPopup") }else{ $(updateThisPrompt).removeClass("greenPopup")};
		if(type == "load") { $(updateThisPrompt).addClass("blackPopup") }else{ $(updateThisPrompt).removeClass("blackPopup")};
		if(ajaxed) { $(updateThisPrompt).addClass("ajaxed") }else{ $(updateThisPrompt).removeClass("ajaxed")};
	
		$(updateThisPrompt).find(".formErrorContent").html(promptText);
		callerTopPosition  = $(caller).offset().top;
		inputHeight = $(updateThisPrompt).height();
		
		if($.validationEngine.settings.promptPosition == "bottomLeft" || $.validationEngine.settings.promptPosition == "bottomRight"){
			callerHeight =  $(caller).height();
			callerTopPosition =  callerTopPosition + callerHeight + 15;
		}
		if($.validationEngine.settings.promptPosition == "centerRight"){  callerleftPosition +=  callerWidth +13;}
		if($.validationEngine.settings.promptPosition == "topLeft" || $.validationEngine.settings.promptPosition == "topRight"){
			callerTopPosition = callerTopPosition  -inputHeight -10;
		}
		$(updateThisPrompt).animate({ top:callerTopPosition });
	},
	linkTofield : function(caller){
		linkTofield = $(caller).attr("id") + "formError";
		linkTofield = linkTofield.replace(/\[/g,""); 
		linkTofield = linkTofield.replace(/\]/g,"");
		return linkTofield;
	},
	closePrompt : function(caller,outside) {						// CLOSE PROMPT WHEN ERROR CORRECTED
		if(!$.validationEngine.settings){
			$.validationEngine.defaultSetting()
		}
		if(outside){
			$(caller).fadeTo("fast",0,function(){
				$(caller).remove();
			});
			return false;
		}
		if(typeof(ajaxValidate)=='undefined'){ajaxValidate = false}
		if(!ajaxValidate){
			linkTofield = $.validationEngine.linkTofield(caller);
			closingPrompt = "."+linkTofield;
			$(closingPrompt).fadeTo("fast",0,function(){
				$(closingPrompt).remove();
			});
		}
	},
	debug : function(error) {
		if(!$("#debugMode")[0]){
			$("body").append("<div id='debugMode'><div class='debugError'><strong>This is a debug mode, you got a problem with your form, it will try to help you, refresh when you think you nailed down the problem</strong></div></div>");
		}
		$(".debugError").append("<div class='debugerror'>"+error+"</div>");
	},			
	submitValidation : function(caller) {					// FORM SUBMIT VALIDATION LOOPING INLINE VALIDATION
		var stopForm = false;
		$.validationEngine.ajaxValid = true;
		$(caller).find(".formError").remove();
		var toValidateSize = $(caller).find("[class*=validate]").size();
		
		$(caller).find("[class*=validate]").each(function(){
			linkTofield = $.validationEngine.linkTofield(this);
			
			if(!$("."+linkTofield).hasClass("ajaxed")){	// DO NOT UPDATE ALREADY AJAXED FIELDS (only happen if no normal errors, don't worry)
				var validationPass = $.validationEngine.loadValidation(this);
				return(validationPass) ? stopForm = true : "";					
			};
		});
		ajaxErrorLength = $.validationEngine.ajaxValidArray.length;		// LOOK IF SOME AJAX IS NOT VALIDATE
		for(x=0;x<ajaxErrorLength;x++){
	 		if($.validationEngine.ajaxValidArray[x][1] == false){
	 			$.validationEngine.ajaxValid = false;
 			}
 		}
		if(stopForm || !$.validationEngine.ajaxValid){		// GET IF THERE IS AN ERROR OR NOT FROM THIS VALIDATION FUNCTIONS
			if($.validationEngine.settings.scroll){
				destination = $(".formError:not('.greenPopup'):first").offset().top;
				$(".formError:not('.greenPopup')").each(function(){
					testDestination = $(this).offset().top;
					if(destination>testDestination){
						destination = $(this).offset().top;
					}
				})
				$("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination}, 1100);
			}
			return true;
		}else{
			return false;
		}
	}
}
})(jQuery);









/* 
 * flowplayer.js 3.2.0. The Flowplayer API
 * 
 * Copyright 2009 Flowplayer Oy
 * 
 * This file is part of Flowplayer.
 * 
 * Flowplayer is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Flowplayer is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Flowplayer.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * Date: 2010-05-03 20:23:59 +0000 (Mon, 03 May 2010)
 * Revision: 468 
 */
(function(){function g(o){console.log("$f.fireEvent",[].slice.call(o))}function k(q){if(!q||typeof q!="object"){return q}var o=new q.constructor();for(var p in q){if(q.hasOwnProperty(p)){o[p]=k(q[p])}}return o}function m(t,q){if(!t){return}var o,p=0,r=t.length;if(r===undefined){for(o in t){if(q.call(t[o],o,t[o])===false){break}}}else{for(var s=t[0];p<r&&q.call(s,p,s)!==false;s=t[++p]){}}return t}function c(o){return document.getElementById(o)}function i(q,p,o){if(typeof p!="object"){return q}if(q&&p){m(p,function(r,s){if(!o||typeof s!="function"){q[r]=s}})}return q}function n(s){var q=s.indexOf(".");if(q!=-1){var p=s.slice(0,q)||"*";var o=s.slice(q+1,s.length);var r=[];m(document.getElementsByTagName(p),function(){if(this.className&&this.className.indexOf(o)!=-1){r.push(this)}});return r}}function f(o){o=o||window.event;if(o.preventDefault){o.stopPropagation();o.preventDefault()}else{o.returnValue=false;o.cancelBubble=true}return false}function j(q,o,p){q[o]=q[o]||[];q[o].push(p)}function e(){return"_"+(""+Math.random()).slice(2,10)}var h=function(t,r,s){var q=this,p={},u={};q.index=r;if(typeof t=="string"){t={url:t}}i(this,t,true);m(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var v="on"+this;if(v.indexOf("*")!=-1){v=v.slice(0,v.length-1);var w="onBefore"+v.slice(2);q[w]=function(x){j(u,w,x);return q}}q[v]=function(x){j(u,v,x);return q};if(r==-1){if(q[w]){s[w]=q[w]}if(q[v]){s[v]=q[v]}}});i(this,{onCuepoint:function(x,w){if(arguments.length==1){p.embedded=[null,x];return q}if(typeof x=="number"){x=[x]}var v=e();p[v]=[x,w];if(s.isLoaded()){s._api().fp_addCuepoints(x,r,v)}return q},update:function(w){i(q,w);if(s.isLoaded()){s._api().fp_updateClip(w,r)}var v=s.getConfig();var x=(r==-1)?v.clip:v.playlist[r];i(x,w,true)},_fireEvent:function(v,y,w,A){if(v=="onLoad"){m(p,function(B,C){if(C[0]){s._api().fp_addCuepoints(C[0],r,B)}});return false}A=A||q;if(v=="onCuepoint"){var z=p[y];if(z){return z[1].call(s,A,w)}}if(y&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(v)!=-1){i(A,y);if(y.metaData){if(!A.duration){A.duration=y.metaData.duration}else{A.fullDuration=y.metaData.duration}}}var x=true;m(u[v],function(){x=this.call(s,A,y,w)});return x}});if(t.onCuepoint){var o=t.onCuepoint;q.onCuepoint.apply(q,typeof o=="function"?[o]:o);delete t.onCuepoint}m(t,function(v,w){if(typeof w=="function"){j(u,v,w);delete t[v]}});if(r==-1){s.onCuepoint=this.onCuepoint}};var l=function(p,r,q,t){var o=this,s={},u=false;if(t){i(s,t)}m(r,function(v,w){if(typeof w=="function"){s[v]=w;delete r[v]}});i(this,{animate:function(y,z,x){if(!y){return o}if(typeof z=="function"){x=z;z=500}if(typeof y=="string"){var w=y;y={};y[w]=z;z=500}if(x){var v=e();s[v]=x}if(z===undefined){z=500}r=q._api().fp_animate(p,y,z,v);return o},css:function(w,x){if(x!==undefined){var v={};v[w]=x;w=v}r=q._api().fp_css(p,w);i(o,r);return o},show:function(){this.display="block";q._api().fp_showPlugin(p);return o},hide:function(){this.display="none";q._api().fp_hidePlugin(p);return o},toggle:function(){this.display=q._api().fp_togglePlugin(p);return o},fadeTo:function(y,x,w){if(typeof x=="function"){w=x;x=500}if(w){var v=e();s[v]=w}this.display=q._api().fp_fadeTo(p,y,x,v);this.opacity=y;return o},fadeIn:function(w,v){return o.fadeTo(1,w,v)},fadeOut:function(w,v){return o.fadeTo(0,w,v)},getName:function(){return p},getPlayer:function(){return q},_fireEvent:function(w,v,x){if(w=="onUpdate"){var y=q._api().fp_getPlugin(p);if(!y){return}i(o,y);delete o.methods;if(!u){m(y.methods,function(){var A=""+this;o[A]=function(){var B=[].slice.call(arguments);var C=q._api().fp_invoke(p,A,B);return C==="undefined"||C===undefined?o:C}});u=true}}var z=s[w];if(z){z.apply(o,v);if(w.slice(0,1)=="_"){delete s[w]}}return o}})};function b(q,G,t){var w=this,v=null,D=false,u,s,F=[],y={},x={},E,r,p,C,o,A;i(w,{id:function(){return E},isLoaded:function(){return(v!==null&&!D)},getParent:function(){return q},hide:function(H){if(H){q.style.height="0px"}if(w.isLoaded()){v.style.height="0px"}return w},show:function(){q.style.height=A+"px";if(w.isLoaded()){v.style.height=o+"px"}return w},isHidden:function(){return w.isLoaded()&&parseInt(v.style.height,10)===0},load:function(J){if(!w.isLoaded()&&w._fireEvent("onBeforeLoad")!==false){var H=function(){u=q.innerHTML;if(u&&!flashembed.isSupported(G.version)){q.innerHTML=""}flashembed(q,G,{config:t});if(J){J.cached=true;j(x,"onLoad",J)}};var I=0;m(a,function(){this.unload(function(K){if(++I==a.length){H()}})})}return w},unload:function(J){if(this.isFullscreen()&&/WebKit/i.test(navigator.userAgent)){if(J){J(false)}return w}if(u.replace(/\s/g,"")!==""){if(w._fireEvent("onBeforeUnload")===false){if(J){J(false)}return w}D=true;try{if(v){v.fp_close();w._fireEvent("onUnload")}}catch(H){}var I=function(){v=null;q.innerHTML=u;D=false;if(J){J(true)}};setTimeout(I,50)}else{if(J){J(false)}}return w},getClip:function(H){if(H===undefined){H=C}return F[H]},getCommonClip:function(){return s},getPlaylist:function(){return F},getPlugin:function(H){var J=y[H];if(!J&&w.isLoaded()){var I=w._api().fp_getPlugin(H);if(I){J=new l(H,I,w);y[H]=J}}return J},getScreen:function(){return w.getPlugin("screen")},getControls:function(){return w.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return w.getPlugin("logo")._fireEvent("onUpdate")}catch(H){}},getPlay:function(){return w.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(H){return H?k(t):t},getFlashParams:function(){return G},loadPlugin:function(K,J,M,L){if(typeof M=="function"){L=M;M={}}var I=L?e():"_";w._api().fp_loadPlugin(K,J,M,I);var H={};H[I]=L;var N=new l(K,null,w,H);y[K]=N;return N},getState:function(){return w.isLoaded()?v.fp_getState():-1},play:function(I,H){var J=function(){if(I!==undefined){w._api().fp_play(I,H)}else{w._api().fp_play()}};if(w.isLoaded()){J()}else{if(D){setTimeout(function(){w.play(I,H)},50)}else{w.load(function(){J()})}}return w},getVersion:function(){var I="flowplayer.js 3.2.0";if(w.isLoaded()){var H=v.fp_getVersion();H.push(I);return H}return I},_api:function(){if(!w.isLoaded()){throw"Flowplayer "+w.id()+" not loaded when calling an API method"}return v},setClip:function(H){w.setPlaylist([H]);return w},getIndex:function(){return p}});m(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","),function(){var H="on"+this;if(H.indexOf("*")!=-1){H=H.slice(0,H.length-1);var I="onBefore"+H.slice(2);w[I]=function(J){j(x,I,J);return w}}w[H]=function(J){j(x,H,J);return w}});m(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled").split(","),function(){var H=this;w[H]=function(J,I){if(!w.isLoaded()){return w}var K=null;if(J!==undefined&&I!==undefined){K=v["fp_"+H](J,I)}else{K=(J===undefined)?v["fp_"+H]():v["fp_"+H](J)}return K==="undefined"||K===undefined?w:K}});w._fireEvent=function(Q){if(typeof Q=="string"){Q=[Q]}var R=Q[0],O=Q[1],M=Q[2],L=Q[3],K=0;if(t.debug){g(Q)}if(!w.isLoaded()&&R=="onLoad"&&O=="player"){v=v||c(r);o=v.clientHeight;m(F,function(){this._fireEvent("onLoad")});m(y,function(S,T){T._fireEvent("onUpdate")});s._fireEvent("onLoad")}if(R=="onLoad"&&O!="player"){return}if(R=="onError"){if(typeof O=="string"||(typeof O=="number"&&typeof M=="number")){O=M;M=L}}if(R=="onContextMenu"){m(t.contextMenu[O],function(S,T){T.call(w)});return}if(R=="onPluginEvent"){var H=O.name||O;var I=y[H];if(I){I._fireEvent("onUpdate",O);I._fireEvent(M,Q.slice(3))}return}if(R=="onPlaylistReplace"){F=[];var N=0;m(O,function(){F.push(new h(this,N++,w))})}if(R=="onClipAdd"){if(O.isInStream){return}O=new h(O,M,w);F.splice(M,0,O);for(K=M+1;K<F.length;K++){F[K].index++}}var P=true;if(typeof O=="number"&&O<F.length){C=O;var J=F[O];if(J){P=J._fireEvent(R,M,L)}if(!J||P!==false){P=s._fireEvent(R,M,L,J)}}m(x[R],function(){P=this.call(w,O,M);if(this.cached){x[R].splice(K,1)}if(P===false){return false}K++});return P};function B(){if($f(q)){$f(q).getParent().innerHTML="";p=$f(q).getIndex();a[p]=w}else{a.push(w);p=a.length-1}A=parseInt(q.style.height,10)||q.clientHeight;E=q.id||"fp"+e();r=G.id||E+"_api";G.id=r;t.playerId=E;if(typeof t=="string"){t={clip:{url:t}}}if(typeof t.clip=="string"){t.clip={url:t.clip}}t.clip=t.clip||{};if(q.getAttribute("href",2)&&!t.clip.url){t.clip.url=q.getAttribute("href",2)}s=new h(t.clip,-1,w);t.playlist=t.playlist||[t.clip];var H=0;m(t.playlist,function(){var J=this;if(typeof J=="object"&&J.length){J={url:""+J}}m(t.clip,function(K,L){if(L!==undefined&&J[K]===undefined&&typeof L!="function"){J[K]=L}});t.playlist[H]=J;J=new h(J,H,w);F.push(J);H++});m(t,function(J,K){if(typeof K=="function"){if(s[J]){s[J](K)}else{j(x,J,K)}delete t[J]}});m(t.plugins,function(J,K){if(K){y[J]=new l(J,K,w)}});if(!t.plugins||t.plugins.controls===undefined){y.controls=new l("controls",null,w)}y.canvas=new l("canvas",null,w);function I(J){if(!w.isLoaded()&&w._fireEvent("onBeforeClick")!==false){w.load()}return f(J)}u=q.innerHTML;if(u.replace(/\s/g,"")!==""){if(q.addEventListener){q.addEventListener("click",I,false)}else{if(q.attachEvent){q.attachEvent("onclick",I)}}}else{if(q.addEventListener){q.addEventListener("click",f,false)}w.load()}}if(typeof q=="string"){var z=c(q);if(!z){throw"Flowplayer cannot access element: "+q}else{q=z;B()}}else{B()}}var a=[];function d(o){this.length=o.length;this.each=function(p){m(o,p)};this.size=function(){return o.length}}window.flowplayer=window.$f=function(){var p=null;var o=arguments[0];if(!arguments.length){m(a,function(){if(this.isLoaded()){p=this;return false}});return p||a[0]}if(arguments.length==1){if(typeof o=="number"){return a[o]}else{if(o=="*"){return new d(a)}m(a,function(){if(this.id()==o.id||this.id()==o||this.getParent()==o){p=this;return false}});return p}}if(arguments.length>1){var t=arguments[1],q=(arguments.length==3)?arguments[2]:{};if(typeof t=="string"){t={src:t}}t=i({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:true},t);if(typeof o=="string"){if(o.indexOf(".")!=-1){var s=[];m(n(o),function(){s.push(new b(this,k(t),k(q)))});return new d(s)}else{var r=c(o);return new b(r!==null?r:o,t,q)}}else{if(o){return new b(o,t,q)}}}return null};i(window.$f,{fireEvent:function(){var o=[].slice.call(arguments);var q=$f(o[0]);return q?q._fireEvent(o.slice(1)):null},addPlugin:function(o,p){b.prototype[o]=p;return $f},each:m,extend:i});if(typeof jQuery=="function"){jQuery.fn.flowplayer=function(q,p){if(!arguments.length||typeof arguments[0]=="number"){var o=[];this.each(function(){var r=$f(this);if(r){o.push(r)}});return arguments.length?o[arguments[0]]:new d(o)}return this.each(function(){$f(this,k(q),p?k(p):{})})}}})();(function(){var h=document.all,j="http://www.adobe.com/go/getflashplayer",c=typeof jQuery=="function",e=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,b={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function i(l,f){if(f){for(key in f){if(f.hasOwnProperty(key)){l[key]=f[key]}}}return l}function a(f,n){var m=[];for(var l in f){if(f.hasOwnProperty(l)){m[l]=n(f[l])}}return m}window.flashembed=function(f,m,l){if(typeof f=="string"){f=document.getElementById(f.replace("#",""))}if(!f){return}if(typeof m=="string"){m={src:m}}return new d(f,i(i({},b),m),l)};var g=i(window.flashembed,{conf:b,getVersion:function(){var f;try{f=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(n){try{var l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");f=l&&l.GetVariable("$version")}catch(m){}}f=e.exec(f);return[f[1],f[3]]},asString:function(l){if(l===null||l===undefined){return null}var f=typeof l;if(f=="object"&&l.push){f="array"}switch(f){case"string":l=l.replace(new RegExp('(["\\\\])',"g"),"\\$1");l=l.replace(/^\s?(\d+\.?\d+)%/,"$1pct");return'"'+l+'"';case"array":return"["+a(l,function(o){return g.asString(o)}).join(",")+"]";case"function":return'"function()"';case"object":var m=[];for(var n in l){if(l.hasOwnProperty(n)){m.push('"'+n+'":'+g.asString(l[n]))}}return"{"+m.join(",")+"}"}return String(l).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(o,l){o=i({},o);var n='<object width="'+o.width+'" height="'+o.height+'" id="'+o.id+'"" name="'+o.id+'"';if(o.cachebusting){o.src+=((o.src.indexOf("?")!=-1?"&":"?")+Math.random())}if(o.w3c||!h){n+=' data="'+o.src+'" type="application/x-shockwave-flash"'}else{n+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}n+=">";if(o.w3c||h){n+='<param name="movie" value="'+o.src+'" />'}o.width=o.height=o.id=o.w3c=o.src=null;o.onFail=o.version=o.expressInstall=null;for(var m in o){if(o[m]){n+='<param name="'+m+'" value="'+o[m]+'" />'}}var p="";if(l){for(var f in l){if(l[f]){var q=l[f];p+=f+"="+(/function|object/.test(typeof q)?g.asString(q):q)+"&"}}p=p.slice(0,-1);n+='<param name="flashvars" value=\''+p+"' />"}n+="</object>";return n},isSupported:function(f){return k[0]>f[0]||k[0]==f[0]&&k[1]>=f[1]}});var k=g.getVersion();function d(f,n,m){if(g.isSupported(n.version)){f.innerHTML=g.getHTML(n,m)}else{if(n.expressInstall&&g.isSupported([6,65])){f.innerHTML=g.getHTML(i(n,{src:n.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title})}else{if(!f.innerHTML.replace(/\s/g,"")){f.innerHTML="<h2>Flash version "+n.version+" or greater is required</h2><h3>"+(k[0]>0?"Your version is "+k:"You have no flash plugin installed")+"</h3>"+(f.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+j+"'>here</a></p>");if(f.tagName=="A"){f.onclick=function(){location.href=j}}}if(n.onFail){var l=n.onFail.call(this);if(typeof l=="string"){f.innerHTML=l}}}}if(h){window[n.id]=document.getElementById(n.id)}i(this,{getRoot:function(){return f},getOptions:function(){return n},getConf:function(){return m},getApi:function(){return f.firstChild}})}if(c){jQuery.tools=jQuery.tools||{version:"3.2.0"};jQuery.tools.flashembed={conf:b};jQuery.fn.flashembed=function(l,f){return this.each(function(){$(this).data("flashembed",flashembed(this,l,f))})}}})();



/**
 * --------------------------------------------------------------------
 * jQuery-Plugin "pngFix"
 * Version: 1.1, 11.09.2007
 * by Andreas Eberhard, andreas.eberhard@gmail.com
 *                      http://jquery.andreaseberhard.de/
 *
 * Copyright (c) 2007 Andreas Eberhard
 * Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'([237-9n-zA-Z]|1\\w)'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(s(m){3.fn.pngFix=s(c){c=3.extend({P:\'blank.gif\'},c);8 e=(o.Q=="t R S"&&T(o.u)==4&&o.u.A("U 5.5")!=-1);8 f=(o.Q=="t R S"&&T(o.u)==4&&o.u.A("U 6.0")!=-1);p(3.browser.msie&&(e||f)){3(2).B("img[n$=.C]").D(s(){3(2).7(\'q\',3(2).q());3(2).7(\'r\',3(2).r());8 a=\'\';8 b=\'\';8 g=(3(2).7(\'E\'))?\'E="\'+3(2).7(\'E\')+\'" \':\'\';8 h=(3(2).7(\'F\'))?\'F="\'+3(2).7(\'F\')+\'" \':\'\';8 i=(3(2).7(\'G\'))?\'G="\'+3(2).7(\'G\')+\'" \':\'\';8 j=(3(2).7(\'H\'))?\'H="\'+3(2).7(\'H\')+\'" \':\'\';8 k=(3(2).7(\'V\'))?\'float:\'+3(2).7(\'V\')+\';\':\'\';8 d=(3(2).parent().7(\'href\'))?\'cursor:hand;\':\'\';p(2.9.v){a+=\'v:\'+2.9.v+\';\';2.9.v=\'\'}p(2.9.w){a+=\'w:\'+2.9.w+\';\';2.9.w=\'\'}p(2.9.x){a+=\'x:\'+2.9.x+\';\';2.9.x=\'\'}8 l=(2.9.cssText);b+=\'<y \'+g+h+i+j;b+=\'9="W:X;white-space:pre-line;Y:Z-10;I:transparent;\'+k+d;b+=\'q:\'+3(2).q()+\'z;r:\'+3(2).r()+\'z;\';b+=\'J:K:L.t.M(n=\\\'\'+3(2).7(\'n\')+\'\\\', N=\\\'O\\\');\';b+=l+\'"></y>\';p(a!=\'\'){b=\'<y 9="W:X;Y:Z-10;\'+a+d+\'q:\'+3(2).q()+\'z;r:\'+3(2).r()+\'z;">\'+b+\'</y>\'}3(2).hide();3(2).after(b)});3(2).B("*").D(s(){8 a=3(2).11(\'I-12\');p(a.A(".C")!=-1){8 b=a.13(\'url("\')[1].13(\'")\')[0];3(2).11(\'I-12\',\'none\');3(2).14(0).15.J="K:L.t.M(n=\'"+b+"\',N=\'O\')"}});3(2).B("input[n$=.C]").D(s(){8 a=3(2).7(\'n\');3(2).14(0).15.J=\'K:L.t.M(n=\\\'\'+a+\'\\\', N=\\\'O\\\');\';3(2).7(\'n\',c.P)})}return 3}})(3);',[],68,'||this|jQuery||||attr|var|style||||||||||||||src|navigator|if|width|height|function|Microsoft|appVersion|border|padding|margin|span|px|indexOf|find|png|each|id|class|title|alt|background|filter|progid|DXImageTransform|AlphaImageLoader|sizingMethod|scale|blankgif|appName|Internet|Explorer|parseInt|MSIE|align|position|relative|display|inline|block|css|image|split|get|runtimeStyle'.split('|'),0,{}))





/**
* DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML <IMG/>.
* Author: Drew Diller
* Email: drew.diller@gmail.com
* URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/
* Version: 0.0.8a
* Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license
*
* Example usage:
* DD_belatedPNG.fix('.png_bg'); // argument is a CSS selector
* DD_belatedPNG.fixPng( someNode ); // argument is an HTMLDomElement
**/
var DD_belatedPNG={ns:"DD_belatedPNG",imgSize:{},delay:10,nodesFixed:0,createVmlNameSpace:function(){if(document.namespaces&&!document.namespaces[this.ns]){document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml")}},createVmlStyleSheet:function(){var b,a;b=document.createElement("style");b.setAttribute("media","screen");document.documentElement.firstChild.insertBefore(b,document.documentElement.firstChild.firstChild);if(b.styleSheet){b=b.styleSheet;b.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}");b.addRule(this.ns+"\\:shape","position:absolute;");b.addRule("img."+this.ns+"_sizeFinder","behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;");this.screenStyleSheet=b;a=document.createElement("style");a.setAttribute("media","print");document.documentElement.firstChild.insertBefore(a,document.documentElement.firstChild.firstChild);a=a.styleSheet;a.addRule(this.ns+"\\:*","{display: none !important;}");a.addRule("img."+this.ns+"_sizeFinder","{display: none !important;}")}},readPropertyChange:function(){var b,c,a;b=event.srcElement;if(!b.vmlInitiated){return}if(event.propertyName.search("background")!=-1||event.propertyName.search("border")!=-1){DD_belatedPNG.applyVML(b)}if(event.propertyName=="style.display"){c=(b.currentStyle.display=="none")?"none":"block";for(a in b.vml){if(b.vml.hasOwnProperty(a)){b.vml[a].shape.style.display=c}}}if(event.propertyName.search("filter")!=-1){DD_belatedPNG.vmlOpacity(b)}},vmlOpacity:function(b){if(b.currentStyle.filter.search("lpha")!=-1){var a=b.currentStyle.filter;a=parseInt(a.substring(a.lastIndexOf("=")+1,a.lastIndexOf(")")),10)/100;b.vml.color.shape.style.filter=b.currentStyle.filter;b.vml.image.fill.opacity=a}},handlePseudoHover:function(a){setTimeout(function(){DD_belatedPNG.applyVML(a)},1)},fix:function(a){if(this.screenStyleSheet){var c,b;c=a.split(",");for(b=0;b<c.length;b++){this.screenStyleSheet.addRule(c[b],"behavior:expression(DD_belatedPNG.fixPng(this))")}}},applyVML:function(a){a.runtimeStyle.cssText="";this.vmlFill(a);this.vmlOffsets(a);this.vmlOpacity(a);if(a.isImg){this.copyImageBorders(a)}},attachHandlers:function(i){var d,c,g,e,b,f;d=this;c={resize:"vmlOffsets",move:"vmlOffsets"};if(i.nodeName=="A"){e={mouseleave:"handlePseudoHover",mouseenter:"handlePseudoHover",focus:"handlePseudoHover",blur:"handlePseudoHover"};for(b in e){if(e.hasOwnProperty(b)){c[b]=e[b]}}}for(f in c){if(c.hasOwnProperty(f)){g=function(){d[c[f]](i)};i.attachEvent("on"+f,g)}}i.attachEvent("onpropertychange",this.readPropertyChange)},giveLayout:function(a){a.style.zoom=1;if(a.currentStyle.position=="static"){a.style.position="relative"}},copyImageBorders:function(b){var c,a;c={borderStyle:true,borderWidth:true,borderColor:true};for(a in c){if(c.hasOwnProperty(a)){b.vml.color.shape.style[a]=b.currentStyle[a]}}},vmlFill:function(e){if(!e.currentStyle){return}else{var d,f,g,b,a,c;d=e.currentStyle}for(b in e.vml){if(e.vml.hasOwnProperty(b)){e.vml[b].shape.style.zIndex=d.zIndex}}e.runtimeStyle.backgroundColor="";e.runtimeStyle.backgroundImage="";f=true;if(d.backgroundImage!="none"||e.isImg){if(!e.isImg){e.vmlBg=d.backgroundImage;e.vmlBg=e.vmlBg.substr(5,e.vmlBg.lastIndexOf('")')-5)}else{e.vmlBg=e.src}g=this;if(!g.imgSize[e.vmlBg]){a=document.createElement("img");g.imgSize[e.vmlBg]=a;a.className=g.ns+"_sizeFinder";a.runtimeStyle.cssText="behavior:none; position:absolute; left:-10000px; top:-10000px; border:none; margin:0; padding:0;";c=function(){this.width=this.offsetWidth;this.height=this.offsetHeight;g.vmlOffsets(e)};a.attachEvent("onload",c);a.src=e.vmlBg;a.removeAttribute("width");a.removeAttribute("height");document.body.insertBefore(a,document.body.firstChild)}e.vml.image.fill.src=e.vmlBg;f=false}e.vml.image.fill.on=!f;e.vml.image.fill.color="none";e.vml.color.shape.style.backgroundColor=d.backgroundColor;e.runtimeStyle.backgroundImage="none";e.runtimeStyle.backgroundColor="transparent"},vmlOffsets:function(d){var h,n,a,e,g,m,f,l,j,i,k;h=d.currentStyle;n={W:d.clientWidth+1,H:d.clientHeight+1,w:this.imgSize[d.vmlBg].width,h:this.imgSize[d.vmlBg].height,L:d.offsetLeft,T:d.offsetTop,bLW:d.clientLeft,bTW:d.clientTop};a=(n.L+n.bLW==1)?1:0;e=function(b,p,q,c,s,u){b.coordsize=c+","+s;b.coordorigin=u+","+u;b.path="m0,0l"+c+",0l"+c+","+s+"l0,"+s+" xe";b.style.width=c+"px";b.style.height=s+"px";b.style.left=p+"px";b.style.top=q+"px"};e(d.vml.color.shape,(n.L+(d.isImg?0:n.bLW)),(n.T+(d.isImg?0:n.bTW)),(n.W-1),(n.H-1),0);e(d.vml.image.shape,(n.L+n.bLW),(n.T+n.bTW),(n.W),(n.H),1);g={X:0,Y:0};if(d.isImg){g.X=parseInt(h.paddingLeft,10)+1;g.Y=parseInt(h.paddingTop,10)+1}else{for(j in g){if(g.hasOwnProperty(j)){this.figurePercentage(g,n,j,h["backgroundPosition"+j])}}}d.vml.image.fill.position=(g.X/n.W)+","+(g.Y/n.H);m=h.backgroundRepeat;f={T:1,R:n.W+a,B:n.H,L:1+a};l={X:{b1:"L",b2:"R",d:"W"},Y:{b1:"T",b2:"B",d:"H"}};if(m!="repeat"||d.isImg){i={T:(g.Y),R:(g.X+n.w),B:(g.Y+n.h),L:(g.X)};if(m.search("repeat-")!=-1){k=m.split("repeat-")[1].toUpperCase();i[l[k].b1]=1;i[l[k].b2]=n[l[k].d]}if(i.B>n.H){i.B=n.H}d.vml.image.shape.style.clip="rect("+i.T+"px "+(i.R+a)+"px "+i.B+"px "+(i.L+a)+"px)"}else{d.vml.image.shape.style.clip="rect("+f.T+"px "+f.R+"px "+f.B+"px "+f.L+"px)"}},figurePercentage:function(d,c,f,a){var b,e;e=true;b=(f=="X");switch(a){case"left":case"top":d[f]=0;break;case"center":d[f]=0.5;break;case"right":case"bottom":d[f]=1;break;default:if(a.search("%")!=-1){d[f]=parseInt(a,10)/100}else{e=false}}d[f]=Math.ceil(e?((c[b?"W":"H"]*d[f])-(c[b?"w":"h"]*d[f])):parseInt(a,10));if(d[f]%2===0){d[f]++}return d[f]},fixPng:function(c){c.style.behavior="none";var g,b,f,a,d;if(c.nodeName=="BODY"||c.nodeName=="TD"||c.nodeName=="TR"){return}c.isImg=false;if(c.nodeName=="IMG"){if(c.src.toLowerCase().search(/\.png$/)!=-1){c.isImg=true;c.style.visibility="hidden"}else{return}}else{if(c.currentStyle.backgroundImage.toLowerCase().search(".png")==-1){return}}g=DD_belatedPNG;c.vml={color:{},image:{}};b={shape:{},fill:{}};for(a in c.vml){if(c.vml.hasOwnProperty(a)){for(d in b){if(b.hasOwnProperty(d)){f=g.ns+":"+d;c.vml[a][d]=document.createElement(f)}}c.vml[a].shape.stroked=false;c.vml[a].shape.appendChild(c.vml[a].fill);c.parentNode.insertBefore(c.vml[a].shape,c)}}c.vml.image.shape.fillcolor="none";c.vml.image.fill.type="tile";c.vml.color.fill.on=false;g.attachHandlers(c);g.giveLayout(c);g.giveLayout(c.offsetParent);c.vmlInitiated=true;g.applyVML(c)}};try{document.execCommand("BackgroundImageCache",false,true)}catch(r){}DD_belatedPNG.createVmlNameSpace();DD_belatedPNG.createVmlStyleSheet();



/*-------- Add This Script ---------*/
/* (c) 2008, 2009, 2010 Add This, LLC */
if(!window._ate){var _atd="www.addthis.com/",_atr="//s7.addthis.com/",_atn="//l.addthiscdn.com/",_euc=encodeURIComponent,_duc=decodeURIComponent,_atc={dr:0,ver:250,loc:0,enote:"",cwait:500,bamp:0.25,camp:1,damp:1,famp:0.02,pamp:0.2,tamp:1,vamp:1,ltj:1,xamp:0.5,abf:!!window.addthis_do_ab,ufc:1};(function(){var l;try{l=window.location;if(l.protocol.indexOf("file")===0||l.protocol.indexOf("safari-extension")===0||l.protocol.indexOf("chrome-extension")===0){_atr="http:"+_atr;}if(l.hostname.indexOf("localhost")!=-1){_atc.loc=1;}}catch(e){}var ua=navigator.userAgent.toLowerCase(),d=document,w=window,dl=d.location,b={win:/windows/.test(ua),xp:(/windows nt 5.1/.test(ua))||(/windows nt 5.2/.test(ua)),osx:/os x/.test(ua),chr:/chrome/.test(ua),iph:/iphone/.test(ua),dro:/android/.test(ua),ipa:/ipad/.test(ua),saf:/safari/.test(ua),opr:/opera/.test(ua),msi:(/msie/.test(ua))&&!(/opera/.test(ua)),ffx:/firefox/.test(ua),ff2:/firefox\/2/.test(ua),ffn:/firefox\/((3.[6789][0-9a-z]*)|(4.[0-9a-z]*))/.test(ua),ie6:/msie 6.0/.test(ua),ie7:/msie 7.0/.test(ua),ie8:/msie 8.0/.test(ua),ie9:/msie 9.0/.test(ua),mod:-1},_7={rev:"97533",bro:b,wlp:(l||{}).protocol,dl:dl,upm:!!w.postMessage&&(""+w.postMessage).toLowerCase().indexOf("[native code]")!==-1,bamp:_atc.bamp-Math.random(),camp:_atc.camp-Math.random(),xamp:_atc.xamp-Math.random(),vamp:_atc.vamp-Math.random(),tamp:_atc.tamp-Math.random(),pamp:_atc.pamp-Math.random(),ab:"-",inst:1,wait:500,tmo:null,sub:!!window.at_sub,dbm:0,uid:null,spt:"static/r07/widget30.png",api:{},imgz:[],hash:window.location.hash};d.ce=d.createElement;d.gn=d.getElementsByTagName;window._ate=_7;_7.evl=function(_8,_9){return eval(_8);};var _a=function(o,fn,_d,_e){if(!o){return _d;}if(o instanceof Array||(o.length&&(typeof o!=="function"))){for(var i=0,len=o.length,v=o[0];i<len;v=o[++i]){_d=fn.call(_e||o,_d,v,i,o);}}else{for(var _12 in o){_d=fn.call(_e||o,_d,o[_12],_12,o);}}return _d;},_13=Array.prototype.slice,_14=function(a){return _13.apply(a,_13.call(arguments,1));},_16=function(s){return(""+s).replace(/(^\s+|\s+$)/g,"");},_18=function(A,B){return _a(_14(arguments,1),function(A,_1c){return _a(_1c,function(o,v,k){if(o){o[k]=v;}return o;},A);},A);},_20=function(o,del){return _a(o,function(acc,v,k){k=_16(k);if(k){acc.push(_euc(k)+"="+_euc(_16((typeof(v)=="object"?_20(v):(v)))));}return acc;},[]).join(del||"&");};toKV=function(o,del){return _a(o,function(acc,v,k){k=_16(k);if(k){acc.push(_euc(k)+"="+_euc(_16(v)));}return acc;},[]).join(del||"&");},recursiveFromKV=function(q,del){return _a((q||"").split(del||"&"),function(acc,_2e){try{var kv=_2e.split("="),k=_16(_duc(kv[0])),v=_16(_duc(kv.slice(1).join("=")));if(v.indexOf(del||"&")>-1){v=recursiveFromKV(del||"&");}if(k){acc[k]=v;}}catch(e){}return acc;},{});},fromKV=function(q,del){return _a((q||"").split(del||"&"),function(acc,_35){try{var kv=_35.split("="),k=_16(_duc(kv[0])),v=_16(_duc(kv.slice(1).join("=")));if(k){acc[k]=v;}}catch(e){}return acc;},{});},bind=function(){var _39=_14(arguments,0),fn=_39.shift(),_3b=_39.shift();return function(){return fn.apply(_3b,_39.concat(_14(arguments,0)));};},_listen=function(un,obj,evt,fn){if(!obj){return;}if(we){obj[(un?"detach":"attach")+"Event"]("on"+evt,fn);}else{obj[(un?"remove":"add")+"EventListener"](evt,fn,false);}},listen=function(obj,evt,fn){_listen(0,obj,evt,fn);},unlisten=function(obj,evt,fn){_listen(1,obj,evt,fn);},util={reduce:_a,slice:_14,strip:_16,extend:_18,toKV:toKV,rtoKV:_20,fromKV:fromKV,rfromKV:recursiveFromKV,bind:bind,listen:listen,unlisten:unlisten};_7.util=util;_18(_7,util);(function(_46,_47,env){var _49,u=_46.util;function PolyEvent(_4b,_4c,_4d,_4e,_4f){this.type=_4b;this.triggerType=_4c||_4b;this.target=_4d||_4e;this.triggerTarget=_4e||_4d;this.data=_4f||{};}u.extend(PolyEvent.prototype,{constructor:PolyEvent,bubbles:false,preventDefault:u.noop,stopPropagation:u.noop,clone:function(){return new this.constructor(this.type,this.triggerType,this.target,this.triggerTarget,u.extend({},this.data));}});function EventDispatcher(_50,_51){this.target=_50;this.queues={};this.defaultEventType=_51||PolyEvent;}function getQueue(evt){var Qs=this.queues;if(!Qs[evt]){Qs[evt]=[];}return Qs[evt];}function addEventListener(evt,fn){this.getQueue(evt).push(fn);}function removeEventListener(evt,fn){var q=this.getQueue(evt),idx=q.indexOf(fn);if(idx!==-1){q.splice(idx,1);}}function fire(_5a,_5b,_5c,_5d){var _5e=this;if(!_5d){setTimeout(function(){_5e.dispatchEvent(new _5e.defaultEventType(_5a,_5a,_5b,_5e.target,_5c));},10);}else{_5e.dispatchEvent(new _5e.defaultEventType(_5a,_5a,_5b,_5e.target,_5c));}}function dispatchEvent(evt){for(var i=0,_61=evt.target,q=this.getQueue(evt.type),L=q.length;i<L;i++){q[i].call(_61,evt.clone());}}function decorate(_64){if(!_64){return;}for(var k in _66){_64[k]=u.bind(_66[k],this);}return _64;}var _66={constructor:EventDispatcher,getQueue:getQueue,addEventListener:addEventListener,removeEventListener:removeEventListener,dispatchEvent:dispatchEvent,fire:fire,decorate:decorate};u.extend(EventDispatcher.prototype,_66);_46.event={PolyEvent:PolyEvent,EventDispatcher:EventDispatcher};})(_7,_7.api,_7);_7.ed=new _7.event.EventDispatcher(_7);var _67={isBound:0,isReady:0,readyList:[],onReady:function(){if(!_67.isReady){_67.isReady=1;var l=_67.readyList.concat(window.addthis_onload||[]);for(var fn=0;fn<l.length;fn++){l[fn].call(window);}_67.readyList=[];}},addLoad:function(_6a){var o=w.onload;if(typeof w.onload!="function"){w.onload=_6a;}else{w.onload=function(){if(o){o();}_6a();};}},bindReady:function(){if(r.isBound||_atc.xol){return;}r.isBound=1;if(d.addEventListener&&!b.opr){d.addEventListener("DOMContentLoaded",r.onReady,false);}var apc=window.addthis_product;if(apc&&apc.indexOf("f")>-1){r.onReady();return;}if(b.msi&&!b.ie9&&window==top){(function(){if(r.isReady){return;}try{d.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}r.onReady();})();}if(b.opr){d.addEventListener("DOMContentLoaded",function(){if(r.isReady){return;}for(var i=0;i<d.styleSheets.length;i++){if(d.styleSheets[i].disabled){setTimeout(arguments.callee,0);return;}}r.onReady();},false);}if(b.saf){var _6e;(function(){if(r.isReady){return;}if(d.readyState!="loaded"&&d.readyState!="complete"){setTimeout(arguments.callee,0);return;}if(_6e===undefined){var _70=d.gn("link");for(var i=0;i<_70.length;i++){if(_70[i].getAttribute("rel")=="stylesheet"){_6e++;}}var _72=d.gn("style");_6e+=_72.length;}if(d.styleSheets.length!=_6e){setTimeout(arguments.callee,0);return;}r.onReady();})();}r.addLoad(r.onReady);},append:function(fn,_74){r.bindReady();if(r.isReady){fn.call(window,[]);}else{r.readyList.push(function(){return fn.call(window,[]);});}}},r=_67,a=_7;_18(_7,{plo:[],lad:function(x){_7.plo.push(x);}});(function(_77,_78,env){var w=window;_77.pub=function(){return _euc((window.addthis_config||{}).pubid||(window.addthis_config||{}).username||window.addthis_pub||"");};_77.usu=function(url,f){if(!w.addthis_share){w.addthis_share={};}if(f||url!=addthis_share.url){addthis_share.imp_url=0;}};_77.rsu=function(){var d=document,dt=d.title,du=d.location?d.location.href:"";if(_atc.ver>=250&&addthis_share.imp_url&&du&&du!=w.addthis_share.url&&!(_7.util.ivc((d.location.hash||"").substr(1).split(",").shift()))){w.addthis_share.url=w.addthis_url=du;w.addthis_share.title=w.addthis_title=dt;return 1;}return 0;};_77.igv=function(u,t){if(!w.addthis_config){w.addthis_config={username:w.addthis_pub};}else{if(addthis_config.data_use_cookies===false){_atc.xck=1;}}if(!w.addthis_share){w.addthis_share={};}if(!addthis_share.url){if(!w.addthis_url&&addthis_share.imp_url===undefined){addthis_share.imp_url=1;}addthis_share.url=(w.addthis_url||u||"").split("#{").shift();}if(!addthis_share.title){addthis_share.title=(w.addthis_title||t||"").split("#{").shift();}};if(!_atc.ost){if(!w.addthis_conf){w.addthis_conf={};}for(var i in addthis_conf){_atc[i]=addthis_conf[i];}_atc.ost=1;}})(_7,_7.api,_7);(function(_83,_84,env){var _86,d=document,u=_83.util;_83.ckv=u.fromKV(d.cookie,";");function read(k){return u.fromKV(d.cookie,";")[k];}if(!_83.cookie){_83.cookie={};}_83.cookie.rck=read;})(_7,_7.api,_7);(function(_89,_8a,env){var _8c,d=document,_8d=0,u=_89.util;function canWeWrite(){if(_8d){return 1;}set("xtc",1);if(1==_89.cookie.rck("xtc")){_8d=1;}kill("xtc",1);return _8d;}function checkForGovSite(_8f){if(_atc.xck){return;}var h=_8f||_7.dh||_7.du||(_7.dl?_7.dl.hostname:"");if(h.indexOf(".gov")>-1||h.indexOf(".mil")>-1){_atc.xck=1;}var p=typeof(_89.pub)==="function"?_89.pub():_89.pub,x=["usarmymedia","govdelivery"];for(i in x){if(p==x[i]){_atc.xck=1;break;}}}function kill(k,ud){if(d.cookie){d.cookie=k+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/"+(ud?"; domain="+(_89.bro.msi?"":".")+"addthis.com":"");}}function set(u,v,s,nd,_99){checkForGovSite();if(!_atc.xck){if(!_99){var _99=new Date();_99.setYear(_99.getFullYear()+2);}document.cookie=u+"="+v+(!s?"; expires="+_99.toUTCString():"")+"; path=/;"+(!nd?" domain="+(_89.bro.msi?"":".")+"addthis.com":"");}}if(!_89.cookie){_89.cookie={};}_89.cookie.sck=set;_89.cookie.kck=kill;_89.cookie.cww=canWeWrite;_89.cookie.gov=checkForGovSite;})(_7,_7.api,_7);(function(_9a,_9b,env){function munge(s){var mv=291;if(s){for(var i=0;i<s.length;i++){mv=(mv*(s.charCodeAt(i)+i)+3)&1048575;}}return(mv&16777215).toString(32);}_9a.mun=munge;})(_7,_7.api,_7);(function(_a0,_a1,env){var _a3,u=_a0.util,max=4294967295,_a6=new Date().getTime();function generateCuid(){return((_a6/1000)&max).toString(16)+("00000000"+(Math.floor(Math.random()*(max+1))).toString(16)).slice(-8);}function getDateFromCuid(_a7){return isValidCuid(_a7)?(new Date((parseInt(_a7.substr(0,8),16)*1000))):new Date();}function isCuidInFuture(_a8){var d=getDateFromCuid();return((d.getTime()-1000*86400)>(new Date()).getTime());}function isCuidOlderThan(_aa,_ab){var d=getDateFromCuid(_aa);return(((new Date()).getTime()-d.getTime())>_ab*1000);}function isValidCuid(_ad){return _ad&&_ad.match(/^[0-9a-f]{16}$/)&&!isCuidInFuture(_ad);}u.cuid=generateCuid;u.ivc=isValidCuid;u.ioc=isCuidOlderThan;})(_7,_7.api,_7);(function(_ae,_af,env){function getHashParams(s,qs){var q=s.indexOf("#")>-1&&!qs?s.replace(/^[^\#]+\#?/,""):s.replace(/^[^\?]+\??/,""),p=_ae.util.fromKV(q);return p;}function getScriptParams(_b5){var ss=document.gn("script"),_b7=ss.length,s=ss[_b7-1],p=getHashParams(s.src);if(_b5||(s.src&&s.src.indexOf("addthis")==-1)){for(var i=0;i<_b7;i++){if((ss[i].src||"").indexOf(_b5||"addthis.com")>-1){p=getHashParams(ss[i].src);break;}}}return p;}if(!_ae.util){_ae.util={};}_ae.util.gsp=getScriptParams;_ae.util.ghp=getHashParams;})(_7,_7.api,_7);(function(_bb,_bc,env){var u=_bb.util,_bf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=";function hexToBase64(_c0){var _c1="",_c2,_c3,_c4,_c5,_c6,i=0;if(/[0-9a-fA-F]+/.test(_c0)){while(i<_c0.length){_c2=parseInt(_c0.charAt(i++),16);_c3=parseInt(_c0.charAt(i++),16);_c4=parseInt(_c0.charAt(i++),16);_c5=(_c2<<2)|(isNaN(_c4)?_c3&3:(_c3>>2));_c6=((_c3&3)<<4)|_c4;_c1+=_bf.charAt(_c5)+(isNaN(_c4)?"":_bf.charAt(_c6));}}else{}return _c1;}function base64ToHex(_c8){var _c9="",_ca,_cb,_cc,_cd,_ce,i=0;while(i<_c8.length){_cd=_bf.indexOf(_c8.charAt(i++));_ce=i>=_c8.length?NaN:_bf.indexOf(_c8.charAt(i++));_ca=_cd>>2;_cb=isNaN(_ce)?(_cd&3):(((_cd&3)<<2)|(_ce>>4));_cc=_ce&15;_c9+=_ca.toString(16)+_cb.toString(16)+(isNaN(_ce)?"":_cc.toString(16));}return _c9;}u.hbtoa=hexToBase64;u.atohb=base64ToHex;})(_7,_7.api,_7);(function(_d0,_d1,env){var a=_d0,_d4=new Date().getTime(),ran=function(){return Math.floor(Math.random()*4294967295).toString(36);},off=function(){return Math.floor((new Date().getTime()-_d4)/100).toString(16);},sid=0,_d8=function(f){if(sid===0){a.sid=sid=(f||a.util.cuid());}return sid;},_da=null,sxm=function(b,xmi){if(_da!==null){clearTimeout(_da);}if(b){_da=setTimeout(function(){xmi(false);},_7.wait);}},fcv=function(k,v){return _euc(k)+"="+_euc(v)+";"+off();},seq=1,_e2=function(url,f){var u=(url||"").split("?"),url=u.shift(),_e6=(u.pop()||"").split("&");return f(url,_e6);},_e7=function(url,_e9,_ea,svc){if(!_e9){_e9={};}if(!_e9.remove){_e9.remove=[];}_e9.remove.push("sms_ss");_e9.remove.push("at_xt");_e9.remove.push("fb_ref");_e9.remove.push("fb_source");if(_e9.remove){url=_ec(url,_e9.remove);}if(_e9.clean){url=_ed(url);}if(_e9.defrag){url=_ee(url);}if(_e9.add){url=_ef(url,_e9.add,_ea,svc);}return url;},_ef=function(url,_f1,_f2,_f3){var _f4={};if(_f1){for(var k in _f1){if(url.indexOf(k+"=")>-1){continue;}_f4[k]=_f6(_f1[k],url,_f2,_f3);}_f1=_7.util.toKV(_f4);}return url+(_f1.length?((url.indexOf("?")>-1?"&":"?")+_f1):"");},_f6=function(s,url,_f9,_fa){var _f9=_f9||addthis_share;return s.replace(/{{service}}/g,_euc(_fa||"")).replace(/{{code}}/g,_euc(_fa||"")).replace(/{{title}}/g,_euc(_f9.title)).replace(/{{url}}/g,_euc(url));},_ec=function(url,_fc){var _fd={},_fc=_fc||[];for(var i=0;i<_fc.length;i++){_fd[_fc[i]]=1;}return _e2(url,function(url,_100){var _101=[];if(_100){for(var i in _100){if(typeof(_100[i])=="string"){var kv=(_100[i]||"").split("=");if(kv.length!=2&&_100[i]){_101.push(_100[i]);}else{if(_fd[kv[0]]){continue;}else{if(_100[i]){_101.push(_100[i]);}}}}}url+=(_101.length?("?"+_101.join("&")):"");}return url;});},_104=function(url){var frag=url.split("#").pop().split(",").shift().split("=").pop();if(_7.util.ivc(frag)){return url.split("#").pop().split(",");}return[""];},_ee=function(url){var frag=_104(url).shift().split("=").pop();if(_7.util.ivc(frag)){return url.split("#").shift();}else{frag=url.split("#").slice(1).join("#");if(frag.length==12&&frag.substr(0,1)=="."&&/[a-zA-Z0-9\-_]{11}/.test(frag.substr(1))){return url.split("#").shift();}}return url;},_ed=function(url){return _e2(url,function(url,_10b){var jidx=url.indexOf(";jsessionid"),_10d=[];if(jidx>-1){url=url.substr(0,jidx);}if(_10b){for(var i in _10b){if(typeof(_10b[i])=="string"){var kv=(_10b[i]||"").split("=");if(kv.length==2){if(kv[0].indexOf("utm_")===0||kv[0]=="gclid"||kv[0]=="sms_ss"||kv[0]=="at_xt"||kv[0]=="fb_ref"||kv[0]=="fb_source"){continue;}}if(_10b[i]){_10d.push(_10b[i]);}}}url+=(_10d.length?("?"+_10d.join("&")):"");}return url;});},sta=function(){var pub=(typeof(a.pub||"")=="function"?a.pub():a.pub)||"unknown";return"AT-"+pub+"/-/"+a.ab+"/"+_d8()+"/"+(seq++)+(a.uid!==null?"/"+a.uid:"");};if(!_7.track){_7.track={};}_d0.util.extend(_7.track,{fcv:fcv,ran:ran,rup:_ec,aup:_ef,cof:_ee,gof:_104,clu:_ed,mgu:_e7,ssid:_d8,sta:sta,sxm:sxm});})(_7,_7.api,_7);(function(_112,_113,env){var _115=".",_116=_115.length,_117=0,_118={wpp:1,blg:1};function extractOurParameters(dl,dr){if(!dl){dl=document.location;}if(!dr){dr=d.referer||d.referrer||"";}var rxi,rsi,rsiq,rsc,_11f=0,du=dl?dl.href:"",_121=(du||"").split("#").shift(),hash=(du||"").split("#").pop(),_123=_7.util.ghp(du,1),_124=_7.util.ghp(du);_11f=0,at_st=_124.at_st,rsc=_123.sms_ss,fb_ref=_123.fb_ref,at_xt=_123.at_xt,q_at_st=_123.at_st;if(fb_ref){var _125=fb_ref.split("=").pop().split("_");if(_125.length==2&&_7.util.ivc(_125[0])){at_xt=_125.join(",");rsc="facebook_like";}}if(!at_st){if(hash.length==(11+_116)&&(hash.substr(0,_116)==_115)&&/[a-zA-Z0-9\-_]{11}/.test(hash.substr(_116))){var key=_7.util.atohb(hash.substr(_116));at_st=key.substr(0,16)+",";at_st+=parseInt(key.substr(16),10);}}at_st=at_st&&_7.util.ivc(at_st.split(",").shift())?at_st:"";if(at_st){_11f=parseInt(at_st.split(",").pop())+1;rsi=at_st.split(",").shift();}else{if(du.indexOf(_atd+"book")==-1&&_121!=dr){var cvt=[],sm;if(at_xt){sm=at_xt.split(",");rxi=_duc(sm.shift());if(rxi.indexOf(",")>-1){sm=rxi.split(",");rxi=sm.shift();}}else{if(q_at_st){sm=q_at_st.split(",");rsiq=_duc(sm.shift());if(rsiq.indexOf(",")>-1){sm=rsiq.split(",");rsiq=sm.shift();}}}if(sm&&sm.length){_11f=Math.min(3,parseInt(sm.pop())+1);}}}if(!_7.util.ivc(rsi)){rsi=null;}if(!_7.util.ivc(rsiq)){rsiq=null;}return{rsi:rsi,rsiq:rsiq,rxi:rxi,rsc:rsc,gen:_11f};}function clickTrackableProduct(_129,_12a){if(!_12a||(_12a.data_track_clickback!==false&&_12a.data_track_linkback!==false)){if(_117){return true;}_129=(_129||window.addthis_product||"").split(",");for(var i=0;i<_129.length;i++){if(_118[_129[i].split("-").shift()]){return(_117=true);}}}return false;}_7.extend(_7.track,{cpf:_115,ctp:clickTrackableProduct,eop:extractOurParameters});})(_7,_7.api,_7);(function(){var d=document,a=_7,cvt=[],avt=null,qtp=[],xtp=function(){var p;while(p=qtp.pop()){trk(p);}},pcs=[],spc=null,apc=function(c){c=c.split("-").shift();for(var i=0;i<pcs.length;i++){if(pcs[i]==c){return;}}pcs.push(c);},gat=function(){},atf=null,_13a=function(){var div=d.getElementById("_atssh");if(!div){div=d.ce("div");div.style.visibility="hidden";div.id="_atssh";a.opp(div.style);d.body.insertBefore(div,d.body.firstChild);}return div;},ctf=function(url){var ifr,r=Math.floor(Math.random()*1000),div=_13a();if(!a.bro.msi){ifr=d.ce("iframe");ifr.id="_atssh"+r;ifr.title="AddThis utility frame";}else{if(a.bro.ie6&&!url&&d.location.protocol.indexOf("https")==0){url="javascript:''";}div.innerHTML="<iframe id=\"_atssh"+r+"\" width=\"1\" height=\"1\" title=\"AddThis utility frame\" name=\"_atssh"+r+"\" "+(url?"src=\""+url+"\"":"")+">";ifr=d.getElementById("_atssh"+r);}a.opp(ifr.style);ifr.frameborder=ifr.style.border=0;ifr.style.top=ifr.style.left=0;return ifr;},_140=function(e){var _142=300;if(e&&e.data&&e.data.service){if(a.dcp>=_142){return;}trk({gen:_142,sh:e.data.service});a.dcp=_142;}},_143=function(evt){var t={},data=evt.data||{},svc=data.svc,pco=data.pco,_149=data.cmo,_14a=data.crs,_14b=data.cso;if(svc){t.sh=svc;}if(_149){t.cm=_149;}if(_14b){t.cs=1;}if(_14a){t.cr=1;}if(pco){t.spc=pco;}img("sh","3",null,t);},trk=function(t){var dr=a.dr,rev=(a.rev||"");if(!t){return;}t.xck=_atc.xck?1:0;t.xxl=1;t.sid=a.track.ssid();t.pub=a.pub();t.ssl=a.ssl||0;t.du=a.tru(a.du||a.dl.href);if(a.dt){t.dt=a.dt;}if(a.cb){t.cb=a.cb;}t.lng=a.lng();t.ver=_atc.ver;if(!a.upm&&a.uid){t.uid=a.uid;}t.pc=t.spc||pcs.join(",");if(dr){t.dr=a.tru(dr);}if(a.dh){t.dh=a.dh;}if(rev){t.rev=rev;}if(a.xfr){if(a.upm){if(atf){atf.contentWindow.postMessage(toKV(t),"*");}}else{var div=_13a(),base="static/r07/sh40.html"+(false?"?t="+new Date().getTime():"");if(atf){div.removeChild(div.firstChild);}atf=ctf();atf.src=_atr+base+"#"+toKV(t);div.appendChild(atf);}}else{qtp.push(t);}},img=function(i,c,x,obj,_156){if(!window.at_sub&&!_atc.xtr){var t=obj||{};t.evt=i;if(x){t.ext=x;}avt=t;if(_156===1){xmi(true);}else{a.track.sxm(true,xmi);}}},cev=function(k,v){cvt.push(a.track.fcv(k,v));a.track.sxm(true,xmi);},xmi=function(_15c){var h=a.dl?a.dl.hostname:"";if(cvt.length>0||avt){a.track.sxm(false,xmi);if(_atc.xtr){return;}var t=avt||{};t.ce=cvt.join(",");cvt=[];avt=null;trk(t);if(_15c){var i=d.ce("iframe");i.id="_atf";_7.opp(i.style);d.body.appendChild(i);i=d.getElementById("_atf");}}};a.ed.addEventListener("addthis-internal.compact",_143);a.ed.addEventListener("addthis.menu.share",_140);if(!a.track){a.track={};}a.util.extend(a.track,{pcs:pcs,apc:apc,cev:cev,ctf:ctf,gtf:_13a,qtp:function(p){qtp.push(p);},stf:function(f){atf=f;},trk:trk,xtp:xtp});})();_18(_7,{_rec:[],xfr:!_7.upm||!_7.bro.ffx,pmh:function(e){if(e.origin.slice(-12)==".addthis.com"){if(!e.data){return;}var data=fromKV(e.data),r=_7._rec;for(var n=0;n<r.length;n++){r[n](data);}}}});_18(_7,{lng:function(){return window.addthis_language||(window.addthis_config||{}).ui_language||(_7.bro.msi?navigator.userLanguage:navigator.language)||"en";},iwb:function(l){var wd={th:1,pl:1,sl:1,gl:1,hu:1,is:1,nb:1,se:1,su:1,sw:1};return!!wd[l];},ivl:function(l){var lg={af:1,afr:"af",ar:1,ara:"ar",az:1,aze:"az",be:1,bye:"be",bg:1,bul:"bg",bn:1,ben:"bn",bs:1,bos:"bs",ca:1,cat:"ca",cs:1,ces:"cs",cze:"cs",cy:1,cym:"cy",da:1,dan:"da",de:1,deu:"de",ger:"de",el:1,gre:"el",ell:"ell",en:1,eo:1,es:1,esl:"es",spa:"spa",et:1,est:"et",eu:1,fa:1,fas:"fa",per:"fa",fi:1,fin:"fi",fo:1,fao:"fo",fr:1,fra:"fr",fre:"fr",ga:1,gae:"ga",gdh:"ga",gl:1,glg:"gl",gu:1,he:1,heb:"he",hi:1,hin:"hin",hr:1,ht:1,cro:"hr",hu:1,hun:"hu",id:1,ind:"id",is:1,ice:"is",it:1,ita:"it",ja:1,jpn:"ja",ko:1,kor:"ko",ku:1,lb:1,ltz:"lb",lt:1,lit:"lt",lv:1,lav:"lv",mk:1,mac:"mk",mak:"mk",ml:1,mn:1,ms:1,msa:"ms",may:"ms",nb:1,nl:1,nla:"nl",dut:"nl",no:1,nds:1,nn:1,nno:"no",oc:1,oci:"oc",pl:1,pol:"pl",ps:1,pt:1,por:"pt",ro:1,ron:"ro",rum:"ro",ru:1,rus:"ru",sk:1,slk:"sk",slo:"sk",sl:1,slv:"sl",sq:1,alb:"sq",sr:1,se:1,si:1,ser:"sr",su:1,sv:1,sve:"sv",sw:1,swe:"sv",ta:1,tam:"ta",te:1,teg:"te",th:1,tha:"th",tl:1,tgl:"tl",tn:1,tr:1,tur:"tr",tt:1,uk:1,ukr:"uk",ur:1,urd:"ur",vi:1,vec:1,vie:"vi","zh-hk":1,"chi-hk":"zh-hk","zho-hk":"zh-hk","zh-tr":1,"chi-tr":"zh-tr","zho-tr":"zh-tr","zh-tw":1,"chi-tw":"zh-tw","zho-tw":"zh-tw",zh:1,chi:"zh",zho:"zh"};if(lg[l]){return lg[l];}l=l.split("-").shift();if(lg[l]){if(lg[l]===1){return l;}else{return lg[l];}}return 0;},gvl:function(l){var rv=_7.ivl(l)||"en";if(rv===1){rv=l;}return rv;},alg:function(al,f){var l=_7.gvl((al||_7.lng()).toLowerCase());if(l.indexOf("en")!==0&&(!_7.pll||f)){_7.pll=_7.ajs("static/r07/lang09/"+l+".js");}}});_18(_7,{trim:function(s,e){try{s=s.replace(/^[\s\u3000]+|[\s\u3000]+$/g,"");if(e){s=_euc(s);}}catch(e){}return s||"";},trl:[],tru:function(u,k){var rv="",_173=0,_174=-1;if(u){rv=u.substr(0,300);if(rv!==u){if((_174=rv.lastIndexOf("%"))>=rv.length-4){rv=rv.substr(0,_174);}if(rv!=u){for(var i in _7.trl){if(_7.trl[i]==k){_173=1;}}if(!_173){_7.trl.push(k);}}}}return rv;},opp:function(st){st.width=st.height="1px";st.position="absolute";st.zIndex=100000;},jlr:{},ajs:function(name,_178){if(!_7.jlr[name]){var o=d.ce("script"),head=d.gn("head")[0]||d.documentElement;o.src=(_178?"":_atr)+name;head.insertBefore(o,head.firstChild);_7.jlr[name]=1;return o;}return 1;},jlo:function(){try{var a=_7,al=a.lng(),aig=function(src){var img=new Image();_7.imgz.push(img);img.src=src;};a.alg(al);if(!a.pld){if(a.bro.ie6){aig(_atr+a.spt);aig(_atr+"static/t00/logo1414.gif");aig(_atr+"static/t00/logo88.gif");if(window.addthis_feed){aig("static/r05/feed00.gif",1);}}if(a.pll&&!window.addthis_translations){setTimeout(function(){a.pld=a.ajs("static/r07/menu74.js");},10);}else{a.pld=a.ajs("static/r07/menu74.js");}}}catch(e){}},ao:function(elt,pane,iurl,_183,_184,_185){_7.lad(["open",elt,pane,iurl,_183,_184,_185]);_7.jlo();return false;},ac:function(){},as:function(s,cf,sh){_7.lad(["send",s,cf,sh]);_7.jlo();}});(function(_189,_18a,env){var d=document,_18d=1,_18e=["cbea","kkk","zvys","phz"],i=_18e.length,_190={};function rot(s){return s.replace(/[a-zA-Z]/g,function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);});}while(i--){_190[rot(_18e[i])]=1;}function classifyString(s){var c=0;s=(s||"").toLowerCase()+"";if(!s){return c;}s=s.replace(/[^a-zA-Z]/g," ").split(" ");for(var i=0,_196=s.length;i<_196;i++){if(_190[s[i]]){c|=_18d;return c;}}return c;}function classify(){var _197=(w.addthis_title||d.title),_198=classifyString(_197),_199=d.all?d.all.tags("META"):d.getElementsByTagName?d.getElementsByTagName("META"):new Array(),j=(_199||"").length;if(_199&&j){while(j--){var m=_199[j]||{},n=(m.name||"").toLowerCase(),c=m.content;if(n=="description"||n=="keywords"){_198|=classifyString(c);}}}return _198;}if(!_189.ad){_189.ad={};}_7.extend(_189.ad,{cla:classify});})(_7,_7.api,_7);(function(_19e,_19f,env){var _1a1,d=document,u=_19e.util,_1a3=_19e.event.EventDispatcher,_1a4=25,_1a5=[];function ApiQueueFactory(name,fn,cxt){var _1a9=[];function _1a9(){_1a9.push(arguments);}function ready(){cxt[name]=fn;while(_1a9.length){fn.apply(cxt,_1a9.shift());}}_1a9.ready=ready;return _1a9;}function monitor(_1aa){if(_1aa&&_1aa instanceof Resource){_1a5.push(_1aa);}for(var i=0;i<_1a5.length;){var _1ac=_1a5[i];if(_1ac&&_1ac.test()){_1a5.splice(i,1);Resource.fire("load",_1ac,{resource:_1ac});}else{i++;}}if(_1a5.length){setTimeout(monitor,_1a4);}}function Resource(id,url,test){var self=this,hub=new _1a3(self);hub.decorate(hub).decorate(self);this.ready=false;this.loading=false;this.id=id;this.url=url;if(typeof(test)==="function"){this.test=test;}else{this.test=function(){return(!!_window[test]);};}Resource.addEventListener("load",function(evt){var r=evt.resource;if(!r||r.id!==self.id){return;}self.loading=false;self.ready=true;hub.fire(evt.type,r,{resource:r});});}u.extend(Resource.prototype,{load:function(){if(!this.loading){var l;if(this.url.substr(this.url.length-4)==".css"){var head=(d.gn("head")[0]||d.documentElement);l=d.ce("link");l.rel="stylesheet";l.type="text/css";l.href=this.url;l.media="all";head.insertBefore(l,head.firstChild);}else{l=_7.ajs(this.url,1);}this.loading=true;Resource.monitor(this);return l;}else{return 1;}}});var _1b6=new _1a3(Resource);_1b6.decorate(_1b6).decorate(Resource);u.extend(Resource,{known:{},loading:_1a5,monitor:monitor});_19e.resource={Resource:Resource,ApiQueueFactory:ApiQueueFactory};})(_7,_7.api,_7);(function(_1b7,_1b8,env){var d=document,a=_1b7,_1bb=function(){var _1bc=d.gn("link"),rv={};for(var i=0;i<_1bc.length;i++){var l=_1bc[i];if(l.href&&l.rel){rv[l.rel]=l.href;}}return rv;},_1c0=_1bb(),_1c1=function(){var p=d.location.protocol;if(p=="file:"){p="http:";}return p+"//"+_atd;},srd=function(){if(a.dr){return"&pre="+_euc(a.track.cof(a.dr));}else{return"";}},_1c4=function(svc,feed,_1c7,_1c8){return _1c1()+(feed?"feed.php":(svc=="email"&&_atc.ver>=300?"tellfriend.php":"bookmark.php"))+"?v="+(_atc.ver)+"&winname=addthis&"+uadd(svc,feed,_1c7,_1c8)+srd()+"&tt=0"+(svc==="more"&&a.bro.ipa?"&imore=1":"");},uadd=function(svc,feed,_1cc,_1cd){var t=a.trim,d=window,pub=a.pub(),w=window._atw||{},u=(_1cc&&_1cc.url?_1cc.url:(w.share&&w.share.url?w.share.url:(d.addthis_url||d.location.href))),acs,hc=function(s){if(u&&u!=""){var i=u.indexOf("#at"+s);if(i>-1){u=u.substr(0,i);}}};if(!_1cd){_1cd=w.conf||{};}else{for(var k in w.conf){if(!(_1cd[k])){_1cd[k]=w.conf[k];}}}if(!_1cc){_1cc=w.share||{};}else{for(var k in w.share){if(!(_1cc[k])){_1cc[k]=w.share[k];}}}if(a.rsu()){_1cc.url=window.addthis_url;_1cc.title=window.addthis_title;u=_1cc.url;}if(!pub||pub=="undefined"){pub="unknown";}acs=_1cd.services_custom;hc("pro");hc("opp");hc("cle");hc("clb");hc("abc");if(u.indexOf("addthis.com/static/r07/ab")>-1){u=u.split("&");for(var i=0;i<u.length;i++){var p=u[i].split("=");if(p.length==2){if(p[0]=="url"){u=p[1];break;}}}}if(acs instanceof Array){for(var i=0;i<acs.length;i++){if(acs[i].code==svc){acs=acs[i];break;}}}var tmp=((_1cc.templates&&_1cc.templates[svc])?_1cc.templates[svc]:""),_1d9=((_1cc.modules&&_1cc.modules[svc])?_1cc.modules[svc]:""),_1da=_1cc.share_url_transforms||_1cc.url_transforms||{},_1db=_1cc.track_url_transforms||_1cc.url_transforms,_1dc=((_1da&&_1da.shorten&&_1cc.shorteners)?(typeof(_1da.shorten)=="string"?_1da.shorten:(_1da.shorten[svc]||_1da.shorten["default"]||"")):""),_1dd="",prc=(_1cd.product||d.addthis_product||("men-"+_atc.ver)),crs=w.crs,_1e0="",_1e1=a.track.gof(u),rsi=_1e1.length==2?_1e1.shift().split("=").pop():"",gen=_1e1.length==2?_1e1.pop():"";if(_1cc.email_vars){for(var k in _1cc.email_vars){_1e0+=(_1e0==""?"":"&")+_euc(k)+"="+_euc(_1cc.email_vars[k]);}}if(a.track.spc&&prc.indexOf(a.track.spc)==-1){prc+=","+a.track.spc;}if(_1da&&_1da.shorten&&_1cc.shorteners){for(var k in _1cc.shorteners){for(var kk in _1cc.shorteners[k]){_1dd+=(_1dd.length?"&":"")+_euc(k+"."+kk)+"="+_euc(_1cc.shorteners[k][kk]);}}}u=a.track.cof(u);u=a.track.mgu(u,_1da,_1cc,svc);if(_1db){_1cc.trackurl=a.track.mgu(_1cc.trackurl||u,_1db,_1cc,svc);}var rv="pub="+pub+"&source="+prc+"&lng="+(a.lng()||"xx")+"&s="+svc+(_1cd.ui_508_compliant?"&u508=1":"")+(feed?"&h1="+t((_1cc.feed||_1cc.url).replace("feed://",""),1)+"&t1=":"&url="+t(u,1)+"&title=")+t(_1cc.title||d.addthis_title,1)+(_atc.ver<200?"&logo="+t(d.addthis_logo,1)+"&logobg="+t(d.addthis_logo_background,1)+"&logocolor="+t(d.addthis_logo_color,1):"")+"&ate="+a.track.sta()+((window.addthis_ssh&&(!crs||addthis_ssh!=crs)&&(addthis_ssh==svc||addthis_ssh.search(new RegExp("(?:^|,)("+svc+")(?:$|,)"))>-1))?"&ips=1":"")+(crs?"&cr="+(svc==crs?1:0):"")+"&uid="+_euc(a.uid&&a.uid!="x"?a.uid:a.util.cuid())+(_1cc.email_template?"&email_template="+_euc(_1cc.email_template):"")+(_1e0?"&email_vars="+_euc(_1e0):"")+(_1dc?"&shortener="+_euc(typeof(_1dc)=="array"?_1dc.join(","):_1dc):"")+(_1dc&&_1dd?"&"+_1dd:"")+((_1cc.passthrough||{})[svc]?"&passthrough="+t((typeof(_1cc.passthrough[svc])=="object"?a.util.toKV(_1cc.passthrough[svc]):_1cc.passthrough[svc]),1):"")+(_1cc.description?"&description="+t(_1cc.description,1):"")+(_1cc.html?"&html="+t(_1cc.html,1):(_1cc.content?"&html="+t(_1cc.content,1):""))+(_1cc.trackurl&&_1cc.trackurl!=u?"&trackurl="+t(_1cc.trackurl,1):"")+(_1cc.screenshot?"&screenshot="+t(_1cc.screenshot,1):"")+(_1cc.swfurl?"&swfurl="+t(_1cc.swfurl,1):"")+(a.cb?"&cb="+a.cb:"")+(a.ufbl?"&ufbl=1":"")+(_1cc.iframeurl?"&iframeurl="+t(_1cc.iframeurl,1):"")+(_1cc.width?"&width="+_1cc.width:"")+(_1cc.height?"&height="+_1cc.height:"")+(_1cd.data_track_p32?"&p32="+_1cd.data_track_p32:"")+(_1cd.data_track_clickback||_1cd.data_track_linkback||!pub||pub=="AddThis"||_7.track.ctp(_1cd.product,_1cd)?"&sms_ss=1&at_xt=1":"")+((acs&&acs.url)?"&acn="+_euc(acs.name)+"&acc="+_euc(acs.code)+"&acu="+_euc(acs.url):"")+(a.smd?(a.smd.rxi?"&rxi="+a.smd.rxi:"")+(a.smd.rsi?"&rsi="+a.smd.rsi:"")+(a.smd.gen?"&gen="+a.smd.gen:""):((rsi?"&rsi="+rsi:"")+(gen?"&gen="+gen:"")))+(_1cc.xid?"&xid="+t(_1cc.xid,1):"")+(tmp?"&template="+t(tmp,1):"")+(_1d9?"&module="+t(_1d9,1):"")+(_1cd.ui_cobrand?"&ui_cobrand="+t(_1cd.ui_cobrand,1):"")+(_1cd.ui_header_color?"&ui_header_color="+t(_1cd.ui_header_color,1):"")+(_1cd.ui_header_background?"&ui_header_background="+t(_1cd.ui_header_background,1):"");return rv;},_1e6=function(_1e7,_1e8){var xid=_1e7.xid||a.util.cuid();if(_1e8.data_track_clickback||_1e8.data_track_linkback||_7.track.ctp(_1e8.product,_1e8)){return"at_xt="+xid+","+((a.smd||{}).gen||0);}else{return"";}},_1ea=function(_1eb,_1ec,_1ed,_1ee,_1ef,_1f0){var pub=a.pub(),url=_1ee||_1ec.url||"",xid=_1ec.xid||a.util.cuid();if(url.toLowerCase().indexOf("http%3a%2f%2f")===0){url=_duc(url);}if(_1ef){var _1f4={};for(var k in _1ec){_1f4[k]=_1ec[k];}_1f4.xid=xid;setTimeout(function(){(new Image()).src=_1c4(_1eb=="twitter"&&_1f0?"tweet":_1eb,0,_1f4,_1ed);},100);}return url+(_1ed.data_track_clickback||_1ed.data_track_linkback||!pub||pub=="AddThis"?((url.indexOf("?")>-1)?"&":"?")+("sms_ss="+_1eb)+("&at_xt="+xid+","+((a.smd||{}).gen||0)):"");},_1f6=function(_1f7,_1f8,_1f9){var _1f8=_1f8||{},_1fa=_1f7.share_url_transforms||_1f7.url_transforms||{},url=a.track.cof(a.track.mgu(_1f7.url,_1fa,_1f7,"mailto"));return"mailto:?subject="+_euc(_1f7.title?_1f7.title:url)+"&body="+_euc(_1ea("mailto",_1f7,_1f8,url,_1f9));},_1fc=function(_1fd){return((!_1fd.templates||!_1fd.templates.twitter)&&(!a.wlp||a.wlp=="http:"));},_1fe=function(url,_200,_201,name){var neww=_200||550,newh=_201||450,_205=screen.width,_206=screen.height,_207=Math.round((_205/2)-(neww/2)),_208=0,i;if(_206>newh){_207=Math.round((_206/2)-(newh/2));}w.open(url,name||"addthis_share","left="+_207+",top="+_208+",width="+neww+",height="+newh+",personalbar=no,toolbar=no,scrollbars=yes,location=yes,resizable=yes");return false;},_20a=function(svc){var _20c={wordpress:1,vk:1};return _20c[svc];},_20d=function(svc,_20f,_210,_211,_212,name){var _214={wordpress:{width:720,height:570},linkedin:{width:600,height:400},vk:{width:720,height:290},"default":{width:550,height:450}},url=_1c4(svc,0,_20f,_210);if(_210.ui_use_same_window){window.location.href=url;}else{_1fe(url,_211||(_214[svc]||_214["default"]).width,_212||(_214[svc]||_214["default"]).height,name);}return false;},_216=function(_217,_218,_219,_21a){var _21b="",_21c=_217.share_url_transforms||_217.url_transforms||{},_21d,url=a.track.cof(a.track.mgu(_217.url,_21c,_217,"twitter"));if((_217.passthrough||{}).twitter){if(_217.passthrough.twitter.text){_21d=_217.title;_217.title=_217.passthrough.twitter.text;}_21b=a.util.toKV(_217.passthrough.twitter);}if(_21b.indexOf("text=")==-1){_21b="text="+_euc(_217.title)+"&"+_21b;}if(_21b.indexOf("via=")==-1){_21b="via=AddThis&"+_21b;}url="http://twitter.com/share?url="+_euc(_1ea("twitter",_217,_218,url,1,_219))+"&"+_21b;if(_21d){_217.title=_21d;}if(_218.ui_use_same_window||_21a){window.location.href=url;}else{_1fe(url,550,450,"twitter_tweet");}return false;},_21f=[],_220=function(svc,feed,_223,_224){var url=_1c4(svc,feed,_223,_224);_21f.push(a.ajs(url,1));},_226=function(_227,_228,_229){return _1c1()+"tellfriend.php?&fromname=aaa&fromemail="+_euc(_228.from)+"&frommenu=1&tofriend="+_euc(_228.to)+(_227.email_template?"&template="+_euc(_227.email_template):"")+(_228.vars?"&vars="+_euc(_228.vars):"")+"&lng="+(a.lng()||"xx")+"&note="+_euc(_228.note)+"&"+uadd("email",null,null,_229);};_1b7.share={auw:_20a,ocw:_1fe,stw:_20d,pts:_216,unt:_1fc,uadd:uadd,genurl:_1c4,geneurl:_226,genieu:_1f6,acb:_1ea,gcp:_1e6,svcurl:_1c1,track:_220,links:_1c0};})(_7,_7.api,_7);var w=window,ac=w.addthis_config||{},css=new _7.resource.Resource("widgetcss",_atr+"static/r07/widget58.css",function(){return true;}),_22c=new _7.resource.Resource("widget32css",_atr+"static/r07/widgetbig58.css",function(){return true;});function main(){try{if(_atc.xol&&!_atc.xcs&&ac.ui_use_css!==false){css.load();if(_7.bro.ipa){_22c.load();}}var a=_7,msi=a.bro.msi,hp=0,_230=window.addthis_config||{},dt=d.title,dr=(typeof(a.rdr)!=="undefined")?a.rdr:(d.referer||d.referrer||""),du=dl?dl.href:null,dh=dl.hostname,_235=du,_236=0,al=(_7.lng().split("-")).shift(),_238=_7.track.eop(dl,dr),cvt=[],rsiq=_238.rsiq,rsi=_238.rsi,rxi=_238.rxi,rsc=_238.rsc,gen=_238.gen,ifr,_240=_atr+"static/r07/sh40.html#",data,_242=function(){if(!_7.track.pcs.length){_7.track.apc(window.addthis_product||("men-"+_atc.ver));}data.pc=_7.track.pcs.join(",");};if(window.addthis_product){_7.track.apc(addthis_product);if(addthis_product.indexOf("fxe")==-1&&addthis_product.indexOf("bkm")==-1){_7.track.spc=addthis_product;}}var l=_7.share.links.canonical;if(l){if(l.indexOf("http")!==0){_235=(du||"").split("//").pop().split("/");if(l.indexOf("/")===0){_235=_235.shift()+l;}else{_235.pop();_235=_235.join("/")+"/"+l;}_235=dl.protocol+"//"+_235;}else{_235=l;}_7.usu(0,1);}_235=_235.split("#{").shift();a.igv(_235,d.title||"");var _244=addthis_share.view_url_transforms||addthis_share.track_url_transforms||addthis_share.url_transforms;if(_244){_235=_7.track.mgu(_235,_244);}a.smd={rsi:rsi,rxi:rxi,gen:gen,rsc:rsc};a.dr=a.tru(dr,"fr");a.du=a.tru(_235,"fp");a.dt=dt=w.addthis_share.title;a.cb=a.ad.cla();a.dh=dl.hostname;a.ssl=du&&du.indexOf("https")===0?1:0;data={cb:a.cb,ab:a.ab,dh:a.dh,dr:a.dr,du:a.du,dt:dt,inst:a.inst,lng:a.lng(),pc:w.addthis_product||"men",pub:a.pub(),ssl:a.ssl,sid:_7.track.ssid(),srd:_atc.damp,srf:_atc.famp,srp:_atc.pamp,srx:_atc.xamp,ver:_atc.ver,xck:_atc.xck||0};if(a.trl.length){data.trl=a.trl.join(",");}if(a.rev){data.rev=a.rev;}if(_230.data_track_clickback||_230.data_track_linkback||_7.track.ctp(data.pc,_230)){data.ct=a.ct=1;}if(a.prv){data.prv=toKV(a.prv);}if(rsc){data.sr=rsc;}if(a.vamp>=0&&!a.sub){if(rsi&&a.util.ioc(rsi,5)&&!a.util.ioc(rsi,2592000)){cvt.push(a.track.fcv("plv",Math.round(1/_atc.vamp)));cvt.push(a.track.fcv("rsi",rsi));cvt.push(a.track.fcv("gen",gen));cvt.push(a.track.fcv("abc",1));data.ce=cvt.join(",");_236="addressbar";}else{if(rxi||rsiq||rsc){cvt.push(a.track.fcv("plv",Math.round(1/_atc.vamp)));if(rsc){cvt.push(a.track.fcv("rsc",rsc));}if(rxi){cvt.push(a.track.fcv("rxi",rxi));}else{if(rsiq){cvt.push(a.track.fcv("rsi",rsiq));}}if(rsiq||rxi){cvt.push(a.track.fcv("gen",gen));}data.ce=cvt.join(",");_236=rsc||"unknown";}}}if(_236&&a.bamp>=0){data.clk=1;a.dcp=data.gen=50;_7.ed.fire("addthis.user.clickback",window.addthis||{},{service:_236});}if(a.upm){data.xd=1;if(_7.bro.ffx){data.xld=1;}}if(window.history&&typeof(history.replaceState)=="function"&&!_7.bro.chr&&(_230.data_track_addressbar||_230.data_track_addressbar_paths)&&((du||"").split("#").shift()!=dr)&&(du.indexOf("#")==-1||rsi)){var path=dl.pathname||"",_246,_247=path!="/";if(_230.data_track_addressbar_paths){_247=0;for(var i=0;i<_230.data_track_addressbar_paths.length;i++){_246=new RegExp(_230.data_track_addressbar_paths[i].replace(/\*/g,".*")+"$");if(_246.test(path)){_247=1;break;}}}if(_247&&(!rsi||a.util.ioc(rsi,5))){history.replaceState({d:(new Date()),g:gen},d.title,dl.href.split("#").shift()+"#"+_7.track.cpf+_7.util.hbtoa(_7.track.ssid()+Math.min(3,gen)));}}if(dl.href.indexOf(_atr)==-1&&!a.sub){if(a.upm){if(msi){setTimeout(function(){_242();ifr=a.track.ctf(_240+toKV(data));a.track.stf(ifr);},_7.wait);w.attachEvent("onmessage",a.pmh);}else{ifr=a.track.ctf();w.addEventListener("message",a.pmh,false);}if(_7.bro.ffx){ifr.src=_240;_7.track.qtp(data);}else{if(!msi){setTimeout(function(){_242();ifr.src=_240+toKV(data);},_7.wait);}}}else{ifr=a.track.ctf();setTimeout(function(){_242();ifr.src=_240+toKV(data);},_7.wait);}if(ifr){ifr=a.track.gtf().appendChild(ifr);a.track.stf(ifr);}}if(w.addthis_language||ac.ui_language){a.alg();}if(a.plo.length>0){a.jlo();}}catch(e){window.console&&console.log("lod",e);}}w._ate=a;w._adr=r;a._rec.push(function(data){if(data.sshs){var s=window.addthis_ssh=_duc(data.sshs);a.gssh=1;a._ssh=s.split(",");}if(data.uss){var u=a._uss=_duc(data.uss).split(",");if(window.addthis_ssh){var seen={},u=u.concat(a._ssh),_24d=[];for(var i=0;i<u.length;i++){var s=u[i];if(!seen[s]){_24d.push(s);}seen[s]=1;}u=_24d;}a._ssh=u;window.addthis_ssh=u.join(",");}if(data.ups){var s=data.ups.split(",");a.ups={};for(var i=0;i<s.length;i++){if(s[i]){var o=fromKV(_duc(s[i]));a.ups[o.name]=o;}}a._ups=a.ups;}if(data.uid){a.uid=data.uid;}if(data.dbm){a.dbm=data.dbm;}if(data.rdy){a.xfr=1;a.track.xtp();return;}});try{var _250={},_251=_7.util.gsp("addthis_widget.js");if(typeof(_251)=="object"){if(_251.provider){_250={provider:_7.mun(_251.provider_code||_251.provider),auth:_251.auth||_251.provider_auth||""};if(_251.uid||_251.provider_uid){_250.uid=_7.mun(_251.uid||_251.provider_uid);}if(_251.logout){_250.logout=1;}_7.prv=_250;}if(_251.pubid||_251.pub||_251.username){w.addthis_pub=_duc(_251.pubid||_251.pub||_251.username);}if(w.addthis_pub&&w.addthis_config){w.addthis_config.username=w.addthis_pub;}if(_251.domready){_atc.dr=1;}if(_251.onready&&_251.onready.match(/[a-zA-Z0-9_\.\$]+/)){try{_7.onr=_7.evl(_251.onready);}catch(e){window.console&&console.log("addthis: onready function ("+_251.onready+") not defined",e);}}if(_251.async){_atc.xol=1;}}if(_atc.ver===120){var rc="atb"+_7.util.cuid();d.write("<span id=\""+rc+"\"></span>");_7.igv();_7.lad(["span",rc,addthis_share.url||"[url]",addthis_share.title||"[title]"]);}if(w.addthis_clickout){_7.lad(["cout"]);}if(!_atc.xol&&!_atc.xcs&&ac.ui_use_css!==false){css.load();if(_7.bro.ipa){_22c.load();}}}catch(e){if(window.console){console.log("main",e);}}_67.bindReady();_67.append(main);})();function addthis_open(){if(typeof iconf=="string"){iconf=null;}return _ate.ao.apply(_ate,arguments);}function addthis_close(){_ate.ac();}function addthis_sendto(){_ate.as.apply(_ate,arguments);return false;}if(_atc.dr){_adr.onReady();}}else{_ate.inst++;}if(_atc.abf){addthis_open(document.getElementById("ab"),"emailab",window.addthis_url||"[URL]",window.addthis_title||"[TITLE]");}if(!window.addthis||window.addthis.nodeType!==undefined){window.addthis=(function(){var e={a1webmarks:"A1&#8209;Webmarks",aim:"AOL Lifestream",amazonwishlist:"Amazon",aolmail:"AOL Mail",aviary:"Aviary Capture",domaintoolswhois:"Whois Lookup",googlebuzz:"Google Buzz",googlereader:"Google Reader",googletranslate:"Google Translate",linkagogo:"Link-a-Gogo",meneame:"Men&eacute;ame",misterwong:"Mister Wong",mailto:"Email App",myaol:"myAOL",myspace:"MySpace",readitlater:"Read It Later",rss:"RSS",stumbleupon:"StumbleUpon",typepad:"TypePad",wordpress:"WordPress",yahoobkm:"Y! Bookmarks",yahoomail:"Y! Mail",youtube:"YouTube"},g=document,c=g.gn("body").item(0),f=_ate.util.bind;function b(d,l){var m;if(window._atw&&_atw.list){m=_atw.list[d]}else{if(e[d]){m=e[d]}else{m=(l?d:(d.substr(0,1).toUpperCase()+d.substr(1)))}}return(m||"").replace(/&nbsp;/g," ")}function i(d,u,s,r,t){u=u.toUpperCase();var p=(d==c&&addthis.cache[u]?addthis.cache[u]:(d||c||g.body).getElementsByTagName(u)),n=[],q,m;if(d==c){addthis.cache[u]=p}if(t){for(q=0;q<p.length;q++){m=p[q];if((m.className||"").indexOf(s)>-1){n.push(m)}}}else{s=s.replace(/\-/g,"\\-");var l=new RegExp("(^|\\s)"+s+(r?"\\w*":"")+"(\\s|$)");for(q=0;q<p.length;q++){m=p[q];if(l.test(m.className)){n.push(m)}}}return(n)}var k=g.getElementsByClassname||i;function j(d){if(typeof d=="string"){var l=d.substr(0,1);if(l=="#"){d=g.getElementById(d.substr(1))}else{if(l=="."){d=k(c,"*",d.substr(1))}else{}}}if(!d){d=[]}else{if(!(d instanceof Array)){d=[d]}}return d}function a(l,d){return function(){addthis.plo.push({call:l,args:arguments,ns:d})}}function h(m){var l=this,d=this.queue=[];this.name=m;this.call=function(){d.push(arguments)};this.call.queuer=this;this.flush=function(p,o){for(var n=0;n<d.length;n++){p.apply(o||l,d[n])}return p}}return{ost:0,cache:{},plo:[],links:[],ems:[],init:_adr.onReady,_Queuer:h,_queueFor:a,_select:j,_gebcn:i,button:a("button"),counter:a("counter"),toolbox:a("toolbox"),update:a("update"),util:{getServiceName:b},addEventListener:f(_ate.ed.addEventListener,_ate.ed),removeEventListener:f(_ate.ed.removeEventListener,_ate.ed)}})()}_adr.append((function(){if(!window.addthis.ost){_ate.extend(y,_ate.api);var R=document,G=undefined,F=window,l=function(d){if(d.indexOf("&")>-1){d=d.replace(/&([aeiou]).+;/g,"$1")}return d},n=function(){return(typeof(window.FB)=="object"&&FB.Event&&typeof(FB.Event.subscribe)=="function")},i=0,P=[],f={},T={compact:1,expanded:1,facebook:1,email:1,twitter:1,print:1,google:1,live:1,stumbleupon:1,myspace:1,favorites:1,digg:1,delicious:1,blogger:1,googlebuzz:1,friendfeed:1,vk:1,mymailru:1,gmail:1,yahoomail:1,reddit:1,orkut:1},B=new _ate.resource.Resource("widget32css",_atr+"static/r07/widgetbig58.css",function(){return true}),M=false,V=true,t=F.addthis_config,J=F.addthis_share,C={},x={},r=R.gn("body").item(0),y=window.addthis,c=y._select,v=y._gebcn(r,"A","addthis_button_",true,true),O={rss:"Subscribe via RSS"},N={tweet:"Tweet",email:"Email",mailto:"Email",print:"Print",favorites:"Save to Favorites",twitter:"Tweet This",digg:"Digg This",more:"View more services"},H={email_vars:1,passthrough:1,modules:1,templates:1,services_custom:1},S={feed:1,more:_atc.ver<300,email:1,mailto:1},D={feed:1,email:1,mailto:1,print:1,more:!_ate.bro.ipa&&_atc.ver<300,favorites:1},L={more:_atc.ver>=300},k=0;tryingToSubscribe=0,fblikes=[],likes={};function e(u,w){if(w&&u!==w){for(var d in w){if(u[d]===G){u[d]=w[d]}}}}function o(W,u,X){var w=W.onclick||function(){},d=function(){_ate.ed.fire("addthis.menu.share",window.addthis||{},{element:W,service:u,url:W.share.url})};if(W.conf.data_ga_tracker||addthis_config.data_ga_tracker||W.conf.data_ga_property||addthis_config.data_ga_property){W.onclick=function(){_ate.gat(u,X,W.conf,W.share);d();return w()}}else{W.onclick=function(){d();return w()}}}function s(u,d){var w={googlebuzz:"http://www.google.com/profiles/%s",youtube:"http://www.youtube.com/user/%s",facebook:"http://www.facebook.com/profile.php?id=%s",facebook_url:"http://www.facebook.com/%s",rss:"%s",flickr:"http://www.flickr.com/photos/%s",twitter:"http://twitter.com/%s",linkedin:"http://www.linkedin.com/in/%s"};if(u=="facebook"&&isNaN(parseInt(d))){u="facebook_url"}return(w[u]||"").replace("%s",d)||""}function p(u,d){if(M&&!d){return true}var w=(u.parentNode||{}).className||"";M=(w.indexOf("32x32")>-1||u.className.indexOf("32x32")>-1);return M}function z(u){var w=(u.parentNode||{}).className||"",d=u.conf&&u.conf.product&&w.indexOf("toolbox")==-1?u.conf.product:"tbx"+(u.className.indexOf("32x32")>-1||w.indexOf("32x32")>-1?"32":"")+"-"+_atc.ver;if(d.indexOf(32)>-1){M=true}_ate.track.apc(d);return d}function g(w,W){var u={};for(var d in w){if(W[d]){u[d]=W[d]}else{u[d]=w[d]}}return u}function b(u,d){var W={};for(var w=0;w<u.length;w++){W[u[w]]=1}for(var w=0;w<d.length;w++){if(!W[d[w]]){u.push(d[w]);W[d[w]]=1}}return u}function Q(d,X,Y,W){var u=R.ce("img");u.width=d;u.height=X;u.border=0;u.alt=Y;u.src=W;return u}function h(W,X){var w,d=[],Y={};for(var u=0;u<W.attributes.length;u++){w=W.attributes[u];d=w.name.split(X+":");if(d.length==2){Y[d.pop()]=w.value}}return Y}function A(u,aa,d,W){var aa=aa||{},w={},Y=h(u,"addthis");for(var X in aa){w[X]=aa[X]}if(W){for(var X in u[d]){w[X]=u[d][X]}}for(var X in Y){if(aa[X]&&!W){w[X]=aa[X]}else{var ab=Y[X];if(ab){w[X]=ab}else{if(aa[X]){w[X]=aa[X]}}if(w[X]==="true"){w[X]=true}else{if(w[X]==="false"){w[X]=false}}}if(w[X]!==G&&H[X]&&(typeof w[X]=="string")){var Z=w[X];_ate.evl("var e = "+w[X],this);w[X]=Z}}return w}function E(w){var u=(w||{}).services_custom;if(!u){return}if(!(u instanceof Array)){u=[u]}for(var W=0;W<u.length;W++){var d=u[W];if(d.name&&d.icon&&d.url){d.code=d.url=d.url.replace(/ /g,"");d.code=d.code.split("//").pop().split("?").shift().split("/").shift().toLowerCase();f[d.code]=d}}}function q(u,d){return f[u]||{}}function a(u,d,w,W){var X={conf:d||{},share:w||{}};X.conf=A(u,d,"conf",W);X.share=A(u,w,"share",W);return X}function K(an,aa,ag,Y){_ate.igv();if(an){aa=aa||{};ag=ag||{};var ao=aa.conf||t,al=aa.share||J,X=ag.onmouseover,w=ag.onmouseout,aq=ag.onclick,ad=ag.internal,ai=ag.singleservice;if(ai){if(aq===G){aq=S[ai]?function(au,ar,av){var at=g(av,x);return addthis_open(au,ai,at.url,at.title,g(ar,C),at)}:D[ai]?function(au,ar,av){var at=g(av,x);return addthis_sendto(ai,g(ar,C),at)}:L[ai]?function(au,ar,av){var at=g(av,x);return _ate.share.stw(ai,at,ar,735)}:null}}else{if(!ag.noevents){if(!ag.nohover){if(X===G){X=function(at,ar,au){return addthis_open(at,"",null,null,g(ar,C),g(au,x))}}if(w===G){w=function(ar){return addthis_close()}}if(aq===G){aq=function(at,ar,au){return addthis_sendto("more",g(ar,C),g(au,x))}}}else{if(aq===G){aq=function(at,ar,au){return addthis_open(at,"more",null,null,g(ar,C),g(au,x))}}}}}an=c(an);for(var am=0;am<an.length;am++){var af=an[am],aj=af.parentNode,u=a(af,ao,al,!Y)||{};e(u.conf,t);e(u.share,J);af.conf=u.conf;af.share=u.share;if(af.conf.ui_language){_ate.alg(af.conf.ui_language)}E(af.conf);if(aj&&aj.className.indexOf("toolbox")>-1&&(af.conf.product||"").indexOf("men")===0){af.conf.product="tbx"+(aj.className.indexOf("32x32")>-1?"32":"")+"-"+_atc.ver;_ate.track.apc(af.conf.product)}if(ai&&ai!=="more"){af.conf.product=z(af)}if((!af.conf||(!af.conf.ui_click&&!af.conf.ui_window_panes))&&!_ate.bro.ipa){if(X){af.onmouseover=function(){return X(this,this.conf,this.share)}}if(w){af.onmouseout=function(){return w(this)}}if(aq){af.onclick=function(){return aq(af,af.conf,af.share)}}}else{if(aq){if(ai){af.onclick=function(){return aq(this,this.conf,this.share)}}else{if(!af.conf.ui_window_panes){af.onclick=function(){return addthis_open(this,"",null,null,this.conf,this.share)}}else{af.onclick=function(){return addthis_sendto("more",this.conf,this.share)}}}}}if(af.tagName.toLowerCase()=="a"){var W=af.share.url||addthis_share.url;_ate.usu(W);if(ai){var ac=q(ai,af.conf),d=af.firstChild;if(ac&&ac.code&&ac.icon){if(d&&d.className.indexOf("at300bs")>-1){var ae="16";if(p(af,1)){d.className=d.className.split("at15nc").join("");ae="32"}d.style.background="url("+ac.icon+") no-repeat top left transparent";if(!d.style.cssText){d.style.cssText=""}d.style.cssText="line-height:"+ae+"px!important;width:"+ae+"px!important;height:"+ae+"px!important;background:"+d.style.background+"!important"}}if(!D[ai]){if(ag.follow){af.href=W;af.onclick=function(){_ate.share.track(ai,1,af.share,af.conf)};if(af.children&&af.children.length==1&&af.parentNode&&af.parentNode.className.indexOf("toolbox")>-1){var ak=R.ce("span");ak.className="addthis_follow_label";ak.innerHTML=y.util.getServiceName(ai);af.appendChild(ak)}}else{if(ai=="twitter"){if(_ate.share.unt(af.share)){af.onclick=function(ar){return _ate.share.pts(af.share,af.conf)};af.noh=1}else{af.onclick=null;af.href=_ate.share.genurl(ai,0,af.share,af.conf);af.noh=0}}else{if(!af.noh){if(af.conf.ui_open_windows||_ate.share.auw(ai)){af.onclick=function(ar){return _ate.share.stw(ai,af.share,af.conf)}}else{af.href=_ate.share.genurl(ai,0,af.share,af.conf)}}}}o(af,ai,W);if(!af.target){af.target="_blank"}y.links.push(af)}else{if(ai=="mailto"||(ai=="email"&&(af.conf.ui_use_mailto||_ate.bro.iph||_ate.bro.ipa))){af.onclick=function(){af.share.xid=_ate.util.cuid();(new Image()).src=_ate.share.genurl("mailto",0,af.share,af.config)};af.href=_ate.share.genieu(af.share);o(af,ai,W);y.ems.push(af)}}if(!af.title||af.at_titled){var ab=y.util.getServiceName(ai,!ac);af.title=l(ag.follow?(O[ai]?O[ai]:"Follow on "+ab):(N[ai]?N[ai]:"Send to "+ab));af.at_titled=1}}else{if(af.conf.product&&af.parentNode.className.indexOf("toolbox")==-1){z(af)}}}var Z;switch(ad){case"img":if(!af.hasChildNodes()){var ap=(af.conf.ui_language||_ate.lng()).split("-").shift(),ah=_ate.ivl(ap);if(!ah){ap="en"}else{if(ah!==1){ap=ah}}Z=Q(_ate.iwb(ap)?150:125,16,"Share",_atr+"static/btn/v2/lg-share-"+ap.substr(0,2)+".gif")}break}if(Z){af.appendChild(Z)}}}}function I(){if(R.location.href.indexOf(_atr)==-1&&!_ate.sub&&!i){if(n()){i=1;FB.Event.subscribe("edge.create",function(w){if(!likes[w]){var d={};for(var u in addthis_share){d[u]=addthis_share[u]}d.url=w;_ate.share.track("facebook_like",0,d,addthis_config);likes[w]=1}});FB.Event.subscribe("edge.remove",function(w){if(likes[w]){var d={};for(var u in addthis_share){d[u]=addthis_share[u]}d.url=w;_ate.share.track("facebook_dislike",0,d,addthis_config);likes[w]=0}})}else{if(window.fbAsyncInit&&!tryingToSubscribe){if(k<3){setTimeout(I,3000+1000*2*(k++))}tryingToSubscribe=1}}}}function U(aw,ax,ay,al,aE){for(var aH=0;aH<aw.length;aH++){var aP=aw[aH];if(aP==null){continue}if(al!==false||!aP.ost){var aj=a(aP,ax,ay,!aE),W=0,aR="at300",aN=aP.className||"",aa="",aA=aN.match(/addthis_button_([\w\.]+)(?:\s|$)/),ap={},ae=aA&&aA.length?aA[1]:0;e(aj.conf,t);e(aj.share,J);if(ae){if(ae==="tweetmeme"&&aP.className.indexOf("chiclet_style")==-1){if(aP.ost){continue}var aG=h(aP,"tm"),az=50,aJ=61;aa=_ate.util.toKV(aG);if(aG.style==="compact"){az=95;aJ=25}aP.innerHTML='<iframe frameborder="0" width="'+az+'" height="'+aJ+'" scrolling="no" allowTransparency="true" scrollbars="no"'+(_ate.bro.ie6?" src=\"javascript:''\"":"")+"></iframe>";var aT=aP.firstChild;aT.src="//api.tweetmeme.com/button.js?url="+_euc(aj.share.url)+"&"+aa;aP.noh=aP.ost=1}else{if(ae==="linkedin_counter"){if(aP.ost){continue}var aB=h(aP,"li"),ay=aj.share,aQ=aB.width||100,ab=aB.height||18,aa,aI="",af;if(!aB.counter){aB.counter="horizontal"}if(!ay.passthrough){ay.passthrough={}}ay.passthrough.linkedin=_ate.util.toKV(aB);aI=_ate.util.rtoKV(ay);if(aB.counter==="top"){ab=55;aQ=57;if(!aB.height){aB.height=ab}if(!aB.width){aB.width=aQ}}else{if(aB.counter==="right"){aQ=100;if(!aB.width){aB.width=aq}}}if(aB.width){aQ=aB.width}if(aB.height){ab=aB.height}aa=_ate.util.toKV(aB),aP.innerHTML='<iframe frameborder="0" role="presentation" scrolling="no" allowTransparency="true" scrollbars="no"'+(_ate.bro.ie6?" src=\"javascript:''\"":"")+' style="width:'+aQ+"px; height:"+ab+'px;"></iframe>';af=aP.firstChild;if(!aj.conf.pubid){aj.conf.pubid=addthis_config.pubid||_ate.pub()}af.src=_atr+"static/r07/linkedin02.html#href="+_euc(aj.share.url)+"&dr="+_euc(_ate.dr)+"&conf="+_euc(_ate.util.toKV(aj.conf))+"&share="+_euc(aI)+"&li="+_euc(aa);aP.noh=aP.ost=1}else{if(ae==="tweet"){if(aP.ost){continue}var X=h(aP,"tw"),ay=aj.share,aq=X.width||55,av=X.height||20,aa,aI="",an;if(!X.text){X.text=aj.share.title}if(!X.via){X.via="AddThis"}if(!X.count){X.count="horizontal"}if(!ay.passthrough){ay.passthrough={}}ay.passthrough.twitter=_ate.util.toKV(X);aI=_ate.util.rtoKV(ay);if(X.count==="vertical"){av=62;if(!X.height){X.height=av}}else{if(X.count==="horizontal"){aq=110;if(!X.width){X.width=aq}}}if(X.width){aq=X.width}if(X.height){av=X.height}aa=_ate.util.toKV(X),aP.innerHTML='<iframe frameborder="0" role="presentation" scrolling="no" allowTransparency="true" scrollbars="no"'+(_ate.bro.ie6?" src=\"javascript:''\"":"")+' style="width:'+aq+"px; height:"+av+'px;"></iframe>';an=aP.firstChild;if(!aj.conf.pubid){aj.conf.pubid=addthis_config.pubid||_ate.pub()}an.src=_atr+"static/r07/tweet02.html#href="+_euc(aj.share.url)+"&dr="+_euc(_ate.dr)+"&conf="+_euc(_ate.util.toKV(aj.conf))+"&share="+_euc(aI)+"&tw="+_euc(aa);aP.noh=aP.ost=1}else{if(ae==="facebook_like"){if(aP.ost){continue}var w,ac=h(aP,"fb:like"),am="",aS=ac.layout||"button_count",aD=ac.locale||"en_US",u={standard:[450,ac.show_faces?80:35],button_count:[90,25],box_count:[55,65]},aO=ac.width||(u[aS]?u[aS][0]:100),Y=ac.height||(u[aS]?u[aS][1]:25),ah="fb-root",ak=false,au=window.fbAsyncInit,aC=R.getElementById(ah);aa=_ate.util.toKV(ac);_ate.ufbl=1;try{var ao=(document.getElementsByTagName("html"))[0];if(ao){if(ao.getAttribute&&ao.getAttribute("xmlns:fb")){ak=true}else{if(_ate.bro.msi){var aM=ao.outerHTML.substr(0,ao.outerHTML.indexOf(">"));if(aM.indexOf("xmlns:fb")>-1){ak=true}}}}}catch(aL){}if((_atc.ltj&&(!window.FB_RequireFeatures&&(!window.FB||(!FB.Share&&!FB.Bootstrap)))&&ak)||(n()&&FB.XFBML&&FB.XFBML.parse)){if(ac.layout===undefined){ac.layout="button_count"}if(ac.show_faces===undefined){ac.show_faces="false"}if(ac.action===undefined){ac.action="like"}if(ac.width===undefined){ac.width=aO}if(ac.font===undefined){ac.font="arial"}if(ac.href===undefined){ac.href=_ate.track.mgu(aj.share.url)}for(var aF in ac){am+=" "+aF+'="'+ac[aF]+'"'}if(_atc.ufc){aP.innerHTML='<fb:like ref="'+_ate.share.gcp(aj.share,aj.conf).replace(",","_")+'" '+am+"></fb:like>"}else{aP.innerHTML='<fb:like ref="addthis" '+am+"></fb:like>"}if(n()&&FB.XFBML&&FB.XFBML.parse){FB.XFBML.parse(aP);I()}else{if(au){}else{if(!aC){aC=R.ce("div");aC.id=ah;r.appendChild(aC)}if(!au){aL=R.createElement("script");aL.src=R.location.protocol+"//connect.facebook.net/"+aD+"/all.js";aL.async=true;aC.appendChild(aL);au=function(){FB.init({appId:"172525162793917",status:true,cookie:false})}}}fblikes.push(aP);if(V){V=false;window.__orig__fbAsyncInit=au;window.fbAsyncInit=function(){window.__orig__fbAsyncInit();for(var aU=0;aU<fblikes.length;aU++){FB.XFBML.parse(fblikes[aU])}I()}}}}else{if(!_ate.bro.msi){w=R.ce("iframe")}else{aP.innerHTML='<iframe frameborder="0" scrolling="no" allowTransparency="true" scrollbars="no"'+(_ate.bro.ie6?" src=\"javascript:''\"":"")+"></iframe>";w=aP.firstChild}w.style.overflow="hidden";w.style.scrolling="no";w.style.scrollbars="no";w.style.border="none";w.style.borderWidth="0px";w.style.width=aO+"px";w.style.height=Y+"px";w.src="//www.facebook.com/plugins/like.php?href="+_euc(aj.share.url)+"&layout=button_count&show_faces=false&width=100&action=like&font=arial&"+aa;if(!_ate.bro.msi){aP.appendChild(w)}}P.push(w);aP.noh=aP.ost=1}else{if(ae.indexOf("preferred")>-1){if(aP._iss){continue}aA=aN.match(/addthis_button_preferred_([0-9]+)(?:\s|$)/);var aK=((aA&&aA.length)?Math.min(16,Math.max(1,parseInt(aA[1]))):1)-1;if(!aP.conf){aP.conf={}}aP.conf.product="tbx-"+_atc.ver;z(aP);if(window._atw){if(!aP.parentNode.services){aP.parentNode.services={}}var Z=_atw.conf.services_exclude||"",d=_atw.loc,ad=aP.parentNode.services,at=b(addthis_options.replace(",more","").split(","),d.split(","));do{ae=at[aK++]}while(aK<at.length&&(Z.indexOf(ae)>-1||ad[ae]));if(ad[ae]){for(var aF in _atw.list){if(!ad[aF]&&Z.indexOf(aF)==-1){ae=aF;break}}}aP._ips=1;if(aP.className.indexOf(ae)==-1){aP.className+=" addthis_button_"+ae;aP._iss=1}aP.parentNode.services[ae]=1}else{_ate.alg(aj.conf.ui_language||window.addthis_language);_ate.plo.unshift(["deco",U,[aP],ax,ay,true]);if(_ate.gssh){_ate.pld=_ate.ajs("static/r07/menu74.js")}else{if(!_ate.pld){_ate.pld=1;var ai=function(){_ate.pld=_ate.ajs("static/r07/menu74.js")};if(_ate.upm){_ate._rec.push(function(aU){if(aU.ssh){ai()}});setTimeout(ai,500)}else{ai()}}}continue}}else{if(ae.indexOf("follow")>-1){ae=ae.split("_follow").shift();ap.follow=true;aj.share.url=s(ae,aj.share.userid)}}}}}}if(!T[ae]&&(M||p(aP))){B.load()}if(!aP.childNodes.length){var ag=R.ce("span");aP.appendChild(ag);ag.className=aR+"bs at15nc at15t_"+ae}else{if(aP.childNodes.length==1){var ar=aP.childNodes[0];if(ar.nodeType==3){var ag=R.ce("span");aP.insertBefore(ag,ar);ag.className=aR+"bs at15nc at15t_"+ae}}else{W=1}}if(ae==="compact"||ae==="expanded"){if(!W&&aN.indexOf(aR)==-1){aP.className+=" "+aR+"m"}if(aj.conf.product&&aj.conf.product.indexOf("men-")==-1){aj.conf.product+=",men-"+_atc.ver}if(ae==="expanded"){ap.nohover=true;ap.singleservice="more"}}else{if((aP.parentNode.className||"").indexOf("toolbox")>-1){if(!aP.parentNode.services){aP.parentNode.services={}}aP.parentNode.services[ae]=1}if(!W&&aN.indexOf(aR)==-1){aP.className+=" "+aR+"b"}ap.singleservice=ae}if(aP._ips){ap.issh=true}K([aP],aj,ap,aE);aP.ost=1;z(aP)}}}}function j(w,aa,d,W){var u=d.data_ga_tracker,Z=d.data_ga_property;if(Z){if(typeof(window._gat)=="object"&&_gat._getTracker){u=_gat._getTracker(Z)}else{if(typeof(window._gaq)=="object"&&_gaq._getAsyncTracker){u=_gaq._getAsyncTracker(Z)}else{if(typeof(window._gaq)=="array"){_gaq.push([function(){_ate.gat(w,aa,d,W)}])}}}}if(u&&typeof(u)=="string"){u=window[u]}if(u&&typeof(u)=="object"){var X=aa||(W||{}).url||location.href;if(X.toLowerCase().replace("https","http").indexOf("http%3a%2f%2f")==0){X=_duc(X)}try{u._trackEvent("addthis",w,X)}catch(Y){try{u._initData();u._trackEvent("addthis",w,X)}catch(Y){}}}}_ate.gat=j;y.update=function(Z,X,w){if(Z=="share"){if(X=="url"){_ate.usu(0,1)}if(!window.addthis_share){window.addthis_share={}}window.addthis_share[X]=w;x[X]=w;for(var d in y.links){var Y=y.links[d],W=new RegExp("&"+X+"=(.*)&"),u="&"+X+"="+_euc(w)+"&";if(Y.share){Y.share[X]=w}if(!Y.noh){Y.href=Y.href.replace(W,u);if(Y.href.indexOf(X)==-1){Y.href+=u}}}for(var d in y.ems){var Y=y.ems[d];Y.href=_ate.share.genieu(addthis_share)}}else{if(Z=="config"){if(!window.addthis_config){window.addthis_config={}}window.addthis_config[X]=w;C[X]=w}}};y._render=K;var m=[new _ate.resource.Resource("countercss",_atr+"static/r07/counter58.css",function(){return true}),new _ate.resource.Resource("counter",_atr+"js/250/plugin.sharecounter.js",function(){return window.addthis.counter.ost})];if(!F.JSON||!F.JSON.stringify){m.unshift(new _ate.resource.Resource("json2",_atr+"static/r07/json2.js",function(){return F.JSON&&F.JSON.stringify}))}y.counter=function(W,u,w){if(W){W=y._select(W);if(W.length){if(!y.counter.selects){y.counter.selects=[]}y.counter.selects=y.counter.selects.concat({counter:W,config:u,share:w});for(var d in m){if((m[d]||{}).load){m[d].load()}}}}};y.button=function(w,d,u){d=d||{};if(!d.product){d.product="men-"+_atc.ver}K(w,{conf:d,share:u},{internal:"img"})};y.toolbox=function(Z,u,aa,ab){var ac=c(Z);for(var W=0;W<ac.length;W++){var w=ac[W],X=a(w,u,aa,ab),d=R.ce("div"),Y;w.services={};if(!X.conf.product){X.conf.product="tbx"+(w.className.indexOf("32x32")>-1?"32":"")+"-"+_atc.ver}if(w){Y=w.getElementsByTagName("a");if(Y){U(Y,X.conf,X.share,!ab,!ab)}w.appendChild(d)}d.className="atclear"}};y.ready=function(){var d=y,u=".addthis_";if(d.ost){return}d.ost=1;y.toolbox(u+"toolbox",null,null,true);y.button(u+"button");y.counter(u+"counter");U(v,null,null,false);_ate.ed.fire("addthis.ready",y);if(_ate.onr){_ate.onr(y)}for(var w=0,X=d.plo,W;w<X.length;w++){W=X[w];(W.ns?d[W.ns]:d)[W.call].apply(this,W.args)}I()};y.util.getAttributes=a;window.addthis=y;window.addthis.ready()}}));_ate.extend(addthis,{user:(function(){var k=_ate,f=addthis,l={},c=0,m=0,e=0,d;function j(a,n){return k.reduce(["getID","getServiceShareHistory"],a,n)}function g(a,n){return function(o){setTimeout(function(){o(k[a]||n)},0)}}function i(a){if(c){return}if(!a||!a.uid){return}if(d!==null){clearTimeout(d)}d=null;c=1;j(function(p,n,o){l[n]=l[n].queuer.flush(g.apply(f,p[o]),f);return p},[["uid",""],["_ssh",[]]])}function h(){if(!_ate.pld){_ate.pld=(new _ate.resource.Resource("menujs",_atr+"static/r07/menu74.js",function(){return true})).load()}}function b(a){if(m&&(a.uid||a.ssh!==undefined)){h();m=0}}d=setTimeout(function(){var a={uid:"x",ssh:"",ups:""};e=1;i(a);b(a)},5000);k._rec.push(i);l.getPreferredServices=function(a){if(window._atw){_atw.gps(a)}else{_ate.ed.addEventListener("addthis.menu.ready",function(){_atw.gps(a)});_ate.alg();if(k.gssh||e){h()}else{if(!k.pld&&!m){_ate._rec.push(b)}}m=1}};return j(function(n,a){n[a]=(new f._Queuer(a)).call;return n},l)})()});

/* ----------------*/

		jQuery.noConflict();
		jQuery(document).ready(function($)
		{
			$(".newsticker-jcarousellite").jCarouselLite({
				vertical: true,
				hoverPause:false,
				visible: 3,
				auto:4000,
				speed:3000
			}); 
			//Form Validation
			$("#cForm").validationEngine()
					  	  	
			//Png Fix
			//jQuery(document).pngFix(); 
			
			//Hides the slickbox as soon as the DOM is ready
			//(a little sooner than page load)
			jQuery('#slickbox').hide();

			//Shows the slickbox on clicking the noted link  
			jQuery('a#slick-down').click(function() 
			{
				jQuery('#slickbox').slideDown('slow');
				return false;
			});

			//Hides the slickbox on clicking the noted link  
			jQuery('a#slick-up').click(function() {
				jQuery('#slickbox').slideUp('slow');
				return false;
			});
			
		});
		
		var addthis_config = {
        data_ga_property: 'UA-17337337-1',
        data_track_clickback: true
     };

		
		


