(function(){
  var add_video, adjust_layout, caption, check_work_hash, close_video, close_work_lightbox, hide_caption, home_section, init_faq, init_home, init_logo, init_who_scroll, init_work_lightbox, init_work_tooltip, lb_page, lb_pages, lightbox_caption, lightbox_go, lightbox_next, lightbox_open, lightbox_postflight, lightbox_prev, lightbox_show, open_work_lightbox, shapes, show_brands, show_hello, show_rules, splash;
  $(function() {
    $('#splash, ul.work-list li.description').lock();
    splash();
    nav_fade();
    $(window).resize(adjust_layout);
    adjust_layout();
    $('#who-container .who-copy').size() ? (function(){ init_who_scroll(); who_nav_fade(); })()  : null;
    if ($('#work-present, #work-past').size()) {
      init_work_tooltip();
      init_work_lightbox();
      check_work_hash();
      $('li.description span').remarry();
    }
    $('#crest').size() ? init_home() : null;
    return $('#faq-player').size() ? init_faq() : null;
  });
  $(window).load(function() {
    return adjust_layout();
  });
  splash = function splash() {
    var el, source;
    if (source = $(".splash-source:last").attr('href')) {
      if (/\.(?:jpe?g|png|gif)$/i.test(source)) {
        return $('<img />', {
          src: source
        }).appendTo('#splash-content');
      } else if (/\.(?:flv|f4v)$/i.test(source)) {
        el = $('<div class="splash-video" />').appendTo('#splash-content');
        return el.media({
          src: "/media/swf/player_no_controls_loop_no_spinner.swf",
          bgColor: 'transparent',
          height: 960,
          width: 1280,
          flashvars: {
            filepath: source
          },
          attrs: {
            id: 'splash-video',
            loop: 'true'
          }
        });
      }
    }
  };
  adjust_layout = function adjust_layout() {
    var con, dh, wh;
    con = $('#container');
    con[0].natural_margin = con[0].natural_margin || con.css('margin-top');
    con[0].natural_top = con[0].natural_top || con.css('top');
    $(window).height() < 665 ? con.css({
      top: 32,
      marginTop: 0
    }) : con.css({
      top: con[0].natural_top,
      marginTop: con[0].natural_margin
    });
    dh = $(document).height();
    wh = $(window).height();
    return $('#splash').css({
      height: dh > wh ? dh : '100%'
    });
  };
  $.fn.scrollbar = function scrollbar(opts) {
    
    var touchevents = (function(eventName) {
      var el = document.createElement('div');
      eventName = 'on' + eventName;
      var isSupported = (eventName in el);
      if (!isSupported) {
        el.setAttribute(eventName, 'return;');
        isSupported = typeof el[eventName] == 'function';
      }
      el = null;
      return isSupported;
    })('touchstart');
    
    
    return this.each(function(n, item) {
      var cbks, down, drag_off, draggin, handle, kore, max_pos, move, pos, trck_off, up, update, val;
      kore = $(item);
      handle = kore.find('.handle:first').css({
        position: 'absolute',
        top: 0
      });
      cbks = opts;
      draggin = false;
      drag_off = 0;
      val = 0;
      pos = 0;
      max_pos = kore.height() - handle.height();
      trck_off = 0;
      
      down = function down(e) {
        if('preventDefault' in e) e.preventDefault();
        draggin = true;
        trck_off = kore.offset().top;
        drag_off = e.pageY - trck_off - pos;
        if (cbks.start && typeof cbks.start === 'function') {
          return cbks.start(e);
        }
      };
      
      move = function move(e) {
        var nu_val;
        if (!(draggin)) {
          return true;
        }
        if('preventDefault' in e) e.preventDefault();
        pos = e.pageY - trck_off - drag_off;
        pos = (function() {
          if (pos < 0) {
            return 0;
          } else if (pos > max_pos) {
            return max_pos;
          } else {
            return pos;
          }
        })();
        nu_val = pos / max_pos;
        val = nu_val;
        return update(e);
      };
      
      up = function up(e) {
        if (!(draggin)) {
          return true;
        }
        if('preventDefault' in e) e.preventDefault();
        draggin = false;
        if (cbks.end && typeof cbks.end === 'function') {
          return cbks.end(e);
        }
      };
      
      update = function update(e) {
        handle.css({
          top: pos
        });
        if (cbks.move && typeof cbks.move === 'function') {
          return cbks.move(e, val);
        }
      };
      
      item.scroll = function scroll(delta) {
        val += delta;
        val = (function() {
          if (val < 0) {
            return 0;
          } else if (val > 1) {
            return 1;
          } else {
            return val;
          }
        })();
        pos = val * max_pos;
        return update();
      };
      
      // iPhone / iPad support
      if( touchevents ){
        function touchmove( e ){
          if(draggin) e.preventDefault();
          move(e.touches[0]);
        }
        function touchstart( e ){
          // alert('touchstart!');
          e.preventDefault();
          down(e.touches[0]);
        }
        function touchend( e ){
          e.preventDefault();
          up(e.touches[0]);
        }
        handle[0].addEventListener('touchstart', touchstart );
        document.addEventListener('touchmove', touchmove );
        document.addEventListener('touchend', up );
      }
      
      $(document).mousemove(move).mouseup(up);
      return handle.mousedown(down);
    });
  };
  $.fn.lock = function lock() {
    return this.mousedown(function(e) {
      e.preventDefault();
      return false;
    });
  };
  $.fn.remarry = function remarry() {
    return this.each(function() {
      return $(this).html($(this).html().replace(/[\n\r\s]+([^\n\r\s(?:&#160;)]+[\n\r\s]*)$/m, '&#160;$1'));
    });
  };
  init_who_scroll = function init_who_scroll() {
    var con_ht, content, copy, copy_ht, d, diff, old_sk_val, pos, scroll, scrollbar, sk_val, slide_copy, target;
    copy = $('#who-container .who-copy');
    copy_ht = copy[0].scrollHeight;
    con_ht = copy.outerHeight();
    diff = (d = copy_ht - con_ht) && d > 0 ? d : 0;
    content = copy.find('.who-copy-inner');
    sk_val = old_sk_val = pos = target = 0;
    scroll = function scroll(e, v) {
      return sk_val = v;
    };
    slide_copy = setInterval(function() {
      var jump;
      if (sk_val === old_sk_val && pos === target) {
        return true;
      }
      target = sk_val * diff;
      jump = (target - pos) / 6;
      if (Math.abs(jump) > 8) {
        jump *= 8 / Math.abs(jump);
      }
      pos += jump;
      pos = (function() {
        if (pos < 0) {
          return 0;
        } else if (pos > diff) {
          return diff;
        } else {
          return pos;
        }
      })();
      if (Math.abs(pos - target) < 0.1) {
        pos = target;
      }
      content.css({
        marginTop: -pos
      });
      return old_sk_val = sk_val;
    }, 30);
    scrollbar = $('#who-container .who-scroll').scrollbar({
      move: scroll
    });
    $('#who-container .who-copy').mousewheel(function(e, d) {
      return scrollbar[0].scroll(-d / 10);
    });
    
    $('.who-scroll').css('top', $('.who-copy').offset().top - $('#content').offset().top )
    
    return content.remarry();
  };
  check_work_hash = function check_work_hash() {
    var hash = window.location.hash.replace(/^#/,'');
    $('#work-' + hash + ' a' ).click();
  };
  init_work_tooltip = function init_work_tooltip() {
    var flip_tip, hide_tip, info, last_proj, measure, really_hide_tip, show_tip, swap_info, tip, tip_bg, tip_flipped, tip_kv, tip_shape, tip_timer;
    tip = $('<div class="work-tooltip" />').appendTo('body');
    info = {
      a: $('<div class="info info-a" />').appendTo(tip),
      b: $('<div class="info info-b" />').appendTo(tip),
      c: $('<div class="info info-c" />').appendTo(tip)
    };
    tip_bg = $('<div class="tip-bg" />').appendTo(tip);
    tip_kv = Raphael(tip_bg[0], 344, 130);
    tip_shape = tip_kv.path(shapes.tooltip).attr({
      fill: '#000',
      stroke: null,
      'stroke-width': 0
    });
    measure = $('<div class="tooltip-measurer" />').appendTo('body');
    tip_flipped = false;
    flip_tip = function flip_tip(up) {
      up = up || true;
      tip_shape.rotate(180);
      tip_flipped = up;
      return tip.toggleClass('flipped');
    };
    $(document).mousemove(function(e) {
      var tw, wh, ww, x, y;
      tw = tip.width();
      x = e.pageX - (tw / 2);
      y = e.pageY + 15;
      ww = $(window).width();
      wh = $(window).height();
      x = (function() {
        if (x < 0) {
          return 0;
        } else if (x > (ww - tw)) {
          return (ww - tw);
        } else {
          return x;
        }
      })();
      if (y > wh - 145) {
        y = y - 150;
        if (!tip_flipped) {
          flip_tip(true);
        }
      } else if (tip_flipped) {
        flip_tip(false);
        tip_flipped = false;
      }
      return tip.css({
        left: parseInt(x),
        top: parseInt(y)
      });
    });
    last_proj = false;
    swap_info = function swap_info(a, b, c) {
      var el, natural_width;
      if (typeof a !== 'string' && last_proj === a) {
        return true;
      }
      if (typeof a !== 'string') {
        el = $(a);
        a = el.find('h3').text();
        b = el.find('h4').text();
        c = el.find('h5').text();
      }
      measure.html(a + '<br />' + b + '<br />' + c);
      natural_width = measure.outerWidth();
      tip.css({
        width: natural_width + 60
      });
      info.a.text(a);
      info.b.text(b);
      info.c.text(c);
      tip_shape.attr({
        fill: '#ed2090'
      }).animate({
        fill: '#ed2090'
      }, 160, '>', function() {
        return tip_shape.animate({
          fill: '#000'
        }, 580, '>');
      });
      return last_proj = a;
    };
    tip_timer = 0;
    hide_tip = function hide_tip() {
      return tip_timer = setTimeout(really_hide_tip, 60);
    };
    really_hide_tip = function really_hide_tip() {
      return tip.fadeOut(92);
    };
    show_tip = function show_tip() {
      clearTimeout(tip_timer);
      if (!(lightbox_open)) {
        return tip.fadeIn(92);
      }
    };
    return $('.work-list .work-item').each(function(i, tem) {
      return $(this).hover((function() {
        swap_info(tem);
        return show_tip();
      }), (function() {
        return hide_tip();
      }));
    });
  };
  lightbox_open = false;
  init_work_lightbox = function init_work_lightbox() {
    var close, lb, lb_bg, lb_inner, lb_kv, lb_shape, next, prev, showcase, thumbs;
    lb = $('<div id="work-lightbox" />').appendTo('#content');
    lb_screen = $('<div id="lightbox_screen" />').prependTo('#content');
    lb_bg = $('<div />').appendTo(lb);
    lb_kv = Raphael(lb_bg[0], 900, 440);
    lb_shape = lb_kv.path(shapes.lightbox).attr({
      fill: '#000',
      stroke: null,
      'stroke-width': 0
    });
    lb_inner = $('<div id="work-lightbox-inner" />').appendTo(lb);
    showcase = $('<div class="showcase" />').appendTo(lb);
    thumbs = $('<div class="thumbs-holder" />').appendTo(lb);
    close = $('<div class="work-close" />').appendTo(lb).bind('touchend click', close_work_lightbox);
    next = $('<a href="#" class="nav-arrow arrow-next" />').appendTo(lb).click(lightbox_next).hide();
    prev = $('<a href="#" class="nav-arrow arrow-prev" />').appendTo(lb).click(lightbox_prev).hide();
    $('.work-item a').bind('click touchstart', function(e) {
      e.preventDefault();
      return open_work_lightbox(this);
    });
    $(document).keyup(function(e) {
      if (e.keyCode === 27) {
        close_work_lightbox();
      }
      if (e.keyCode === 39) {
        lightbox_next();
      }
      if (e.keyCode === 37) {
        return lightbox_prev();
      }
    });
    $('<div id="work-lightbox-backdrop" />').appendTo('#content').bind('touchstart mousedown', close_work_lightbox);
    return $('#splash').mousedown(close_work_lightbox);
  };
  open_work_lightbox = function open_work_lightbox(src) {
    var hash = $(src).closest('li').attr('id').replace(/^work-/,'');
    window.location.hash = hash;
    
    src = typeof src === 'string' ? src : $(src).attr('href');
    if (!(src)) {
      return false;
    }

    $('#work-lightbox .thumbs-holder, #work-lightbox .showcase').empty();
    $('#work-lightbox-inner').empty().load(src, lightbox_postflight);
    $('#work-lightbox').fadeIn(496);
    $(lb_screen).show();
    $('#work-present, #work-past').filter(':visible').animate({
      opacity: 0.55
    });
    $('#work-lightbox-backdrop').show();
    return lightbox_open = true;
  };
  close_work_lightbox = function close_work_lightbox(e) {
    window.location.hash = '';
    
    if (e && 'preventDefault' in e) {
      e.preventDefault();
    }
    if (!(lightbox_open)) {
      return true;
    }
    $('#work-lightbox').fadeOut(496);
    $(lb_screen).hide();
    $('#work-present, #work-past').filter(':visible').animate({
      opacity: 1
    });
    $('#work-lightbox-backdrop').hide();
    return lightbox_open = false;
  };
  lb_page = 0;
  lb_pages = 0;
  lightbox_postflight = function lightbox_postflight() {
    var holder, thumbs;
    holder = $('#work-lightbox .thumbs-holder').empty();
    thumbs = $('#work-lightbox ul.thumbs').remove().appendTo(holder).find('li');
    thumbs.each(function(n) {
      $(this).css({
        left: (105 * n)
      }).bind('touchend click', function(e) {
        e.preventDefault();
        return lightbox_show(n, this);
      });
      return $(this).hover((function() {
        $(this).addClass('hover');
        return lightbox_caption($(this));
      }), (function() {
        $(this).removeClass('hover');
        return lightbox_caption();
      }));
    });
    $('#work-lightbox .nav-arrow').hide();
    if (thumbs.size() > 8) {
      $('#work-lightbox .arrow-next').show();
    }
    lb_page = 0;
    lb_pages = Math.ceil(thumbs.size() / 4) - 1;
    lightbox_show(0);
    return lightbox_caption($('#work-lightbox ul.thumbs li:first'));
  };
  lightbox_prev = function lightbox_prev(e) {
    return lightbox_go(e, -1);
  };
  lightbox_next = function lightbox_next(e) {
    return lightbox_go(e);
  };
  lightbox_go = function lightbox_go(e, dir) {
    var cap, thumbs;
    if (e) {
      e.preventDefault();
    }
    if (!(lightbox_open)) {
      return false;
    }
    thumbs = $('#work-lightbox .thumbs-holder ul.thumbs');
    lb_page += (dir || 1);
    if (lb_page >= lb_pages) {
      lb_page = lb_pages;
      $('#work-lightbox .arrow-next').hide();
    } else if (lb_page <= 0) {
      lb_page = 0;
      $('#work-lightbox .arrow-prev').hide();
    } else {
      $('#work-lightbox .arrow-prev').show();
      $('#work-lightbox .arrow-next').show();
    }
    cap = $('#thumb-caption').fadeOut();
    return thumbs.animate({
      left: -420 * lb_page
    }, function() {
      // if $('#work-lightbox ul.thumbs li.selected').position().left >= (420 * lb_page)
      Math.abs($('#work-lightbox ul.thumbs li.selected').position().left - 420 * lb_page) > 740 ? cap.fadeIn() : null;
      return lightbox_caption();
    });
  };
  caption = null;
  lightbox_caption = function lightbox_caption(el) {
    var left, text, thumb, width;
    thumb = el || $('#work-lightbox ul.thumbs li.selected');
    text = thumb.find('.caption').text();
    caption = $('#work-lightbox #thumb-caption');
    if (Math.abs(thumb.position().left - 420 * lb_page) > 740) {
      return caption.hide();
    } else {
      caption.show();
    }
    caption.text(text).show();
    width = caption.width();
    left = thumb.offset().left - $('#work-lightbox').offset().left + 52 - width / 2;
    left = (function() {
      if (left < 10) {
        return 10;
      } else if (left > (890 - width)) {
        return (890 - width);
      } else {
        return left;
      }
    })();
    return caption.css({
      left: left
    });
  };
  hide_caption = function hide_caption() {
    return (caption || $('#thumb-caption')).hide();
  };
  lightbox_show = function lightbox_show(num, el) {
    var holder, img, media, showcase, thumb;
    thumb = $(el || '#work-lightbox .thumbs-holder ul.thumbs li:eq(' + num + ')');
    if (!(thumb && thumb.size())) {
      return true;
    }
    thumb.addClass('selected').siblings().removeClass('selected');
    media = thumb.find('a.media').attr('href');
    img = $('<img class="preview" />').attr('src', thumb.find('a.image').attr('href'));
    $('#work-lightbox .showcase').empty().append(img);
    if (media) {
      showcase = $('#work-lightbox .showcase');
      holder = $('<div class="video-holder" />').appendTo(showcase);
      img.addClass('has-media');
      img.click(function() {
        return add_video(media);
      });
      return $('<div class="play-button" />').click(function() {
        return add_video(media);
      }).appendTo(showcase);
    }
  };
  window.close_work_video = close_video = function close_video() {
    var showcase;
    showcase = $('#work-lightbox .showcase');
    showcase.find('.video-holder').empty().hide();
    return showcase.find('img.preview, .play-button').show();
  };
  add_video = function add_video(url, el, ops) {
    var o, showcase;
    showcase = $('#work-lightbox .showcase');
    o = $.extend({
      width: 380,
      height: 300,
      id: 'video-player'
    }, ops);
    showcase.find('img.preview, .play-button').hide();
    return showcase.find('.video-holder').media({
      src: "/media/swf/player.swf",
      bgColor: 'transparent',
      height: o.height,
      width: o.width,
      flashvars: {
        filepath: url
      }
    });
  };
  home_section = '#crest';
  init_logo = function init_logo() {
    var change_color, color_time, colors, last_n, logo, n, offset, paper, total;
    paper = Raphael($("#crest")[0], 426, 374);
    // paper: Raphael($("#crest")[0], 1920, 1200)
    logo = paper.path(shapes.crest).attr({
      fill: '#000',
      stroke: null,
      'stroke-width': 0
    });
    // colors = [
    //     '#000', // black
    //     '#0d1e2a', '#255070', '#3c82b6', // transition colors
    //     '#49a1e1', // cyan
    //     '#658dd1', '#906eb9', '#bc50a1', // transition colors 
    //     '#d83b91', // magenta
    //     '#bd3c7d', '#933f5e', '#694240', // transition colors 
    //     '#4f432c', // brown
    //     '#403624', '#282216', '#0f0e08' // transition colors
    //     ];
    // colors = [
    //     '#000', // black
    //     '#0d1e2a', '#3c82b6', // transition colors
    //     '#49a1e1', // cyan
    //     '#658dd1', '#bc50a1', // transition colors 
    //     '#d83b91', // magenta
    //     '#bd3c7d', '#694240', // transition colors 
    //     '#4f432c', // brown
    //     '#403624', '#0f0e08' // transition colors
    //     ];
    colors = [
        '#000', // black
        '#255070', // transition colors
        '#00a1e4', // cyan
        '#906eb9', // transition colors 
        '#ec118f', // magenta
        '#933f5e', // transition colors 
        '#4f432c', // brown
        '#282216' // transition colors
        ];
    last_n = 0;
    n = 0;
    total = $('#crest').width() + $('#crest').height();
    offset = $('#crest').offset();
    $('#crest').mousemove(function(e) {
      var pos;
      pos = (e.pageX - offset.left) + (e.pageY - offset.top);
      var old_n = n;
      n = Math.round(Math.abs(pos / total) * 4 * 6) % 4 * ( colors.length / 4 );
    });
    change_color = function change_color() {
      // logo.animate({ fill:colors[n] }, 66) unless last_n is n
      if (!(last_n === n)) {
        if( last_n < n && last_n < colors.length / 2 && n > colors.length / 2 )
          last_n--;
        else if( last_n < n || n == 0 && last_n > colors.length / 2 )
          last_n++;
        else
          last_n--;
        
        if( last_n < 0 ) last_n = colors.length - 1;
        if( last_n > colors.length - 1 ) last_n = 0;

        logo.attr({
          fill: colors[last_n]
        });
      }
    };
    return color_time = setInterval(change_color, 50);
    // $('#crest').hover((=> $('#splash-video')[0].show_cursor() ), (=> $('#splash-video')[0].hide_cursor() ))
  };
  show_hello = function show_hello(e) {
    if (e) {
      e.preventDefault();
    }
    $(home_section).fadeOut(294, function() {
      return $('#hello, h1#logo, ul#nav, #footer').fadeIn(496);
    });
    return home_section = '#hello';
  };
  show_rules = function show_rules(e) {
    if (e) {
      e.preventDefault();
    }
    $(home_section).fadeOut(294, function() {
      return $('#hello-rules').fadeIn(294);
    });
    return home_section = '#hello-rules';
  };
  show_brands = function show_brands(e) {
    if (e) {
      e.preventDefault();
    }
    $(home_section).fadeOut(294, function() {
      return $('#hello-brands').fadeIn(294);
    });
    home_section = '#hello-brands';
    return $('#brands-list li').each(function(i, tem) {
      return setTimeout(function() {
        return $.browser.msie ? $(tem).show() : $(tem).animate({
          opacity: 1
        }, 620 + i * 10);
      }, 76 * i + 460);
    });
  };
  init_home = function init_home() {
    if (/hello/.test(window.location.hash)) {
      $('#hello, h1#logo, ul#nav, #footer').show();
      home_section = '#hello';
    } else {
      init_logo();
      $('#crest').click(show_hello);
    }
    $('.subnav-rules-brands .subnav-rules').click(show_rules);
    $('.subnav-rules-brands .subnav-brands').click(show_brands);
    return $('.nav-muhtayzik-dunbar a').click(function(e) {
      e.preventDefault();
      window.location = '/#hello';
      return window.location.reload();
    });
  };
  init_faq = function init_faq() {
    var clips;
    clips = [];
    $('.clips-list a').each(function() {
      return clips.push($(this).attr('href'));
    });
    return $('#faq-player .player').media({
      src: "/media/swf/faq.swf",
      bgColor: 'transparent',
      height: 100,
      width: 137,
      flashvars: {
        clips: clips.join('////////')
      }
    });
  };
  nav_fade = function nav_fade() {
      var navs = $('#nav li, h1#logo, ul.subnav-rules-brands li, ul#work-subnav li').not('.selected');
      navs.hover( function () {
         $(this).addClass('visible');
         $(this).find('a').stop(true).fadeTo(500, 0)
      }, function () {
          var dis = this;
          $(this).find('a').stop(true).fadeTo(500, 1, function(){
            $(dis).removeClass('visible');
          });
      });
      navs.find('a').bind('touchstart', function(){
        window.location = this.href;
      });
  };
  who_nav_fade = function who_nav_fade() {
      (function(jQuery){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(",")+")";}});function getRGB(color){var result;if(color&&color.constructor==Array&&color.length==3)
      return color;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])];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];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)];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)];return colors[jQuery.trim(color).toLowerCase()];}
      function getColor(elem,attr){var color;do{color=jQuery.curCSS(elem,attr);if(color!=''&&color!='transparent'||jQuery.nodeName(elem,"body"))
      break;attr="backgroundColor";}while(elem=elem.parentNode);return getRGB(color);};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]};})($);
      $('ul#who-subnav li a').hover(function () {
          $(this).stop().animate({'color':'black','backgroundColor':'white'},500)
      }, function () {
          $(this).stop().animate({'color':'white','backgroundColor':'black'},500)
      })
  };
  shapes = {
    tooltip: "M0,52 L0,128.5 344,128.5 344,52.5 178,52.5 172,0 166,52.5",
    lightbox: "M6,0.5h888c3.313,0,6,2.687,6,6v428c0,3.313-2.687,6-6,6H6c-3.313,0-6-2.687-6-6V6.5 C0,3.187,2.687,0.5,6,0.5z",
    crest: "M376.595,16.041c-0.823,1.7,0.413,2.088-1.785,6.635c-2.197,4.545-6.046,4.167-6.046,4.167 	s-0.41-2.905-1.372-4.674c-0.962-1.766-2.538-3.029-6.182-6.598c-3.646-3.57-8.929-10.194-8.929-10.194s1.922,7.071,4.533,9.218 	c2.61,2.146,5.631,8.46,5.631,8.46s-1.098-0.126-6.694-1.895c-5.597-1.767-8.553-5.825-8.553-5.825s0.684,3.932,4.12,6.582 	c3.435,2.653,6.181,3.318,6.181,3.318s0.687,6.785-2.646,13.099c-3.335,6.312-10.542,9.091-14.252,8.964 	c-3.707-0.126-3.432-2.904-3.296-4.924c0.137-2.021,3.296-4.545,3.022-6.818c-0.274-2.274,0.274-6.693,0.274-6.693 	s-1.921,1.768-2.747,3.283c-0.823,1.515,0.962,3.536-0.55,5.302c-1.512,1.769-3.71,4.674-4.122,7.071 	c-0.411,2.4-1.649,4.522-5.77,4.757c-4.122,0.235-4.122-4.505-3.709-7.282c0.414-2.778,2.61-7.804,2.61-7.804 	s-4.396,2.5-5.632,6.836c-1.238,4.335-0.273,9.193-0.273,9.681c0,0.487-2.886,3.156-3.438,3.914 	c-0.548,0.757-2.883,0.252-5.356,0.252c-2.473,0-6.183-3.41-6.87-4.537c-0.686-1.129-0.138-3.418-0.686-6.448 	c-0.549-3.032-5.221-8.208-7.007-11.996c-1.785-3.788-1.647-6.423-1.647-6.423s-1.786,2.509-0.963,5.288 	c0.825,2.776,3.023,6.565,4.809,9.444c1.786,2.879,0.688,8.958,0.688,8.958l-2.062-0.599c0,0-0.55-3.41-3.298-8.242 	c-2.747-4.832-9.752-7.92-11.401-10.192c-1.649-2.274-2.061-3.662-2.061-3.662s-0.549,3.282,0.137,4.924 	c0.686,1.64,3.435,2.213,7.693,6.186c4.259,3.974,4.534,9.597,4.534,9.597s-8.518-2.652-12.227-7.45 	c-3.708-4.798-3.573-11.238-3.573-14.252c0-3.014,2.061-3.805,3.298-3.931c1.236-0.126,2.474-2.903,3.847-4.167 	c1.373-1.261,5.632-0.504,7.839-0.975c2.207-0.472,4.25-3.57,4.25-3.57s-4.634,1.009-6.458,1.135 	c-1.822,0.126-3.984,0.126-6.044,1.609c-2.06,1.481-7.142,2.432-7.142,2.432s0.548-2.55,0.959-4.798 	c0.414-2.248,2.612-3.762,4.819-6.944c2.207-3.182-0.77-6.246-0.77-6.246s-0.128,1.826-1.026,4.1 	c-0.898,2.272-3.298,3.536-5.22,5.934c-1.924,2.4-2.346,8.208-2.346,8.208s-2.875-1.623-3.699-4.293 	c-0.825-2.667,0.961-6.312,0.961-6.312c-0.645-0.709-4.522,4.355-3.08,8.47c1.444,4.112,3.766,6.125,4.969,7.138 	c1.203,1.015,1.203,2.653,1.282,4.363c0.08,1.711,1.29,7.218,0.548,8.013c-0.738,0.793-3.914-0.352-7.692-4.556 	c-3.779-4.204-3.754-6.476-4.236-6.403c-0.481,0.074-0.399,1.779,0.562,3.955c0.961,2.174,5.208,7.207,7.077,8.935 	c1.867,1.729,6.466,2.137,7.027,2.43c0.562,0.295,1.201,2.801,4.086,4.862c2.886,2.062,6.862,3.626,13.784,6.142 	c6.922,2.516,7.452,3.875,7.933,4.283c0.48,0.408,0.08,2.244,0,2.584s-1.688-2.448-3.686-3.655 	c-1.997-1.206-4.007-1.104-6.091-1.252c-2.082-0.146-6.009-1.251-6.009-1.251s1.449,7.955,5.929,9.796 	c4.482,1.841,8.538,1.87,8.538,1.87s-1.004,2.035-1.566,2.516c-0.561,0.48-2.004,1.427-1.844,1.903 	c0.16,0.477,1.042,0.273,1.684,0.415c0.641,0.142,0.561,1.03,0.881,1.472c0.321,0.442,1.921,3.758,2.483,4.346 	c0.561,0.59-0.481,2.357-1.491,3.757c-1.011,1.398-1.36,3.648-2.25,5.815c-1.258,3.055-3.103,5.044-5.918,9.115 	c-2.262,3.271-5.138,5.472-5.78,6.258c-0.641,0.787-5.556,4.714-6.839,5.499c-1.281,0.787-2.563,0.59-6.196-1.571 	c-3.634-2.161-9.19-6.285-12.396-9.82c-3.206-3.537-5.343-4.715-11.967-5.107c-6.624-0.394-15.591-1.769-19.011-1.374 	c-3.42,0.393-10.043,4.125-9.831,5.106c0.215,0.982,2.778,1.178,2.778,1.178s-1.283,1.768-0.427,2.358 	c0.854,0.587,7.05-3.732,10.257-4.323c0.535-0.097,1.537-0.068,2.796,0.04c-1.968,2.265-3.096,5.804-4.029,7.129 	c-1.472,2.09-5.19,1.984-5.19,1.984h-38h-0.031h-0.021h-0.032h-37.999c0,0-3.719,0.105-5.19-1.984 	c-0.936-1.325-2.061-4.862-4.029-7.129c1.26-0.108,2.26-0.137,2.796-0.04c3.207,0.59,9.402,4.91,10.258,4.323 	c0.854-0.591-0.427-2.358-0.427-2.358s2.563-0.195,2.777-1.178c0.215-0.982-6.41-4.714-9.83-5.106 	c-3.419-0.395-12.386,0.98-19.012,1.374c-6.624,0.393-8.762,1.571-11.966,5.107c-3.205,3.536-8.761,7.66-12.395,9.82 	c-3.633,2.161-4.916,2.357-6.198,1.571c-1.281-0.785-6.196-4.712-6.837-5.499c-0.643-0.786-3.521-2.986-5.78-6.258 	c-2.814-4.071-4.661-6.06-5.917-9.115c-0.89-2.167-1.24-4.417-2.251-5.815c-1.011-1.4-2.052-3.167-1.491-3.757 	c0.56-0.588,2.163-3.904,2.483-4.346c0.321-0.442,0.241-1.33,0.882-1.472c0.642-0.142,1.523,0.062,1.683-0.415 	c0.161-0.476-1.283-1.423-1.844-1.903c-0.562-0.481-1.566-2.516-1.566-2.516s4.056-0.029,8.538-1.87 	c4.481-1.841,5.93-9.796,5.93-9.796s-3.927,1.105-6.01,1.251c-2.084,0.148-4.094,0.046-6.09,1.252 	c-1.998,1.208-3.608,3.995-3.688,3.655s-0.479-2.176,0-2.584c0.481-0.408,1.012-1.767,7.935-4.283 	c6.922-2.516,10.898-4.08,13.782-6.142c2.886-2.062,3.528-4.567,4.089-4.862c0.561-0.293,5.159-0.701,7.027-2.43 	c1.868-1.728,6.114-6.76,7.077-8.935c0.961-2.176,1.042-3.881,0.561-3.955c-0.481-0.073-0.456,2.199-4.235,6.403 	c-3.78,4.204-6.954,5.349-7.694,4.556c-0.738-0.795,0.47-6.302,0.55-8.013c0.08-1.71,0.08-3.348,1.283-4.363 	c1.203-1.014,3.525-3.026,4.969-7.138c1.442-4.114-2.437-9.179-3.081-8.47c0,0,1.786,3.645,0.962,6.312 	c-0.824,2.67-3.699,4.293-3.699,4.293s-0.421-5.807-2.345-8.208c-1.922-2.397-4.322-3.662-5.221-5.934 	c-0.897-2.273-1.025-4.1-1.025-4.1s-2.977,3.064-0.77,6.246c2.208,3.182,4.405,4.697,4.817,6.944 	c0.413,2.248,0.961,4.798,0.961,4.798s-5.083-0.95-7.143-2.432c-2.06-1.482-4.223-1.482-6.044-1.609 	c-1.823-0.126-6.458-1.135-6.458-1.135s2.044,3.098,4.251,3.57c2.207,0.47,6.466-0.287,7.838,0.975 	c1.375,1.265,2.611,4.041,3.848,4.167c1.235,0.126,3.297,0.917,3.297,3.931c0,3.014,0.135,9.454-3.574,14.252 	c-3.708,4.797-12.226,7.45-12.226,7.45s0.275-5.623,4.533-9.597c4.259-3.973,7.007-4.546,7.693-6.186 	c0.687-1.643,0.138-4.924,0.138-4.924s-0.413,1.388-2.061,3.662c-1.649,2.272-8.656,5.36-11.404,10.192 	c-2.745,4.832-3.296,8.242-3.296,8.242l-2.061,0.599c0,0-1.098-6.079,0.688-8.958c1.786-2.879,3.985-6.667,4.809-9.444 	c0.824-2.778-0.962-5.288-0.962-5.288s0.139,2.636-1.647,6.423c-1.788,3.789-6.457,8.964-7.006,11.996 	c-0.549,3.03,0,5.319-0.687,6.448c-0.688,1.127-4.396,4.537-6.869,4.537c-2.473,0-4.808,0.505-5.359-0.252 	c-0.549-0.758-3.434-3.427-3.434-3.914c0-0.488,0.962-5.346-0.274-9.681s-5.633-6.836-5.633-6.836s2.198,5.026,2.611,7.804 	c0.411,2.777,0.411,7.517-3.709,7.282c-4.121-0.235-5.357-2.357-5.77-4.757c-0.413-2.397-2.61-5.302-4.121-7.071 	c-1.511-1.766,0.274-3.788-0.551-5.302c-0.824-1.515-2.747-3.283-2.747-3.283s0.55,4.419,0.276,6.693 	c-0.276,2.273,2.884,4.797,3.022,6.818c0.137,2.02,0.411,4.798-3.297,4.924c-3.71,0.126-10.917-2.652-14.251-8.964 	c-3.333-6.313-2.648-13.099-2.648-13.099s2.749-0.666,6.183-3.318c3.435-2.649,4.121-6.582,4.121-6.582s-2.958,4.058-8.554,5.825 	c-5.596,1.769-6.694,1.895-6.694,1.895s3.022-6.313,5.632-8.46c2.609-2.147,4.533-9.218,4.533-9.218S22.436,12,18.791,15.57 	c-3.646,3.569-5.221,4.832-6.183,6.598c-0.962,1.769-1.375,4.674-1.375,4.674s-3.846,0.379-6.045-4.167 	c-2.197-4.547-0.96-4.935-1.786-6.635c-0.824-1.701-3.159-2.206-3.159-2.206s1.099,1.66,1.374,2.914 	c0.274,1.253,0.119,8.829,3.296,11.482c3.18,2.652,6.871,2.778,6.871,2.778s0.073,5.471,3.745,9.428 	c3.672,3.956,11.503,6.229,12.603,6.733c1.099,0.505,4.944,3.283,8.104,3.914c3.159,0.631,8.728-0.252,15.835,0.884 	c7.107,1.137,6.971,3.536,6.971,4.167c0,0.631-2.474,1.643-3.022,0.759c-0.551-0.886-3.079-2.778-4.974-2.778 	c-1.896,0-3.077,0.63-5.194,0.63c-2.115,0-3.296-0.378-3.296-0.378s2.005,5.302,5.631,7.324c3.628,2.019,7.006,2.145,7.006,2.145 	l-0.135,2.291c0,0-0.55,0.993-0.55,1.875c0,0.885,0.96,0.885,0.96,1.644c0,0.757-0.41,5.68,0.962,11.111 	c1.375,5.429,3.484,10.435,4.991,14.99c1.504,4.558,1.466,9,1.466,9s-2.4,3.537-1.201,8.965c1.201,5.431,2.492,7.788,0.926,13.512 	c-1.565,5.724-8.381,19.445-14.012,26.769c-5.632,7.324-9.617,11.213-10.166,12.425c-0.551,1.211-2.748,5.378-2.748,5.378 	s-2.198,0.16-4.123,1.515c-1.922,1.354-3.158,3.915-3.708,4.041c-0.551,0.127-2.326-1.391-2.326-1.391s-1.521,2.965,1.775,4.547 	c3.298,1.584,5.111,0.505,5.77-0.378c0.661-0.885,1.044,0.428,1.044,1.371c0,0.944,0.468,6.416,2.117,9.782 	c1.647,3.366,5.357,6.927,5.221,8.368c-0.139,1.439-1.1,5.85-2.062,7.307c-0.96,1.456-0.55,3.474-0.96,4.234 	c-0.413,0.758-2.748,1.716-2.474,4.016c0.275,2.297,3.159,3.231,3.022,6.211c-0.138,2.979-0.962,10.606-1.511,14.269 	c-0.549,3.661-1.786,6.566-0.824,7.197c0.728,0.479,1.829,0.977,2.872,1.889c-0.988,0.11-1.862,0.296-2.539,0.656 	c-1.595,0.846-2.545,2.508-3.481,4.622c-0.938,2.114-3.216,3.373-4.822,3.373c-1.606,0-3.507-0.583-4.257-2.801 	c-0.685-2.029,1.18-3.345,1.18-3.345s0.802,1.453,2.945,1.453c2.142,0,3.931-1.511,4.276-3.195c0.29-1.416,0.484-4.704-3.533-5.759 	c-4.018-1.058-8.445-0.065-11.176,3.521c-2.674,3.509-1.731,8.924,0.757,11.129c2.192,1.944,3.367,2.291,3.367,2.291 	s-2.904,2.853-1.04,6.59c1.866,3.739,6.002,2.96,6.946,1.139c0.977-1.877-0.208-4.084-2.075-4.237 	c-1.981-0.161-2.588,1.13-2.588,1.13s-0.316-1.153,0.275-2.264c0.752-1.417,2.294-2.251,5.878-1.722 	c3.584,0.528,4.536,3.132,9.089,3.132c4.552,0,8.033-1.849,10.846-5.415c2.812-3.568,8.269-5.933,12.553-6.989 	c4.287-1.057,6.441-0.483,6.705,0.487c0.28,1.034-0.812,2.741-5.39,3.361c-4.518,0.615-7.961,0.967-9.849,3.668 	c-1.716,2.451-1.131,6.084,2.292,7.28c2.903,1.016,6.024-0.045,6.521-3.288c0.452-2.96-2.087-4.149-2.087-4.149 	s2.662-0.155,6.029-0.988c4.699-1.166,13.057-5.921,16.961-4.227c2.037,0.884,2.656,3.104,0.679,4.852 	c-1.484,1.307-4.145,0.975-4.283,1.708c-0.137,0.733,6.09,2.186,11.848,0.468c5.759-1.715,7.622-9.712,7.622-9.712 	s1.198,5.558,6.244,7.835c4.658,2.1,8.113,0.18,8.606-2.437c0.51-2.707-2.373-4.985-4.516-4.589 	c-2.142,0.396-3.564,3.017-3.564,3.017s-2.912-1.792-2.742-4.942c0.148-2.74,1.875-4.447,5.346-3.904 	c2.754,0.43,6.264,0.81,8.116-0.792c1.686-1.458,0.885-6.831,2.41-9.244c1.145-1.814,3.213-1.587,3.749-0.133 	c0.537,1.452-1.874,2.51-1.874,5.283c0,2.773,1.338,3.963,1.338,3.963s0.681-3.963,3.349-4.887s2.812,1.454,5.223,1.454 	c2.41,0,3.884-3.518,3.884-3.518s1.07,2.329,4.552,2.329c2.959,0,6.068-3.625,11.039-3.63c3.904,0.501,13.881,3.221,19.546,11.996 	c5.13,7.715,6.863,18.544,0.305,30.036c-2.858,5.253-7.675,10.774-12.593,11.464c-1.145,0.16-2.684,0.095-3.353,0.007 	c-6.232-0.826-5.419-6.163-5.419-6.163s-1.085,0.726-1.043,2.455c0.033,1.329,0.298,2.147,0.298,2.147s-1.953-2.611-4.604-4.38 	c-2.652-1.769-4.08-0.378-3.959,1.298c0.072,0.977,0.42,1.98,0.42,1.98s-2.704-2.024-4.131-1.004 	c-1.09,0.78-0.895,2.554,0.173,3.921c-3.675-1.475-6.771-4.125-8.86-7.51c-1.627-3.687-1.31-7.984,2.154-8.188 	c3.645-0.215,2.396,4.197,2.396,4.197s1.653-0.796,2.221-2.61c0.631-2.021-0.408-5.007-3.037-5.601 	c-4.07-0.923-5.458,2.542-5.458,2.542s-0.555-4.889,2.437-9.682c3.311-5.303,6.464-6.319,8.339-6.641 	c1.875-0.325,4.037,2.729,6.433,2.192c2.395-0.54,3.123-2.369,4.478-3.336c1.354-0.97,3.958-0.018,5,0.628 	c1.042,0.645,6.118,3.221,5.597,10.11c-0.522,6.887-6.865,10.383-10.596,9.817c-3.683-0.292-3.938-2.847-3.938-2.847 	s2.154,0.393,3.418-0.921c1.179-1.223,1.715-3.886-0.104-5.596c-2.341-2.204-9.04-1.315-8.816,5.461 	c0.13,5.598,4.15,8.156,10.142,8.38c3.208,0.12,6.963-1.176,9.924-3.711c0.031-0.025,0.063-0.049,0.092-0.075 	c0.688-0.596,1.32-1.266,1.901-1.995c0.033-0.042,0.067-0.078,0.098-0.12c0.514-0.661,0.973-1.379,1.375-2.146 	c0.102-0.189,0.197-0.379,0.292-0.574c0.218-0.466,0.409-0.951,0.58-1.453c0.8-2.177,1.184-4.552,0.922-7.034 	c-0.2-1.909-0.774-3.672-1.588-5.282c-0.008-0.02-0.018-0.038-0.026-0.06c-0.166-0.322-0.35-0.631-0.536-0.94 	c-0.18-0.336-0.356-0.673-0.56-0.984l0.005-0.088c-0.055-0.079-0.119-0.147-0.179-0.218c-0.714-1.038-1.569-1.929-2.527-2.715 	c-3.993-3.559-9.463-5.343-14.914-5.343c-13.202,0-23.904,11.041-23.904,24.657c0,1.889,0.226,3.72,0.614,5.485 	c0.736,4.811,2.843,9.538,6.932,13.307c10.528,10.192,26.236,5.786,27.84,5.302c-0.725,0.236-4.199,1.556-6.52,5.876 	c-2.605,4.842-0.626,8.072-0.626,8.072s0.416-2.907,2.083-4.627c1.667-1.724,4.688-0.969,4.688-0.969s-1.043,1.721-1.043,4.412 	c0,2.69,2.397,5.059,2.397,5.059s-0.208-2.798,0.624-5.165c0.834-2.368,2.916-3.444,2.916-3.444s0.313,1.936,1.458,3.551 	c1.145,1.614,4.113,4.987,9.922,4.306c5.506-0.649,8.1-5.568,8.1-5.568s2.598,0.401,5.306,1.692 	c2.707,1.291,4.637,3.689,4.333,5.865c-0.316,2.255-2.006,4.568-4.492,3.359c-0.998-0.486-1.177-1.529-0.92-2.293 	c0.2-0.603,0.767-1.011,0.767-1.011s-1.276-0.928-2.812,0.423c-0.936,0.826-1.196,2.2-0.883,3.391l-0.042,0.007 	c0.042,0.127,0.13,0.228,0.181,0.35c0.07,0.187,0.112,0.383,0.214,0.553l-0.01,0.005c0.038,0.06,0.083,0.111,0.123,0.168 	c0.036,0.053,0.063,0.111,0.104,0.162c0.018,0.021,0.041,0.043,0.06,0.064c0,0.003,0.001,0.003,0.003,0.005 	c0.478,0.688,1.136,1.21,1.885,1.593c0.029,0.015,0.06,0.03,0.09,0.046c0.323,0.157,0.647,0.29,1.003,0.375 	c0.472,0.132,0.963,0.218,1.48,0.218c2.036,0,3.802-1.091,4.789-2.712c0.374-0.495,0.544-1.002,0.64-1.516 	c0.043-0.167,0.043-0.348,0.074-0.521c0.03,0.173,0.03,0.355,0.073,0.521c0.094,0.513,0.268,1.021,0.637,1.516 	c0.989,1.621,2.758,2.712,4.792,2.712c0.518,0,1.008-0.086,1.481-0.218c0.354-0.085,0.68-0.218,1.002-0.375 	c0.03-0.017,0.06-0.031,0.09-0.046c0.75-0.383,1.406-0.904,1.886-1.593c0.001-0.001,0.003-0.001,0.003-0.005 	c0.019-0.021,0.043-0.043,0.06-0.064c0.039-0.05,0.066-0.108,0.103-0.162c0.04-0.057,0.086-0.108,0.122-0.168l-0.008-0.005 	c0.102-0.17,0.143-0.367,0.214-0.553c0.052-0.122,0.138-0.223,0.182-0.35l-0.043-0.007c0.313-1.191,0.054-2.565-0.884-3.391 	c-1.534-1.351-2.81-0.423-2.81-0.423s0.567,0.408,0.767,1.011c0.256,0.764,0.077,1.807-0.919,2.293 	c-2.489,1.209-4.176-1.104-4.494-3.359c-0.305-2.176,1.627-4.572,4.334-5.865c2.708-1.291,5.307-1.692,5.307-1.692 	s2.595,4.918,8.1,5.568c5.809,0.681,8.776-2.691,9.922-4.306c1.146-1.615,1.458-3.551,1.458-3.551s2.082,1.076,2.916,3.444 	c0.833,2.367,0.625,5.165,0.625,5.165s2.395-2.368,2.395-5.059c0-2.691-1.042-4.412-1.042-4.412s3.019-0.754,4.686,0.969 	c1.666,1.721,2.083,4.627,2.083,4.627s1.979-3.229-0.625-8.072c-2.32-4.32-5.795-5.64-6.52-5.876 	c1.601,0.484,17.311,4.891,27.837-5.302c4.091-3.769,6.198-8.496,6.934-13.307c0.388-1.765,0.614-3.596,0.614-5.485 	c0-13.616-10.703-24.657-23.905-24.657c-5.452,0-10.92,1.784-14.914,5.343c-0.958,0.787-1.812,1.677-2.526,2.715 	c-0.06,0.071-0.125,0.14-0.182,0.218l0.007,0.088c-0.202,0.312-0.38,0.648-0.56,0.984c-0.185,0.309-0.37,0.618-0.535,0.94 	c-0.008,0.021-0.018,0.04-0.026,0.06c-0.816,1.609-1.389,3.373-1.591,5.282c-0.261,2.482,0.125,4.857,0.925,7.034 	c0.171,0.501,0.361,0.986,0.579,1.453c0.095,0.195,0.188,0.385,0.29,0.574c0.403,0.766,0.863,1.484,1.376,2.146 	c0.031,0.042,0.066,0.078,0.098,0.12c0.58,0.729,1.214,1.399,1.902,1.995c0.028,0.026,0.061,0.05,0.09,0.075 	c2.963,2.535,6.719,3.831,9.927,3.711c5.991-0.224,10.012-2.782,10.14-8.38c0.224-6.776-6.474-7.665-8.814-5.461 	c-1.819,1.71-1.284,4.374-0.104,5.596c1.264,1.314,3.417,0.921,3.417,0.921s-0.255,2.555-3.938,2.847 	c-3.734,0.566-10.077-2.93-10.596-9.817c-0.521-6.89,4.555-9.466,5.594-10.11c1.043-0.646,3.648-1.598,5.002-0.628 	c1.353,0.967,2.082,2.796,4.478,3.336c2.394,0.537,4.557-2.517,6.431-2.192c1.877,0.322,5.03,1.338,8.341,6.641 	c2.99,4.793,2.437,9.682,2.437,9.682s-1.389-3.464-5.461-2.542c-2.626,0.594-3.666,3.58-3.034,5.601 	c0.568,1.814,2.222,2.61,2.222,2.61s-1.25-4.412,2.396-4.197c3.462,0.205,3.782,4.502,2.155,8.188 	c-2.092,3.386-5.187,6.036-8.861,7.51c1.066-1.368,1.264-3.142,0.171-3.921c-1.427-1.02-4.129,1.004-4.129,1.004 	s0.349-1.003,0.418-1.98c0.123-1.676-1.304-3.067-3.958-1.298c-2.651,1.769-4.604,4.38-4.604,4.38s0.265-0.818,0.298-2.147 	c0.042-1.729-1.044-2.455-1.044-2.455s0.814,5.337-5.418,6.163c-0.671,0.088-2.208,0.153-3.353-0.007 	c-4.92-0.69-9.735-6.211-12.595-11.464c-6.558-11.491-4.823-22.321,0.307-30.036c5.665-8.775,15.64-11.495,19.546-11.996 	c4.968,0.005,8.08,3.63,11.038,3.63c3.481,0,4.552-2.329,4.552-2.329s1.474,3.518,3.884,3.518s2.555-2.378,5.222-1.454 	c2.668,0.924,3.348,4.887,3.348,4.887s1.339-1.189,1.339-3.963c0-2.773-2.412-3.831-1.874-5.283c0.535-1.454,2.605-1.681,3.75,0.133 	c1.524,2.413,0.724,7.787,2.41,9.244c1.853,1.602,5.361,1.222,8.116,0.792c3.47-0.542,5.197,1.165,5.345,3.904 	c0.17,3.15-2.74,4.942-2.74,4.942s-1.422-2.62-3.567-3.017c-2.142-0.396-5.023,1.882-4.516,4.589 	c0.493,2.617,3.948,4.537,8.608,2.437c5.045-2.277,6.244-7.835,6.244-7.835s1.862,7.997,7.621,9.712 	c5.758,1.717,11.985,0.265,11.847-0.468c-0.137-0.734-2.798-0.401-4.282-1.708c-1.977-1.748-1.359-3.968,0.678-4.852 	c3.906-1.694,12.264,3.062,16.962,4.227c3.366,0.833,6.029,0.988,6.029,0.988s-2.541,1.189-2.088,4.149 	c0.496,3.243,3.618,4.304,6.522,3.288c3.422-1.196,4.007-4.829,2.291-7.28c-1.889-2.701-5.332-3.053-9.849-3.668 	c-4.579-0.62-5.671-2.327-5.39-3.361c0.261-0.97,2.418-1.544,6.701-0.487c4.286,1.057,9.743,3.421,12.557,6.989 	c2.81,3.566,6.293,5.415,10.844,5.415c4.553,0,5.505-2.604,9.089-3.132c3.586-0.53,5.125,0.305,5.88,1.722 	c0.589,1.111,0.275,2.264,0.275,2.264s-0.608-1.291-2.589-1.13c-1.867,0.153-3.053,2.36-2.075,4.237 	c0.944,1.821,5.082,2.6,6.946-1.139c1.863-3.737-1.04-6.59-1.04-6.59s1.176-0.347,3.368-2.291c2.488-2.205,3.43-7.62,0.756-11.129 	c-2.73-3.586-7.157-4.579-11.176-3.521c-4.017,1.056-3.823,4.344-3.534,5.759c0.345,1.684,2.133,3.195,4.278,3.195 	c2.142,0,2.945-1.453,2.945-1.453s1.861,1.316,1.179,3.345c-0.751,2.219-2.652,2.801-4.258,2.801c-1.608,0-3.884-1.259-4.822-3.373 	c-0.937-2.114-1.889-3.776-3.48-4.622c-0.681-0.36-1.552-0.546-2.542-0.656c1.046-0.913,2.145-1.411,2.873-1.889 	c0.963-0.631-0.273-3.536-0.823-7.197c-0.55-3.663-1.373-11.29-1.51-14.269c-0.14-2.979,2.746-3.914,3.021-6.211 	c0.275-2.3-2.061-3.258-2.473-4.016c-0.411-0.76,0-2.778-0.962-4.234c-0.962-1.458-1.921-5.868-2.06-7.307 	c-0.136-1.441,3.572-5.001,5.22-8.368c1.647-3.366,2.115-8.838,2.115-9.782c0-0.943,0.385-2.256,1.045-1.371 	c0.66,0.883,2.473,1.962,5.769,0.378c3.297-1.582,1.778-4.547,1.778-4.547s-1.778,1.518-2.328,1.391 	c-0.549-0.126-1.785-2.687-3.709-4.041c-1.922-1.355-4.12-1.515-4.12-1.515s-2.198-4.167-2.748-5.378 	c-0.548-1.212-4.532-5.102-10.165-12.425s-12.448-21.045-14.013-26.769c-1.566-5.724-0.275-8.081,0.925-13.512 	c1.201-5.429-1.2-8.965-1.2-8.965s-0.037-4.442,1.467-9c1.504-4.555,3.617-9.561,4.991-14.99c1.372-5.431,0.96-10.354,0.96-11.111 	c0-0.758,0.962-0.758,0.962-1.644c0-0.883-0.55-1.875-0.55-1.875l-0.137-2.291c0,0,3.38-0.126,7.006-2.145 	c3.628-2.021,5.633-7.324,5.633-7.324s-1.18,0.378-3.296,0.378s-3.296-0.63-5.192-0.63c-1.898,0-4.425,1.893-4.975,2.778 	c-0.549,0.883-3.022-0.128-3.022-0.759c0-0.631-0.137-3.031,6.971-4.167c7.105-1.136,12.674-0.253,15.834-0.884 	c3.16-0.631,7.006-3.409,8.105-3.914c1.099-0.504,8.931-2.778,12.604-6.733c3.671-3.957,3.744-9.428,3.744-9.428 	s3.69-0.126,6.87-2.778c3.179-2.653,3.022-10.229,3.297-11.482c0.274-1.253,1.374-2.914,1.374-2.914S377.421,14.34,376.595,16.041z 	 M22.433,41.958c-1.623-1.131-3.992-2.519-5.587-7.715c-1.307-4.261-0.282-8.102-0.282-8.102l2.822-0.373 	c0,0-0.226,4.451,1.26,8.635c2.093,5.886,5.864,9.326,5.864,9.326S24.057,43.089,22.433,41.958z M104.086,116.844 	c0.641-0.787,8.975-11,9.83-12.178c0.854-1.178,7.693-9.428,8.548-10.019c0.041-0.027,0.159-0.068,0.277-0.111v55.002 	c-0.098-0.231-0.214-0.476-0.277-0.679c-0.855-2.75-1.925-6.677-2.564-7.855c-0.642-1.179-3.419-2.555-4.489-4.322 	c-1.068-1.768-2.563-3.535-6.409-6.679c-3.849-3.142-5.344-3.927-5.557-4.91C103.232,124.11,103.445,117.628,104.086,116.844z 	 M104.566,223.743c0.019-0.18,0.054-0.352,0.054-0.535c0-2.868-2.357-5.193-5.265-5.193c-2.909,0-5.265,2.325-5.265,5.193 	c0,1.377,0.555,2.62,1.441,3.549c-3.517,0.649-6.593,0.842-6.593,0.842s-3.08-2.052-6.16-0.263 	c-3.081,1.787-3.841,5.412-7.991,5.828c-4.152,0.417-6.835-0.543-7.68-4.039c-0.946-3.906,1.206-5.349,1.206-5.349 	s-0.161,1.396,0.776,2.84c0.758,1.167,2.092,2.245,4.846,1.64c3.064-0.671,3.843-3.721,3.55-6.264 	c-0.321-2.783-3.582-6.546-9.91-5.215c-7.366,1.545-8.574,8.463-7.324,12.662c1.516,5.083,6.587,7.214,6.587,7.214l-1.604,0.588 	c0,0-4.663-2.774-7.232-1.452c-4.227,2.18-4.417,5.943-8.703,7.68c-0.948,0.385-1.955,0.613-2.973,0.771 	c-0.525-0.878-1.632-2.735-2.207-3.754c-0.77-1.366-1.346-4.066-1.346-5.125c0-1.061,1.538-15.912,1.924-16.973 	c0.384-1.059,2.115-4.948,2.64-7.423c0.524-2.475,6.015-8.229,6.977-10.605c0.962-2.379,5.192-5.834,5.77-7.954 	c0.576-2.122,0.384-3.537,1.153-4.597c0.769-1.061,2.307-1.238,2.307-1.238c3.655-0.353,4.041,1.943,6.925,1.767 	c2.886-0.176,5.194-1.06,6.732-1.237c1.538-0.177,3.27,3.005,3.27,4.597c0,1.591-1.155,3.551-0.193,4.595 	c0.962,1.045,8.847,4.774,14.424,7.955c5.58,3.182,9.809,9.9,11.157,10.077c1.345,0.176,3.653-0.355,4.231,0.353 	c0.577,0.708,0.647,2.137,1.729,3.005c0.534,0.426,0.91,0.891,1.17,1.268C110.943,220.235,108.08,222.024,104.566,223.743z 	 M117.721,216.294c-0.64-0.313-1.255-0.668-1.668-1.046c-1.283-1.178-2.137-4.322-3.205-5.107c-1.069-0.786-5.128-2.16-6.839-3.143 	c-1.709-0.983-14.746-8.25-15.387-11.194c-0.641-2.948,1.284-9.625,0.641-13.75c-0.641-4.126,0.643-10.019-1.067-11.589 	c-1.71-1.571-12.394-1.571-12.394-1.571s15.171-9.625,19.019-16.696c3.846-7.071,3.846-15.518,3.846-15.518 	s10.258,1.57,11.112,3.536c0.856,1.965,2.778,4.518,3.42,5.302c0.641,0.787,2.991,3.536,2.991,3.536s4.488,7.858,4.488,9.232 	c0,0.977-0.103,3.42,0.064,5.188v35.251c0,0-0.963,6.609,2.588,12.054c1.1,1.686,2.832,3.294,4.699,4.714 	c-0.464-0.045-0.927,0.718-1.586,0.667c-2.009-0.15-0.867-2.428-3.883-2.295C122.868,213.939,120.177,215.062,117.721,216.294z 	 M138.628,222.114c-5.959-0.48-13.178,1.215-13.498,0.831c-0.319-0.383,1.725-2.345,2.879-2.873 	c1.154-0.527,2.633-0.413,2.575-0.925c-0.058-0.509-1.339-0.396-1.473-1.32c-0.122-0.833,1.403-1.513,1.289-2.061 	c4.075,3.018,8.628,5.112,8.628,5.112l4.924,1.812C142.244,222.459,140.482,222.264,138.628,222.114z M156.433,125.603h7.398 	l4.508,20.53l4.555-20.53h7.301v32.683h-4.801v-24.01l-5.734,24.01h-2.792l-5.634-24.01v24.01h-4.801V125.603z M208.189,236.26 	c-5.3,5.271-7.612,11.116-8.531,16.161c-3.474,13.728,4.006,27.071,11.613,34.376c7.028,6.749,9.25,13.816,4.167,18.295 	c-5.417,4.627-9.896-1.397-9.896-1.397s4.792-0.97,5.728-3.122c0.938-2.154-0.833-4.521-3.123-3.982 	c-2.292,0.538-3.608,3.606-10.519,5.273c-2.395,0.576-4.625,0.868-7.629,0.879c-3.003-0.012-5.234-0.303-7.629-0.879 	c-6.911-1.667-8.227-4.735-10.519-5.273c-2.29-0.538-4.061,1.829-3.124,3.982c0.938,2.152,5.729,3.122,5.729,3.122 	s-4.479,6.024-9.895,1.397c-5.084-4.479-2.861-11.546,4.166-18.295c7.609-7.305,15.089-20.649,11.615-34.376 	c-0.918-5.045-3.234-10.89-8.531-16.161c-2.334-2.325-4.642-4.244-6.979-5.883l25.125,9.251v0.018l0.027-0.01l0.005,0.003v0.007 	l0.01-0.003l0.011,0.003v-0.007l0.005-0.003l0.026,0.01v-0.018l25.126-9.251C212.831,232.016,210.523,233.935,208.189,236.26z 	 M219.648,199.561h-5.147v-14.545h-7.222v14.545h-5.097v-32.999h5.097v13.754h7.222v-13.754h5.147V199.561z M157.424,199.217 	l-2.303-2.306l71.217-71.218l2.304,2.302L157.424,199.217z M257.258,94.536c0.12,0.043,0.236,0.083,0.278,0.111 	c0.854,0.591,7.691,8.84,8.546,10.019c0.856,1.178,9.191,11.392,9.832,12.178c0.641,0.785,0.854,7.267,0.641,8.248 	c-0.213,0.983-1.708,1.769-5.558,4.91c-3.845,3.144-5.341,4.912-6.411,6.679c-1.068,1.767-3.846,3.144-4.487,4.322 	c-0.642,1.179-1.709,5.106-2.563,7.855c-0.063,0.204-0.182,0.448-0.278,0.679V94.536z M254.868,222.945 	c-0.318,0.384-7.537-1.311-13.499-0.831c-1.852,0.15-3.614,0.345-5.321,0.576l4.923-1.812c0,0,4.554-2.094,8.628-5.112 	c-0.113,0.548,1.409,1.228,1.288,2.061c-0.131,0.924-1.414,0.811-1.471,1.32c-0.058,0.512,1.421,0.398,2.575,0.925 	C253.144,220.6,255.189,222.562,254.868,222.945z M262.279,216.294c-2.458-1.232-5.149-2.355-6.839-2.429 	c-3.018-0.133-1.875,2.146-3.882,2.295c-0.66,0.05-1.123-0.713-1.586-0.667c1.866-1.42,3.598-3.028,4.699-4.714 	c3.551-5.445,2.587-12.054,2.587-12.054v-35.251c0.165-1.767,0.063-4.211,0.063-5.188c0-1.375,4.489-9.232,4.489-9.232 	s2.35-2.749,2.991-3.536c0.641-0.784,2.563-3.337,3.418-5.302c0.856-1.965,11.114-3.536,11.114-3.536s0,8.446,3.846,15.518 	c3.846,7.071,19.018,16.696,19.018,16.696s-10.685,0-12.394,1.571s-0.426,7.463-1.067,11.589c-0.642,4.124,1.28,10.801,0.641,13.75 	c-0.641,2.945-13.676,10.211-15.388,11.194c-1.709,0.983-5.77,2.357-6.837,3.143c-1.07,0.785-1.924,3.929-3.205,5.107 	C263.534,215.626,262.919,215.981,262.279,216.294z M318.759,187.81c0.77,1.061,0.579,2.475,1.156,4.597 	c0.575,2.12,4.807,5.575,5.769,7.954c0.962,2.377,6.453,8.13,6.977,10.605c0.524,2.475,2.256,6.364,2.64,7.423 	c0.386,1.061,1.923,15.912,1.923,16.973c0,1.06-0.575,3.759-1.345,5.125c-0.575,1.019-1.681,2.876-2.208,3.754 	c-1.016-0.158-2.022-0.386-2.972-0.771c-4.286-1.737-4.476-5.5-8.705-7.68c-2.566-1.322-7.229,1.452-7.229,1.452l-1.603-0.588 	c0,0,5.07-2.13,6.583-7.214c1.253-4.199,0.045-11.116-7.322-12.662c-6.327-1.331-9.588,2.432-9.909,5.215 	c-0.293,2.543,0.485,5.593,3.548,6.264c2.755,0.605,4.089-0.473,4.847-1.64c0.938-1.444,0.777-2.84,0.777-2.84 	s2.15,1.443,1.206,5.349c-0.846,3.496-3.528,4.456-7.68,4.039c-4.152-0.417-4.912-4.041-7.991-5.828 	c-3.08-1.789-6.159,0.263-6.159,0.263s-3.077-0.193-6.593-0.842c0.886-0.93,1.439-2.172,1.439-3.549 	c0-2.868-2.356-5.193-5.263-5.193c-2.908,0-5.265,2.325-5.265,5.193c0,0.183,0.037,0.355,0.055,0.535 	c-3.515-1.719-6.378-3.508-8.426-4.792c0.261-0.376,0.636-0.841,1.169-1.268c1.084-0.868,1.154-2.297,1.73-3.005 	c0.579-0.708,2.887-0.177,4.232-0.353c1.346-0.177,5.577-6.896,11.155-10.077c5.578-3.181,13.463-6.91,14.426-7.955 	c0.961-1.044-0.193-3.004-0.193-4.595c0-1.592,1.731-4.772,3.27-4.597c1.538,0.178,3.846,1.061,6.732,1.237 	c2.883,0.176,3.27-2.12,6.922-1.767C316.452,186.572,317.991,186.749,318.759,187.81z M363.152,34.243 	c-1.593,5.196-3.962,6.584-5.585,7.715c-1.626,1.131-4.076,1.771-4.076,1.771s3.77-3.44,5.863-9.326 	c1.486-4.184,1.258-8.635,1.258-8.635l2.824,0.373C363.436,26.141,364.46,29.982,363.152,34.243z"   };
})();