/* $Id: jquery.bgiframe.min.js,v 1.1 2010/02/15 13:38:03 mehrpadin Exp $ */
/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * $LastChangedDate: 2007-06-19 20:25:28 -0500 (Tue, 19 Jun 2007) $
 * $Rev: 2111 $
 *
 * Version 2.1
 */
(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&parseInt($.browser.version)<=6){s=$.extend({top:'auto',left:'auto',width:'auto',height:'auto',opacity:true,src:'javascript:false;'},s||{});var prop=function(n){return n&&n.constructor==Number?n+'px':n;},html='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'"'+'style="display:block;position:absolute;z-index:-1;'+(s.opacity!==false?'filter:Alpha(Opacity=\'0\');':'')+'top:'+(s.top=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+\'px\')':prop(s.top))+';'+'left:'+(s.left=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+\'px\')':prop(s.left))+';'+'width:'+(s.width=='auto'?'expression(this.parentNode.offsetWidth+\'px\')':prop(s.width))+';'+'height:'+(s.height=='auto'?'expression(this.parentNode.offsetHeight+\'px\')':prop(s.height))+';'+'"/>';return this.each(function(){if($('> iframe.bgiframe',this).length==0)this.insertBefore(document.createElement(html),this.firstChild);});}return this;};if(!$.browser.version)$.browser.version=navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1];})(jQuery);;
/* $Id: superfish.js,v 1.1 2010/02/12 12:53:13 mehrpadin Exp $ */
/*
 * Superfish v1.4.8 - jQuery menu widget
 * Copyright (c) 2008 Joel Birch
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 *
 * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
 */

;(function($){
  $.fn.superfish = function(op){

    var sf = $.fn.superfish,
      c = sf.c,
      $arrow = $(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),
      over = function(){
        var $$ = $(this), menu = getMenu($$);
        clearTimeout(menu.sfTimer);
        $$.showSuperfishUl().siblings().hideSuperfishUl();
      },
      out = function(){
        var $$ = $(this), menu = getMenu($$), o = sf.op;
        clearTimeout(menu.sfTimer);
        menu.sfTimer=setTimeout(function(){
          o.retainPath=($.inArray($$[0],o.$path)>-1);
          $$.hideSuperfishUl();
          if (o.$path.length && $$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}
        },o.delay);
      },
      getMenu = function($menu){
        var menu = $menu.parents(['ul.',c.menuClass,':first'].join(''))[0];
        sf.op = sf.o[menu.serial];
        return menu;
      },
      addArrow = function($a){ $a.addClass(c.anchorClass).append($arrow.clone()); };

    return this.each(function() {
      var s = this.serial = sf.o.length;
      var o = $.extend({},sf.defaults,op);
      o.$path = $('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){
        $(this).addClass([o.hoverClass,c.bcClass].join(' '))
          .filter('li:has(ul)').removeClass(o.pathClass);
      });
      sf.o[s] = sf.op = o;

      $('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() {
        if (o.autoArrows) addArrow( $('>a:first-child',this) );
      })
      .not('.'+c.bcClass)
        .hideSuperfishUl();

      var $a = $('a',this);
      $a.each(function(i){
        var $li = $a.eq(i).parents('li');
        $a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});
      });
      o.onInit.call(this);

    }).each(function() {
      var menuClasses = [c.menuClass];
      if (sf.op.dropShadows  && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass);
      $(this).addClass(menuClasses.join(' '));
    });
  };

  var sf = $.fn.superfish;
  sf.o = [];
  sf.op = {};
  sf.IE7fix = function(){
    var o = sf.op;
    if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined)
      this.toggleClass(sf.c.shadowClass+'-off');
    };
  sf.c = {
    bcClass  : 'sf-breadcrumb',
    menuClass: 'sf-js-enabled',
    anchorClass : 'sf-with-ul',
    arrowClass  : 'sf-sub-indicator',
    shadowClass : 'sf-shadow'
  };
  sf.defaults = {
    hoverClass  : 'sfHover',
    pathClass  : 'overideThisToUse',
    pathLevels  : 1,
    delay : 800,
    animation  : {opacity:'show'},
    speed : 'normal',
    autoArrows  : true,
    dropShadows : true,
    disableHI  : false, // true disables hoverIntent detection
    onInit : function(){}, // callback functions
    onBeforeShow: function(){},
    onShow : function(){},
    onHide : function(){}
  };
  $.fn.extend({
    hideSuperfishUl : function(){
      var o = sf.op,
        not = (o.retainPath===true) ? o.$path : '';
      o.retainPath = false;
      var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass)
          .find('>ul').hide().css('visibility','hidden');
      o.onHide.call($ul);
      return this;
    },
    showSuperfishUl : function(){
      var o = sf.op,
        sh = sf.c.shadowClass+'-off',
        $ul = this.addClass(o.hoverClass)
          .find('>ul:hidden').css('visibility','visible');
      sf.IE7fix.call($ul);
      o.onBeforeShow.call($ul);
      $ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); });
      return this;
    }
  });

})(jQuery);
;
/* $Id: supersubs.js,v 1.1 2010/02/12 12:53:13 mehrpadin Exp $ */
/*
 * Supersubs v0.2b - jQuery plugin
 * Copyright (c) 2008 Joel Birch
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 *
 *
 * This plugin automatically adjusts submenu widths of suckerfish-style menus to that of
 * their longest list item children. If you use this, please expect bugs and report them
 * to the jQuery Google Group with the word 'Superfish' in the subject line.
 *
 */

;(function($){ // $ will refer to jQuery within this closure

  $.fn.supersubs = function(options){
    var opts = $.extend({}, $.fn.supersubs.defaults, options);
    // return original object to support chaining
    return this.each(function() {
      // cache selections
      var $$ = $(this);
      // support metadata
      var o = $.meta ? $.extend({}, opts, $$.data()) : opts;
      // get the font size of menu.
      // .css('fontSize') returns various results cross-browser, so measure an em dash instead
      var fontsize = $('<li id="menu-fontsize">&#8212;</li>').css({
        'padding' : 0,
        'position' : 'absolute',
        'top' : '-999em',
        'width' : 'auto'
      }).appendTo($$).width(); //clientWidth is faster, but was incorrect here
      // remove em dash
      $('#menu-fontsize').remove();
      // cache all ul elements
      $ULs = $$.find('ul');
      // loop through each ul in menu
      $ULs.each(function(i) {
        // cache this ul
        var $ul = $ULs.eq(i);
        // get all (li) children of this ul
        var $LIs = $ul.children();
        // get all anchor grand-children
        var $As = $LIs.children('a');
        // force content to one line and save current float property
        var liFloat = $LIs.css('white-space','nowrap').css('float');
        // remove width restrictions and floats so elements remain vertically stacked
        var emWidth = $ul.add($LIs).add($As).css({
          'float' : 'none',
          'width'  : 'auto'
        })
        // this ul will now be shrink-wrapped to longest li due to position:absolute
        // so save its width as ems. Clientwidth is 2 times faster than .width() - thanks Dan Switzer
        .end().end()[0].clientWidth / fontsize;
        // add more width to ensure lines don't turn over at certain sizes in various browsers
        emWidth += o.extraWidth;
        // restrict to at least minWidth and at most maxWidth
        if (emWidth > o.maxWidth)    { emWidth = o.maxWidth; }
        else if (emWidth < o.minWidth)  { emWidth = o.minWidth; }
        emWidth += 'em';
        // set ul to width in ems
        $ul.css('width',emWidth);
        // restore li floats to avoid IE bugs
        // set li width to full width of this ul
        // revert white-space to normal
        $LIs.css({
          'float' : liFloat,
          'width' : '100%',
          'white-space' : 'normal'
        })
        // update offset position of descendant ul to reflect new width of parent
        .each(function(){
          var $childUl = $('>ul',this);
          var offsetDirection = $childUl.css('left')!==undefined ? 'left' : 'right';
          $childUl.css(offsetDirection,emWidth);
        });
      });

    });
  };
  // expose defaults
  $.fn.supersubs.defaults = {
    minWidth: 9, // requires em unit.
    maxWidth: 25, // requires em unit.
    extraWidth: 0 // extra width can ensure lines don't sometimes turn over due to slight browser differences in how they round-off values
  };

})(jQuery); // plugin code ends
;
(function ($) {

$(document).ready(function() {

  // Accepts a string; returns the string with regex metacharacters escaped. The returned string
  // can safely be used at any point within a regex to match the provided literal string. Escaped
  // characters are [ ] { } ( ) * + ? - . , \ ^ $ # and whitespace. The character | is excluded
  // in this function as it's used to separate the domains names.
  RegExp.escapeDomains = function(text) {
    return (text) ? text.replace(/[-[\]{}()*+?.,\\^$#\s]/g, "\\$&") : '';
  }

  // Attach onclick event to document only and catch clicks on all elements.
  $(document.body).click(function(event) {
    // Catch the closest surrounding link of a clicked element.
    $(event.target).closest("a,area").each(function() {

      var ga = Drupal.settings.googleanalytics;
      // Expression to check for absolute internal links.
      var isInternal = new RegExp("^(https?):\/\/" + window.location.host, "i");
      // Expression to check for special links like gotwo.module /go/* links.
      var isInternalSpecial = new RegExp("(\/go\/.*)$", "i");
      // Expression to check for download links.
      var isDownload = new RegExp("\\.(" + ga.trackDownloadExtensions + ")$", "i");
      // Expression to check for the sites cross domains.
      var isCrossDomain = new RegExp("^(https?|ftp|news|nntp|telnet|irc|ssh|sftp|webcal):\/\/.*(" + RegExp.escapeDomains(ga.trackCrossDomains) + ")", "i");

      // Is the clicked URL internal?
      if (isInternal.test(this.href)) {
        // Is download tracking activated and the file extension configured for download tracking?
        if (ga.trackDownload && isDownload.test(this.href)) {
          // Download link clicked.
          var extension = isDownload.exec(this.href);
          _gaq.push(["_trackEvent", "Downloads", extension[1].toUpperCase(), this.href.replace(isInternal, '')]);
        }
        else if (isInternalSpecial.test(this.href)) {
          // Keep the internal URL for Google Analytics website overlay intact.
          _gaq.push(["_trackPageview", this.href.replace(isInternal, '')]);
        }
      }
      else {
        if (ga.trackMailto && $(this).is("a[href^=mailto:],area[href^=mailto:]")) {
          // Mailto link clicked.
          _gaq.push(["_trackEvent", "Mails", "Click", this.href.substring(7)]);
        }
        else if (ga.trackOutbound && this.href) {
          if (ga.trackDomainMode == 2 && isCrossDomain.test(this.href)) {
            // Top-level cross domain clicked. document.location is handled by _link internally.
            _gaq.push(["_link", this.href]);
          }
          else if (ga.trackOutboundAsPageview) {
            // Track all external links as page views after URL cleanup.
            // Currently required, if click should be tracked as goal.
            _gaq.push(["_trackPageview", '/outbound/' + this.href.replace(/^(https?|ftp|news|nntp|telnet|irc|ssh|sftp|webcal):\/\//i, '').split('/').join('--')]);
          }
          else {
            // External link clicked.
            _gaq.push(["_trackEvent", "Outbound links", "Click", this.href]);
          }
        }
      }
    });
  });
});

})(jQuery);
;

(function($) {

/**
 * Drupal FieldGroup object.
 */
Drupal.FieldGroup = Drupal.FieldGroup || {};
Drupal.FieldGroup.Effects = Drupal.FieldGroup.Effects || {};
Drupal.FieldGroup.groupWithfocus = null;

Drupal.FieldGroup.setGroupWithfocus = function(element) {
  element.css({display: 'block'});
  Drupal.FieldGroup.groupWithfocus = element;
}

/**
 * Implements Drupal.FieldGroup.processHook().
 */
Drupal.FieldGroup.Effects.processFieldset = {
  execute: function (context, settings, type) {
    if (type == 'form') {
      // Add required fields mark to any fieldsets containing required fields
      $('fieldset.fieldset').each(function(i){
        if ($(this).is('.required-fields') && $(this).find('.form-required').length > 0) {
          $('legend span.fieldset-legend', $(this)).eq(0).append('&nbsp;').append($('.form-required').eq(0).clone());
        }
        if ($('.error', $(this)).length) {
          $('legend span.fieldset-legend', $(this)).eq(0).addClass('error');
          Drupal.FieldGroup.setGroupWithfocus($(this));
        }
      });
    }
  }
}

/**
 * Implements Drupal.FieldGroup.processHook().
 */
Drupal.FieldGroup.Effects.processAccordion = {
  execute: function (context, settings, type) {
    var accordions = $('div.field-group-accordion-wrapper', context).accordion({
      autoHeight: false,
      active: 0,
      collapsible: true
    });
    if (type == 'form') {
      // Add required fields mark to any element containing required fields
      $('div.accordion-item').each(function(i){
        if ($(this).is('.required-fields') && $(this).find('.form-required').length > 0) {
          $('h3.ui-accordion-header').eq(i).append('&nbsp;').append($('.form-required').eq(0).clone());
        }
        if ($('.error', $(this)).length) {
          $('h3.ui-accordion-header').eq(i).addClass('error');
          var activeOne = $(this).parent().accordion("activate" , i);
          $('.ui-accordion-content-active', activeOne).css({height: 'auto', width: 'auto', display: 'block'});
        }
      });
    }
  }
}

/**
 * Implements Drupal.FieldGroup.processHook().
 */
Drupal.FieldGroup.Effects.processHtabs = {
  execute: function (context, settings, type) {
    if (type == 'form') {
      // Add required fields mark to any element containing required fields
      $('fieldset.horizontal-tabs-pane').each(function(i){
        if ($(this).is('.required-fields') && $(this).find('.form-required').length > 0) {
          $(this).data('horizontalTab').link.find('strong:first').after($('.form-required').eq(0).clone()).after('&nbsp;');
        }
        if ($('.error', $(this)).length) {
          $(this).data('horizontalTab').link.parent().addClass('error');
          Drupal.FieldGroup.setGroupWithfocus($(this));
          $(this).data('horizontalTab').focus();
        }
      });
    }
  }
}

/**
 * Implements Drupal.FieldGroup.processHook().
 */
Drupal.FieldGroup.Effects.processTabs = {
  execute: function (context, settings, type) {
    if (type == 'form') {
      // Add required fields mark to any fieldsets containing required fields
      $('fieldset.vertical-tabs-pane').each(function(i){
        if ($(this).is('.required-fields') && $(this).find('.form-required').length > 0) {
          $(this).data('verticalTab').link.find('strong:first').after($('.form-required').eq(0).clone()).after('&nbsp;');
        }
        if ($('.error', $(this)).length) {
          $(this).data('verticalTab').link.parent().addClass('error');
          Drupal.FieldGroup.setGroupWithfocus($(this));
          $(this).data('verticalTab').focus();
        }
      });
    }
  }
}

/**
 * Implements Drupal.FieldGroup.processHook().
 * 
 * TODO clean this up meaning check if this is really 
 *      necessary.
 */
Drupal.FieldGroup.Effects.processDiv = {
  execute: function (context, settings, type) {

    $('div.collapsible', context).each(function() {
      var $wrapper = $(this);

      // Turn the legend into a clickable link, but retain span.field-group-format-toggler
      // for CSS positioning.
      var $toggler = $('span.field-group-format-toggler:first', $wrapper);
      var $link = $('<a class="field-group-format-title" href="#"></a>');
      $link.prepend($toggler.contents()).appendTo($toggler);
      
      // .wrapInner() does not retain bound events.
      $link.click(function () {
        var wrapper = $wrapper.get(0);
        // Don't animate multiple times.
        if (!wrapper.animating) {
          wrapper.animating = true;
          var speed = $wrapper.hasClass('speed-fast') ? 300 : 1000;
          if ($wrapper.hasClass('effect-none') && $wrapper.hasClass('speed-none')) {
            $('> .field-group-format-wrapper', wrapper).toggle();
          }
          else if ($wrapper.hasClass('effect-blind')) {
            $('> .field-group-format-wrapper', wrapper).toggle('blind', {}, speed);
          }
          else {
            $('> .field-group-format-wrapper', wrapper).toggle(speed);
          }
          wrapper.animating = false;
        }
        return false;
      });
      
    });
  }
};

/**
 * Behaviors.
 */
Drupal.behaviors.fieldGroup = {
  attach: function (context, settings) {
    if (settings.field_group == undefined) {
      return;
    }
    $('body', context).once('fieldgroup-effects', function () {
      // Execute all of them.
      $.each(Drupal.FieldGroup.Effects, function (func) {
        // We check for a wrapper function in Drupal.field_group as 
        // alternative for dynamic string function calls.
        var type = func.toLowerCase().replace("process", "");
        if (settings.field_group[type] != undefined && $.isFunction(this.execute)) {
          this.execute(context, settings, settings.field_group[type]);
        }
      });
    });
  }
};

})(jQuery);;
/*
 * jQuery hashchange event - v1.3 - 7/21/2010
 * http://benalman.com/projects/jquery-hashchange-plugin/
 * 
 * Copyright (c) 2010 "Cowboy" Ben Alman
 * Dual licensed under the MIT and GPL licenses.
 * http://benalman.com/about/license/
 */
(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);;
/*
 * jQuery Tools 1.2.5 - The missing UI library for the Web
 * 
 * [tabs, tabs.slideshow, tooltip, tooltip.slide, tooltip.dynamic, scrollable, scrollable.autoscroll, scrollable.navigator, overlay, overlay.apple]
 * 
 * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
 * 
 * http://flowplayer.org/tools/
 * 
 * File generated: Fri Nov 26 04:25:49 GMT 2010
 */
(function(c){function p(d,b,a){var e=this,l=d.add(this),h=d.find(a.tabs),i=b.jquery?b:d.children(b),j;h.length||(h=d.children());i.length||(i=d.parent().find(b));i.length||(i=c(b));c.extend(this,{click:function(f,g){var k=h.eq(f);if(typeof f=="string"&&f.replace("#","")){k=h.filter("[href*="+f.replace("#","")+"]");f=Math.max(h.index(k),0)}if(a.rotate){var n=h.length-1;if(f<0)return e.click(n,g);if(f>n)return e.click(0,g)}if(!k.length){if(j>=0)return e;f=a.initialIndex;k=h.eq(f)}if(f===j)return e;
g=g||c.Event();g.type="onBeforeClick";l.trigger(g,[f]);if(!g.isDefaultPrevented()){o[a.effect].call(e,f,function(){g.type="onClick";l.trigger(g,[f])});j=f;h.removeClass(a.current);k.addClass(a.current);return e}},getConf:function(){return a},getTabs:function(){return h},getPanes:function(){return i},getCurrentPane:function(){return i.eq(j)},getCurrentTab:function(){return h.eq(j)},getIndex:function(){return j},next:function(){return e.click(j+1)},prev:function(){return e.click(j-1)},destroy:function(){h.unbind(a.event).removeClass(a.current);
i.find("a[href^=#]").unbind("click.T");return e}});c.each("onBeforeClick,onClick".split(","),function(f,g){c.isFunction(a[g])&&c(e).bind(g,a[g]);e[g]=function(k){k&&c(e).bind(g,k);return e}});if(a.history&&c.fn.history){c.tools.history.init(h);a.event="history"}h.each(function(f){c(this).bind(a.event,function(g){e.click(f,g);return g.preventDefault()})});i.find("a[href^=#]").bind("click.T",function(f){e.click(c(this).attr("href"),f)});if(location.hash&&a.tabs=="a"&&d.find("[href="+location.hash+"]").length)e.click(location.hash);
else if(a.initialIndex===0||a.initialIndex>0)e.click(a.initialIndex)}c.tools=c.tools||{version:"1.2.5"};c.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialIndex:0,event:"click",rotate:false,history:false},addEffect:function(d,b){o[d]=b}};var o={"default":function(d,b){this.getPanes().hide().eq(d).show();b.call()},fade:function(d,b){var a=this.getConf(),e=a.fadeOutSpeed,l=this.getPanes();e?l.fadeOut(e):l.hide();l.eq(d).fadeIn(a.fadeInSpeed,b)},slide:function(d,
b){this.getPanes().slideUp(200);this.getPanes().eq(d).slideDown(400,b)},ajax:function(d,b){this.getPanes().eq(0).load(this.getTabs().eq(d).attr("href"),b)}},m;c.tools.tabs.addEffect("horizontal",function(d,b){m||(m=this.getPanes().eq(0).width());this.getCurrentPane().animate({width:0},function(){c(this).hide()});this.getPanes().eq(d).animate({width:m},function(){c(this).show();b.call()})});c.fn.tabs=function(d,b){var a=this.data("tabs");if(a){a.destroy();this.removeData("tabs")}if(c.isFunction(b))b=
{onBeforeClick:b};b=c.extend({},c.tools.tabs.conf,b);this.each(function(){a=new p(c(this),d,b);c(this).data("tabs",a)});return b.api?a:this}})(jQuery);
(function(c){function p(g,a){function m(f){var e=c(f);return e.length<2?e:g.parent().find(f)}var b=this,i=g.add(this),d=g.data("tabs"),h,j=true,n=m(a.next).click(function(){d.next()}),k=m(a.prev).click(function(){d.prev()});c.extend(b,{getTabs:function(){return d},getConf:function(){return a},play:function(){if(h)return b;var f=c.Event("onBeforePlay");i.trigger(f);if(f.isDefaultPrevented())return b;h=setInterval(d.next,a.interval);j=false;i.trigger("onPlay");return b},pause:function(){if(!h)return b;
var f=c.Event("onBeforePause");i.trigger(f);if(f.isDefaultPrevented())return b;h=clearInterval(h);i.trigger("onPause");return b},stop:function(){b.pause();j=true}});c.each("onBeforePlay,onPlay,onBeforePause,onPause".split(","),function(f,e){c.isFunction(a[e])&&c(b).bind(e,a[e]);b[e]=function(q){return c(b).bind(e,q)}});a.autopause&&d.getTabs().add(n).add(k).add(d.getPanes()).hover(b.pause,function(){j||b.play()});a.autoplay&&b.play();a.clickable&&d.getPanes().click(function(){d.next()});if(!d.getConf().rotate){var l=
a.disabledClass;d.getIndex()||k.addClass(l);d.onBeforeClick(function(f,e){k.toggleClass(l,!e);n.toggleClass(l,e==d.getTabs().length-1)})}}var o;o=c.tools.tabs.slideshow={conf:{next:".forward",prev:".backward",disabledClass:"disabled",autoplay:false,autopause:true,interval:3E3,clickable:true,api:false}};c.fn.slideshow=function(g){var a=this.data("slideshow");if(a)return a;g=c.extend({},o.conf,g);this.each(function(){a=new p(c(this),g);c(this).data("slideshow",a)});return g.api?a:this}})(jQuery);
(function(f){function p(a,b,c){var h=c.relative?a.position().top:a.offset().top,d=c.relative?a.position().left:a.offset().left,i=c.position[0];h-=b.outerHeight()-c.offset[0];d+=a.outerWidth()+c.offset[1];if(/iPad/i.test(navigator.userAgent))h-=f(window).scrollTop();var j=b.outerHeight()+a.outerHeight();if(i=="center")h+=j/2;if(i=="bottom")h+=j;i=c.position[1];a=b.outerWidth()+a.outerWidth();if(i=="center")d-=a/2;if(i=="left")d-=a;return{top:h,left:d}}function u(a,b){var c=this,h=a.add(c),d,i=0,j=
0,m=a.attr("title"),q=a.attr("data-tooltip"),r=o[b.effect],l,s=a.is(":input"),v=s&&a.is(":checkbox, :radio, select, :button, :submit"),t=a.attr("type"),k=b.events[t]||b.events[s?v?"widget":"input":"def"];if(!r)throw'Nonexistent effect "'+b.effect+'"';k=k.split(/,\s*/);if(k.length!=2)throw"Tooltip: bad events configuration for "+t;a.bind(k[0],function(e){clearTimeout(i);if(b.predelay)j=setTimeout(function(){c.show(e)},b.predelay);else c.show(e)}).bind(k[1],function(e){clearTimeout(j);if(b.delay)i=
setTimeout(function(){c.hide(e)},b.delay);else c.hide(e)});if(m&&b.cancelDefault){a.removeAttr("title");a.data("title",m)}f.extend(c,{show:function(e){if(!d){if(q)d=f(q);else if(b.tip)d=f(b.tip).eq(0);else if(m)d=f(b.layout).addClass(b.tipClass).appendTo(document.body).hide().append(m);else{d=a.next();d.length||(d=a.parent().next())}if(!d.length)throw"Cannot find tooltip for "+a;}if(c.isShown())return c;d.stop(true,true);var g=p(a,d,b);b.tip&&d.html(a.data("title"));e=e||f.Event();e.type="onBeforeShow";
h.trigger(e,[g]);if(e.isDefaultPrevented())return c;g=p(a,d,b);d.css({position:"absolute",top:g.top,left:g.left});l=true;r[0].call(c,function(){e.type="onShow";l="full";h.trigger(e)});g=b.events.tooltip.split(/,\s*/);if(!d.data("__set")){d.bind(g[0],function(){clearTimeout(i);clearTimeout(j)});g[1]&&!a.is("input:not(:checkbox, :radio), textarea")&&d.bind(g[1],function(n){n.relatedTarget!=a[0]&&a.trigger(k[1].split(" ")[0])});d.data("__set",true)}return c},hide:function(e){if(!d||!c.isShown())return c;
e=e||f.Event();e.type="onBeforeHide";h.trigger(e);if(!e.isDefaultPrevented()){l=false;o[b.effect][1].call(c,function(){e.type="onHide";h.trigger(e)});return c}},isShown:function(e){return e?l=="full":l},getConf:function(){return b},getTip:function(){return d},getTrigger:function(){return a}});f.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","),function(e,g){f.isFunction(b[g])&&f(c).bind(g,b[g]);c[g]=function(n){n&&f(c).bind(g,n);return c}})}f.tools=f.tools||{version:"1.2.5"};f.tools.tooltip=
{conf:{effect:"toggle",fadeOutSpeed:"fast",predelay:0,delay:30,opacity:1,tip:0,position:["top","center"],offset:[0,0],relative:false,cancelDefault:true,events:{def:"mouseenter,mouseleave",input:"focus,blur",widget:"focus mouseenter,blur mouseleave",tooltip:"mouseenter,mouseleave"},layout:"<div/>",tipClass:"tooltip"},addEffect:function(a,b,c){o[a]=[b,c]}};var o={toggle:[function(a){var b=this.getConf(),c=this.getTip();b=b.opacity;b<1&&c.css({opacity:b});c.show();a.call()},function(a){this.getTip().hide();
a.call()}],fade:[function(a){var b=this.getConf();this.getTip().fadeTo(b.fadeInSpeed,b.opacity,a)},function(a){this.getTip().fadeOut(this.getConf().fadeOutSpeed,a)}]};f.fn.tooltip=function(a){var b=this.data("tooltip");if(b)return b;a=f.extend(true,{},f.tools.tooltip.conf,a);if(typeof a.position=="string")a.position=a.position.split(/,?\s/);this.each(function(){b=new u(f(this),a);f(this).data("tooltip",b)});return a.api?b:this}})(jQuery);
(function(d){var i=d.tools.tooltip;d.extend(i.conf,{direction:"up",bounce:false,slideOffset:10,slideInSpeed:200,slideOutSpeed:200,slideFade:!d.browser.msie});var e={up:["-","top"],down:["+","top"],left:["-","left"],right:["+","left"]};i.addEffect("slide",function(g){var a=this.getConf(),f=this.getTip(),b=a.slideFade?{opacity:a.opacity}:{},c=e[a.direction]||e.up;b[c[1]]=c[0]+"="+a.slideOffset;a.slideFade&&f.css({opacity:0});f.show().animate(b,a.slideInSpeed,g)},function(g){var a=this.getConf(),f=a.slideOffset,
b=a.slideFade?{opacity:0}:{},c=e[a.direction]||e.up,h=""+c[0];if(a.bounce)h=h=="+"?"-":"+";b[c[1]]=h+"="+f;this.getTip().animate(b,a.slideOutSpeed,function(){d(this).hide();g.call()})})})(jQuery);
(function(g){function j(a){var c=g(window),d=c.width()+c.scrollLeft(),h=c.height()+c.scrollTop();return[a.offset().top<=c.scrollTop(),d<=a.offset().left+a.width(),h<=a.offset().top+a.height(),c.scrollLeft()>=a.offset().left]}function k(a){for(var c=a.length;c--;)if(a[c])return false;return true}var i=g.tools.tooltip;i.dynamic={conf:{classNames:"top right bottom left"}};g.fn.dynamic=function(a){if(typeof a=="number")a={speed:a};a=g.extend({},i.dynamic.conf,a);var c=a.classNames.split(/\s/),d;this.each(function(){var h=
g(this).tooltip().onBeforeShow(function(e,f){e=this.getTip();var b=this.getConf();d||(d=[b.position[0],b.position[1],b.offset[0],b.offset[1],g.extend({},b)]);g.extend(b,d[4]);b.position=[d[0],d[1]];b.offset=[d[2],d[3]];e.css({visibility:"hidden",position:"absolute",top:f.top,left:f.left}).show();f=j(e);if(!k(f)){if(f[2]){g.extend(b,a.top);b.position[0]="top";e.addClass(c[0])}if(f[3]){g.extend(b,a.right);b.position[1]="right";e.addClass(c[1])}if(f[0]){g.extend(b,a.bottom);b.position[0]="bottom";e.addClass(c[2])}if(f[1]){g.extend(b,
a.left);b.position[1]="left";e.addClass(c[3])}if(f[0]||f[2])b.offset[0]*=-1;if(f[1]||f[3])b.offset[1]*=-1}e.css({visibility:"visible"}).hide()});h.onBeforeShow(function(){var e=this.getConf();this.getTip();setTimeout(function(){e.position=[d[0],d[1]];e.offset=[d[2],d[3]]},0)});h.onHide(function(){var e=this.getTip();e.removeClass(a.classNames)});ret=h});return a.api?ret:this}})(jQuery);
(function(e){function p(f,c){var b=e(c);return b.length<2?b:f.parent().find(c)}function u(f,c){var b=this,n=f.add(b),g=f.children(),l=0,j=c.vertical;k||(k=b);if(g.length>1)g=e(c.items,f);e.extend(b,{getConf:function(){return c},getIndex:function(){return l},getSize:function(){return b.getItems().size()},getNaviButtons:function(){return o.add(q)},getRoot:function(){return f},getItemWrap:function(){return g},getItems:function(){return g.children(c.item).not("."+c.clonedClass)},move:function(a,d){return b.seekTo(l+
a,d)},next:function(a){return b.move(1,a)},prev:function(a){return b.move(-1,a)},begin:function(a){return b.seekTo(0,a)},end:function(a){return b.seekTo(b.getSize()-1,a)},focus:function(){return k=b},addItem:function(a){a=e(a);if(c.circular){g.children("."+c.clonedClass+":last").before(a);g.children("."+c.clonedClass+":first").replaceWith(a.clone().addClass(c.clonedClass))}else g.append(a);n.trigger("onAddItem",[a]);return b},seekTo:function(a,d,h){a.jquery||(a*=1);if(c.circular&&a===0&&l==-1&&d!==
0)return b;if(!c.circular&&a<0||a>b.getSize()||a<-1)return b;var i=a;if(a.jquery)a=b.getItems().index(a);else i=b.getItems().eq(a);var r=e.Event("onBeforeSeek");if(!h){n.trigger(r,[a,d]);if(r.isDefaultPrevented()||!i.length)return b}i=j?{top:-i.position().top}:{left:-i.position().left};l=a;k=b;if(d===undefined)d=c.speed;g.animate(i,d,c.easing,h||function(){n.trigger("onSeek",[a])});return b}});e.each(["onBeforeSeek","onSeek","onAddItem"],function(a,d){e.isFunction(c[d])&&e(b).bind(d,c[d]);b[d]=function(h){h&&
e(b).bind(d,h);return b}});if(c.circular){var s=b.getItems().slice(-1).clone().prependTo(g),t=b.getItems().eq(1).clone().appendTo(g);s.add(t).addClass(c.clonedClass);b.onBeforeSeek(function(a,d,h){if(!a.isDefaultPrevented())if(d==-1){b.seekTo(s,h,function(){b.end(0)});return a.preventDefault()}else d==b.getSize()&&b.seekTo(t,h,function(){b.begin(0)})});b.seekTo(0,0,function(){})}var o=p(f,c.prev).click(function(){b.prev()}),q=p(f,c.next).click(function(){b.next()});if(!c.circular&&b.getSize()>1){b.onBeforeSeek(function(a,
d){setTimeout(function(){if(!a.isDefaultPrevented()){o.toggleClass(c.disabledClass,d<=0);q.toggleClass(c.disabledClass,d>=b.getSize()-1)}},1)});c.initialIndex||o.addClass(c.disabledClass)}c.mousewheel&&e.fn.mousewheel&&f.mousewheel(function(a,d){if(c.mousewheel){b.move(d<0?1:-1,c.wheelSpeed||50);return false}});if(c.touch){var m={};g[0].ontouchstart=function(a){a=a.touches[0];m.x=a.clientX;m.y=a.clientY};g[0].ontouchmove=function(a){if(a.touches.length==1&&!g.is(":animated")){var d=a.touches[0],h=
m.x-d.clientX;d=m.y-d.clientY;b[j&&d>0||!j&&h>0?"next":"prev"]();a.preventDefault()}}}c.keyboard&&e(document).bind("keydown.scrollable",function(a){if(!(!c.keyboard||a.altKey||a.ctrlKey||e(a.target).is(":input")))if(!(c.keyboard!="static"&&k!=b)){var d=a.keyCode;if(j&&(d==38||d==40)){b.move(d==38?-1:1);return a.preventDefault()}if(!j&&(d==37||d==39)){b.move(d==37?-1:1);return a.preventDefault()}}});c.initialIndex&&b.seekTo(c.initialIndex,0,function(){})}e.tools=e.tools||{version:"1.2.5"};e.tools.scrollable=
{conf:{activeClass:"active",circular:false,clonedClass:"cloned",disabledClass:"disabled",easing:"swing",initialIndex:0,item:null,items:".items",keyboard:true,mousewheel:false,next:".next",prev:".prev",speed:400,vertical:false,touch:true,wheelSpeed:0}};var k;e.fn.scrollable=function(f){var c=this.data("scrollable");if(c)return c;f=e.extend({},e.tools.scrollable.conf,f);this.each(function(){c=new u(e(this),f);e(this).data("scrollable",c)});return f.api?c:this}})(jQuery);
(function(b){var f=b.tools.scrollable;f.autoscroll={conf:{autoplay:true,interval:3E3,autopause:true}};b.fn.autoscroll=function(c){if(typeof c=="number")c={interval:c};var d=b.extend({},f.autoscroll.conf,c),g;this.each(function(){var a=b(this).data("scrollable");if(a)g=a;var e,h=true;a.play=function(){if(!e){h=false;e=setInterval(function(){a.next()},d.interval)}};a.pause=function(){e=clearInterval(e)};a.stop=function(){a.pause();h=true};d.autopause&&a.getRoot().add(a.getNaviButtons()).hover(a.pause,
a.play);d.autoplay&&a.play()});return d.api?g:this}})(jQuery);
(function(d){function p(b,g){var h=d(g);return h.length<2?h:b.parent().find(g)}var m=d.tools.scrollable;m.navigator={conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,idPrefix:null,history:false}};d.fn.navigator=function(b){if(typeof b=="string")b={navi:b};b=d.extend({},m.navigator.conf,b);var g;this.each(function(){function h(a,c,i){e.seekTo(c);if(j){if(location.hash)location.hash=a.attr("href").replace("#","")}else return i.preventDefault()}function f(){return k.find(b.naviItem||
"> *")}function n(a){var c=d("<"+(b.naviItem||"a")+"/>").click(function(i){h(d(this),a,i)}).attr("href","#"+a);a===0&&c.addClass(l);b.indexed&&c.text(a+1);b.idPrefix&&c.attr("id",b.idPrefix+a);return c.appendTo(k)}function o(a,c){a=f().eq(c.replace("#",""));a.length||(a=f().filter("[href="+c+"]"));a.click()}var e=d(this).data("scrollable"),k=b.navi.jquery?b.navi:p(e.getRoot(),b.navi),q=e.getNaviButtons(),l=b.activeClass,j=b.history&&d.fn.history;if(e)g=e;e.getNaviButtons=function(){return q.add(k)};
f().length?f().each(function(a){d(this).click(function(c){h(d(this),a,c)})}):d.each(e.getItems(),function(a){n(a)});e.onBeforeSeek(function(a,c){setTimeout(function(){if(!a.isDefaultPrevented()){var i=f().eq(c);!a.isDefaultPrevented()&&i.length&&f().removeClass(l).eq(c).addClass(l)}},1)});e.onAddItem(function(a,c){c=n(e.getItems().index(c));j&&c.history(o)});j&&f().history(o)});return b.api?g:this}})(jQuery);
(function(a){function t(d,b){var c=this,j=d.add(c),o=a(window),k,f,m,g=a.tools.expose&&(b.mask||b.expose),n=Math.random().toString().slice(10);if(g){if(typeof g=="string")g={color:g};g.closeOnClick=g.closeOnEsc=false}var p=b.target||d.attr("rel");f=p?a(p):d;if(!f.length)throw"Could not find Overlay: "+p;d&&d.index(f)==-1&&d.click(function(e){c.load(e);return e.preventDefault()});a.extend(c,{load:function(e){if(c.isOpened())return c;var h=q[b.effect];if(!h)throw'Overlay: cannot find effect : "'+b.effect+
'"';b.oneInstance&&a.each(s,function(){this.close(e)});e=e||a.Event();e.type="onBeforeLoad";j.trigger(e);if(e.isDefaultPrevented())return c;m=true;g&&a(f).expose(g);var i=b.top,r=b.left,u=f.outerWidth({margin:true}),v=f.outerHeight({margin:true});if(typeof i=="string")i=i=="center"?Math.max((o.height()-v)/2,0):parseInt(i,10)/100*o.height();if(r=="center")r=Math.max((o.width()-u)/2,0);h[0].call(c,{top:i,left:r},function(){if(m){e.type="onLoad";j.trigger(e)}});g&&b.closeOnClick&&a.mask.getMask().one("click",
c.close);b.closeOnClick&&a(document).bind("click."+n,function(l){a(l.target).parents(f).length||c.close(l)});b.closeOnEsc&&a(document).bind("keydown."+n,function(l){l.keyCode==27&&c.close(l)});return c},close:function(e){if(!c.isOpened())return c;e=e||a.Event();e.type="onBeforeClose";j.trigger(e);if(!e.isDefaultPrevented()){m=false;q[b.effect][1].call(c,function(){e.type="onClose";j.trigger(e)});a(document).unbind("click."+n).unbind("keydown."+n);g&&a.mask.close();return c}},getOverlay:function(){return f},
getTrigger:function(){return d},getClosers:function(){return k},isOpened:function(){return m},getConf:function(){return b}});a.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","),function(e,h){a.isFunction(b[h])&&a(c).bind(h,b[h]);c[h]=function(i){i&&a(c).bind(h,i);return c}});k=f.find(b.close||".close");if(!k.length&&!b.close){k=a('<a class="close"></a>');f.prepend(k)}k.click(function(e){c.close(e)});b.load&&c.load()}a.tools=a.tools||{version:"1.2.5"};a.tools.overlay={addEffect:function(d,
b,c){q[d]=[b,c]},conf:{close:null,closeOnClick:true,closeOnEsc:true,closeSpeed:"fast",effect:"default",fixed:!a.browser.msie||a.browser.version>6,left:"center",load:false,mask:null,oneInstance:true,speed:"normal",target:null,top:"10%"}};var s=[],q={};a.tools.overlay.addEffect("default",function(d,b){var c=this.getConf(),j=a(window);if(!c.fixed){d.top+=j.scrollTop();d.left+=j.scrollLeft()}d.position=c.fixed?"fixed":"absolute";this.getOverlay().css(d).fadeIn(c.speed,b)},function(d){this.getOverlay().fadeOut(this.getConf().closeSpeed,
d)});a.fn.overlay=function(d){var b=this.data("overlay");if(b)return b;if(a.isFunction(d))d={onBeforeLoad:d};d=a.extend(true,{},a.tools.overlay.conf,d);this.each(function(){b=new t(a(this),d);s.push(b);a(this).data("overlay",b)});return d.api?b:this}})(jQuery);
(function(h){function k(d){var e=d.offset();return{top:e.top+d.height()/2,left:e.left+d.width()/2}}var l=h.tools.overlay,f=h(window);h.extend(l.conf,{start:{top:null,left:null},fadeInSpeed:"fast",zIndex:9999});function o(d,e){var a=this.getOverlay(),c=this.getConf(),g=this.getTrigger(),p=this,m=a.outerWidth({margin:true}),b=a.data("img"),n=c.fixed?"fixed":"absolute";if(!b){b=a.css("backgroundImage");if(!b)throw"background-image CSS property not set for overlay";b=b.slice(b.indexOf("(")+1,b.indexOf(")")).replace(/\"/g,
"");a.css("backgroundImage","none");b=h('<img src="'+b+'"/>');b.css({border:0,display:"none"}).width(m);h("body").append(b);a.data("img",b)}var i=c.start.top||Math.round(f.height()/2),j=c.start.left||Math.round(f.width()/2);if(g){g=k(g);i=g.top;j=g.left}if(c.fixed){i-=f.scrollTop();j-=f.scrollLeft()}else{d.top+=f.scrollTop();d.left+=f.scrollLeft()}b.css({position:"absolute",top:i,left:j,width:0,zIndex:c.zIndex}).show();d.position=n;a.css(d);b.animate({top:a.css("top"),left:a.css("left"),width:m},
c.speed,function(){a.css("zIndex",c.zIndex+1).fadeIn(c.fadeInSpeed,function(){p.isOpened()&&!h(this).index(a)?e.call():a.hide()})}).css("position",n)}function q(d){var e=this.getOverlay().hide(),a=this.getConf(),c=this.getTrigger();e=e.data("img");var g={top:a.start.top,left:a.start.left,width:0};c&&h.extend(g,k(c));a.fixed&&e.css({position:"absolute"}).animate({top:"+="+f.scrollTop(),left:"+="+f.scrollLeft()},0);e.animate(g,a.closeSpeed,d)}l.addEffect("apple",o,q)})(jQuery);
;
ï»¿/*!	SWFObject v2.2 <http://code.google.com/p/swfobject/>
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/

var swfobject = function() {

	var UNDEF = "undefined",
		OBJECT = "object",
		SHOCKWAVE_FLASH = "Shockwave Flash",
		SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlash",
		FLASH_MIME_TYPE = "application/x-shockwave-flash",
		EXPRESS_INSTALL_ID = "SWFObjectExprInst",
		ON_READY_STATE_CHANGE = "onreadystatechange",

		win = window,
		doc = document,
		nav = navigator,

		plugin = false,
		domLoadFnArr = [main],
		regObjArr = [],
		objIdArr = [],
		listenersArr = [],
		storedAltContent,
		storedAltContentId,
		storedCallbackFn,
		storedCallbackObj,
		isDomLoaded = false,
		isExpressInstallActive = false,
		dynamicStylesheet,
		dynamicStylesheetMedia,
		autoHideShow = true,

	/* Centralized function for browser feature detection
		- User agent string detection is only used when no good alternative is possible
		- Is executed directly for optimal performance
	*/
	ua = function() {
		var w3cdom = typeof doc.getElementById != UNDEF && typeof doc.getElementsByTagName != UNDEF && typeof doc.createElement != UNDEF,
			u = nav.userAgent.toLowerCase(),
			p = nav.platform.toLowerCase(),
			windows = p ? /win/.test(p) : /win/.test(u),
			mac = p ? /mac/.test(p) : /mac/.test(u),
			webkit = /webkit/.test(u) ? parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false, // returns either the webkit version or false if not webkit
			ie = !+"\v1", // feature detection based on Andrea Giammarchi's solution: http://webreflection.blogspot.com/2009/01/32-bytes-to-know-if-your-browser-is-ie.html
			playerVersion = [0,0,0],
			d = null;
		if (typeof nav.plugins != UNDEF && typeof nav.plugins[SHOCKWAVE_FLASH] == OBJECT) {
			d = nav.plugins[SHOCKWAVE_FLASH].description;
			if (d && !(typeof nav.mimeTypes != UNDEF && nav.mimeTypes[FLASH_MIME_TYPE] && !nav.mimeTypes[FLASH_MIME_TYPE].enabledPlugin)) { // navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin indicates whether plug-ins are enabled or disabled in Safari 3+
				plugin = true;
				ie = false; // cascaded feature detection for Internet Explorer
				d = d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
				playerVersion[0] = parseInt(d.replace(/^(.*)\..*$/, "$1"), 10);
				playerVersion[1] = parseInt(d.replace(/^.*\.(.*)\s.*$/, "$1"), 10);
				playerVersion[2] = /[a-zA-Z]/.test(d) ? parseInt(d.replace(/^.*[a-zA-Z]+(.*)$/, "$1"), 10) : 0;
			}
		}
		else if (typeof win.ActiveXObject != UNDEF) {
			try {
				var a = new ActiveXObject(SHOCKWAVE_FLASH_AX);
				if (a) { // "a" will return null when ActiveX is disabled
					d = a.GetVariable("$version");
					if (d) {
						ie = true; // cascaded feature detection for Internet Explorer
						d = d.split(" ")[1].split(",");
						playerVersion = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)];
					}
				}
			}
			catch(e) {}
		}
		return { w3:w3cdom, pv:playerVersion, wk:webkit, ie:ie, win:windows, mac:mac };
	}(),

	/* Cross-browser onDomLoad
		- Will fire an event as soon as the DOM of a web page is loaded
		- Internet Explorer workaround based on Diego Perini's solution: http://javascript.nwbox.com/IEContentLoaded/
		- Regular onload serves as fallback
	*/
	onDomLoad = function() {
		if (!ua.w3) { return; }
		if ((typeof doc.readyState != UNDEF && doc.readyState == "complete") || (typeof doc.readyState == UNDEF && (doc.getElementsByTagName("body")[0] || doc.body))) { // function is fired after onload, e.g. when script is inserted dynamically 
			callDomLoadFunctions();
		}
		if (!isDomLoaded) {
			if (typeof doc.addEventListener != UNDEF) {
				doc.addEventListener("DOMContentLoaded", callDomLoadFunctions, false);
			}
			if (ua.ie && ua.win) {
				doc.attachEvent(ON_READY_STATE_CHANGE, function() {
					if (doc.readyState == "complete") {
						doc.detachEvent(ON_READY_STATE_CHANGE, arguments.callee);
						callDomLoadFunctions();
					}
				});
				if (win == top) { // if not inside an iframe
					(function(){
						if (isDomLoaded) { return; }
						try {
							doc.documentElement.doScroll("left");
						}
						catch(e) {
							setTimeout(arguments.callee, 0);
							return;
						}
						callDomLoadFunctions();
					})();
				}
			}
			if (ua.wk) {
				(function(){
					if (isDomLoaded) { return; }
					if (!/loaded|complete/.test(doc.readyState)) {
						setTimeout(arguments.callee, 0);
						return;
					}
					callDomLoadFunctions();
				})();
			}
			addLoadEvent(callDomLoadFunctions);
		}
	}();

	function callDomLoadFunctions() {
		if (isDomLoaded) { return; }
		try { // test if we can really add/remove elements to/from the DOM; we don't want to fire it too early
			var t = doc.getElementsByTagName("body")[0].appendChild(createElement("span"));
			t.parentNode.removeChild(t);
		}
		catch (e) { return; }
		isDomLoaded = true;
		var dl = domLoadFnArr.length;
		for (var i = 0; i < dl; i++) {
			domLoadFnArr[i]();
		}
	}

	function addDomLoadEvent(fn) {
		if (isDomLoaded) {
			fn();
		}
		else {
			domLoadFnArr[domLoadFnArr.length] = fn; // Array.push() is only available in IE5.5+
		}
	}

	/* Cross-browser onload
		- Based on James Edwards' solution: http://brothercake.com/site/resources/scripts/onload/
		- Will fire an event as soon as a web page including all of its assets are loaded 
	 */
	function addLoadEvent(fn) {
		if (typeof win.addEventListener != UNDEF) {
			win.addEventListener("load", fn, false);
		}
		else if (typeof doc.addEventListener != UNDEF) {
			doc.addEventListener("load", fn, false);
		}
		else if (typeof win.attachEvent != UNDEF) {
			addListener(win, "onload", fn);
		}
		else if (typeof win.onload == "function") {
			var fnOld = win.onload;
			win.onload = function() {
				fnOld();
				fn();
			};
		}
		else {
			win.onload = fn;
		}
	}

	/* Main function
		- Will preferably execute onDomLoad, otherwise onload (as a fallback)
	*/
	function main() {
		if (plugin) {
			testPlayerVersion();
		}
		else {
			matchVersions();
		}
	}

	/* Detect the Flash Player version for non-Internet Explorer browsers
		- Detecting the plug-in version via the object element is more precise than using the plugins collection item's description:
		  a. Both release and build numbers can be detected
		  b. Avoid wrong descriptions by corrupt installers provided by Adobe
		  c. Avoid wrong descriptions by multiple Flash Player entries in the plugin Array, caused by incorrect browser imports
		- Disadvantage of this method is that it depends on the availability of the DOM, while the plugins collection is immediately available
	*/
	function testPlayerVersion() {
		var b = doc.getElementsByTagName("body")[0];
		var o = createElement(OBJECT);
		o.setAttribute("type", FLASH_MIME_TYPE);
		var t = b.appendChild(o);
		if (t) {
			var counter = 0;
			(function(){
				if (typeof t.GetVariable != UNDEF) {
					var d = t.GetVariable("$version");
					if (d) {
						d = d.split(" ")[1].split(",");
						ua.pv = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)];
					}
				}
				else if (counter < 10) {
					counter++;
					setTimeout(arguments.callee, 10);
					return;
				}
				b.removeChild(o);
				t = null;
				matchVersions();
			})();
		}
		else {
			matchVersions();
		}
	}

	/* Perform Flash Player and SWF version matching; static publishing only
	*/
	function matchVersions() {
		var rl = regObjArr.length;
		if (rl > 0) {
			for (var i = 0; i < rl; i++) { // for each registered object element
				var id = regObjArr[i].id;
				var cb = regObjArr[i].callbackFn;
				var cbObj = {success:false, id:id};
				if (ua.pv[0] > 0) {
					var obj = getElementById(id);
					if (obj) {
						if (hasPlayerVersion(regObjArr[i].swfVersion) && !(ua.wk && ua.wk < 312)) { // Flash Player version >= published SWF version: We have found a match!
							setVisibility(id, true);
							if (cb) {
								cbObj.success = true;
								cbObj.ref = getObjectById(id);
								cb(cbObj);
							}
						}
						else if (regObjArr[i].expressInstall && canExpressInstall()) { // show the Adobe Express Install dialog if set by the web page author and if supported
							var att = {};
							att.data = regObjArr[i].expressInstall;
							att.width = obj.getAttribute("width") || "0";
							att.height = obj.getAttribute("height") || "0";
							if (obj.getAttribute("class")) { att.styleclass = obj.getAttribute("class"); }
							if (obj.getAttribute("align")) { att.align = obj.getAttribute("align"); }
							// parse HTML object param element's name-value pairs
							var par = {};
							var p = obj.getElementsByTagName("param");
							var pl = p.length;
							for (var j = 0; j < pl; j++) {
								if (p[j].getAttribute("name").toLowerCase() != "movie") {
									par[p[j].getAttribute("name")] = p[j].getAttribute("value");
								}
							}
							showExpressInstall(att, par, id, cb);
						}
						else { // Flash Player and SWF version mismatch or an older Webkit engine that ignores the HTML object element's nested param elements: display alternative content instead of SWF
							displayAltContent(obj);
							if (cb) { cb(cbObj); }
						}
					}
				}
				else {	// if no Flash Player is installed or the fp version cannot be detected we let the HTML object element do its job (either show a SWF or alternative content)
					setVisibility(id, true);
					if (cb) {
						var o = getObjectById(id); // test whether there is an HTML object element or not
						if (o && typeof o.SetVariable != UNDEF) {
							cbObj.success = true;
							cbObj.ref = o;
						}
						cb(cbObj);
					}
				}
			}
		}
	}

	function getObjectById(objectIdStr) {
		var r = null;
		var o = getElementById(objectIdStr);
		if (o && o.nodeName == "OBJECT") {
			if (typeof o.SetVariable != UNDEF) {
				r = o;
			}
			else {
				var n = o.getElementsByTagName(OBJECT)[0];
				if (n) {
					r = n;
				}
			}
		}
		return r;
	}

	/* Requirements for Adobe Express Install
		- only one instance can be active at a time
		- fp 6.0.65 or higher
		- Win/Mac OS only
		- no Webkit engines older than version 312
	*/
	function canExpressInstall() {
		return !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac) && !(ua.wk && ua.wk < 312);
	}

	/* Show the Adobe Express Install dialog
		- Reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75
	*/
	function showExpressInstall(att, par, replaceElemIdStr, callbackFn) {
		isExpressInstallActive = true;
		storedCallbackFn = callbackFn || null;
		storedCallbackObj = {success:false, id:replaceElemIdStr};
		var obj = getElementById(replaceElemIdStr);
		if (obj) {
			if (obj.nodeName == "OBJECT") { // static publishing
				storedAltContent = abstractAltContent(obj);
				storedAltContentId = null;
			}
			else { // dynamic publishing
				storedAltContent = obj;
				storedAltContentId = replaceElemIdStr;
			}
			att.id = EXPRESS_INSTALL_ID;
			if (typeof att.width == UNDEF || (!/%$/.test(att.width) && parseInt(att.width, 10) < 310)) { att.width = "310"; }
			if (typeof att.height == UNDEF || (!/%$/.test(att.height) && parseInt(att.height, 10) < 137)) { att.height = "137"; }
			doc.title = doc.title.slice(0, 47) + " - Flash Player Installation";
			var pt = ua.ie && ua.win ? "ActiveX" : "PlugIn",
				fv = "MMredirectURL=" + win.location.toString().replace(/&/g,"%26") + "&MMplayerType=" + pt + "&MMdoctitle=" + doc.title;
			if (typeof par.flashvars != UNDEF) {
				par.flashvars += "&" + fv;
			}
			else {
				par.flashvars = fv;
			}
			// IE only: when a SWF is loading (AND: not available in cache) wait for the readyState of the object element to become 4 before removing it,
			// because you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
			if (ua.ie && ua.win && obj.readyState != 4) {
				var newObj = createElement("div");
				replaceElemIdStr += "SWFObjectNew";
				newObj.setAttribute("id", replaceElemIdStr);
				obj.parentNode.insertBefore(newObj, obj); // insert placeholder div that will be replaced by the object element that loads expressinstall.swf
				obj.style.display = "none";
				(function(){
					if (obj.readyState == 4) {
						obj.parentNode.removeChild(obj);
					}
					else {
						setTimeout(arguments.callee, 10);
					}
				})();
			}
			createSWF(att, par, replaceElemIdStr);
		}
	}

	/* Functions to abstract and display alternative content
	*/
	function displayAltContent(obj) {
		if (ua.ie && ua.win && obj.readyState != 4) {
			// IE only: when a SWF is loading (AND: not available in cache) wait for the readyState of the object element to become 4 before removing it,
			// because you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
			var el = createElement("div");
			obj.parentNode.insertBefore(el, obj); // insert placeholder div that will be replaced by the alternative content
			el.parentNode.replaceChild(abstractAltContent(obj), el);
			obj.style.display = "none";
			(function(){
				if (obj.readyState == 4) {
					obj.parentNode.removeChild(obj);
				}
				else {
					setTimeout(arguments.callee, 10);
				}
			})();
		}
		else {
			obj.parentNode.replaceChild(abstractAltContent(obj), obj);
		}
	}

	function abstractAltContent(obj) {
		var ac = createElement("div");
		if (ua.win && ua.ie) {
			ac.innerHTML = obj.innerHTML;
		}
		else {
			var nestedObj = obj.getElementsByTagName(OBJECT)[0];
			if (nestedObj) {
				var c = nestedObj.childNodes;
				if (c) {
					var cl = c.length;
					for (var i = 0; i < cl; i++) {
						if (!(c[i].nodeType == 1 && c[i].nodeName == "PARAM") && !(c[i].nodeType == 8)) {
							ac.appendChild(c[i].cloneNode(true));
						}
					}
				}
			}
		}
		return ac;
	}

	/* Cross-browser dynamic SWF creation
	*/
	function createSWF(attObj, parObj, id) {
		var r, el = getElementById(id);
		if (ua.wk && ua.wk < 312) { return r; }
		if (el) {
			if (typeof attObj.id == UNDEF) { // if no 'id' is defined for the object element, it will inherit the 'id' from the alternative content
				attObj.id = id;
			}
			if (ua.ie && ua.win) { // Internet Explorer + the HTML object element + W3C DOM methods do not combine: fall back to outerHTML
				var att = "";
				for (var i in attObj) {
					if (attObj[i] != Object.prototype[i]) { // filter out prototype additions from other potential libraries
						if (i.toLowerCase() == "data") {
							parObj.movie = attObj[i];
						}
						else if (i.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
							att += ' class="' + attObj[i] + '"';
						}
						else if (i.toLowerCase() != "classid") {
							att += ' ' + i + '="' + attObj[i] + '"';
						}
					}
				}
				var par = "";
				for (var j in parObj) {
					if (parObj[j] != Object.prototype[j]) { // filter out prototype additions from other potential libraries
						par += '<param name="' + j + '" value="' + parObj[j] + '" />';
					}
				}
				el.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + att + '>' + par + '</object>';
				objIdArr[objIdArr.length] = attObj.id; // stored to fix object 'leaks' on unload (dynamic publishing only)
				r = getElementById(attObj.id);
			}
			else { // well-behaving browsers
				var o = createElement(OBJECT);
				o.setAttribute("type", FLASH_MIME_TYPE);
				for (var m in attObj) {
					if (attObj[m] != Object.prototype[m]) { // filter out prototype additions from other potential libraries
						if (m.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
							o.setAttribute("class", attObj[m]);
						}
						else if (m.toLowerCase() != "classid") { // filter out IE specific attribute
							o.setAttribute(m, attObj[m]);
						}
					}
				}
				for (var n in parObj) {
					if (parObj[n] != Object.prototype[n] && n.toLowerCase() != "movie") { // filter out prototype additions from other potential libraries and IE specific param element
						createObjParam(o, n, parObj[n]);
					}
				}
				el.parentNode.replaceChild(o, el);
				r = o;
			}
		}
		return r;
	}

	function createObjParam(el, pName, pValue) {
		var p = createElement("param");
		p.setAttribute("name", pName);
		p.setAttribute("value", pValue);
		el.appendChild(p);
	}

	/* Cross-browser SWF removal
		- Especially needed to safely and completely remove a SWF in Internet Explorer
	*/
	function removeSWF(id) {
		var obj = getElementById(id);
		if (obj && obj.nodeName == "OBJECT") {
			if (ua.ie && ua.win) {
				obj.style.display = "none";
				(function(){
					if (obj.readyState == 4) {
						removeObjectInIE(id);
					}
					else {
						setTimeout(arguments.callee, 10);
					}
				})();
			}
			else {
				obj.parentNode.removeChild(obj);
			}
		}
	}

	function removeObjectInIE(id) {
		var obj = getElementById(id);
		if (obj) {
			for (var i in obj) {
				if (typeof obj[i] == "function") {
					obj[i] = null;
				}
			}
			obj.parentNode.removeChild(obj);
		}
	}

	/* Functions to optimize JavaScript compression
	*/
	function getElementById(id) {
		var el = null;
		try {
			el = doc.getElementById(id);
		}
		catch (e) {}
		return el;
	}

	function createElement(el) {
		return doc.createElement(el);
	}

	/* Updated attachEvent function for Internet Explorer
		- Stores attachEvent information in an Array, so on unload the detachEvent functions can be called to avoid memory leaks
	*/
	function addListener(target, eventType, fn) {
		target.attachEvent(eventType, fn);
		listenersArr[listenersArr.length] = [target, eventType, fn];
	}

	/* Flash Player and SWF content version matching
	*/
	function hasPlayerVersion(rv) {
		var pv = ua.pv, v = rv.split(".");
		v[0] = parseInt(v[0], 10);
		v[1] = parseInt(v[1], 10) || 0; // supports short notation, e.g. "9" instead of "9.0.0"
		v[2] = parseInt(v[2], 10) || 0;
		return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false;
	}

	/* Cross-browser dynamic CSS creation
		- Based on Bobby van der Sluis' solution: http://www.bobbyvandersluis.com/articles/dynamicCSS.php
	*/
	function createCSS(sel, decl, media, newStyle) {
		if (ua.ie && ua.mac) { return; }
		var h = doc.getElementsByTagName("head")[0];
		if (!h) { return; } // to also support badly authored HTML pages that lack a head element
		var m = (media && typeof media == "string") ? media : "screen";
		if (newStyle) {
			dynamicStylesheet = null;
			dynamicStylesheetMedia = null;
		}
		if (!dynamicStylesheet || dynamicStylesheetMedia != m) {
			// create dynamic stylesheet + get a global reference to it
			var s = createElement("style");
			s.setAttribute("type", "text/css");
			s.setAttribute("media", m);
			dynamicStylesheet = h.appendChild(s);
			if (ua.ie && ua.win && typeof doc.styleSheets != UNDEF && doc.styleSheets.length > 0) {
				dynamicStylesheet = doc.styleSheets[doc.styleSheets.length - 1];
			}
			dynamicStylesheetMedia = m;
		}
		// add style rule
		if (ua.ie && ua.win) {
			if (dynamicStylesheet && typeof dynamicStylesheet.addRule == OBJECT) {
				dynamicStylesheet.addRule(sel, decl);
			}
		}
		else {
			if (dynamicStylesheet && typeof doc.createTextNode != UNDEF) {
				dynamicStylesheet.appendChild(doc.createTextNode(sel + " {" + decl + "}"));
			}
		}
	}

	function setVisibility(id, isVisible) {
		if (!autoHideShow) { return; }
		var v = isVisible ? "visible" : "hidden";
		if (isDomLoaded && getElementById(id)) {
			getElementById(id).style.visibility = v;
		}
		else {
			createCSS("#" + id, "visibility:" + v);
		}
	}

	/* Filter to avoid XSS attacks
	*/
	function urlEncodeIfNecessary(s) {
		var regex = /[\\\"<>\.;]/;
		var hasBadChars = regex.exec(s) != null;
		return hasBadChars && typeof encodeURIComponent != UNDEF ? encodeURIComponent(s) : s;
	}

	/* Release memory to avoid memory leaks caused by closures, fix hanging audio/video threads and force open sockets/NetConnections to disconnect (Internet Explorer only)
	*/
	var cleanup = function() {
		if (ua.ie && ua.win) {
			window.attachEvent("onunload", function() {
				// remove listeners to avoid memory leaks
				var ll = listenersArr.length;
				for (var i = 0; i < ll; i++) {
					listenersArr[i][0].detachEvent(listenersArr[i][1], listenersArr[i][2]);
				}
				// cleanup dynamically embedded objects to fix audio/video threads and force open sockets and NetConnections to disconnect
				var il = objIdArr.length;
				for (var j = 0; j < il; j++) {
					removeSWF(objIdArr[j]);
				}
				// cleanup library's main closures to avoid memory leaks
				for (var k in ua) {
					ua[k] = null;
				}
				ua = null;
				for (var l in swfobject) {
					swfobject[l] = null;
				}
				swfobject = null;
			});
		}
	}();

	return {
		/* Public API
			- Reference: http://code.google.com/p/swfobject/wiki/documentation
		*/
		registerObject: function(objectIdStr, swfVersionStr, xiSwfUrlStr, callbackFn) {
			if (ua.w3 && objectIdStr && swfVersionStr) {
				var regObj = {};
				regObj.id = objectIdStr;
				regObj.swfVersion = swfVersionStr;
				regObj.expressInstall = xiSwfUrlStr;
				regObj.callbackFn = callbackFn;
				regObjArr[regObjArr.length] = regObj;
				setVisibility(objectIdStr, false);
			}
			else if (callbackFn) {
				callbackFn({success:false, id:objectIdStr});
			}
		},

		getObjectById: function(objectIdStr) {
			if (ua.w3) {
				return getObjectById(objectIdStr);
			}
		},

		embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj, callbackFn) {
			var callbackObj = {success:false, id:replaceElemIdStr};
			if (ua.w3 && !(ua.wk && ua.wk < 312) && swfUrlStr && replaceElemIdStr && widthStr && heightStr && swfVersionStr) {
				setVisibility(replaceElemIdStr, false);
				addDomLoadEvent(function() {
					widthStr += ""; // auto-convert to string
					heightStr += "";
					var att = {};
					if (attObj && typeof attObj === OBJECT) {
						for (var i in attObj) { // copy object to avoid the use of references, because web authors often reuse attObj for multiple SWFs
							att[i] = attObj[i];
						}
					}
					att.data = swfUrlStr;
					att.width = widthStr;
					att.height = heightStr;
					var par = {};
					if (parObj && typeof parObj === OBJECT) {
						for (var j in parObj) { // copy object to avoid the use of references, because web authors often reuse parObj for multiple SWFs
							par[j] = parObj[j];
						}
					}
					if (flashvarsObj && typeof flashvarsObj === OBJECT) {
						for (var k in flashvarsObj) { // copy object to avoid the use of references, because web authors often reuse flashvarsObj for multiple SWFs
							if (typeof par.flashvars != UNDEF) {
								par.flashvars += "&" + k + "=" + flashvarsObj[k];
							}
							else {
								par.flashvars = k + "=" + flashvarsObj[k];
							}
						}
					}
					if (hasPlayerVersion(swfVersionStr)) { // create SWF
						var obj = createSWF(att, par, replaceElemIdStr);
						if (att.id == replaceElemIdStr) {
							setVisibility(replaceElemIdStr, true);
						}
						callbackObj.success = true;
						callbackObj.ref = obj;
					}
					else if (xiSwfUrlStr && canExpressInstall()) { // show Adobe Express Install
						att.data = xiSwfUrlStr;
						showExpressInstall(att, par, replaceElemIdStr, callbackFn);
						return;
					}
					else { // show alternative content
						setVisibility(replaceElemIdStr, true);
					}
					if (callbackFn) { callbackFn(callbackObj); }
				});
			}
			else if (callbackFn) { callbackFn(callbackObj);	}
		},

		switchOffAutoHideShow: function() {
			autoHideShow = false;
		},

		ua: ua,

		getFlashPlayerVersion: function() {
			return { major:ua.pv[0], minor:ua.pv[1], release:ua.pv[2] };
		},

		hasFlashPlayerVersion: hasPlayerVersion,

		createSWF: function(attObj, parObj, replaceElemIdStr) {
			if (ua.w3) {
				return createSWF(attObj, parObj, replaceElemIdStr);
			}
			else {
				return undefined;
			}
		},

		showExpressInstall: function(att, par, replaceElemIdStr, callbackFn) {
			if (ua.w3 && canExpressInstall()) {
				showExpressInstall(att, par, replaceElemIdStr, callbackFn);
			}
		},

		removeSWF: function(objElemIdStr) {
			if (ua.w3) {
				removeSWF(objElemIdStr);
			}
		},

		createCSS: function(selStr, declStr, mediaStr, newStyleBoolean) {
			if (ua.w3) {
				createCSS(selStr, declStr, mediaStr, newStyleBoolean);
			}
		},

		addDomLoadEvent: addDomLoadEvent,

		addLoadEvent: addLoadEvent,

		getQueryParamValue: function(param) {
			var q = doc.location.search || doc.location.hash;
			if (q) {
				if (/\?/.test(q)) { q = q.split("?")[1]; } // strip question mark
				if (param == null) {
					return urlEncodeIfNecessary(q);
				}
				var pairs = q.split("&");
				for (var i = 0; i < pairs.length; i++) {
					if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
						return urlEncodeIfNecessary(pairs[i].substring((pairs[i].indexOf("=") + 1)));
					}
				}
			}
			return "";
		},

		// For internal usage only
		expressInstallCallback: function() {
			if (isExpressInstallActive) {
				var obj = getElementById(EXPRESS_INSTALL_ID);
				if (obj && storedAltContent) {
					obj.parentNode.replaceChild(storedAltContent, obj);
					if (storedAltContentId) {
						setVisibility(storedAltContentId, true);
						if (ua.ie && ua.win) { storedAltContent.style.display = "block"; }
					}
					if (storedCallbackFn) { storedCallbackFn(storedCallbackObj); }
				}
				isExpressInstallActive = false;
			}
		}
	};
}();
;
/** * SWFAddress 2.4: Deep linking for Flash and Ajax <http://www.asual.com/swfaddress/> * * SWFAddress is (c) 2006-2009 Rostislav Hristov and contributors * This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> * */if(typeof asual=="undefined"){var asual={}}if(typeof asual.util=="undefined"){asual.util={}}asual.util.Browser=new function(){var b=navigator.userAgent.toLowerCase(),a=/webkit/.test(b),e=/opera/.test(b),c=/msie/.test(b)&&!/opera/.test(b),d=/mozilla/.test(b)&&!/(compatible|webkit)/.test(b),f=parseFloat(c?b.substr(b.indexOf("msie")+4):(b.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1]);this.toString=function(){return"[class Browser]"};this.getVersion=function(){return f};this.isMSIE=function(){return c};this.isSafari=function(){return a};this.isOpera=function(){return e};this.isMozilla=function(){return d}};asual.util.Events=new function(){var c="DOMContentLoaded",j="onstop",k=window,h=document,b=[],a=asual.util,e=a.Browser,d=e.isMSIE(),g=e.isSafari();this.toString=function(){return"[class Events]"};this.addListener=function(n,l,m){b.push({o:n,t:l,l:m});if(!(l==c&&(d||g))){if(n.addEventListener){n.addEventListener(l,m,false)}else{if(n.attachEvent){n.attachEvent("on"+l,m)}}}};this.removeListener=function(p,m,n){for(var l=0,o;o=b[l];l++){if(o.o==p&&o.t==m&&o.l==n){b.splice(l,1);break}}if(!(m==c&&(d||g))){if(p.removeEventListener){p.removeEventListener(m,n,false)}else{if(p.detachEvent){p.detachEvent("on"+m,n)}}}};var i=function(){for(var m=0,l;l=b[m];m++){if(l.t!=c){a.Events.removeListener(l.o,l.t,l.l)}}};var f=function(){if(h.readyState=="interactive"){function l(){h.detachEvent(j,l);i()}h.attachEvent(j,l);k.setTimeout(function(){h.detachEvent(j,l)},0)}};if(d||g){(function(){try{if((d&&h.body)||!/loaded|complete/.test(h.readyState)){h.documentElement.doScroll("left")}}catch(m){return setTimeout(arguments.callee,0)}for(var l=0,m;m=b[l];l++){if(m.t==c){m.l.call(null)}}})()}if(d){k.attachEvent("onbeforeunload",f)}this.addListener(k,"unload",i)};asual.util.Functions=new function(){this.toString=function(){return"[class Functions]"};this.bind=function(f,b,e){for(var c=2,d,a=[];d=arguments[c];c++){a.push(d)}return function(){return f.apply(b,a)}}};var SWFAddressEvent=function(d){this.toString=function(){return"[object SWFAddressEvent]"};this.type=d;this.target=[SWFAddress][0];this.value=SWFAddress.getValue();this.path=SWFAddress.getPath();this.pathNames=SWFAddress.getPathNames();this.parameters={};var c=SWFAddress.getParameterNames();for(var b=0,a=c.length;b<a;b++){this.parameters[c[b]]=SWFAddress.getParameter(c[b])}this.parameterNames=c};SWFAddressEvent.INIT="init";SWFAddressEvent.CHANGE="change";SWFAddressEvent.INTERNAL_CHANGE="internalChange";SWFAddressEvent.EXTERNAL_CHANGE="externalChange";var SWFAddress=new function(){var _getHash=function(){var index=_l.href.indexOf("#");return index!=-1?_ec(_dc(_l.href.substr(index+1))):""};var _getWindow=function(){try{top.document;return top}catch(e){return window}};var _strictCheck=function(value,force){if(_opts.strict){value=force?(value.substr(0,1)!="/"?"/"+value:value):(value==""?"/":value)}return value};var _ieLocal=function(value,direction){return(_msie&&_l.protocol=="file:")?(direction?_value.replace(/\?/,"%3F"):_value.replace(/%253F/,"?")):value};var _searchScript=function(el){if(el.childNodes){for(var i=0,l=el.childNodes.length,s;i<l;i++){if(el.childNodes[i].src){_url=String(el.childNodes[i].src)}if(s=_searchScript(el.childNodes[i])){return s}}}};var _titleCheck=function(){if(_d.title!=_title&&_d.title.indexOf("#")!=-1){_d.title=_title}};var _listen=function(){if(!_silent){var hash=_getHash();var diff=!(_value==hash);if(_safari&&_version<523){if(_length!=_h.length){_length=_h.length;if(typeof _stack[_length-1]!=UNDEFINED){_value=_stack[_length-1]}_update.call(this,false)}}else{if(_msie&&diff){if(_version<7){_l.reload()}else{this.setValue(hash)}}else{if(diff){_value=hash;_update.call(this,false)}}}if(_msie){_titleCheck.call(this)}}};var _bodyClick=function(e){if(_popup.length>0){var popup=window.open(_popup[0],_popup[1],eval(_popup[2]));if(typeof _popup[3]!=UNDEFINED){eval(_popup[3])}}_popup=[]};var _swfChange=function(){for(var i=0,id,obj,value=SWFAddress.getValue(),setter="setSWFAddressValue";id=_ids[i];i++){obj=document.getElementById(id);if(obj){if(obj.parentNode&&typeof obj.parentNode.so!=UNDEFINED){obj.parentNode.so.call(setter,value)}else{if(!(obj&&typeof obj[setter]!=UNDEFINED)){var objects=obj.getElementsByTagName("object");var embeds=obj.getElementsByTagName("embed");obj=((objects[0]&&typeof objects[0][setter]!=UNDEFINED)?objects[0]:((embeds[0]&&typeof embeds[0][setter]!=UNDEFINED)?embeds[0]:null))}if(obj){obj[setter](value)}}}else{if(obj=document[id]){if(typeof obj[setter]!=UNDEFINED){obj[setter](value)}}}}};var _jsDispatch=function(type){this.dispatchEvent(new SWFAddressEvent(type));type=type.substr(0,1).toUpperCase()+type.substr(1);if(typeof this["on"+type]==FUNCTION){this["on"+type]()}};var _jsInit=function(){if(_util.Browser.isSafari()){_d.body.addEventListener("click",_bodyClick)}_jsDispatch.call(this,"init")};var _jsChange=function(){_swfChange();_jsDispatch.call(this,"change")};var _update=function(internal){_jsChange.call(this);if(internal){_jsDispatch.call(this,"internalChange")}else{_jsDispatch.call(this,"externalChange")}_st(_functions.bind(_track,this),10)};var _track=function(){var value=(_l.pathname+(/\/$/.test(_l.pathname)?"":"/")+this.getValue()).replace(/\/\//,"/").replace(/^\/$/,"");var fn=_t[_opts.tracker];if(typeof fn==FUNCTION){fn(value)}else{if(typeof _t.pageTracker!=UNDEFINED&&typeof _t.pageTracker._trackPageview==FUNCTION){_t.pageTracker._trackPageview(value)}else{if(typeof _t.urchinTracker==FUNCTION){_t.urchinTracker(value)}}}};var _htmlWrite=function(){var doc=_frame.contentWindow.document;doc.open();doc.write("<html><head><title>"+_d.title+"</title><script>var "+ID+' = "'+_getHash()+'";<\/script></head></html>');doc.close()};var _htmlLoad=function(){var win=_frame.contentWindow;var src=win.location.href;_value=(typeof win[ID]!=UNDEFINED?win[ID]:"");if(_value!=_getHash()){_update.call(SWFAddress,false);_l.hash=_ieLocal(_value,TRUE)}};var _load=function(){if(!_loaded){_loaded=TRUE;if(_msie&&_version<8){var frameset=_d.getElementsByTagName("frameset")[0];_frame=_d.createElement((frameset?"":"i")+"frame");if(frameset){frameset.insertAdjacentElement("beforeEnd",_frame);frameset[frameset.cols?"cols":"rows"]+=",0";_frame.src="javascript:false";_frame.noResize=true;_frame.frameBorder=_frame.frameSpacing=0}else{_frame.src="javascript:false";_frame.style.display="none";_d.body.insertAdjacentElement("afterBegin",_frame)}_st(function(){_events.addListener(_frame,"load",_htmlLoad);if(typeof _frame.contentWindow[ID]==UNDEFINED){_htmlWrite()}},50)}else{if(_safari){if(_version<418){_d.body.innerHTML+='<form id="'+ID+'" style="position:absolute;top:-9999px;" method="get"></form>';_form=_d.getElementById(ID)}if(typeof _l[ID]==UNDEFINED){_l[ID]={}}if(typeof _l[ID][_l.pathname]!=UNDEFINED){_stack=_l[ID][_l.pathname].split(",")}}}_st(_functions.bind(function(){_jsInit.call(this);_jsChange.call(this);_track.call(this)},this),1);if(_msie&&_version>=8){_d.body.onhashchange=_functions.bind(_listen,this);_si(_functions.bind(_titleCheck,this),50)}else{_si(_functions.bind(_listen,this),50)}}};var ID="swfaddress",FUNCTION="function",UNDEFINED="undefined",TRUE=true,FALSE=false,_util=asual.util,_browser=_util.Browser,_events=_util.Events,_functions=_util.Functions,_version=_browser.getVersion(),_msie=_browser.isMSIE(),_mozilla=_browser.isMozilla(),_opera=_browser.isOpera(),_safari=_browser.isSafari(),_supported=FALSE,_t=_getWindow(),_d=_t.document,_h=_t.history,_l=_t.location,_si=setInterval,_st=setTimeout,_dc=decodeURI,_ec=encodeURI,_frame,_form,_url,_title=_d.title,_length=_h.length,_silent=FALSE,_loaded=FALSE,_justset=TRUE,_juststart=TRUE,_ref=this,_stack=[],_ids=[],_popup=[],_listeners={},_value=_getHash(),_opts={history:TRUE,strict:TRUE};if(_msie&&_d.documentMode&&_d.documentMode!=_version){_version=_d.documentMode!=8?7:8}_supported=(_mozilla&&_version>=1)||(_msie&&_version>=6)||(_opera&&_version>=9.5)||(_safari&&_version>=312);if(_supported){if(_opera){history.navigationMode="compatible"}for(var i=1;i<_length;i++){_stack.push("")}_stack.push(_getHash());if(_msie&&_l.hash!=_getHash()){_l.hash="#"+_ieLocal(_getHash(),TRUE)}_searchScript(document);var _qi=_url?_url.indexOf("?"):-1;if(_qi!=-1){var param,params=_url.substr(_qi+1).split("&");for(var i=0,p;p=params[i];i++){param=p.split("=");if(/^(history|strict)$/.test(param[0])){_opts[param[0]]=(isNaN(param[1])?/^(true|yes)$/i.test(param[1]):(parseInt(param[1])!=0))}if(/^tracker$/.test(param[0])){_opts[param[0]]=param[1]}}}if(_msie){_titleCheck.call(this)}if(window==_t){_events.addListener(document,"DOMContentLoaded",_functions.bind(_load,this))}_events.addListener(_t,"load",_functions.bind(_load,this))}else{if((!_supported&&_l.href.indexOf("#")!=-1)||(_safari&&_version<418&&_l.href.indexOf("#")!=-1&&_l.search!="")){_d.open();_d.write('<html><head><meta http-equiv="refresh" content="0;url='+_l.href.substr(0,_l.href.indexOf("#"))+'" /></head></html>');_d.close()}else{_track()}}this.toString=function(){return"[class SWFAddress]"};this.back=function(){_h.back()};this.forward=function(){_h.forward()};this.up=function(){var path=this.getPath();this.setValue(path.substr(0,path.lastIndexOf("/",path.length-2)+(path.substr(path.length-1)=="/"?1:0)))};this.go=function(delta){_h.go(delta)};this.href=function(url,target){target=typeof target!=UNDEFINED?target:"_self";if(target=="_self"){self.location.href=url}else{if(target=="_top"){_l.href=url}else{if(target=="_blank"){window.open(url)}else{_t.frames[target].location.href=url}}}};this.popup=function(url,name,options,handler){try{var popup=window.open(url,name,eval(options));if(typeof handler!=UNDEFINED){eval(handler)}}catch(ex){}_popup=arguments};this.getIds=function(){return _ids};this.getId=function(index){return _ids[0]};this.setId=function(id){_ids[0]=id};this.addId=function(id){this.removeId(id);_ids.push(id)};this.removeId=function(id){for(var i=0;i<_ids.length;i++){if(id==_ids[i]){_ids.splice(i,1);break}}};this.addEventListener=function(type,listener){if(typeof _listeners[type]==UNDEFINED){_listeners[type]=[]}_listeners[type].push(listener)};this.removeEventListener=function(type,listener){if(typeof _listeners[type]!=UNDEFINED){for(var i=0,l;l=_listeners[type][i];i++){if(l==listener){break}}_listeners[type].splice(i,1)}};this.dispatchEvent=function(event){if(this.hasEventListener(event.type)){event.target=this;for(var i=0,l;l=_listeners[event.type][i];i++){l(event)}return TRUE}return FALSE};this.hasEventListener=function(type){return(typeof _listeners[type]!=UNDEFINED&&_listeners[type].length>0)};this.getBaseURL=function(){var url=_l.href;if(url.indexOf("#")!=-1){url=url.substr(0,url.indexOf("#"))}if(url.substr(url.length-1)=="/"){url=url.substr(0,url.length-1)}return url};this.getStrict=function(){return _opts.strict};this.setStrict=function(strict){_opts.strict=strict};this.getHistory=function(){return _opts.history};this.setHistory=function(history){_opts.history=history};this.getTracker=function(){return _opts.tracker};this.setTracker=function(tracker){_opts.tracker=tracker};this.getTitle=function(){return _d.title};this.setTitle=function(title){if(!_supported){return null}if(typeof title==UNDEFINED){return}if(title=="null"){title=""}title=_dc(title);_st(function(){_title=_d.title=title;if(_juststart&&_frame&&_frame.contentWindow&&_frame.contentWindow.document){_frame.contentWindow.document.title=title;_juststart=FALSE}if(!_justset&&_mozilla){_l.replace(_l.href.indexOf("#")!=-1?_l.href:_l.href+"#")}_justset=FALSE},10)};this.getStatus=function(){return _t.status};this.setStatus=function(status){if(!_supported){return null}if(typeof status==UNDEFINED){return}if(status=="null"){status=""}status=_dc(status);if(!_safari){status=_strictCheck((status!="null")?status:"",TRUE);if(status=="/"){status=""}if(!(/http(s)?:\/\//.test(status))){var index=_l.href.indexOf("#");status=(index==-1?_l.href:_l.href.substr(0,index))+"#"+status}_t.status=status}};this.resetStatus=function(){_t.status=""};this.getValue=function(){if(!_supported){return null}return _dc(_strictCheck(_ieLocal(_value,FALSE),FALSE))};this.setValue=function(value){if(!_supported){return null}if(typeof value==UNDEFINED){return}if(value=="null"){value=""}value=_ec(_dc(_strictCheck(value,TRUE)));if(value=="/"){value=""}if(_value==value){return}_justset=TRUE;_value=value;_silent=TRUE;_update.call(SWFAddress,true);_stack[_h.length]=_value;if(_safari){if(_opts.history){_l[ID][_l.pathname]=_stack.toString();_length=_h.length+1;if(_version<418){if(_l.search==""){_form.action="#"+_value;_form.submit()}}else{if(_version<523||_value==""){var evt=_d.createEvent("MouseEvents");evt.initEvent("click",TRUE,TRUE);var anchor=_d.createElement("a");anchor.href="#"+_value;anchor.dispatchEvent(evt)}else{_l.hash="#"+_value}}}else{_l.replace("#"+_value)}}else{if(_value!=_getHash()){if(_opts.history){_l.hash="#"+_dc(_ieLocal(_value,TRUE))}else{_l.replace("#"+_dc(_value))}}}if((_msie&&_version<8)&&_opts.history){_st(_htmlWrite,50)}if(_safari){_st(function(){_silent=FALSE},1)}else{_silent=FALSE}};this.getPath=function(){var value=this.getValue();if(value.indexOf("?")!=-1){return value.split("?")[0]}else{if(value.indexOf("#")!=-1){return value.split("#")[0]}else{return value}}};this.getPathNames=function(){var path=this.getPath(),names=path.split("/");if(path.substr(0,1)=="/"||path.length==0){names.splice(0,1)}if(path.substr(path.length-1,1)=="/"){names.splice(names.length-1,1)}return names};this.getQueryString=function(){var value=this.getValue(),index=value.indexOf("?");if(index!=-1&&index<value.length){return value.substr(index+1)}};this.getParameter=function(param){var value=this.getValue();var index=value.indexOf("?");if(index!=-1){value=value.substr(index+1);var p,params=value.split("&"),i=params.length,r=[];while(i--){p=params[i].split("=");if(p[0]==param){r.push(p[1])}}if(r.length!=0){return r.length!=1?r:r[0]}}};this.getParameterNames=function(){var value=this.getValue();var index=value.indexOf("?");var names=[];if(index!=-1){value=value.substr(index+1);if(value!=""&&value.indexOf("=")!=-1){var params=value.split("&"),i=0;while(i<params.length){names.push(params[i].split("=")[0]);i++}}}return names};this.onInit=null;this.onChange=null;this.onInternalChange=null;this.onExternalChange=null;(function(){var _args;if(typeof FlashObject!=UNDEFINED){SWFObject=FlashObject}if(typeof SWFObject!=UNDEFINED&&SWFObject.prototype&&SWFObject.prototype.write){var _s1=SWFObject.prototype.write;SWFObject.prototype.write=function(){_args=arguments;if(this.getAttribute("version").major<8){this.addVariable("$swfaddress",SWFAddress.getValue());((typeof _args[0]=="string")?document.getElementById(_args[0]):_args[0]).so=this}var success;if(success=_s1.apply(this,_args)){_ref.addId(this.getAttribute("id"))}return success}}if(typeof swfobject!=UNDEFINED){var _s2r=swfobject.registerObject;swfobject.registerObject=function(){_args=arguments;_s2r.apply(this,_args);_ref.addId(_args[0])};var _s2c=swfobject.createSWF;swfobject.createSWF=function(){_args=arguments;var swf=_s2c.apply(this,_args);if(swf){_ref.addId(_args[0].id)}return swf};var _s2e=swfobject.embedSWF;swfobject.embedSWF=function(){_args=arguments;if(typeof _args[8]==UNDEFINED){_args[8]={}}if(typeof _args[8].id==UNDEFINED){_args[8].id=_args[1]}_s2e.apply(this,_args);_ref.addId(_args[8].id)}}if(typeof UFO!=UNDEFINED){var _u=UFO.create;UFO.create=function(){_args=arguments;_u.apply(this,_args);_ref.addId(_args[0].id)}}if(typeof AC_FL_RunContent!=UNDEFINED){var _a=AC_FL_RunContent;AC_FL_RunContent=function(){_args=arguments;_a.apply(this,_args);for(var i=0,l=_args.length;i<l;i++){if(_args[i]=="id"){_ref.addId(_args[i+1])}}}}})()};;
/*
 * jQuery UI Effects 1.5.3
 *
 * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 * 
 * http://docs.jquery.com/UI/Effects/
 */
;(function($) {

$.effects = $.effects || {}; //Add the 'effects' scope

$.extend($.effects, {
	save: function(el, set) {
		for(var i=0;i<set.length;i++) {
			if(set[i] !== null) $.data(el[0], "ec.storage."+set[i], el[0].style[set[i]]);
		}
	},
	restore: function(el, set) {
		for(var i=0;i<set.length;i++) {
			if(set[i] !== null) el.css(set[i], $.data(el[0], "ec.storage."+set[i]));
		}
	},
	setMode: function(el, mode) {
		if (mode == 'toggle') mode = el.is(':hidden') ? 'show' : 'hide'; // Set for toggle
		return mode;
	},
	getBaseline: function(origin, original) { // Translates a [top,left] array into a baseline value
		// this should be a little more flexible in the future to handle a string & hash
		var y, x;
		switch (origin[0]) {
			case 'top': y = 0; break;
			case 'middle': y = 0.5; break;
			case 'bottom': y = 1; break;
			default: y = origin[0] / original.height;
		};
		switch (origin[1]) {
			case 'left': x = 0; break;
			case 'center': x = 0.5; break;
			case 'right': x = 1; break;
			default: x = origin[1] / original.width;
		};
		return {x: x, y: y};
	},
	createWrapper: function(el) {
		if (el.parent().attr('id') == 'fxWrapper')
			return el;
		var props = {width: el.outerWidth({margin:true}), height: el.outerHeight({margin:true}), 'float': el.css('float')};
		el.wrap('<div id="fxWrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');
		var wrapper = el.parent();
		if (el.css('position') == 'static'){
			wrapper.css({position: 'relative'});
			el.css({position: 'relative'});
		} else {
			var top = el.css('top'); if(isNaN(parseInt(top))) top = 'auto';
			var left = el.css('left'); if(isNaN(parseInt(left))) left = 'auto';
			wrapper.css({ position: el.css('position'), top: top, left: left, zIndex: el.css('z-index') }).show();
			el.css({position: 'relative', top:0, left:0});
		}
		wrapper.css(props);
		return wrapper;
	},
	removeWrapper: function(el) {
		if (el.parent().attr('id') == 'fxWrapper')
			return el.parent().replaceWith(el);
		return el;
	},
	setTransition: function(el, list, factor, val) {
		val = val || {};
		$.each(list,function(i, x){
			unit = el.cssUnit(x);
			if (unit[0] > 0) val[x] = unit[0] * factor + unit[1];
		});
		return val;
	},
	animateClass: function(value, duration, easing, callback) {

		var cb = (typeof easing == "function" ? easing : (callback ? callback : null));
		var ea = (typeof easing == "object" ? easing : null);

		return this.each(function() {

			var offset = {}; var that = $(this); var oldStyleAttr = that.attr("style") || '';
			if(typeof oldStyleAttr == 'object') oldStyleAttr = oldStyleAttr["cssText"]; /* Stupidly in IE, style is a object.. */
			if(value.toggle) { that.hasClass(value.toggle) ? value.remove = value.toggle : value.add = value.toggle; }

			//Let's get a style offset
			var oldStyle = $.extend({}, (document.defaultView ? document.defaultView.getComputedStyle(this,null) : this.currentStyle));
			if(value.add) that.addClass(value.add); if(value.remove) that.removeClass(value.remove);
			var newStyle = $.extend({}, (document.defaultView ? document.defaultView.getComputedStyle(this,null) : this.currentStyle));
			if(value.add) that.removeClass(value.add); if(value.remove) that.addClass(value.remove);

			// The main function to form the object for animation
			for(var n in newStyle) {
				if( typeof newStyle[n] != "function" && newStyle[n] /* No functions and null properties */
				&& n.indexOf("Moz") == -1 && n.indexOf("length") == -1 /* No mozilla spezific render properties. */
				&& newStyle[n] != oldStyle[n] /* Only values that have changed are used for the animation */
				&& (n.match(/color/i) || (!n.match(/color/i) && !isNaN(parseInt(newStyle[n],10)))) /* Only things that can be parsed to integers or colors */
				&& (oldStyle.position != "static" || (oldStyle.position == "static" && !n.match(/left|top|bottom|right/))) /* No need for positions when dealing with static positions */
				) offset[n] = newStyle[n];
			}

			that.animate(offset, duration, ea, function() { // Animate the newly constructed offset object
				// Change style attribute back to original. For stupid IE, we need to clear the damn object.
				if(typeof $(this).attr("style") == 'object') { $(this).attr("style")["cssText"] = ""; $(this).attr("style")["cssText"] = oldStyleAttr; } else $(this).attr("style", oldStyleAttr);
				if(value.add) $(this).addClass(value.add); if(value.remove) $(this).removeClass(value.remove);
				if(cb) cb.apply(this, arguments);
			});

		});
	}
});

//Extend the methods of jQuery
$.fn.extend({
	//Save old methods
	_show: $.fn.show,
	_hide: $.fn.hide,
	__toggle: $.fn.toggle,
	_addClass: $.fn.addClass,
	_removeClass: $.fn.removeClass,
	_toggleClass: $.fn.toggleClass,
	// New ec methods
	effect: function(fx,o,speed,callback) {
		return $.effects[fx] ? $.effects[fx].call(this, {method: fx, options: o || {}, duration: speed, callback: callback }) : null;
	},
	show: function() {
		if(!arguments[0] || (arguments[0].constructor == Number || /(slow|normal|fast)/.test(arguments[0])))
			return this._show.apply(this, arguments);
		else {
			var o = arguments[1] || {}; o['mode'] = 'show';
			return this.effect.apply(this, [arguments[0], o, arguments[2] || o.duration, arguments[3] || o.callback]);
		}
	},
	hide: function() {
		if(!arguments[0] || (arguments[0].constructor == Number || /(slow|normal|fast)/.test(arguments[0])))
			return this._hide.apply(this, arguments);
		else {
			var o = arguments[1] || {}; o['mode'] = 'hide';
			return this.effect.apply(this, [arguments[0], o, arguments[2] || o.duration, arguments[3] || o.callback]);
		}
	},
	toggle: function(){
		if(!arguments[0] || (arguments[0].constructor == Number || /(slow|normal|fast)/.test(arguments[0])) || (arguments[0].constructor == Function))
			return this.__toggle.apply(this, arguments);
		else {
			var o = arguments[1] || {}; o['mode'] = 'toggle';
			return this.effect.apply(this, [arguments[0], o, arguments[2] || o.duration, arguments[3] || o.callback]);
		}
	},
	addClass: function(classNames,speed,easing,callback) {
		return speed ? $.effects.animateClass.apply(this, [{ add: classNames },speed,easing,callback]) : this._addClass(classNames);
	},
	removeClass: function(classNames,speed,easing,callback) {
		return speed ? $.effects.animateClass.apply(this, [{ remove: classNames },speed,easing,callback]) : this._removeClass(classNames);
	},
	toggleClass: function(classNames,speed,easing,callback) {
		return speed ? $.effects.animateClass.apply(this, [{ toggle: classNames },speed,easing,callback]) : this._toggleClass(classNames);
	},
	morph: function(remove,add,speed,easing,callback) {
		return $.effects.animateClass.apply(this, [{ add: add, remove: remove },speed,easing,callback]);
	},
	switchClass: function() {
		return this.morph.apply(this, arguments);
	},
	// helper functions
	cssUnit: function(key) {
		var style = this.css(key), val = [];
		$.each( ['em','px','%','pt'], function(i, unit){
			if(style.indexOf(unit) > 0)
				val = [parseFloat(style), unit];
		});
		return val;
	}
});

/*
 * jQuery Color Animations
 * Copyright 2007 John Resig
 * Released under the MIT and GPL licenses.
 */

// We override the animation for all of these color styles
jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){
		jQuery.fx.step[attr] = function(fx){
				if ( fx.state == 0 ) {
						fx.start = getColor( fx.elem, attr );
						fx.end = getRGB( fx.end );
				}

				fx.elem.style[attr] = "rgb(" + [
						Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0),
						Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0),
						Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0)
				].join(",") + ")";
		}
});

// Color Conversion functions from highlightFade
// By Blair Mitchelmore
// http://jquery.offput.ca/highlightFade/

// Parse strings looking for color tuples [255,255,255]
function getRGB(color) {
		var result;

		// Check if we're already dealing with an array of colors
		if ( color && color.constructor == Array && color.length == 3 )
				return color;

		// Look for rgb(num,num,num)
		if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))
				return [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])];

		// Look for rgb(num%,num%,num%)
		if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))
				return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];

		// Look for #a0b1c2
		if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))
				return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];

		// Look for #fff
		if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))
				return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];

		// Look for rgba(0, 0, 0, 0) == transparent in Safari 3
		if (result = /rgba\(0, 0, 0, 0\)/.exec(color))
				return colors['transparent']

		// Otherwise, we're most likely dealing with a named color
		return colors[jQuery.trim(color).toLowerCase()];
}

function getColor(elem, attr) {
		var color;

		do {
				color = jQuery.curCSS(elem, attr);

				// Keep going until we find an element that has color, or we hit the body
				if ( color != '' && color != 'transparent' || jQuery.nodeName(elem, "body") )
						break;

				attr = "backgroundColor";
		} while ( elem = elem.parentNode );

		return getRGB(color);
};

// Some named colors to work with
// From Interface by Stefan Petre
// http://interface.eyecon.ro/

var colors = {
	aqua:[0,255,255],
	azure:[240,255,255],
	beige:[245,245,220],
	black:[0,0,0],
	blue:[0,0,255],
	brown:[165,42,42],
	cyan:[0,255,255],
	darkblue:[0,0,139],
	darkcyan:[0,139,139],
	darkgrey:[169,169,169],
	darkgreen:[0,100,0],
	darkkhaki:[189,183,107],
	darkmagenta:[139,0,139],
	darkolivegreen:[85,107,47],
	darkorange:[255,140,0],
	darkorchid:[153,50,204],
	darkred:[139,0,0],
	darksalmon:[233,150,122],
	darkviolet:[148,0,211],
	fuchsia:[255,0,255],
	gold:[255,215,0],
	green:[0,128,0],
	indigo:[75,0,130],
	khaki:[240,230,140],
	lightblue:[173,216,230],
	lightcyan:[224,255,255],
	lightgreen:[144,238,144],
	lightgrey:[211,211,211],
	lightpink:[255,182,193],
	lightyellow:[255,255,224],
	lime:[0,255,0],
	magenta:[255,0,255],
	maroon:[128,0,0],
	navy:[0,0,128],
	olive:[128,128,0],
	orange:[255,165,0],
	pink:[255,192,203],
	purple:[128,0,128],
	violet:[128,0,128],
	red:[255,0,0],
	silver:[192,192,192],
	white:[255,255,255],
	yellow:[255,255,0],
	transparent: [255,255,255]
};
	
/*
 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
 *
 * Uses the built in easing capabilities added In jQuery 1.1
 * to offer multiple easing options
 *
 * TERMS OF USE - jQuery Easing
 * 
 * Open source under the BSD License. 
 * 
 * Copyright Â© 2008 George McGinley Smith
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
*/

// t: current time, b: begInnIng value, c: change In value, d: duration
jQuery.easing['jswing'] = jQuery.easing['swing'];

jQuery.extend( jQuery.easing,
{
	def: 'easeOutQuad',
	swing: function (x, t, b, c, d) {
		//alert(jQuery.easing.default);
		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
	},
	easeInQuad: function (x, t, b, c, d) {
		return c*(t/=d)*t + b;
	},
	easeOutQuad: function (x, t, b, c, d) {
		return -c *(t/=d)*(t-2) + b;
	},
	easeInOutQuad: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t + b;
		return -c/2 * ((--t)*(t-2) - 1) + b;
	},
	easeInCubic: function (x, t, b, c, d) {
		return c*(t/=d)*t*t + b;
	},
	easeOutCubic: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t + 1) + b;
	},
	easeInOutCubic: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t + b;
		return c/2*((t-=2)*t*t + 2) + b;
	},
	easeInQuart: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t + b;
	},
	easeOutQuart: function (x, t, b, c, d) {
		return -c * ((t=t/d-1)*t*t*t - 1) + b;
	},
	easeInOutQuart: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
		return -c/2 * ((t-=2)*t*t*t - 2) + b;
	},
	easeInQuint: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t*t + b;
	},
	easeOutQuint: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t*t*t + 1) + b;
	},
	easeInOutQuint: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
		return c/2*((t-=2)*t*t*t*t + 2) + b;
	},
	easeInSine: function (x, t, b, c, d) {
		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
	},
	easeOutSine: function (x, t, b, c, d) {
		return c * Math.sin(t/d * (Math.PI/2)) + b;
	},
	easeInOutSine: function (x, t, b, c, d) {
		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
	},
	easeInExpo: function (x, t, b, c, d) {
		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
	},
	easeOutExpo: function (x, t, b, c, d) {
		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
	},
	easeInOutExpo: function (x, t, b, c, d) {
		if (t==0) return b;
		if (t==d) return b+c;
		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
	},
	easeInCirc: function (x, t, b, c, d) {
		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
	},
	easeOutCirc: function (x, t, b, c, d) {
		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
	},
	easeInOutCirc: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
	},
	easeInElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
	},
	easeOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
	},
	easeInOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
	},
	easeInBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*(t/=d)*t*((s+1)*t - s) + b;
	},
	easeOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
	},
	easeInOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158; 
		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
	},
	easeInBounce: function (x, t, b, c, d) {
		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
	},
	easeOutBounce: function (x, t, b, c, d) {
		if ((t/=d) < (1/2.75)) {
			return c*(7.5625*t*t) + b;
		} else if (t < (2/2.75)) {
			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
		} else if (t < (2.5/2.75)) {
			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
		} else {
			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
		}
	},
	easeInOutBounce: function (x, t, b, c, d) {
		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
	}
});

/*
 *
 * TERMS OF USE - EASING EQUATIONS
 * 
 * Open source under the BSD License. 
 * 
 * Copyright Â© 2001 Robert Penner
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
 */

})(jQuery);
;
/*
 * jQuery UI Effects Slide
 *
 * Copyright (c) 2008 Aaron Eisenberger (aaronchi@gmail.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 * 
 * http://docs.jquery.com/UI/Effects/Slide
 *
 * Depends:
 *	effects.core.js
 */
(function($) {

$.effects.slide = function(o) {

	return this.queue(function() {

		// Create element
		var el = $(this), props = ['position','top','left'];
		
		// Set options
		var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode
		var direction = o.options.direction || 'left'; // Default Direction
		
		// Adjust
		$.effects.save(el, props); el.show(); // Save & Show
		$.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
		var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
		var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
		var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) : el.outerWidth({margin:true}));
		if (mode == 'show') el.css(ref, motion == 'pos' ? -distance : distance); // Shift
		
		// Animation
		var animation = {};
		animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance;
		
		// Animate
		el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
			if(mode == 'hide') el.hide(); // Hide
			$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
			if(o.callback) o.callback.apply(this, arguments); // Callback
			el.dequeue();
		}});
		
	});
	
};

})(jQuery);
;
/*
Supersized - Fullscreen Slideshow jQuery Plugin
Version 3.0.1 >> Modifications by Quinn Merio @EvansHunt Dec 15, 2010
By Sam Dunn (www.buildinternet.com // www.onemightyroar.com)
Version: supersized.3.0.js
Website: www.buildinternet.com/project/supersized
*/

(function($){


	//Resize image on ready or resize
	$.fn.supersized = function(_options) {
		
		$.fn.supersized.options = _options;
		
		$.inAnimation = false;
		$.paused = false;

		
		var options = $.extend($.fn.supersized.defaults, $.fn.supersized.options);
		$.currentSlide = options.start_slide - 1;
		
		/******Set up initial images -- Add class doesnt work*****/
		var imageLink;
		
		if (options.slideshow == 1){
			//Set previous image
			imageLink = (options.slides[options.slides.length - 1].url) ? "href='" + options.slides[options.slides.length - 1].url + "'" : "";
			// $("<img/>").attr("src", options.slides[options.slides.length - 1].image).appendTo("#supersized").wrap("<a " + imageLink + "></a>");//Doesnt account for start slide
			$("<div/>").addClass('supersized-img').css("background-image", 'url(' + options.slides[options.slides.length - 1].image + ')').appendTo("#supersized").wrap("<a " + imageLink + "></a>");//Doesnt account for start slide
		}
		//Set current image
		imageLink = (options.slides[$.currentSlide].url) ? "href='" + options.slides[$.currentSlide].url + "'" : "";
		// $("<img/>").attr("src", options.slides[$.currentSlide].image).appendTo("#supersized").wrap("<a class=\"activeslide\" " + imageLink + "></a>");
		$("<div/>").addClass('supersized-img').css("background-image", 'url(' + options.slides[$.currentSlide].image + ')').appendTo("#supersized").wrap("<a class=\"activeslide\" " + imageLink + "></a>");
		
		if (options.slideshow == 1){
			//Set next image
			imageLink = (options.slides[$.currentSlide + 1].url) ? "href='" + options.slides[$.currentSlide + 1].url + "'" : "";
			// $("<img/>").attr("src", options.slides[$.currentSlide + 1].image).appendTo("#supersized").wrap("<a " + imageLink + "></a>");
			$("<div/>").addClass('supersized-img').css("background-image", 'url(' + options.slides[$.currentSlide + 1].image + ')').appendTo("#supersized").wrap("<a " + imageLink + "></a>");
		}
		
		// Bind the onSlideLoadedEvent
		this.bind( 'onSlideLoaded', options.onSlideLoadedCallback );
		
	
		
		$(window).bind("load", function(){
			
			$('#loading').hide();
			$('#supersized').fadeIn('fast');
			$('#controls-wrapper').show();
			
			// Trigger custom onSlideLoaded
			$('#supersized').trigger('onSlideLoaded', { 'slide' : options.slides[$.currentSlide] } );
			
			if (options.thumbnail_navigation == 1){
			
				/*****Set up thumbnails****/
				//Load previous thumbnail
				$.currentSlide - 1 < 0  ? prevThumb = options.slides.length - 1 : prevThumb = $.currentSlide - 1;
				$('#prevthumb').show().html($("<img/>").attr("src", options.slides[prevThumb].image));
				
				//Load next thumbnail
				$.currentSlide == options.slides.length - 1 ? nextThumb = 0 : nextThumb = $.currentSlide + 1;
				$('#nextthumb').show().html($("<img/>").attr("src", options.slides[nextThumb].image));
		
			}
			
			$('#supersized').resizenow();
			
			if (options.slide_captions == 1) $('#slidecaption').html(options.slides[$.currentSlide].title);//*********Pull caption from array
			if (options.navigation == 0) $('#navigation').hide();
			if (options.thumbnail_navigation == 0){ $('#nextthumb').hide(); $('#prevthumb').hide(); }
			
			//Slideshow
			if (options.slideshow == 1){
				if (options.slide_counter == 1){ //Initiate slide counter if active
					$('#slidecounter .slidenumber').html(options.start_slide);
	    			$('#slidecounter .totalslides').html(options.slides.length); //*******Pull total from length of array
	    		}
				slideshow_interval = setInterval(nextslide, options.slide_interval);
				
				if (options.thumbnail_navigation == 1){
					//Thumbnail Navigation
					$('#nextthumb').click(function() {
				    	if($.inAnimation) return false;
					    clearInterval(slideshow_interval);
					    nextslide();
					    if(!($.paused)) slideshow_interval = setInterval(nextslide, options.slide_interval);
					    return false;
				    });
				    $('#prevthumb').click(function() {
				    	if($.inAnimation) return false;
				        clearInterval(slideshow_interval);
				        prevslide();
				       	if(!($.paused)) slideshow_interval = setInterval(nextslide, options.slide_interval);
				        return false;
				    });
					}
				
				if (options.navigation == 1){ //Skip if no navigation
					$('#navigation a').click(function(){  
   						$(this).blur();  
   						return false;  
   					});
   					 	
					//Slide Navigation
				    $('#nextslide').click(function() {
				    	if($.inAnimation) return false;
					    clearInterval(slideshow_interval);
					    nextslide();
					    if(!($.paused)) slideshow_interval = setInterval(nextslide, options.slide_interval);
					    return false;
				    });
				    $('#prevslide').click(function() {
				    	if($.inAnimation) return false;
				        clearInterval(slideshow_interval);
				        prevslide();
				        if(!($.paused)) slideshow_interval = setInterval(nextslide, options.slide_interval);
				        return false;
				    });
				    $('#nextslide').mousedown(function() {
					   	$(this).attr("src", "images/forward.png");
					});
					$('#nextslide').mouseup(function() {
					    $(this).attr("src", "images/forward_dull.png");
					});
					$('#nextslide').mouseout(function() {
					    $(this).attr("src", "images/forward_dull.png");
					});
					
					$('#prevslide').mousedown(function() {
					    $(this).attr("src", "images/back.png");
					});
					$('#prevslide').mouseup(function() {
					    $(this).attr("src", "images/back_dull.png");
					});
					$('#prevslide').mouseout(function() {
					    $(this).attr("src", "images/back_dull.png");
					});
					
				    //Play/Pause Button
				    $('#pauseplay').click(function() {
				    	if($.inAnimation) return false;
				    	var src = ($(this).attr("src") === "images/play.png") ? "images/pause.png" : "images/play.png";
      					if (src == "images/pause.png"){
      						$(this).attr("src", "images/play.png");
      						$.paused = false;
					        slideshow_interval = setInterval(nextslide, options.slide_interval);  
				        }else{
				        	$(this).attr("src", "images/pause.png");
				        	clearInterval(slideshow_interval);
				        	$.paused = true;
				        }
      					$(this).attr("src", src);
					    return false;
				    });
				    $('#pauseplay').mouseover(function() {
				    	var imagecheck = ($(this).attr("src") === "images/play_dull.png");
				    	if (imagecheck){
      						$(this).attr("src", "images/play.png"); 
				        }else{
				        	$(this).attr("src", "images/pause.png");
				        }
				    });
				    
				    $('#pauseplay').mouseout(function() {
				    	var imagecheck = ($(this).attr("src") === "images/play.png");
				    	if (imagecheck){
      						$(this).attr("src", "images/play_dull.png"); 
				        }else{
				        	$(this).attr("src", "images/pause_dull.png");
				        }
				        return false;
				    });
				}
			}
			
		});
				
		$(document).ready(function() {
			$('#supersized').resizenow(); 
		});
		
		//Pause when hover on image
		$('#supersized').hover(function() {
	   		if (options.slideshow == 1 && options.pause_hover == 1){
	   			if(!($.paused) && options.navigation == 1){
	   				$('#pauseplay').attr("src", "images/pause.png"); 
	   				clearInterval(slideshow_interval);
	   			}
	   		}
	   		if($.inAnimation) return false; //*******Pull title from array
	   	}, function() {
			if (options.slideshow == 1 && options.pause_hover == 1){
				if(!($.paused) && options.navigation == 1){
					$('#pauseplay').attr("src", "images/pause_dull.png");
					slideshow_interval = setInterval(nextslide, options.slide_interval);
				} 
			}
				//*******Pull title from array
	   	});
		
		$(window).bind("resize", function(){
    		//$('#supersized').resizenow(); 
		});
		
		$('#supersized').hide();
		$('#controls-wrapper').hide();
		
	};
	
	
	$.fn.pause = function () {
		clearInterval(slideshow_interval);
		$.paused = true;
	}
	$.fn.resume = function () {
		options = $.fn.supersized.options;
		$.paused = false;
		slideshow_interval = setInterval(nextslide, options.slide_interval); 
	}
	
	
	//Adjust image size
	$.fn.resizenow = function() {
		var t = $(this);
		var options = $.extend($.fn.supersized.defaults, $.fn.supersized.options);
	  	return t.each(function() {
	  		
			//Define image ratio
			var ratio = options.startheight/options.startwidth;
			
			//Gather browser and current image size
			var imagewidth = t.width();
			var imageheight = t.height();
			var browserwidth = $(window).width();
			var browserheight = $(window).height();
			var offset;

			//Resize image to proper ratio
			// if ((browserheight/browserwidth) > ratio){
			// 			    t.height(browserheight);
			// 			    t.width(browserheight / ratio);
			// 			    t.children().height(browserheight);
			// 			    t.children().width(browserheight / ratio);
			// 			} else {
			// 			    t.width(browserwidth);
			// 			    t.height(browserwidth * ratio);
			// 			    t.children().width(browserwidth);
			// 			    t.children().height(browserwidth * ratio);
			// 			}
			if (options.vertical_center == 1){
				t.children().css('left', (browserwidth - t.width())/2);
				t.children().css('top', (browserheight - t.height())/2);
			}
			return false;
		});
	};
	
		//Slideshow Next Slide
	function nextslide() {
	
		if($.inAnimation) return false;
		else $.inAnimation = true;
	    var options = $.extend($.fn.supersized.defaults, $.fn.supersized.options);
		
		var currentslide = $('#supersized .activeslide');
	    currentslide.removeClass('activeslide');
		
	    if ( currentslide.length == 0 ) currentslide = $('#supersized a:last'); //*******Check if end of array?
			
	    var nextslide =  currentslide.next().length ? currentslide.next() : $('#supersized a:first'); //*******Array
	    var prevslide =  nextslide.prev().length ? nextslide.prev() : $('#supersized a:last'); //*******Array
		
		$('.prevslide').removeClass('prevslide');
		prevslide.addClass('prevslide');
		
		//Get the slide number of new slide
		$.currentSlide + 1 == options.slides.length ? $.currentSlide = 0 : $.currentSlide++;
		
		/**** Image Loading ****/
		//Load next image
		loadSlide=false;
		$.currentSlide == options.slides.length - 1 ? loadSlide = 0 : loadSlide = $.currentSlide + 1;
		imageLink = (options.slides[loadSlide].url) ? "href='" + options.slides[loadSlide].url + "'" : "";
		// $("<img/>").attr("src", options.slides[loadSlide].image).appendTo("#supersized").wrap("<a " + imageLink + "></a>");
		$("<div/>").addClass('supersized-img').css("background-image", 'url(' + options.slides[loadSlide].image + ')').appendTo("#supersized").wrap("<a " + imageLink + "></a>");
		
		if (options.thumbnail_navigation == 1){
		//Load previous thumbnail
		$.currentSlide - 1 < 0  ? prevThumb = options.slides.length - 1 : prevThumb = $.currentSlide - 1;
		$('#prevthumb').html($("<img/>").attr("src", options.slides[prevThumb].image));
		
		//Load next thumbnail
		nextThumb = loadSlide;
		$('#nextthumb').html($("<img/>").attr("src", options.slides[nextThumb].image));
		}
		
		currentslide.prev().remove(); //Remove Old Image
		
		/**** End Image Loading ****/
		
		//Display slide counter
		if (options.slide_counter == 1){
		    $('#slidecounter .slidenumber').html($.currentSlide + 1);//**display current slide after checking if last
		}
		
		//Captions
	    if (options.slide_captions == 1){
	    	(options.slides[$.currentSlide].title) ? $('#slidecaption').html(options.slides[$.currentSlide].title) : $('#slidecaption').html('') ; //*******Grab next slide's title from array
	    }
		
	    nextslide.hide().addClass('activeslide')
	    	if (options.transition == 0){
	    		nextslide.show(); $.inAnimation = false;
	    	}
	    	if (options.transition == 1){
	    		nextslide.fadeIn(750, function(){$.inAnimation = false;});
	    	}
	    	if (options.transition == 2){
	    		nextslide.show("slide", { direction: "up" }, 'slow', function(){$.inAnimation = false;});
	    	}
	    	if (options.transition == 3){
	    		nextslide.show("slide", { direction: "right" }, 'slow', function(){$.inAnimation = false;});
	    	}
	    	if (options.transition == 4){
	    		nextslide.show("slide", { direction: "down" }, 'slow', function(){$.inAnimation = false;});
	    	}
	    	if (options.transition == 5){
	    		nextslide.show("slide", { direction: "left" }, 'slow', function(){$.inAnimation = false;});
	    	}
	    //$('#supersized').resizenow();
		
		// Trigger custom onSlideLoaded
		$('#supersized').trigger('onSlideLoaded', { 'slide' : options.slides[$.currentSlide] } );
		
	}
	
	//Slideshow Previous Slide
	function prevslide() {
		if($.inAnimation) return false;
		else $.inAnimation = true;
		var options = $.extend($.fn.supersized.defaults, $.fn.supersized.options);
	    
	    var currentslide = $('#supersized .activeslide');
	    currentslide.removeClass('activeslide');
		
	    if ( currentslide.length == 0 ) currentslide = $('#supersized a:first');
			
	    var nextslide =  currentslide.prev().length ? currentslide.prev() : $('#supersized a:last'); //****** If equal to total length of array
	    var prevslide =  nextslide.next().length ? nextslide.next() : $('#supersized a:first');
				
		//Get current slide number
		$.currentSlide == 0 ?  $.currentSlide = options.slides.length - 1 : $.currentSlide-- ;
		
		/**** Image Loading ****/
		//Load next image
		loadSlide=false;
		$.currentSlide - 1 < 0  ? loadSlide = options.slides.length - 1 : loadSlide = $.currentSlide - 1;
		imageLink = (options.slides[loadSlide].url) ? "href='" + options.slides[loadSlide].url + "'" : "";
		$("<img/>").attr("src", options.slides[loadSlide].image).prependTo("#supersized").wrap("<a " + imageLink + "></a>");
		
		if (options.thumbnail_navigation == 1){
		//Load previous thumbnail
		prevThumb = loadSlide;
		$('#prevthumb').html($("<img/>").attr("src", options.slides[prevThumb].image));
		
		//Load next thumbnail
		$.currentSlide == options.slides.length - 1 ? nextThumb = 0 : nextThumb = $.currentSlide + 1;
		$('#nextthumb').html($("<img/>").attr("src", options.slides[nextThumb].image));
		}
		
		currentslide.next().remove(); //Remove Old Image
		
		/**** End Image Loading ****/
		
		//Display slide counter
		if (options.slide_counter == 1){
		    $('#slidecounter .slidenumber').html($.currentSlide + 1);
		}
		
		$('.prevslide').removeClass('prevslide');
		prevslide.addClass('prevslide');
		
		//Captions
	    if (options.slide_captions == 1){
	    	(options.slides[$.currentSlide].title) ? $('#slidecaption').html(options.slides[$.currentSlide].title) : $('#slidecaption').html('') ; //*******Grab next slide's title from array
	    }
		
	    nextslide.hide().addClass('activeslide')
	    	if (options.transition == 0){
	    		nextslide.show(); $.inAnimation = false;
	    	}
	    	if (options.transition == 1){
	    		nextslide.fadeIn(750, function(){$.inAnimation = false;});
	    	}
	    	if (options.transition == 2){
	    		nextslide.show("slide", { direction: "down" }, 'slow', function(){$.inAnimation = false;});
	    	}
	    	if (options.transition == 3){
	    		nextslide.show("slide", { direction: "left" }, 'slow', function(){$.inAnimation = false;});
	    	}
	    	if (options.transition == 4){
	    		nextslide.show("slide", { direction: "up" }, 'slow', function(){$.inAnimation = false;});
	    	}
	    	if (options.transition == 5){
	    		nextslide.show("slide", { direction: "right" }, 'slow', function(){$.inAnimation = false;});
	    	}
	    	
	    	//$('#supersized').resizenow();//Fix for resize mid-transition
			
		// Trigger custom onSlideLoaded
		$('#supersized').trigger('onSlideLoaded', { 'slide' : options.slides[$.currentSlide] } );
	}
	
	$.fn.supersized.defaults = { 
			startwidth: 1440,  
			startheight: 900,
			vertical_center: 0,
			slideshow: 0,
			navigation:0,
			thumbnail_navigation: 0,
			transition: 0, //0-None, 1-Fade, 2-slide top, 3-slide right, 4-slide bottom, 5-slide left
			pause_hover: 0,
			slide_counter: 0,
			slide_captions: 0,
			slide_interval: 6000,
			start_slide: 1,
			onSlideLoadedCallback: function(){}
	};
	$.fn.supersized.options = {};
	

	
	
})(jQuery);

;
(function(a){if(!a.fn.reverse){a.fn.reverse=function(){return this.pushStack(this.get().reverse(),arguments)}}a.fn.liveTwitter=function(d,b,e){var c=this;a(this).each(function(){var f={};if(this.twitter){f=a.extend(this.twitter.settings,b);this.twitter.settings=f;if(d){this.twitter.query=d}if(this.twitter.interval){this.twitter.refresh()}if(e){this.twitter.callback=e}}else{f=a.extend({mode:"search",rate:15000,limit:10,imageSize:24,refresh:true,timeLinks:true,retweets:false,service:false},b);if(typeof f.showAuthor==="undefined"){f.showAuthor=(f.mode==="user_timeline")?false:true}if(!window.twitter_callback){window.twitter_callback=function(){return true}}this.twitter={settings:f,query:d,interval:false,container:this,lastTimeStamp:0,callback:e,relativeTime:function(i){var h=Date.parse(i);var k=(Date.parse(Date())-h)/1000;var j="";if(k<60){j=k+" seconds ago"}else{if(k<120){j="a minute ago"}else{if(k<(45*60)){j=(parseInt(k/60,10)).toString()+" minutes ago"}else{if(k<(90*60)){j="an hour ago"}else{if(k<(24*60*60)){j=""+(parseInt(k/3600,10)).toString()+" hours ago"}else{if(k<(48*60*60)){j="a day ago"}else{j=(parseInt(k/86400,10)).toString()+" days ago"}}}}}}return j},updateTimestamps:function(){var h=this;a(h.container).find("span.time").each(function(){var i=h.settings.timeLinks?a(this).find("a"):a(this);i.html(h.relativeTime(this.timeStamp))})},apiURL:function(){var l={};var k=(window.location.protocol==="https:")?"https:":"http:";var h="api.twitter.com/1/";var j="";if(this.settings.service){h=this.settings.service+"/api/"}if(this.settings.mode==="search"){h=(this.settings.service)?this.settings.service+"/api/":"search.twitter.com/";j="search";l={q:(this.query&&this.query!=="")?this.query:null,geocode:this.settings.geocode,lang:this.settings.lang,rpp:(this.settings.rpp)?this.settings.rpp:this.settings.limit}}else{if(this.settings.mode==="user_timeline"||this.settings.mode==="home_timeline"){j="statuses/"+this.settings.mode+"/"+encodeURIComponent(this.query);l={count:this.settings.limit,include_rts:(this.settings.mode==="user_timeline"&&this.settings.retweets)?"1":null}}else{if(this.settings.mode==="list"){j=encodeURIComponent(this.query.user)+"/lists/"+encodeURIComponent(this.query.list)+"/statuses";l={per_page:this.settings.limit}}}}var m=[];for(var i in l){if(l.hasOwnProperty(i)&&typeof l[i]!=="undefined"&&l[i]!==null){m[m.length]=i+"="+encodeURIComponent(l[i])}}m=m.join("&");return k+"//"+h+j+".json?"+m+"&callback=?"},parseTweet:function(h){var j={id:(h.id_str)?h.id_str:h.id,text:h.text,created_at:h.created_at};if(this.settings.mode==="search"){j=a.extend(j,{screen_name:h.from_user,profile_image_url:h.profile_image_url})}else{j=a.extend(j,{screen_name:h.user.screen_name,profile_image_url:h.user.profile_image_url,created_at:h.created_at.replace(/^(\w+)\s(\w+)\s(\d+)(.*)(\s\d+)$/,"$1, $3 $2$5$4")})}if(this.settings.service){j=a.extend(j,{url:"http://"+this.settings.service+"/notice/"+j.id,profile_url:"http://"+f.service+"/"+j.screen_name});if(window.location.protocol==="https:"){j.profile_image_url=j.profile_image_url.replace("http:","https:")}}else{j=a.extend(j,{url:"http://twitter.com/#!/"+j.screen_name+"/status/"+j.id,profile_url:"http://twitter.com/#!/"+j.screen_name});if(window.location.protocol==="https:"){var i=j.profile_image_url.match(/http[s]?:\/\/a[0-9]\.twimg\.com\/(\w+)\/(\w+)\/(.*?)\.(\w+)/i);if(i){j.profile_image_url="https://s3.amazonaws.com/twitter_production/"+i[1]+"/"+i[2]+"/"+i[3]+"."+i[4]}else{j.profile_image_url=j.profile_image_url.replace("http:","https:")}}}return j},parseText:function(h){h=h.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+/,function(i){return i.link(i)});if(!this.settings.service){h=h.replace(/@[A-Za-z0-9_]+/g,function(i){return i.link("http://twitter.com/#!/"+i.replace(/^@/,""))});h=h.replace(/#[A-Za-z0-9_\-]+/g,function(i){return i.link("http://twitter.com/#!/search/"+i.replace(/^#/,"%23"))})}else{h=h.replace(/@[A-Za-z0-9_]+/g,function(i){return i.link("http://"+f.service+"/"+i.replace(/^@/,""))});h=h.replace(/#[A-Za-z0-9_\-]+/g,function(i){return i.link("http://"+f.service+"/search/notice?q="+i.replace(/^#/,"%23"))})}return h},renderTweet:function(i){var h='<div class="tweet tweet-'+i.id+'">';if(this.settings.showAuthor){h+='<img width="'+this.settings.imageSize+'" height="'+this.settings.imageSize+'" src="'+i.profile_image_url+'" />';h+='<p class="text"><span class="username"><a href="'+i.profile_url+'">'+i.screen_name+"</a>:</span> "}else{h+='<p class="text"> '}h+=this.parseText(i.text);if(this.settings.timeLinks){h+=' <span class="time">';h+='<a href="'+i.url+'">';h+=this.relativeTime(i.created_at);h+="</a></span>"}else{h+=' <span class="time">'+this.relativeTime(i.created_at)+"</span>"}h+="</p></div>";return h},refresh:function(h){var i=this;if(i.settings.refresh||h){a.getJSON(i.apiURL(),function(k){var l=0;var j=(i.settings.mode==="search")?k.results:k;a(j).reverse().each(function(){var m=i.parseTweet(this);if(!i.settings.filter||i.settings.filter(this)){if(Date.parse(m.created_at)>i.lastTimeStamp){a(i.container).prepend(i.renderTweet(m));a(i.container).find("span.time:first").each(function(){this.timeStamp=m.created_at});if(!h){a(i.container).find(".tweet-"+m.id).hide().fadeIn()}i.lastTimeStamp=Date.parse(m.created_at);l+=1}}});if(l>0){a(i.container).find("div.tweet:gt("+(i.settings.limit-1)+")").remove();if(i.callback){i.callback(c,l)}a(c).trigger("tweets")}})}},start:function(){var h=this;if(!this.interval){this.interval=setInterval(function(){h.refresh()},h.settings.rate);this.refresh(true)}},stop:function(){if(this.interval){clearInterval(this.interval);this.interval=false}},clear:function(){a(this.container).find("div.tweet").remove();this.lastTimeStamp=null}};var g=this.twitter;this.timeInterval=setInterval(function(){g.updateTimestamps()},5000);this.twitter.start()}});return this}})(jQuery);;
// JQuery URL Parser
// Written by Mark Perkins, mark@allmarkedup.com
// License: http://unlicense.org/ (i.e. do what you want with it!)

jQuery.url = function(){	
	var segments = {};
	var parsed = {};
	/**    * Options object. Only the URI and strictMode values can be changed via the setters below.    */  	
	var options = {		
		url : window.location, 	// default URI is the page in which the script is running
		
		strictMode: false, // 'loose' parsing by default
		
		key: ["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"], // keys available to query
 		
		q: {
			name: "queryKey",		
			parser: /(?:^|&)([^&=]*)=?([^&]*)/g
		},
		parser: {
			strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,  //less intuitive, more accurate to the specs	
			loose:  /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/  // more intuitive, fails on relative paths and deviates from specs		

			}	
	};
	/**     * Deals with the parsing of the URI according to the regex above. 	
		* Written by Steven Levithan - see credits at top.     */			
	var parseUri = function()	{		
		str = decodeURI( options.url );
		
		var m = options.parser[ options.strictMode ? "strict" : "loose" ].exec( str );
		var uri = {};
		var i = 14;
		while ( i-- ) {	
			uri[ options.key[i] ] = m[i] || "";
		}
		
		uri[ options.q.name ] = {};
		uri[ options.key[12] ].replace( options.q.parser, function ( $0, $1, $2 ) {
				if ($1) {
					uri[options.q.name][$1] = $2;
				}
		});
		return uri;
	};
	
	/**     * Returns the value of the passed in key from the parsed URI.  	 * 	 
		* @param string key The key whose value is required     */			
	var key = function( key ) {
		if ( jQuery.isEmptyObject(parsed) )	{
			setUp(); // if the URI has not been parsed yet then do this first...
		}
 		if ( key == "base" )	{
 			if ( parsed.port !== null && parsed.port !== "" ) {
				return parsed.protocol+"://"+parsed.host+":"+parsed.port+"/";
				} else	{
					return parsed.protocol+"://"+parsed.host+"/";
				}
		}
		
		return ( parsed[key] === "" ) ? null : parsed[key];
	};
	
	/**     * Returns the value of the required query string parameter.  	 * 	
		* @param string item The parameter whose value is required     */			
	var param = function( item )	{
		if ( jQuery.isEmptyObject(parsed) ) {
			setUp(); // if the URI has not been parsed yet then do this first...	
		}
		return ( parsed.queryKey[item] === null ) ? null : parsed.queryKey[item];
	};
	
	/**     * 'Constructor' (not really!) function.    
		*  Called whenever the URI changes to kick off re-parsing of the URI and splitting it up into segments.      */		
	var setUp = function()	{		
		parsed = parseUri();
		getSegments();
	};
		
	/**     * Splits up the body of the URI into segments (i.e. sections delimited by '/')     */	
	var getSegments = function()	{		
	var p = parsed.path;
	
	segments = [];	// clear out segments array		
	segments = parsed.path.length == 1 ? {} : ( p.charAt( p.length - 1 ) == "/" ? p.substring( 1, p.length - 1 ) : path = p.substring( 1 ) ).split("/");
	};
	return {
		/**	     * Sets the parsing mode - either strict or loose. Set to loose by default.	     *	
			    * @param string mode The mode to set the parser to. Anything apart from a value of 'strict' will set it to loose!	     */		
		setMode : function( mode ) {
			options.strictMode = mode == "strict" ? true : false;
			return this;
		},
		/**	    * Sets URI to parse if you don't want to to parse the current page's URI.		
			    * Calling the function with no value for newUri resets it to the current page's URI.	     *	
			    * @param string newUri The URI to parse.	     */	
		setUrl : function( newUri ) {	
			options.url = newUri === undefined ? window.location : newUri;
			setUp();
			return this;
		},				
		/**	     * Returns the value of the specified URI segment. Segments are numbered from 1 to the number of segments.		
			     * For example the URI http://test.com/about/company/ segment(1) would return 'about'.		 *	
			     * If no integer is passed into the function it returns the number of segments in the URI.	     *	  
			     * @param int pos The position of the segment to return. Can be empty.	     */	
		segment : function( pos ) {
			if ( jQuery.isEmptyObject(parsed) ) {
				setUp(); // if the URI has not been parsed yet then do this first...	
			}
			if ( pos === undefined ) {
				return segments.length;
			}	
			return ( segments[pos] === "" || segments[pos] === undefined ) ? null : segments[pos];
		},

		attr : key,  // provides public access to private 'key' function - see above		
		param : param	// provides public access to private 'param' function - see above	
	};
}();

;
/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09i
 */
var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());;
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * © 1989, 1995, 2002, 2004 Adobe Systems Incorporated. All rights reserved.
 * 
 * Trademark:
 * Avenir is a trademark of Linotype GmbH registered in the U.S. Patent and
 * Trademark Office and may be registered in certain other jurisdictions.
 * 
 * Full name:
 * AvenirLTStd-Medium
 * 
 * Designer:
 * Adrian Frutiger
 * 
 * Vendor URL:
 * http://www.adobe.com/type
 * 
 * License information:
 * http://www.adobe.com/type/legal.html
 */
Cufon.registerFont({"w":200,"face":{"font-family":"Avenir LT Std","font-weight":550,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 6 3 2 2 3 2 2 4","ascent":"272","descent":"-88","x-height":"4","bbox":"-17 -285 346 102","underline-thickness":"18","underline-position":"-18","stemh":"28","stemv":"32","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":100},"!":{"d":"67,-255r0,182r-35,0r0,-182r35,0xm26,-22v0,-13,11,-23,24,-23v13,0,24,10,24,23v0,13,-11,24,-24,24v-13,0,-24,-11,-24,-24","w":100},"\"":{"d":"53,-166r0,-89r28,0r0,89r-28,0xm106,-166r0,-89r28,0r0,89r-28,0","w":186},"#":{"d":"33,0r10,-73r-34,0r0,-29r38,0r7,-51r-34,0r0,-28r38,0r10,-74r29,0r-10,74r42,0r10,-74r28,0r-10,74r34,0r0,28r-38,0r-7,51r34,0r0,29r-38,0r-10,73r-29,0r10,-73r-41,0r-10,73r-29,0xm125,-153r-42,0r-7,51r41,0"},"$":{"d":"108,-285r0,26v26,0,53,9,71,28r-26,25v-11,-14,-27,-23,-45,-23r0,85v42,12,78,25,78,74v0,44,-36,71,-78,74r0,26r-19,0r0,-26v-31,0,-61,-9,-80,-34r28,-25v11,18,32,28,52,29r0,-88v-39,-10,-74,-28,-74,-74v0,-41,35,-68,74,-71r0,-26r19,0xm89,-149r0,-80v-23,4,-39,18,-39,41v0,23,19,33,39,39xm108,-109r0,83v24,-3,43,-18,43,-42v0,-25,-21,-34,-43,-41"},"%":{"d":"13,-198v0,-35,29,-63,64,-63v35,0,64,28,64,63v0,35,-29,64,-64,64v-35,0,-64,-29,-64,-64xm41,-198v0,20,16,36,36,36v20,0,36,-16,36,-36v0,-20,-16,-35,-36,-35v-20,0,-36,15,-36,35xm166,-57v0,-35,29,-64,64,-64v35,0,63,29,63,64v0,35,-28,63,-63,63v-35,0,-64,-28,-64,-63xm194,-57v0,20,16,35,36,35v20,0,35,-15,35,-35v0,-20,-15,-36,-35,-36v-20,0,-36,16,-36,36xm245,-255r-160,266r-22,-11r160,-266","w":306},"&":{"d":"198,-59r58,59r-46,0r-31,-34v-22,26,-45,40,-79,40v-58,0,-83,-36,-83,-73v0,-36,27,-58,58,-73v-16,-17,-30,-34,-30,-59v0,-39,32,-60,68,-60v36,0,66,18,66,57v0,32,-27,53,-53,66r50,52r32,-52r40,0xm144,-202v0,-17,-13,-27,-31,-27v-18,0,-33,11,-33,30v0,17,14,31,25,42v18,-10,39,-22,39,-45xm158,-56r-62,-64v-21,12,-42,26,-42,52v0,25,24,44,48,44v25,0,43,-16,56,-32","w":259},"(":{"d":"70,-264r21,14v-62,86,-61,207,0,292r-21,14v-69,-90,-71,-227,0,-320","w":100},")":{"d":"30,56r-21,-14v61,-86,62,-206,0,-291r21,-15v69,90,71,227,0,320","w":100},"*":{"d":"97,-255r0,53r50,-17r7,24r-50,16r32,43r-20,15r-32,-44r-33,43r-19,-14r32,-43r-51,-17r7,-23r51,17r0,-53r26,0","w":167},"+":{"d":"24,-95r0,-28r82,0r0,-82r28,0r0,82r82,0r0,28r-82,0r0,82r-28,0r0,-82r-82,0","w":239},",":{"d":"77,-41r-30,89r-30,0r25,-89r35,0","w":100},"-":{"d":"101,-102r0,30r-88,0r0,-30r88,0","w":113},".":{"d":"50,2v-13,0,-24,-11,-24,-24v0,-13,11,-23,24,-23v13,0,24,10,24,23v0,13,-11,24,-24,24","w":100},"\/":{"d":"140,-261r-115,277r-25,-10r115,-277","w":140},"0":{"d":"12,-127v0,-56,16,-132,88,-132v72,0,88,76,88,132v0,54,-16,131,-88,131v-72,0,-88,-77,-88,-131xm47,-127v0,33,5,101,53,101v48,0,53,-68,53,-101v0,-35,-5,-102,-53,-102v-48,0,-53,67,-53,102"},"1":{"d":"97,0r0,-215r-47,43r-20,-24r71,-59r31,0r0,255r-35,0"},"2":{"d":"17,0r0,-37r102,-101v35,-23,40,-94,-16,-93v-25,0,-42,15,-46,39r-38,-3v6,-89,166,-89,165,4v0,33,-22,58,-45,80r-84,81r129,0r0,30r-167,0"},"3":{"d":"17,-51r36,-11v8,53,96,44,96,-10v0,-42,-40,-48,-72,-48r0,-30v53,0,66,-15,66,-40v1,-51,-73,-53,-86,-12r-35,-11v24,-69,156,-65,155,21v0,27,-17,50,-43,58v32,5,50,34,50,65v1,90,-148,99,-167,18"},"4":{"d":"121,0r0,-56r-109,0r0,-35r102,-164r42,0r0,169r36,0r0,30r-36,0r0,56r-35,0xm121,-86r-1,-128r-78,128r79,0"},"5":{"d":"170,-255r0,33r-104,0r-1,63v61,-19,114,16,114,79v0,91,-141,115,-167,33r35,-12v16,52,97,40,97,-19v0,-58,-67,-68,-114,-43r3,-134r137,0"},"6":{"d":"143,-255r-64,99v52,-18,109,7,109,75v0,56,-40,85,-88,85v-48,0,-87,-32,-87,-82v0,-77,61,-120,90,-177r40,0xm47,-79v0,31,21,53,53,53v32,0,53,-22,53,-53v0,-31,-21,-53,-53,-53v-32,0,-53,22,-53,53"},"7":{"d":"35,0r103,-225r-123,0r0,-30r160,0r0,30r-101,225r-39,0"},"8":{"d":"100,4v-46,0,-83,-29,-83,-77v-1,-33,23,-53,49,-63v-19,-5,-40,-25,-40,-60v0,-39,34,-63,74,-63v40,0,75,24,75,63v1,36,-23,54,-40,61v28,8,48,30,48,62v0,48,-37,77,-83,77xm60,-191v0,20,14,41,40,41v27,0,40,-20,40,-41v0,-23,-16,-40,-40,-40v-22,0,-40,16,-40,40xm100,-26v29,0,49,-19,49,-47v0,-31,-22,-47,-49,-47v-28,0,-49,20,-49,47v0,30,23,47,49,47"},"9":{"d":"57,0r63,-99v-51,19,-107,-8,-107,-75v0,-56,39,-85,87,-85v48,0,88,32,88,82v0,31,-11,51,-26,75r-64,102r-41,0xm153,-176v0,-31,-21,-53,-53,-53v-32,0,-53,22,-53,53v0,31,21,53,53,53v32,0,53,-22,53,-53"},":":{"d":"50,-125v-13,0,-24,-11,-24,-24v0,-13,11,-24,24,-24v13,0,24,11,24,24v0,13,-11,24,-24,24xm26,-22v0,-13,11,-23,24,-23v13,0,24,10,24,23v0,13,-11,24,-24,24v-13,0,-24,-11,-24,-24","w":100},";":{"d":"77,-41r-30,89r-30,0r25,-89r35,0xm26,-149v0,-13,11,-23,24,-23v13,0,24,10,24,23v0,13,-11,24,-24,24v-13,0,-24,-11,-24,-24","w":100},"<":{"d":"216,-44r0,29r-192,-79r0,-30r192,-79r0,28r-163,66","w":239},"=":{"d":"24,-151r192,0r0,28r-192,0r0,-28xm24,-95r192,0r0,28r-192,0r0,-28","w":239},">":{"d":"24,-175r0,-28r192,79r0,30r-192,79r0,-29r162,-65","w":239},"?":{"d":"76,-71v-15,-68,58,-74,58,-122v0,-22,-17,-38,-38,-38v-23,0,-39,16,-42,40r-37,-3v3,-84,151,-92,151,-1v0,60,-67,58,-58,124r-34,0xm69,-22v0,-13,11,-23,24,-23v13,0,23,10,23,23v0,13,-10,24,-23,24v-13,0,-24,-11,-24,-24","w":180},"@":{"d":"152,-175v-34,0,-52,33,-52,68v0,18,7,29,25,29v29,0,50,-38,50,-65v0,-17,-8,-32,-23,-32xm221,-196r-32,109v0,6,4,9,11,9v20,0,44,-33,44,-71v0,-57,-43,-89,-94,-89v-62,0,-106,49,-106,111v0,103,135,146,191,73r29,0v-20,36,-67,60,-113,60v-76,0,-135,-59,-135,-134v0,-74,60,-133,133,-133v67,0,123,46,123,109v0,61,-50,102,-84,102v-14,0,-20,-12,-25,-23v-27,40,-94,22,-94,-34v0,-47,32,-96,81,-96v17,0,33,9,39,28r6,-21r26,0","w":288},"A":{"d":"0,0r113,-255r31,0r109,255r-40,0r-26,-63r-121,0r-25,63r-41,0xm78,-93r97,0r-49,-117","w":253},"B":{"d":"33,0r0,-255v75,0,166,-11,166,64v0,30,-20,46,-44,57v31,2,55,29,55,63v0,77,-95,74,-177,71xm67,-225r0,76v44,0,92,7,95,-38v2,-41,-52,-41,-95,-38xm67,-119r0,89v50,-2,101,12,106,-43v4,-49,-55,-48,-106,-46","w":226},"C":{"d":"239,-222r-29,22v-53,-65,-156,-11,-156,75v0,54,36,99,95,99v29,0,51,-13,66,-34r29,22v-8,10,-38,44,-96,44v-81,0,-131,-67,-131,-131v0,-118,147,-182,222,-97","w":253},"D":{"d":"27,0r0,-255r89,0v108,0,134,81,134,128v0,65,-49,127,-140,127r-83,0xm62,-222r0,190v83,7,149,-16,151,-95v0,-32,-17,-95,-100,-95r-51,0","w":266},"E":{"d":"33,0r0,-255r164,0r0,33r-130,0r0,75r121,0r0,33r-121,0r0,82r137,0r0,32r-171,0","w":219},"F":{"d":"33,0r0,-255r160,0r0,33r-126,0r0,79r117,0r0,33r-117,0r0,110r-34,0","w":206,"k":{"A":20,",":57,".":57}},"G":{"d":"159,-143r91,0r0,126v-25,15,-66,23,-97,23v-86,0,-136,-61,-136,-133v0,-76,55,-134,133,-134v47,0,75,12,95,33r-25,26v-62,-61,-166,-12,-166,75v0,82,90,125,161,88r0,-71r-56,0r0,-33","w":280},"H":{"d":"33,0r0,-255r34,0r0,106r132,0r0,-106r35,0r0,255r-35,0r0,-117r-132,0r0,117r-34,0","w":266},"I":{"d":"33,0r0,-255r34,0r0,255r-34,0","w":100},"J":{"d":"112,-84r0,-171r35,0r0,182v0,64,-47,79,-75,79v-36,0,-62,-18,-69,-55r34,-8v4,19,16,31,35,31v34,0,40,-29,40,-58","w":173},"K":{"d":"33,0r0,-255r34,0r0,110r3,0r113,-110r48,0r-123,118r131,137r-50,0r-119,-127r-3,0r0,127r-34,0","w":233},"L":{"d":"33,0r0,-255r34,0r0,223r117,0r0,32r-151,0","w":186,"k":{"T":33,"V":33,"W":20,"y":13,"Y":40}},"M":{"d":"30,0r0,-255r52,0r82,193r80,-193r52,0r0,255r-35,0r0,-210r-86,210r-23,0r-87,-210r0,210r-35,0","w":326},"N":{"d":"33,0r0,-255r45,0r141,210r0,-210r35,0r0,255r-44,0r-143,-210r0,210r-34,0","w":286},"O":{"d":"150,6v-78,0,-133,-57,-133,-133v0,-76,55,-134,133,-134v78,0,133,58,133,134v0,76,-55,133,-133,133xm150,-26v58,0,96,-45,96,-101v0,-56,-38,-102,-96,-102v-58,0,-96,46,-96,102v0,56,38,101,96,101","w":299},"P":{"d":"33,0r0,-255r89,0v65,0,82,39,82,71v0,32,-17,72,-82,72r-55,0r0,112r-34,0xm67,-225r0,82v47,-2,100,11,100,-41v0,-52,-53,-39,-100,-41","w":213,"k":{"A":27,",":64,".":64}},"Q":{"d":"296,-30r0,30r-147,0v-72,0,-132,-54,-132,-130v0,-75,57,-131,132,-131v72,0,130,54,130,127v1,44,-23,85,-59,104r76,0xm148,-32v56,0,94,-44,94,-100v0,-54,-40,-97,-94,-97v-53,0,-94,43,-94,96v0,56,39,101,94,101","w":299},"R":{"d":"33,0r0,-255r89,0v113,1,102,126,19,139r73,116r-43,0r-65,-112r-39,0r0,112r-34,0xm67,-225r0,82v47,-2,100,11,100,-41v0,-52,-53,-39,-100,-41","w":219,"k":{"T":6,"Y":6}},"S":{"d":"12,-29r28,-24v23,39,105,38,105,-15v0,-59,-126,-23,-126,-122v0,-30,26,-71,87,-71v28,0,54,6,73,29r-28,25v-9,-13,-25,-22,-45,-22v-38,0,-50,23,-50,39v0,64,126,26,126,118v0,85,-129,102,-170,43"},"T":{"d":"86,0r0,-222r-82,0r0,-33r199,0r0,33r-82,0r0,222r-35,0","w":206,"k":{"w":40,"y":40,"A":33,",":40,".":40,"c":40,"e":40,"o":40,"-":46,"a":40,"r":33,"s":40,"u":36,":":40,";":40}},"U":{"d":"28,-255r35,0r0,156v0,32,16,73,64,73v48,0,64,-41,64,-73r0,-156r34,0r0,162v0,59,-42,99,-98,99v-56,0,-99,-40,-99,-99r0,-162","w":253},"V":{"d":"96,0r-98,-255r40,0r75,207r78,-207r38,0r-100,255r-33,0","w":226,"k":{"y":6,"A":17,",":46,".":46,"e":20,"o":20,"-":20,"a":20,"r":13,"u":13,":":17,";":17,"i":6}},"W":{"d":"75,0r-75,-255r36,0r57,204r60,-204r40,0r61,204r56,-204r36,0r-74,255r-37,0r-62,-208r-62,208r-36,0","w":346,"k":{"A":9,",":32,".":32,"e":17,"o":17,"a":17,"r":6,"u":6,":":6,";":6}},"X":{"d":"-1,0r93,-134r-86,-121r44,0r67,98r65,-98r43,0r-85,121r94,134r-45,0r-73,-111r-74,111r-43,0","w":233},"Y":{"d":"93,0r0,-109r-97,-146r45,0r69,112r72,-112r42,0r-97,146r0,109r-34,0","w":220,"k":{"v":20,"A":27,",":50,".":50,"e":40,"o":40,"q":33,"-":40,"a":33,"u":27,":":33,";":33,"i":13,"p":27}},"Z":{"d":"12,0r0,-32r145,-190r-141,0r0,-33r184,0r0,33r-145,190r147,0r0,32r-190,0","w":213},"[":{"d":"26,56r0,-320r63,0r0,24r-33,0r0,272r33,0r0,24r-63,0","w":100},"\\":{"d":"115,16r-115,-277r25,-10r115,277","w":140},"]":{"d":"12,56r0,-24r32,0r0,-272r-32,0r0,-24r62,0r0,320r-62,0","w":100},"^":{"d":"29,-99r76,-156r29,0r77,156r-30,0r-61,-127r-61,127r-30,0","w":239},"_":{"d":"0,45r0,-18r180,0r0,18r-180,0","w":180},"a":{"d":"45,-130r-20,-20v37,-44,138,-27,139,32r2,118r-29,0v-2,-8,1,-19,-2,-26v-25,47,-119,39,-119,-21v-1,-52,58,-62,118,-59v11,-49,-70,-52,-89,-24xm134,-82v-37,-1,-84,1,-85,33v0,19,14,27,36,27v40,0,51,-28,49,-60","w":186},"b":{"d":"24,0r0,-272r33,0r1,126v43,-60,156,-18,146,61v8,78,-100,119,-147,61r0,24r-33,0xm113,-26v35,0,56,-24,56,-59v0,-35,-21,-60,-56,-60v-35,0,-56,25,-56,60v0,35,21,59,56,59","w":219},"c":{"d":"171,-148r-24,23v-32,-39,-103,-12,-96,41v-5,51,66,79,96,39r23,23v-51,55,-154,18,-154,-63v0,-83,103,-119,155,-63","w":173},"d":{"d":"195,-272r0,272r-32,0v-1,-7,2,-18,-1,-24v-45,59,-155,16,-146,-61v-8,-79,102,-120,147,-61r0,-126r32,0xm107,-26v35,0,56,-24,56,-59v0,-35,-21,-60,-56,-60v-35,0,-56,25,-56,60v0,35,21,59,56,59","w":219},"e":{"d":"186,-73r-137,0v0,51,80,66,104,24r25,18v-44,64,-164,35,-164,-54v0,-51,38,-90,89,-90v64,0,85,48,83,102xm49,-99r102,0v-1,-28,-16,-50,-49,-50v-32,0,-53,27,-53,50"},"f":{"d":"37,0r0,-143r-37,0r0,-28r37,0v-6,-69,10,-120,83,-103r-4,29v-28,-10,-46,3,-46,35r0,39r38,0r0,28r-39,0r0,143r-32,0","w":119,"k":{"f":6}},"g":{"d":"195,-171r0,170v6,87,-120,114,-176,57r22,-28v17,18,36,28,61,28v58,-2,65,-39,60,-84v-42,62,-146,20,-146,-57v0,-79,101,-121,147,-61r0,-25r32,0xm107,-145v-35,0,-56,25,-56,60v0,35,21,57,56,57v35,0,56,-22,56,-57v0,-35,-21,-60,-56,-60","w":219},"h":{"d":"24,0r0,-272r33,0r1,128v23,-48,118,-42,118,34r0,110r-33,0v-3,-54,17,-145,-39,-145v-27,0,-47,17,-47,57r0,88r-33,0"},"i":{"d":"27,0r0,-171r32,0r0,171r-32,0xm19,-232v0,-13,11,-24,24,-24v13,0,24,11,24,24v0,13,-11,24,-24,24v-13,0,-24,-11,-24,-24","w":86},"j":{"d":"27,-171r32,0r0,195v0,18,0,62,-52,62v-7,0,-14,0,-21,-3r4,-30v22,8,37,-2,37,-30r0,-194xm19,-232v0,-13,11,-24,24,-24v13,0,24,11,24,24v0,13,-11,24,-24,24v-13,0,-24,-11,-24,-24","w":86},"k":{"d":"24,0r0,-272r33,0r0,176r73,-74r45,0r-79,77r86,93r-46,0r-79,-89r0,89r-33,0","w":186},"l":{"d":"27,0r0,-272r32,0r0,272r-32,0","w":86},"m":{"d":"24,0r0,-171r31,0r0,27v3,-10,24,-31,55,-31v25,0,42,11,53,32v11,-21,33,-32,54,-32v90,3,59,96,65,175r-32,0v-7,-55,24,-145,-37,-145v-63,0,-38,87,-43,145r-33,0v-6,-54,21,-145,-36,-145v-23,0,-44,17,-44,56r0,89r-33,0","w":306},"n":{"d":"24,0r0,-171r33,0v1,8,-2,21,1,27v23,-48,118,-42,118,34r0,110r-33,0v-3,-54,17,-145,-39,-145v-27,0,-47,17,-47,57r0,88r-33,0"},"o":{"d":"51,-85v0,35,21,59,56,59v35,0,56,-24,56,-59v0,-35,-21,-60,-56,-60v-35,0,-56,25,-56,60xm16,-85v0,-50,40,-90,91,-90v51,0,91,40,91,90v0,50,-40,89,-91,89v-51,0,-91,-39,-91,-89","w":213},"p":{"d":"24,102r0,-273r33,0v1,8,-2,19,1,25v44,-60,155,-17,146,61v8,79,-102,119,-147,61r0,126r-33,0xm113,-145v-35,0,-56,25,-56,60v0,35,21,59,56,59v35,0,56,-24,56,-59v0,-35,-21,-60,-56,-60","w":219},"q":{"d":"195,-171r0,253r-32,0r-1,-106v-43,59,-156,17,-146,-61v-8,-78,101,-121,147,-61r0,-25r32,0xm107,-145v-35,0,-56,25,-56,60v0,35,21,59,56,59v35,0,56,-24,56,-59v0,-35,-21,-60,-56,-60","w":219},"r":{"d":"24,0r0,-171r33,0v1,8,-2,21,1,27v10,-21,37,-36,65,-29r-1,35v-39,-8,-65,9,-65,52r0,86r-33,0","w":133,"k":{",":33,".":33,"c":6,"d":6,"e":6,"g":6,"o":6,"q":6,"-":20}},"s":{"d":"140,-147r-25,19v-10,-19,-63,-26,-63,2v0,21,29,24,43,27v28,7,50,18,50,50v0,66,-105,69,-135,23r25,-20v12,22,76,31,76,-2v0,-19,-28,-23,-42,-26v-28,-7,-52,-15,-52,-48v1,-61,96,-70,123,-25","w":159},"t":{"d":"116,-171r0,28r-47,0r0,78v0,19,1,39,25,39v8,0,17,-1,23,-5r0,30v-8,4,-23,5,-29,5v-84,-4,-40,-82,-51,-147r-37,0r0,-28r37,0r0,-48r32,0r0,48r47,0","w":133},"u":{"d":"176,-171r0,171r-33,0r0,-26v-24,47,-119,41,-119,-35r0,-110r33,0v3,54,-17,145,39,145v27,0,47,-17,47,-57r0,-88r33,0"},"v":{"d":"73,0r-69,-171r37,0r52,131r48,-131r35,0r-67,171r-36,0","w":180,"k":{",":27,".":27}},"w":{"d":"60,0r-56,-171r36,0r40,128r40,-128r34,0r44,128r37,-128r34,0r-55,171r-33,0r-45,-127r-41,127r-35,0","w":273,"k":{",":20,".":20}},"x":{"d":"2,0r69,-91r-60,-80r42,0r41,61r41,-61r39,0r-58,80r69,91r-42,0r-50,-72r-51,72r-40,0","w":186},"y":{"d":"75,1r-71,-172r37,0r52,134r48,-134r35,0r-81,208v-11,40,-41,58,-87,45r4,-30v41,18,53,-22,63,-51","w":180,"k":{",":27,".":27}},"z":{"d":"13,0r0,-29r96,-114r-93,0r0,-28r133,0r0,29r-98,114r103,0r0,28r-141,0","w":166},"{":{"d":"109,-264r0,26v-46,-9,-34,46,-34,86v0,34,-23,44,-30,49v8,1,30,11,30,48v0,36,-17,93,34,85r0,26v-43,3,-64,-2,-64,-55v0,-38,1,-92,-31,-90r0,-28v34,2,31,-59,31,-99v0,-43,24,-52,64,-48","w":119},"|":{"d":"26,-270r28,0r0,360r-28,0r0,-360","w":79},"}":{"d":"10,56r0,-26v47,10,35,-45,35,-85v0,-34,23,-44,30,-49v-8,-1,-30,-12,-30,-49v0,-36,17,-93,-35,-85r0,-26v61,-15,65,41,65,104v0,26,14,42,30,42r0,28v-34,-1,-30,59,-30,99v0,43,-26,50,-65,47","w":119},"~":{"d":"82,-136v41,1,85,57,109,0r14,22v-30,61,-81,15,-126,6v-15,0,-24,14,-30,26r-14,-22v11,-19,24,-32,47,-32","w":239},"'":{"d":"64,-255r0,89r-28,0r0,-89r28,0","w":100},"`":{"d":"30,-255r37,52r-30,0r-54,-52r47,0","w":86},"\u00a0":{"w":100}}});
;
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * © 1989, 1995, 2002 Adobe Systems Incorporated. All rights reserved.
 * 
 * Trademark:
 * Avenir is a trademark of Linotype GmbH registered in the U.S. Patent and
 * Trademark Office and may be registered in certain other jurisdictions.
 * 
 * Full name:
 * AvenirLTStd-Light
 * 
 * Designer:
 * Adrian Frutiger
 * 
 * Vendor URL:
 * http://www.adobe.com/type
 * 
 * License information:
 * http://www.adobe.com/type/legal.html
 */
Cufon.registerFont({"w":187,"face":{"font-family":"Avenir LT Std","font-weight":300,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 4 2 2 2 3 2 2 4","ascent":"272","descent":"-88","x-height":"4","bbox":"-11 -283 338 90","underline-thickness":"18","underline-position":"-18","stemh":"19","stemv":"22","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":93},"!":{"d":"77,-255r0,188r-21,0r0,-188r21,0xm49,-15v0,-10,8,-17,18,-17v10,0,17,7,17,17v0,10,-7,17,-17,17v-10,0,-18,-7,-18,-17","w":133},"\"":{"d":"58,-173r0,-82r22,0r0,82r-22,0xm108,-173r0,-82r21,0r0,82r-21,0"},"#":{"d":"33,0r11,-82r-39,0r0,-18r41,0r8,-56r-39,0r0,-17r42,0r10,-82r19,0r-11,82r50,0r11,-82r19,0r-11,82r39,0r0,17r-42,0r-7,56r38,0r0,18r-41,0r-11,82r-18,0r10,-82r-50,0r-11,82r-18,0xm115,-100r7,-56r-49,0r-8,56r50,0"},"$":{"d":"101,-113r0,98v46,-1,73,-74,16,-92xm84,-144r0,-96v-23,4,-43,22,-43,49v0,27,19,40,43,47xm84,28r0,-24v-26,0,-55,-12,-72,-37r20,-15v12,19,31,32,52,33r0,-105r-26,-9v-78,-33,-33,-126,26,-130r0,-24r17,0r0,24v24,0,48,6,67,32r-20,14v-11,-17,-30,-27,-47,-27r0,102v37,10,71,22,71,73v0,41,-34,67,-71,69r0,24r-17,0"},"%":{"d":"14,-197v0,-34,28,-62,62,-62v34,0,62,28,62,62v0,34,-28,62,-62,62v-34,0,-62,-28,-62,-62xm33,-197v0,24,20,42,43,42v23,0,42,-18,42,-42v0,-24,-19,-43,-42,-43v-23,0,-43,19,-43,43xm156,-58v0,-34,28,-62,62,-62v34,0,62,28,62,62v0,34,-28,62,-62,62v-34,0,-62,-28,-62,-62xm175,-58v0,24,20,43,43,43v23,0,42,-19,42,-43v0,-24,-19,-42,-42,-42v-23,0,-43,18,-43,42xm57,2r164,-269r17,10r-165,269","w":293},"&":{"d":"113,-140r62,66r37,-66r25,0r-47,81r58,61r-32,0r-38,-41v-21,28,-43,45,-79,45v-43,0,-78,-29,-78,-74v0,-40,29,-57,59,-75v-14,-17,-31,-37,-31,-60v0,-37,30,-58,64,-58v30,0,57,22,57,54v0,37,-29,52,-57,67xm111,-240v-21,0,-39,15,-39,36v0,18,17,37,28,50v20,-10,47,-25,47,-52v0,-20,-15,-34,-36,-34xm164,-54r-71,-74v-23,14,-48,30,-48,60v0,32,26,53,58,53v27,0,47,-18,61,-39","w":253},"(":{"d":"71,-264r18,12v-63,86,-61,211,0,297r-17,11v-67,-93,-67,-229,-1,-320","w":93},")":{"d":"23,56r-19,-11v63,-86,62,-211,0,-298r17,-11v68,93,69,228,2,320","w":93},"*":{"d":"89,-255r0,55r52,-17r5,17r-52,17r33,44r-13,10r-34,-45r-32,45r-15,-10r33,-44r-52,-18r5,-16r53,17r0,-55r17,0","w":159},"+":{"d":"28,-100r0,-18r83,0r0,-83r18,0r0,83r83,0r0,18r-83,0r0,83r-18,0r0,-83r-83,0","w":239},",":{"d":"18,50r24,-82r25,0r-28,82r-21,0","w":93},"-":{"d":"15,-76r0,-19r89,0r0,19r-89,0","w":119},".":{"d":"30,-15v0,-10,7,-17,17,-17v10,0,17,7,17,17v0,10,-7,17,-17,17v-10,0,-17,-7,-17,-17","w":93},"\/":{"d":"3,6r110,-274r18,7r-109,274","w":133},"0":{"d":"9,-127v0,-55,13,-132,85,-132v72,0,84,77,84,132v0,55,-12,131,-84,131v-72,0,-85,-76,-85,-131xm33,-127v0,40,7,112,61,112v54,0,60,-72,60,-112v0,-40,-6,-113,-60,-113v-54,0,-61,73,-61,113"},"1":{"d":"94,0r0,-225r-46,38r-14,-16r63,-52r19,0r0,255r-22,0"},"2":{"d":"15,0r0,-25r96,-101v17,-18,36,-39,36,-66v0,-30,-22,-48,-51,-48v-26,0,-46,17,-51,42r-25,-3v10,-80,151,-76,151,7v0,40,-27,66,-53,93r-79,82r133,0r0,19r-157,0"},"3":{"d":"15,-46r23,-7v9,24,25,38,54,38v38,0,57,-25,57,-56v0,-41,-39,-54,-77,-52r0,-22v35,2,66,-9,68,-48v3,-54,-78,-61,-96,-17r-20,-11v28,-57,139,-51,139,27v0,29,-17,50,-45,60v32,6,54,33,54,65v0,40,-25,73,-78,73v-38,0,-66,-15,-79,-50"},"4":{"d":"118,0r0,-63r-110,0r0,-25r102,-167r30,0r0,173r39,0r0,19r-39,0r0,63r-22,0xm118,-82r0,-149r-90,149r90,0"},"5":{"d":"162,-255r0,20r-105,0r-1,81v59,-27,117,18,116,77v-2,95,-126,104,-157,38r22,-11v23,50,108,48,112,-26v2,-60,-72,-85,-115,-49r2,-130r126,0"},"6":{"d":"130,-255r-69,112v52,-30,116,10,116,68v0,46,-35,79,-83,79v-48,0,-84,-33,-84,-79v0,-27,13,-48,23,-65r70,-115r27,0xm94,-135v-33,0,-60,27,-60,60v0,35,25,60,60,60v35,0,59,-25,59,-60v0,-33,-26,-60,-59,-60"},"7":{"d":"159,-255r0,20r-101,235r-24,0r103,-235r-122,0r0,-20r144,0"},"8":{"d":"94,-259v72,0,95,102,29,122v30,10,49,34,49,66v0,46,-33,75,-78,75v-83,0,-110,-122,-30,-140v-64,-21,-45,-123,30,-123xm48,-193v0,26,19,47,46,47v27,0,46,-21,46,-47v0,-28,-20,-47,-46,-47v-26,0,-46,19,-46,47xm39,-71v0,31,22,56,55,56v33,0,55,-25,55,-56v0,-33,-24,-56,-55,-56v-31,0,-55,23,-55,56"},"9":{"d":"57,0r69,-112v-52,30,-116,-10,-116,-68v0,-46,36,-79,84,-79v48,0,83,33,83,79v0,27,-13,48,-23,65r-69,115r-28,0xm94,-120v33,0,59,-27,59,-60v0,-35,-24,-60,-59,-60v-35,0,-60,25,-60,60v0,33,27,60,60,60"},":":{"d":"30,-151v0,-10,7,-17,17,-17v10,0,17,7,17,17v0,10,-7,17,-17,17v-10,0,-17,-7,-17,-17xm30,-15v0,-10,7,-17,17,-17v10,0,17,7,17,17v0,10,-7,17,-17,17v-10,0,-17,-7,-17,-17","w":93},";":{"d":"18,50r24,-82r25,0r-28,82r-21,0xm30,-151v0,-10,7,-17,17,-17v10,0,17,7,17,17v0,10,-7,17,-17,17v-10,0,-17,-7,-17,-17","w":93},"<":{"d":"210,-202r0,18r-161,75r161,75r0,18r-180,-84r0,-18","w":239},"=":{"d":"28,-126r0,-18r184,0r0,18r-184,0xm28,-75r0,-17r184,0r0,17r-184,0","w":239},">":{"d":"30,-16r0,-18r161,-75r-161,-75r0,-18r180,84r0,18","w":239},"?":{"d":"73,-67v-14,-73,57,-77,57,-131v0,-26,-17,-44,-43,-44v-25,0,-42,17,-47,42r-23,-3v5,-76,139,-79,136,4v-2,68,-71,58,-58,132r-22,0xm67,-15v0,-10,8,-17,18,-17v10,0,17,7,17,17v0,10,-7,17,-17,17v-10,0,-18,-7,-18,-17","w":166},"@":{"d":"91,-101v0,20,12,34,31,34v34,0,61,-50,61,-81v0,-23,-10,-37,-30,-37v-36,0,-62,50,-62,84xm224,-198r-39,122v0,4,1,9,9,9v25,0,59,-46,59,-86v0,-54,-49,-91,-103,-91v-66,0,-115,55,-115,116v0,64,51,117,115,117v36,0,73,-19,92,-47r21,0v-22,40,-68,64,-113,64v-78,0,-134,-59,-134,-134v0,-75,59,-133,133,-133v70,0,123,46,123,108v0,60,-43,106,-84,106v-13,0,-20,-10,-23,-24v-24,38,-95,27,-95,-29v0,-50,32,-104,85,-104v17,0,31,9,39,29r8,-23r22,0","w":288},"A":{"d":"2,0r111,-255r25,0r107,255r-27,0r-28,-68r-135,0r-28,68r-25,0xm182,-89r-58,-140r-59,140r117,0","w":246},"B":{"d":"35,0r0,-255v75,3,151,-19,155,67v1,27,-17,46,-45,54v33,3,57,27,57,63v0,91,-87,68,-167,71xm59,-233r0,88r49,0v49,0,59,-27,59,-43v-1,-56,-57,-44,-108,-45xm59,-123r0,101r54,0v56,0,65,-31,65,-49v-2,-60,-61,-52,-119,-52","w":226},"C":{"d":"225,-55r20,15v-69,94,-227,34,-227,-87v0,-117,148,-181,220,-94r-19,16v-56,-77,-188,-16,-177,78v-9,98,126,154,183,72","w":253},"D":{"d":"32,0r0,-255r79,0v132,0,137,109,137,128v0,19,-5,127,-137,127r-79,0xm55,-233r0,211v94,6,170,-13,170,-105v0,-91,-75,-112,-170,-106","w":266},"E":{"d":"35,0r0,-255r156,0r0,22r-132,0r0,90r124,0r0,22r-124,0r0,99r138,0r0,22r-162,0","w":213},"F":{"d":"35,0r0,-255r153,0r0,22r-129,0r0,90r120,0r0,22r-120,0r0,121r-24,0","w":200,"k":{"A":20,",":46,".":46}},"G":{"d":"245,-138r0,121v-97,56,-227,7,-227,-110v0,-118,146,-176,224,-99r-17,18v-15,-19,-47,-32,-75,-32v-67,0,-108,50,-108,113v0,63,41,112,108,112v27,0,52,-3,71,-15r0,-86r-61,0r0,-22r85,0","w":280},"H":{"d":"35,0r0,-255r24,0r0,112r142,0r0,-112r24,0r0,255r-24,0r0,-121r-142,0r0,121r-24,0","w":259},"I":{"d":"35,0r0,-255r24,0r0,255r-24,0","w":93},"J":{"d":"139,-255r0,180v0,31,-4,81,-70,81v-37,0,-59,-21,-66,-52r23,-4v6,24,21,35,43,35v34,0,46,-23,46,-54r0,-186r24,0","w":173},"K":{"d":"35,0r0,-255r24,0v2,36,-4,80,2,112r123,-112r33,0r-129,117r136,138r-34,0r-129,-132r-2,0r0,132r-24,0","w":219},"L":{"d":"35,0r0,-255r24,0r0,233r118,0r0,22r-142,0","w":180,"k":{"T":33,"V":33,"W":20,"y":13,"Y":40}},"M":{"d":"32,0r0,-255r36,0r93,214r93,-214r34,0r0,255r-24,0r-1,-225r-97,225r-10,0r-100,-225r0,225r-24,0","w":320},"N":{"d":"35,0r0,-255r31,0r155,223r0,-223r24,0r0,255r-30,0r-156,-223r0,223r-24,0","w":280},"O":{"d":"18,-127v0,-78,54,-134,132,-134v78,0,132,56,132,134v0,78,-54,133,-132,133v-78,0,-132,-55,-132,-133xm42,-127v0,63,41,112,108,112v67,0,108,-49,108,-112v0,-63,-41,-113,-108,-113v-67,0,-108,50,-108,113","w":300},"P":{"d":"35,0r0,-255v75,1,155,-14,155,67v0,67,-63,70,-131,67r0,121r-24,0xm59,-233r0,90v51,0,108,8,108,-45v0,-52,-57,-45,-108,-45","w":206,"k":{"A":27,",":55,".":55}},"Q":{"d":"293,-22r0,22r-141,0v-71,0,-134,-53,-134,-131v0,-74,51,-130,130,-130v136,0,173,190,65,239r80,0xm42,-131v0,60,46,109,110,109v66,0,101,-52,101,-109v0,-62,-39,-109,-105,-109v-66,0,-106,47,-106,109","w":300},"R":{"d":"59,-233r0,90r50,0v50,0,60,-27,60,-45v0,-18,-10,-45,-60,-45r-50,0xm35,0r0,-255r67,0v20,0,91,0,91,67v0,49,-38,62,-66,66r75,122r-27,0r-72,-121r-44,0r0,121r-24,0","w":213,"k":{"T":-2,"V":-2,"W":-2,"y":-9,"Y":5}},"S":{"d":"19,-32r23,-15v22,47,116,42,115,-18v0,-71,-131,-30,-131,-127v-1,-75,114,-92,151,-37r-20,14v-23,-40,-107,-32,-107,23v0,77,131,31,131,127v0,84,-123,92,-162,33","w":200},"T":{"d":"91,0r0,-233r-87,0r0,-22r198,0r0,22r-87,0r0,233r-24,0","w":206,"k":{"w":40,"y":40,"A":24,",":40,".":40,"c":40,"e":40,"o":40,"-":46,"a":40,"i":-9,"r":33,"s":40,"u":33,":":40,";":40}},"U":{"d":"216,-255v-7,115,35,261,-93,261v-128,0,-86,-146,-93,-261r24,0r0,151v0,36,10,89,69,89v59,0,69,-53,69,-89r0,-151r24,0","w":246},"V":{"d":"94,0r-95,-255r25,0r83,224r82,-224r26,0r-97,255r-24,0","w":213,"k":{"y":6,"A":20,",":46,".":46,"e":20,"o":20,"-":20,"a":20,"i":-2,"r":13,"u":13,":":19,";":19}},"W":{"d":"76,0r-74,-255r24,0r64,226r65,-226r30,0r65,226r64,-226r24,0r-74,255r-29,0r-65,-227r-65,227r-29,0","w":339,"k":{"A":6,",":27,".":27,"e":6,"o":6,"a":13,"i":-9,"r":6,"u":6,":":6,";":6}},"X":{"d":"0,0r96,-134r-87,-121r28,0r74,104r72,-104r28,0r-86,121r95,134r-30,0r-81,-115r-80,115r-29,0","w":219},"Y":{"d":"91,0r0,-110r-93,-145r28,0r77,121r79,-121r27,0r-94,145r0,110r-24,0","w":206,"k":{"v":20,"A":27,",":44,".":36,"e":33,"o":33,"q":33,"-":40,"a":33,"i":3,"u":27,":":33,";":33,"p":27}},"Z":{"d":"8,0r0,-19r149,-214r-147,0r0,-22r178,0r0,20r-150,213r154,0r0,22r-184,0","w":200},"[":{"d":"81,-264r0,18r-33,0r0,285r33,0r0,17r-54,0r0,-320r54,0","w":93},"\\":{"d":"21,-268r109,274r-19,7r-109,-274","w":133},"]":{"d":"13,56r0,-17r32,0r0,-285r-32,0r0,-18r54,0r0,320r-54,0","w":93},"^":{"d":"30,-92r82,-163r16,0r82,163r-20,0r-70,-143r-70,143r-20,0","w":239},"_":{"d":"0,45r0,-18r180,0r0,18r-180,0","w":180},"a":{"d":"92,-171v87,0,61,101,69,171r-20,0v-2,-7,0,-20,-3,-27v-20,45,-117,44,-117,-18v0,-60,68,-56,118,-56v8,-60,-66,-61,-98,-31r-13,-15v16,-15,42,-24,64,-24xm139,-84v-44,-2,-96,3,-96,38v0,21,20,31,38,31v51,-2,60,-31,58,-69","w":186},"b":{"d":"24,0r0,-272r22,0r0,135v42,-66,155,-29,155,54v0,82,-112,118,-155,54r0,29r-22,0xm44,-83v0,37,30,68,69,68v41,0,66,-31,66,-68v0,-37,-25,-68,-66,-68v-39,0,-69,31,-69,68","w":219},"c":{"d":"152,-38r16,14v-47,58,-149,19,-149,-59v0,-80,103,-118,150,-59r-17,13v-36,-46,-117,-12,-111,46v-6,58,77,93,111,45","w":173},"d":{"d":"174,0r0,-29v-43,64,-155,28,-155,-54v0,-83,112,-120,155,-54r0,-135r22,0r0,272r-22,0xm176,-83v0,-37,-30,-68,-69,-68v-41,0,-66,31,-66,68v0,37,25,68,66,68v39,0,69,-31,69,-68","w":219},"e":{"d":"160,-45r16,14v-43,66,-157,33,-157,-53v0,-50,35,-87,84,-87v56,0,82,41,78,93r-140,0v0,18,13,63,63,63v22,0,45,-12,56,-30xm41,-97r118,0v0,-30,-25,-54,-57,-54v-47,0,-61,45,-61,54","w":200},"f":{"d":"41,0r0,-147r-35,0r0,-19r35,0r0,-55v3,-54,39,-61,75,-51r-5,19v-27,-11,-48,1,-48,40r0,47r39,0r0,19r-39,0r0,147r-22,0","w":106,"k":{"f":6}},"g":{"d":"196,-166r0,155v0,83,-55,97,-89,97v-33,0,-65,-13,-82,-35r17,-15v15,21,39,31,65,31v77,0,66,-55,67,-99v-39,63,-152,23,-152,-53v0,-76,113,-118,152,-53r0,-28r22,0xm175,-85v0,-36,-30,-66,-66,-66v-36,0,-66,30,-66,66v0,36,30,66,66,66v36,0,66,-30,66,-66","w":219},"h":{"d":"29,0r0,-272r21,0r1,135v9,-18,30,-34,57,-34v90,3,57,94,63,171r-21,0v-7,-60,24,-151,-42,-151v-32,0,-58,22,-58,68r0,83r-21,0","w":200},"i":{"d":"32,0r0,-166r22,0r0,166r-22,0xm27,-232v0,-9,7,-16,16,-16v9,0,16,7,16,16v0,9,-7,16,-16,16v-9,0,-16,-7,-16,-16","w":86},"j":{"d":"54,-166r0,195v4,40,-23,66,-65,54r3,-19v25,11,40,-8,40,-33r0,-197r22,0xm27,-232v0,-9,7,-16,16,-16v9,0,16,7,16,16v0,9,-7,16,-16,16v-9,0,-16,-7,-16,-16","w":86},"k":{"d":"29,0r0,-272r21,0r0,181r82,-75r32,0r-86,76r96,90r-33,0r-91,-88r0,88r-21,0","w":173},"l":{"d":"32,0r0,-272r22,0r0,272r-22,0","w":86},"m":{"d":"29,0r-2,-166r22,0v1,12,-2,27,2,29v16,-38,93,-51,107,2v10,-25,34,-36,57,-36v90,3,57,94,63,171r-22,0v-7,-59,25,-151,-41,-151v-75,0,-45,85,-51,151r-21,0v-4,-55,18,-151,-35,-151v-32,0,-58,22,-58,68r0,83r-21,0","w":306},"n":{"d":"29,0r-2,-166r22,0v1,12,-2,27,2,29v9,-18,30,-34,57,-34v90,3,57,94,63,171r-21,0v-7,-60,24,-151,-42,-151v-32,0,-58,22,-58,68r0,83r-21,0","w":200},"o":{"d":"19,-83v0,-51,37,-88,88,-88v51,0,87,37,87,88v0,51,-36,87,-87,87v-51,0,-88,-36,-88,-87xm41,-83v0,37,25,68,66,68v41,0,66,-31,66,-68v0,-37,-25,-68,-66,-68v-41,0,-66,31,-66,68","w":213},"p":{"d":"24,82r0,-248r22,0r0,29v42,-66,155,-29,155,54v0,82,-112,118,-155,54r0,111r-22,0xm44,-83v0,37,30,68,69,68v41,0,66,-31,66,-68v0,-37,-25,-68,-66,-68v-39,0,-69,31,-69,68","w":219},"q":{"d":"174,82r0,-111v-43,64,-155,28,-155,-54v0,-83,112,-120,155,-54r0,-29r22,0r0,248r-22,0xm176,-83v0,-37,-30,-68,-69,-68v-41,0,-66,31,-66,68v0,37,25,68,66,68v39,0,69,-31,69,-68","w":219},"r":{"d":"29,0r-2,-166r22,0v0,12,0,26,1,29v13,-22,35,-40,66,-32r-3,21v-76,-10,-63,76,-63,148r-21,0","w":119,"k":{",":33,".":33,"c":6,"d":6,"e":6,"g":6,"o":6,"q":6,"-":20}},"s":{"d":"10,-30r19,-12v14,35,87,38,87,-4v0,-46,-99,-14,-99,-77v0,-60,96,-62,115,-16r-19,11v-10,-30,-74,-33,-74,3v0,45,98,11,98,78v-1,66,-104,64,-127,17","w":153},"t":{"d":"110,-166r0,19r-47,0r0,108v-1,26,28,28,47,18r2,20v-34,14,-71,-2,-71,-38r0,-108r-36,0r0,-19r36,0r0,-48r22,0r0,48r47,0","w":119},"u":{"d":"170,-166r1,166r-21,0v-1,-12,1,-27,-3,-29v-9,18,-30,33,-57,33v-90,-2,-56,-93,-63,-170r22,0v7,59,-25,151,41,151v32,0,58,-22,58,-68r0,-83r22,0","w":200},"v":{"d":"73,0r-68,-166r25,0r55,143r54,-143r22,0r-65,166r-23,0","w":166,"k":{",":27,".":27}},"w":{"d":"58,0r-53,-166r24,0r41,139r47,-139r20,0r50,139r39,-139r22,0r-49,166r-22,0r-51,-136r-46,136r-22,0","w":253,"k":{",":20,".":20}},"x":{"d":"2,0r69,-90r-59,-76r28,0r46,63r45,-63r27,0r-58,76r71,90r-28,0r-58,-75r-57,75r-26,0","w":173},"y":{"d":"161,-166r-85,217v-9,28,-34,42,-67,32r2,-20v43,18,49,-33,62,-62r-68,-167r25,0r55,140r53,-140r23,0","w":166,"k":{",":33,".":33}},"z":{"d":"10,0r0,-13r99,-134r-94,0r0,-19r124,0r0,13r-99,134r104,0r0,19r-134,0","w":153},"{":{"d":"99,-264r0,18v-40,-6,-28,50,-28,86v0,39,-22,52,-26,57v5,3,26,19,26,56v0,34,-14,90,28,86r0,17v-55,11,-51,-45,-50,-96v0,-28,-5,-55,-25,-55r0,-17v59,-7,-21,-167,75,-152","w":119},"|":{"d":"31,-270r18,0r0,360r-18,0r0,-360","w":79},"}":{"d":"21,56r0,-17v40,6,28,-50,28,-86v0,-39,22,-52,26,-57v-5,-3,-26,-19,-26,-56v0,-34,14,-90,-28,-86r0,-18v55,-11,51,45,50,97v0,28,5,55,25,55r0,17v-60,6,21,166,-75,151","w":119},"~":{"d":"82,-131v23,0,56,24,77,24v14,0,23,-11,31,-24r13,11v-8,17,-21,33,-45,33v-24,0,-56,-24,-77,-25v-14,0,-24,12,-32,25r-12,-12v8,-15,21,-32,45,-32","w":239},"'":{"d":"36,-173r0,-82r22,0r0,82r-22,0","w":93},"`":{"d":"27,-255r37,52r-18,0r-48,-52r29,0","w":86},"\u00a0":{"w":93}}});
;
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * © 1989, 1990, 2002 Adobe Systems Incorporated. All rights reserved. © 1981,
 * 2002 Heidelberger Druckmaschinen AG. All rights reserved.
 * 
 * Trademark:
 * Trade Gothic is a trademark of Linotype Corp. registered in the U.S. Patent and
 * Trademark Office and may be registered in certain other jurisdictions in the
 * name of Linotype Corp. or its licensee Linotype GmbH.
 * 
 * Full name:
 * TradeGothicLTStd-Bold
 * 
 * Designer:
 * Jackson Burke
 * 
 * Vendor URL:
 * http://www.adobe.com/type
 * 
 * License information:
 * http://www.adobe.com/type/legal.html
 */
Cufon.registerFont({"w":200,"face":{"font-family":"Trade Gothic LT Std","font-weight":700,"font-stretch":"semi-condensed","units-per-em":"360","panose-1":"2 11 8 4 5 5 2 2 2 4","ascent":"260","descent":"-100","x-height":"4","bbox":"-21 -283 308 69","underline-thickness":"18","underline-position":"-18","stemh":"30","stemv":"45","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":100},"!":{"d":"76,-260r-10,172r-32,0r-10,-172r52,0xm76,0r-52,0r0,-51r52,0r0,51","w":100},"\"":{"d":"72,-163r0,-97r39,0r0,97r-39,0xm9,-163r0,-97r39,0r0,97r-39,0","w":119},"#":{"d":"182,-108r0,34r-35,0r-11,74r-34,0r10,-74r-36,0r-10,74r-35,0r10,-74r-34,0r0,-34r39,0r6,-44r-34,0r0,-34r39,0r10,-74r35,0r-11,74r36,0r11,-74r34,0r-10,74r31,0r0,34r-35,0r-7,44r31,0xm123,-152r-36,0r-6,44r35,0"},"$":{"d":"7,-46r31,-28v11,15,28,30,46,34r0,-74v-37,-11,-72,-35,-72,-76v0,-42,32,-68,72,-70r0,-23r28,0r0,23v30,5,51,20,68,38r-28,27v-10,-13,-23,-23,-40,-25r0,66v40,14,76,33,76,82v0,44,-34,71,-76,72r0,41r-28,0r0,-41v-25,0,-59,-22,-77,-46xm84,-162r0,-60v-17,0,-31,10,-31,28v0,16,15,27,31,32xm112,-106r0,66v19,0,32,-13,32,-31v0,-21,-15,-27,-32,-35"},"%":{"d":"77,-260v36,0,65,30,65,65v0,35,-29,65,-65,65v-36,0,-65,-30,-65,-65v0,-35,29,-65,65,-65xm77,-225v-41,0,-35,59,0,59v16,0,30,-14,30,-29v0,-15,-14,-30,-30,-30xm243,-130v36,0,65,30,65,65v0,35,-29,65,-65,65v-36,0,-65,-30,-65,-65v0,-35,29,-65,65,-65xm243,-94v-16,0,-30,14,-30,29v0,15,14,30,30,30v16,0,30,-15,30,-30v0,-15,-14,-29,-30,-29xm71,4r149,-268r31,0r-149,268r-31,0","w":320},"&":{"d":"99,-233v-32,0,-26,49,-8,69v14,-12,31,-24,31,-45v0,-11,-8,-24,-23,-24xm183,-131r39,11v-8,22,-17,44,-30,65v10,7,23,14,36,15r0,44v-25,0,-42,-6,-66,-27v-42,48,-150,31,-150,-45v0,-36,18,-55,44,-72v-14,-21,-21,-37,-21,-59v0,-87,130,-82,128,-6v0,33,-26,53,-50,72v14,19,29,37,46,53v9,-17,19,-33,24,-51xm81,-107v-32,16,-18,70,18,70v13,0,26,-7,33,-15v-20,-17,-36,-36,-51,-55","w":240},"(":{"d":"109,30r-42,0v-63,-80,-64,-214,0,-294r42,0v-28,39,-51,84,-51,147v0,63,23,108,51,147","w":119},")":{"d":"53,30r-43,0v28,-39,52,-84,52,-147v0,-63,-24,-108,-52,-147r43,0v63,80,64,214,0,294","w":119},"*":{"d":"72,-260r36,0v-2,18,-10,37,-9,54r48,-24r9,32v-17,4,-39,1,-53,8r38,38r-27,20v-9,-15,-13,-36,-25,-48r-23,48r-27,-20v11,-14,31,-25,37,-40r-52,-6r9,-32r48,24v1,-17,-7,-36,-9,-54","w":180},"+":{"d":"86,-120r0,-76r44,0r0,76r76,0r0,44r-76,0r0,76r-44,0r0,-76r-76,0r0,-44r76,0","w":216},",":{"d":"28,53r18,-53r-22,0r0,-51r52,0r0,51r-23,53r-25,0","w":100},"-":{"d":"104,-78r-89,0r0,-40r89,0r0,40","w":119},".":{"d":"76,0r-52,0r0,-51r52,0r0,51","w":100},"\/":{"d":"121,-264r-98,268r-44,0r98,-268r44,0","w":100},"0":{"d":"13,-86r0,-88v0,-55,31,-90,87,-90v56,0,87,35,87,90r0,88v0,55,-31,90,-87,90v-56,0,-87,-35,-87,-90xm100,-222v-53,0,-40,80,-40,130v0,42,13,55,40,55v53,0,40,-80,40,-131v0,-42,-13,-54,-40,-54"},"1":{"d":"85,0r0,-199r-40,0r0,-28v38,-8,45,-21,57,-37r28,0r0,264r-45,0"},"2":{"d":"178,0r-164,0r0,-42v104,-99,121,-118,121,-145v0,-21,-12,-35,-35,-35v-27,1,-39,17,-37,43r-48,0v-4,-50,27,-85,81,-85v51,0,86,26,86,76v0,60,-70,107,-107,147r103,0r0,41"},"3":{"d":"12,-76r48,0v0,27,11,39,38,39v24,0,38,-17,38,-39v0,-29,-16,-41,-52,-41r0,-41v58,9,61,-64,12,-64v-18,0,-30,12,-31,30r-47,0v0,-48,35,-72,79,-72v77,0,108,93,49,128v28,11,38,33,38,62v0,51,-38,78,-85,78v-58,0,-87,-31,-87,-80"},"4":{"d":"40,-105r74,0r-1,-102xm0,-110r110,-150r49,0r0,155r37,0r0,37r-37,0r0,68r-45,0r0,-68r-114,0r0,-42"},"5":{"d":"13,-75r47,0v-1,24,14,38,37,38v31,0,41,-21,41,-57v0,-55,-54,-63,-76,-30r-40,0r0,-136r150,0r0,41r-109,0r0,54v14,-10,29,-16,48,-16v55,0,74,35,74,88v0,60,-25,97,-87,97v-65,0,-85,-40,-85,-79"},"6":{"d":"60,-106v-2,43,8,69,40,69v25,0,38,-18,38,-48v0,-52,-55,-50,-78,-21xm180,-192r-47,0v-1,-18,-15,-30,-33,-30v-36,0,-43,34,-40,78v16,-12,35,-20,56,-20v45,0,69,35,69,77v0,53,-26,91,-85,91v-56,0,-87,-35,-87,-90r0,-88v0,-55,31,-90,87,-90v45,0,76,25,80,72"},"7":{"d":"11,-219r0,-41r164,0r0,24r-70,236r-52,0r72,-219r-114,0"},"8":{"d":"140,-75v0,-24,-16,-40,-40,-40v-24,0,-40,16,-40,40v0,22,11,38,40,38v29,0,40,-16,40,-38xm133,-189v0,-18,-14,-33,-33,-33v-19,0,-33,15,-33,33v0,18,15,33,33,33v18,0,33,-15,33,-33xm187,-74v0,51,-38,78,-87,78v-49,0,-87,-27,-87,-78v0,-29,10,-51,38,-62v-21,-10,-32,-34,-32,-57v0,-48,36,-71,81,-71v45,0,81,23,81,71v0,23,-11,47,-32,57v28,11,38,33,38,62"},"9":{"d":"140,-154v2,-42,-8,-68,-40,-68v-25,0,-37,17,-37,47v-1,53,54,51,77,21xm20,-68r47,0v1,18,15,31,33,31v35,0,43,-35,40,-79v-16,12,-35,20,-56,20v-45,0,-69,-35,-69,-77v0,-53,26,-91,85,-91v56,0,87,35,87,90r0,88v0,55,-31,90,-87,90v-45,0,-76,-25,-80,-72"},":":{"d":"76,0r-52,0r0,-51r52,0r0,51xm76,-108r-52,0r0,-51r52,0r0,51","w":100},";":{"d":"28,53r18,-53r-22,0r0,-51r52,0r0,51r-23,53r-25,0xm76,-108r-52,0r0,-51r52,0r0,51","w":100},"<":{"d":"206,-39r0,42r-196,-84r0,-34r196,-84r0,42r-140,59","w":216},"=":{"d":"206,-164r0,44r-196,0r0,-44r196,0xm206,-76r0,44r-196,0r0,-44r196,0","w":216},">":{"d":"10,3r0,-42r140,-59r-140,-59r0,-42r196,84r0,34","w":216},"?":{"d":"143,-202v0,40,-62,67,-52,116r-39,0r0,-36v0,-17,46,-63,46,-84v0,-12,-11,-21,-23,-21v-15,0,-29,16,-30,32r-41,-12v10,-74,139,-78,139,5xm97,0r-51,0r0,-51r51,0r0,51","w":159},"@":{"d":"148,-163v-39,-3,-57,70,-11,72v40,3,57,-70,11,-72xm186,-177r5,-18r32,0r-20,102v0,4,1,7,5,7v17,0,36,-20,36,-59v0,-58,-40,-88,-95,-88v-60,0,-99,44,-99,103v0,94,113,132,176,78r33,0v-64,104,-246,50,-246,-78v0,-76,62,-134,137,-134v63,0,125,43,125,109v0,79,-69,104,-91,104v-11,1,-18,-9,-21,-19v-31,41,-93,8,-93,-44v0,-61,76,-117,116,-63","w":288},"A":{"d":"101,-204v-11,32,-16,71,-25,105r49,0xm53,0r-48,0r64,-260r64,0r62,260r-47,0r-13,-55r-68,0"},"B":{"d":"22,0r0,-260v74,-3,154,-4,154,67v0,23,-11,41,-32,54v69,34,39,151,-49,139r-73,0xm72,-116r0,75v35,3,60,-7,60,-38v0,-31,-26,-39,-60,-37xm72,-219r0,62v30,3,54,-7,54,-31v0,-27,-24,-34,-54,-31"},"C":{"d":"68,-183r0,106v0,29,12,37,32,37v26,0,35,-22,32,-54r50,0v3,68,-31,98,-82,98v-48,0,-82,-24,-82,-88r0,-92v0,-64,34,-88,82,-88v48,0,82,24,82,88r-50,0v2,-30,-10,-44,-32,-44v-20,0,-32,8,-32,37"},"D":{"d":"22,0r0,-260v88,-2,161,-5,160,90r0,80v1,95,-71,93,-160,90xm72,-216r0,172v39,2,60,-5,60,-52v0,-59,15,-135,-60,-120"},"E":{"d":"162,0r-140,0r0,-260r136,0r0,44r-86,0r0,60r66,0r0,44r-66,0r0,68r90,0r0,44","w":180},"F":{"d":"72,0r-50,0r0,-260r130,0r0,44r-80,0r0,60r63,0r0,44r-63,0r0,112","w":159,"k":{"A":13,",":40,".":40}},"G":{"d":"154,0r-7,-22v-42,51,-129,25,-129,-62r0,-92v0,-64,34,-88,82,-88v51,0,78,30,80,89r-50,0v6,-59,-62,-62,-62,-8r0,106v0,29,12,37,32,37v25,1,32,-23,30,-52r-35,0r0,-41r85,0r0,133r-26,0"},"H":{"d":"75,0r-50,0r0,-260r50,0r0,104r70,0r0,-104r50,0r0,260r-50,0r0,-112r-70,0r0,112","w":219},"I":{"d":"75,0r-50,0r0,-260r50,0r0,260","w":100},"J":{"d":"45,-260r50,0r0,205v2,43,-40,66,-91,58r0,-44v24,3,41,1,41,-24r0,-195","w":119},"K":{"d":"72,0r-50,0r0,-260r50,0r1,107r64,-107r55,0r-67,105r74,155r-56,0r-52,-109r-19,29r0,80"},"L":{"d":"152,0r-130,0r0,-260r50,0r0,216r80,0r0,44","w":159,"k":{"T":20,"V":20,"W":20,"y":13,"Y":27}},"M":{"d":"68,0r-43,0r0,-260r70,0r45,171r45,-171r70,0r0,260r-43,0r0,-204r-53,204r-38,0r-53,-204r0,204","w":280},"N":{"d":"71,0r-46,0r0,-260r55,0r69,154r0,-154r46,0r0,260r-48,0r-76,-168r0,168","w":219},"O":{"d":"18,-84r0,-92v0,-64,34,-88,82,-88v48,0,82,24,82,88r0,92v0,64,-34,88,-82,88v-48,0,-82,-24,-82,-88xm68,-183r0,106v0,29,12,37,32,37v20,0,32,-8,32,-37r0,-106v0,-29,-12,-37,-32,-37v-20,0,-32,8,-32,37"},"P":{"d":"75,0r-50,0r0,-260r72,0v61,0,91,29,91,78v0,56,-43,83,-113,78r0,104xm75,-219r0,74v36,2,63,-2,63,-37v0,-35,-27,-40,-63,-37","k":{"A":13,",":46,".":46}},"Q":{"d":"198,-24r0,43v-24,0,-41,-11,-53,-25v-60,25,-127,5,-127,-78r0,-92v0,-64,34,-88,82,-88v48,0,82,24,82,88v0,49,7,110,-10,143v7,5,15,9,26,9xm97,-65r0,-43v16,2,27,12,35,24v-5,-47,19,-138,-32,-136v-20,0,-32,8,-32,37r0,106v-2,38,26,42,51,33v-7,-10,-14,-18,-22,-21"},"R":{"d":"192,0r-53,0r-43,-106r-24,0r0,106r-50,0r0,-260r72,0v96,-12,118,114,49,144xm72,-219r0,72v34,2,61,0,61,-36v0,-36,-26,-38,-61,-36","k":{"Y":6}},"S":{"d":"177,-201r-45,13v-8,-24,-19,-34,-36,-34v-18,0,-28,10,-28,28v0,39,111,42,111,123v0,45,-31,75,-83,75v-40,0,-71,-22,-84,-73r48,-11v6,31,24,43,39,43v17,0,31,-12,31,-31v0,-49,-111,-50,-111,-123v0,-45,27,-73,78,-73v44,0,71,26,80,63"},"T":{"d":"7,-260r166,0r0,44r-58,0r0,216r-50,0r0,-216r-58,0r0,-44","w":180,"k":{"w":20,"y":20,"A":13,",":27,".":27,"-":27,"a":20,"c":20,"e":20,"i":20,"o":20,"r":20,"s":20,"u":20,":":27,";":27}},"U":{"d":"25,-260r50,0r0,182v0,25,11,38,35,38v24,0,35,-13,35,-38r0,-182r50,0r0,182v0,57,-34,82,-85,82v-51,0,-85,-25,-85,-82r0,-182","w":219},"V":{"d":"72,0r-67,-260r49,0r47,186r45,-186r49,0r-66,260r-57,0","k":{"A":13,",":27,".":27,"-":13,"a":13,"e":13,"i":6,"o":13,"r":6,"u":6,":":13,";":13}},"W":{"d":"63,0r-55,-260r46,0r36,170r36,-170r48,0r36,170r35,-170r46,0r-57,260r-48,0r-37,-178r-39,178r-47,0","w":299,"k":{"A":6,",":20,".":20,"-":6,"a":6,"e":6,"o":6,":":6,";":6}},"X":{"d":"63,-260r37,78r38,-78r53,0r-63,123r69,137r-54,0r-43,-92r-43,92r-54,0r70,-137r-64,-123r54,0"},"Y":{"d":"57,-260r44,105r42,-105r53,0r-71,155r0,105r-50,0r0,-105r-71,-155r53,0","k":{"v":6,"A":13,",":33,".":33,"-":27,"a":20,"e":20,"i":6,"o":20,"u":13,":":20,";":20,"p":13,"q":20}},"Z":{"d":"22,-216r0,-44r144,0r0,42r-98,174r100,0r0,44r-156,0r0,-42r98,-174r-88,0","w":180},"[":{"d":"102,27r-84,0r0,-287r84,0r0,22r-44,0r0,243r44,0r0,22","w":119},"\\":{"d":"77,4r-98,-268r44,0r98,268r-44,0","w":100},"]":{"d":"18,-260r84,0r0,287r-84,0r0,-22r44,0r0,-243r-44,0r0,-22","w":119},"^":{"d":"61,-115r-42,0r70,-145r38,0r70,145r-43,0r-46,-102","w":216},"_":{"d":"180,45r-180,0r0,-18r180,0r0,18","w":180},"a":{"d":"17,-139v3,-40,33,-60,73,-60v104,-2,54,113,69,199r-45,0v-1,-5,-2,-11,-3,-19v-25,30,-99,37,-99,-24v0,-45,42,-65,99,-82v11,-43,-45,-51,-48,-14r-46,0xm111,-48r0,-48v-27,9,-54,24,-54,45v0,32,41,22,54,3","w":180},"b":{"d":"67,-152r0,108v24,22,49,25,50,-33v1,-32,0,-99,-23,-89v-10,0,-18,4,-27,14xm63,0r-41,0r0,-260r45,0r0,82v50,-43,95,-20,95,56v0,59,1,126,-50,126v-21,0,-39,-17,-49,-28r0,24","w":180},"c":{"d":"162,-128r-45,0v2,-21,-7,-32,-27,-32v-44,-1,-27,63,-27,101v0,15,11,23,27,23v21,0,30,-13,27,-35r45,0v0,52,-27,75,-72,75v-66,0,-72,-57,-72,-129v0,-52,27,-74,72,-74v44,0,71,21,72,71","w":180},"d":{"d":"113,-44r0,-108v-24,-22,-49,-25,-50,33v-1,32,0,99,23,89v10,0,18,-4,27,-14xm158,0r-41,0v-1,-7,2,-18,-1,-24v-8,12,-28,28,-48,28v-51,0,-50,-67,-50,-126v0,-76,45,-99,95,-56r0,-82r45,0r0,260","w":180},"e":{"d":"162,-87r-99,0v-2,28,2,54,27,54v19,0,27,-12,27,-27r45,0v-2,40,-26,64,-72,64v-43,0,-72,-27,-72,-70r0,-64v0,-43,29,-69,72,-69v60,0,79,46,72,112xm63,-124r54,0v2,-23,-5,-39,-27,-39v-22,0,-29,16,-27,39","w":180},"f":{"d":"97,-261r0,37v-26,-4,-31,11,-28,37r27,0r0,37r-27,0r0,150r-46,0r0,-150r-20,0r0,-37r20,0v-5,-60,22,-88,74,-74","w":100},"g":{"d":"105,-125v0,-25,-8,-38,-24,-38v-17,0,-23,12,-23,43v0,24,7,36,21,36v19,0,26,-7,26,-41xm172,-199r0,39v-11,-4,-19,-3,-29,2v17,62,-9,126,-79,109v-3,4,-8,6,-8,11v0,24,114,-13,114,58v0,33,-34,49,-87,49v-74,0,-96,-43,-48,-66v-30,-14,-16,-52,9,-61v-47,-30,-45,-141,37,-141v19,0,39,8,51,22v12,-14,23,-22,40,-22xm127,23v-4,-17,-48,-10,-67,-14v-5,5,-9,8,-9,15v0,10,15,15,42,15v22,0,34,-6,34,-16","w":180},"h":{"d":"67,0r-45,0r0,-260r45,0r0,86v27,-33,91,-40,91,25r0,149r-45,0r0,-144v-1,-33,-31,-22,-46,-4r0,148","w":180},"i":{"d":"27,-196r46,0r0,196r-46,0r0,-196xm73,-230r-46,0r0,-41r46,0r0,41","w":100},"j":{"d":"27,-196r46,0r0,212v-1,43,-33,57,-72,52r0,-40v19,0,26,-6,26,-18r0,-206xm73,-230r-46,0r0,-41r46,0r0,41","w":100},"k":{"d":"69,0r-45,0r0,-260r45,0r1,140r48,-76r51,0r-45,66r49,130r-48,0r-33,-92r-23,32r0,60","w":180},"l":{"d":"27,0r0,-260r46,0r0,260r-46,0","w":100},"m":{"d":"22,0r0,-196r44,0r0,22v23,-27,71,-39,83,4v24,-37,89,-45,89,22r0,148r-45,0r0,-149v-1,-32,-31,-11,-40,1r0,148r-46,0r0,-149v-1,-32,-33,-11,-40,1r0,148r-45,0","w":259},"n":{"d":"67,0r-45,0r0,-196r44,0r0,22v30,-33,92,-41,92,25r0,149r-45,0r0,-144v-1,-33,-31,-22,-46,-4r0,148","w":180},"o":{"d":"90,4v-66,0,-72,-57,-72,-129v0,-52,27,-74,72,-74v66,0,72,56,72,128v0,52,-27,75,-72,75xm90,-160v-44,-1,-27,63,-27,101v0,15,11,23,27,23v44,1,27,-63,27,-101v0,-15,-11,-23,-27,-23","w":180},"p":{"d":"67,-152r0,108v24,22,49,25,50,-33v1,-32,0,-99,-23,-89v-10,0,-18,4,-27,14xm22,-196r41,0v1,7,-2,18,1,24v8,-12,28,-27,48,-27v51,0,50,66,50,125v0,76,-46,100,-95,56r0,87r-45,0r0,-265","w":180},"q":{"d":"113,-44r0,-108v-24,-22,-49,-25,-50,33v-1,32,0,99,23,89v10,0,18,-4,27,-14xm117,-196r41,0r0,265r-45,0r0,-87v-50,45,-95,20,-95,-56v0,-59,-1,-125,50,-125v21,0,39,16,49,27r0,-24","w":180},"r":{"d":"67,0r-45,0r0,-196r44,0v1,8,-2,20,1,26v10,-19,23,-29,46,-29r0,49v-18,-10,-46,-6,-46,16r0,134","w":119,"k":{",":20,".":20,"-":13}},"s":{"d":"145,-150r-37,14v-6,-29,-50,-39,-50,-9v0,30,89,31,89,89v0,39,-27,60,-65,60v-27,0,-52,-7,-74,-56r41,-11v4,18,15,30,33,30v14,0,22,-6,22,-17v0,-37,-89,-29,-89,-95v0,-37,30,-54,62,-54v34,0,57,19,68,49","w":159},"t":{"d":"20,-150r-18,0r0,-37r18,0r0,-53r46,0r0,53r29,0r0,37r-29,0r0,100v-1,13,14,15,29,14r0,38v-36,6,-75,1,-75,-37r0,-115","w":100},"u":{"d":"113,-196r45,0r0,196r-44,0r0,-22v-30,34,-92,42,-92,-25r0,-149r45,0r0,144v1,33,31,22,46,4r0,-148","w":180},"v":{"d":"50,-196r30,126r30,-126r46,0r-54,196r-44,0r-54,-196r46,0","w":159,"k":{",":13,".":13}},"w":{"d":"51,0r-46,-196r42,0r27,123r26,-123r39,0r29,123r25,-123r42,0r-46,196r-42,0r-29,-122r-24,122r-43,0","w":240,"k":{",":13,".":13}},"x":{"d":"56,-101r-50,-95r48,0r26,56r26,-56r48,0r-49,96r53,100r-49,0r-29,-63r-30,63r-48,0","w":159},"y":{"d":"12,68r0,-39v45,5,49,-25,37,-67r-45,-158r46,0r31,130r29,-130r46,0r-52,195v-15,58,-38,74,-92,69","w":159,"k":{",":13,".":13}},"z":{"d":"18,-156r0,-40r131,0r0,39r-83,117r83,0r0,40r-138,0r0,-39r82,-117r-75,0","w":159},"{":{"d":"94,-264r0,22v-67,-12,7,116,-59,125v41,2,29,63,29,104v0,21,11,23,30,22r0,21v-39,2,-66,-1,-70,-43v-3,-34,15,-96,-25,-93r0,-22v40,4,22,-59,25,-93v4,-41,31,-45,70,-43","w":119},"|":{"d":"18,4r0,-268r44,0r0,268r-44,0","w":79},"}":{"d":"26,30r0,-21v67,11,-6,-115,59,-126v-42,-2,-29,-62,-29,-103v0,-21,-11,-23,-30,-22r0,-22v39,-2,66,1,70,43v3,34,-14,97,25,94r0,22v-39,-4,-22,59,-25,92v-4,41,-31,45,-70,43","w":119},"~":{"d":"149,-64v-38,0,-97,-55,-116,1r-14,-35v9,-17,22,-33,48,-33v27,0,63,26,85,26v14,0,23,-14,32,-28r13,35v-11,16,-24,34,-48,34","w":216},"'":{"d":"20,-163r0,-97r40,0r0,97r-40,0","w":79},"`":{"d":"-9,-272r56,0r34,52r-37,0","w":100},"\u00a0":{"w":100}}});
;
/*
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version: 2.99 (12-MAR-2011)
 * Dual licensed under the MIT and GPL licenses.
 * http://jquery.malsup.com/license.html
 * Requires: jQuery v1.3.2 or later
 */
(function($){var ver="2.99";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){$.fn.cycle.debug&&log(s);}function log(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "));}$.expr[":"].paused=function(el){return el.cyclePause;};$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(els[opts2.currSlide],els[opts2.nextSlide],opts2,!opts2.backwards);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts.backwards);},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,!options.backwards);}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.backwards);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}else{if(opts.backwards){opts.startingSlide=els.length-1;}}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z;if(opts.backwards){z=first?i<=first?els.length+(i-first):first-i:els.length-i;}else{z=first?i>=first?els.length-(i-first):first-i:els.length-i;}$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.cssAfter=opts.cssAfter||{};opts.cssFirst=opts.cssFirst||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);$($slides[first]).css(opts.cssFirst);if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="none"?0:opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.backwards){opts.nextSlide=opts.startingSlide==0?(els.length-1):opts.startingSlide-1;}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length){opts.after[0].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$s.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=0;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&!opts.bounce&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){opts.busy=0;$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing("+fx+"); currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{if(opts.backwards){var roll=(opts.nextSlide-1)<0;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=1;opts.currSlide=0;}else{opts.nextSlide=roll?(els.length-1):opts.nextSlide-1;opts.currSlide=roll?0:opts.nextSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=els.length-2;opts.currSlide=els.length-1;}else{opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(els[opts.currSlide],els[opts.nextSlide],opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.backwards);},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn.call(curr,curr,next,opts,fwd);while(opts.fx!="none"&&(t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,1);};$.fn.cycle.prev=function(opts){advance(opts,0);};function advance(opts,moveForward){var val=moveForward?1:-1;var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,moveForward);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v&&v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();if(typeof opts.cssBefore.opacity=="undefined"){opts.cssBefore.opacity=1;}opts.cssBefore.display="block";if(opts.slideResize&&w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(opts.slideResize&&h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,function(){cb();});};$l.animate(opts.animOut,speedOut,easeOut,function(){$l.css(opts.cssAfter);if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,autostop:0,autostopCount:0,backwards:false,before:null,cleartype:!$.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null};})(jQuery);
/*
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version:	 2.73
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after();};};$.fn.cycle.transitions.fadeout=function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css({display:"block",opacity:1});opts.before.push(function(curr,next,opts,w,h,rev){$(curr).css("zIndex",opts.slideCount+(!rev===true?1:0));$(next).css("zIndex",opts.slideCount+(!rev===true?0:1));});opts.animIn.opacity=1;opts.animOut.opacity=0;opts.cssBefore.opacity=1;opts.cssBefore.display="block";opts.cssAfter.zIndex=0;};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore.top=h;opts.cssBefore.left=0;opts.cssFirst.top=0;opts.animIn.top=0;opts.animOut.top=-h;};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst.top=0;opts.cssBefore.top=-h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h;};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=0-w;};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=-w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w;};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst.left=0;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.top=0;};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.left=0;};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.width="show";opts.animOut.width=0;};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animIn.height="show";opts.animOut.height=0;};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=true;}opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){if(opts.rev){fwd=!fwd;}var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;opts.animOut.width=next.cycleW;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.height=0;opts.animIn.top=0;opts.animOut.height=0;};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animOut.height=0;};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.left=0;opts.animOut.width=0;};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});$.extend(opts.cssBefore,{top:0,left:0,width:0});opts.animIn.left=0;opts.animOut.width=0;};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});$.extend(opts.animOut,{width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2});});opts.cssFirst.top=0;opts.cssFirst.left=0;opts.cssBefore.width=0;opts.cssBefore.height=0;};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});});opts.cssBefore.width=0;opts.cssBefore.height=0;opts.animOut.opacity=0;};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w;};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore.top=h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h;};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore.top=h;opts.cssBefore.left=w;opts.animIn.top=0;opts.animIn.left=0;opts.animOut.top=h;opts.animOut.left=w;};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=0;});opts.cssBefore.top=0;opts.cssBefore.width=0;};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn.top=0;opts.animIn.height=this.cycleH;opts.animOut.top=0;});opts.cssBefore.height=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=curr.cycleW/2;opts.animOut.width=0;});opts.cssBefore.top=0;opts.cssBefore.width=0;};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn.top=0;opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH/2;opts.animOut.height=0;});opts.cssBefore.height=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){$.extend(opts.animOut,{left:w*2,top:-h/2,opacity:0});}else{opts.animOut.opacity=0;}});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.animIn.left=0;};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2);var left=parseInt(w/2);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);;
/**
 * 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,

        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+1).clone())
              .append(tLi.slice(0,v).clone());
            o.start += v;
        }

        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.btnNext)
            $(o.btnNext).click(function() {
                return go(curr+o.scroll);
            });

        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);
            });

        if(o.auto)
            setInterval(function() {
                go(curr+o.scroll);
            }, o.auto+o.speed);

        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<=o.start-v-1) {           // If first, then goto last
                        ul.css(animCss, -((itemLength-(v*2))*liSize)+"px");
                        // If "scroll" > 1, then the "to" might not be equal to the condition; it can be lesser depending on the number of elements.
                        curr = to==o.start-v-1 ? itemLength-(v*2)-1 : itemLength-(v*2)-o.scroll;
                    } else if(to>=itemLength-v+1) { // If last, then goto first
                        ul.css(animCss, -( (v) * liSize ) + "px" );
                        // If "scroll" > 1, then the "to" might not be equal to the condition; it can be greater depending on the number of elements.
                        curr = to==itemLength-v+1 ? v+1 : v+o.scroll;
                    } 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);;

var $ = $ || jQuery;

var slidesContent, supersizer ;

//jQuery.easing.def = "easeOutQuad"; 

$(document).ready(function(){
  initContent();
  initTwitterFeed();
  $('#logo').click(function(){
				document.location = '/';									
  });
  //changeStyles('big-rock'); //no longer using
	CufonStyling();
	scrollableNews();
});


function CufonStyling() {
	// Homepage Bucket Titles
	Cufon.replace('.homepage-bucket-left h2, span.bucket-subtitle', { 
  	fontFamily: 'Avenir LT Std',
  	fontWeight: '500' 
	});
	// All Header Text on Main Pages
	Cufon.replace('.article_left h1', { fontFamily: 'Trade Gothic LT Std' });
	// News Pages
	Cufon.replace('.view-display-id-all_releases .views-field-title', { fontFamily: 'Trade Gothic LT Std', hover: true });
	// Popup AJAX Pages
	Cufon.replace('div.work-right h1', { 
  	fontFamily: 'Avenir LT Std', 
  	fontWeight: '300' 
	});
	Cufon.replace('#slide-cta h3', { fontFamily: 'Trade Gothic LT Std', textShadow: '#666 1px 1px' });
	Cufon.replace('p.cta-text', { fontFamily: 'Trade Gothic LT Std', textShadow: '#666 1px 1px' });
	Cufon.replace('.sf-menu a', { fontFamily: 'Trade Gothic LT Std', hover: true });
}

function initContent(){

	// For Work Index and Work Detail Pages - Use the "Call to Action" Box to load/show content pane.
	$('#slide-cta a').click(function(){
		if( $('#section').hasClass('work')) { 
			// Add the Close Button to work navigation - This isn't working right now.
			var aClose = $('<div class="closebox"><a href="#" class="close">X</a></div>').insertBefore($('div#work-content-left'));
			aClose.click(function(){
				fadeOutContent();
			//	return false;
			});
			fadeInContent(); // Work Detail Page - just toggle content div
		} else if( $('#section').hasClass('work_index') || $('#section').hasClass('homepage')) { 
			 ajaxFetch( $(this).attr('href') ); // Work Index Page - slideshow requests ajax content
			 $('#supersized').pause();
		}
		
		initScrollable();
		return false;
	});
	
}


// Get AJAX Content (JSON Response)
function ajaxFetch( path ){
	fadeOutContent();
	$.ajax({
		url: base_path + 'ajax/node/' + path,
		cache: false,
		dataType: "json",
		success: ajaxReceived
	});
}

// Handle JSON Response from AJAX
function ajaxReceived( data ){
	document.title = data.title + " | Evans Hunt Group";
	$('.article').empty();
	$('#section').append(data.body);
	initContentEvents();
	fadeInContent();
	CufonStyling();
}



// Called by content panes loaded via Ajax. (eg. Work Index Page)
 function initContentEvents(){
	// Add the Close Button to Homepage and Work Index Pages
	if ( $('#section').hasClass('work_index') || $('#section').hasClass('homepage')) {
		var aClose = $('<div class="closebox"><a href="#" class="close">X</a></div>').insertBefore($('div#work-content-left'));
	}
	// Add the Close Button to Book Navigation
	else {
		var aClose = $('div.book-navigation').append($('<a href="#" class="close">X</a>'));
	}
		aClose.click(function(){
			fadeOutContent();
			$('#supersized').resume();
			return false;
		});
   
   // Scrollable for image galleries
	initScrollable();
    
 }

function initScrollable() {
	$('.slideshow').cycle({
		fx:      'scrollHorz',
		activePagerClass: 'activeSlide',
		prev:    '#prev',
		next:    '#next, .slideshow img',
		pager:   '.navi',
		speed: 400,
		after: onAfter
	});
	
	function onAfter(curr, next, opts) {
		currentSlide = $(".navi a.activeSlide").html();
		if (!currentSlide) currentSlide = "1";
			$('.slideCaption').html(currentSlide + '/' + opts.slideCount);
			$("#slideshow-controls").css("visibility", "visible");
	}
}

function initTwitterFeed(){
	$('#eh-twitter-feed-home').liveTwitter('evanshuntgroup', {mode: 'user_timeline', limit: 1, rate: 300000, imageSize: 0, refresh: false}).bind('tweets', function(){
	   $("#eh-twitter-feed-home a").attr("target", "_blank");
	});
	$('#eh-team-feed').liveTwitter({user: 'evanshuntgroup', list: 'evanshunt'}, {mode: 'list', limit: 5, rate: 300000, refresh: false}).bind('tweets', function(){
	   $("#eh-team-feed a").attr("target", "_blank");
	});
	$('#eh-twitter-feed').liveTwitter('evanshuntgroup', {mode: 'user_timeline', limit: 10, rate: 300000, refresh: false, showAuthor: true}).bind('tweets', function(){
	   $("#eh-twitter-feed a").attr("target", "_blank");
	});
}

function scrollableNews(){
	$(".news-prev").addClass("disabled");
	$("#news-scroll").jCarouselLite({
	    btnNext: ".news-next",
	    btnPrev: ".news-prev",
	    vertical: true,
			visible: 3,
			circular: false,
			scroll: 3
	});
	
}

function fadeOutContent(){

	$('div.article').fadeOut(800);
	$('div.closebox').fadeOut(800);
	//$('#slide-cta').show();
	// Slide was showing before popup was done fading out.
	$('#slide-cta').fadeIn(3000);
	
  // Start Flash Animation.
	//startAnimation();
}


function fadeInContent(){

	$('div.article').fadeIn(1000);
	$('#slide-cta').hide();


// Stop Flash Animation.
	//stopAnimation();

}

/* 
	
	SUPERSIZED AND FULL FLASH BACKGROUND FUNCTIONS

*/
function getSWF (movieName) {
		return swfobject.getObjectById(movieName)
	}
	
function stopAnimation() {
	getSWF('animationShell').stopAnimation();
	alert('stopping flash');
}
function startAnimation() {
	getSWF('animationShell').startAnimation();
}
function hideAnimationContent() {
	$('#slide-cta').fadeOut(1000);
}
function getCtaById(id){
	for(var i=0;i<=slidesContent.length;i++){
		if(id == slidesContent[i].id) return slidesContent[i]	
	}
}
function showAnimationContent(id) {
	var cta = getCtaById(id);
	$('#slide-cta').fadeOut(1000, function(){
		$('#slide-cta h3').html(cta.title);
		$('#slide-cta p').html(cta.txt);
		$('#slide-cta p').attr('class','cta-text');
		$('#slide-cta #ctaviewdetails').attr('class',cta.css);
		$('#slide-cta a').attr('href', cta.id);
		$('#slide-cta').attr('class',cta.css);
		CufonStyling();
		$('#slide-cta').fadeIn(1000);
		
	});
	
}

function changeStyles(pathid){
	var pathtocheck = jQuery.url.attr("path");
	
	if (pathtocheck.indexOf(pathid) > -1) {
	// set some styles to contrast the lighter background
	$('.sf-menu li').addClass('altnav');
	$('div.region-header div').first().addClass('altnav');
					
	}
}




/*
var swfVersionStr = "10.1.52";
	var xiSwfUrlStr = "";
	var flashvars = {
		xmlPath:"<?php echo(base_path() . path_to_theme()); ?>/flash/xml/animations.xml"
	};
	var params = {};
		params.quality = "high";
		params.bgcolor = "#000000";
		params.play = "true";
		params.loop = "true";
		params.wmode = "opaque";
		params.scale = "showall";
		params.menu = "true";
		params.devicefont = "false";
		params.salign = "";
		params.allowscriptaccess = "sameDomain";
		params.allowFullScreen = "true";			
	var attributes = {};
		attributes.id = "animationShell";
		attributes.name = "animationShell";
		attributes.align = "middle";
	
	swfobject.embedSWF( "<?php echo( base_path()  . path_to_theme()); ?>/flash/animationShell.swf", "flashy",
		"100%;", "100%;", swfVersionStr, xiSwfUrlStr, flashvars, params, attributes);
*/

	




























;

