<!DOCTYPE html><html lang="en" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">

<head>
    <!-- Google Custom Event -->
    <script>

    window.dataLayer = window.dataLayer || [];
    window.dataLayer.push({
    'loggedIn': "false",
    'title': "",

        })

    </script>
    <!-- End Google Custom Event -->
    <!-- Google Tag Manager -->
    <script>
        (function(w, d, s, l, i) {
            w[l] = w[l] || [];
            w[l].push({
                'gtm.start': new Date().getTime(),
                event: 'gtm.js'
            });
            var f = d.getElementsByTagName(s)[0],
                j = d.createElement(s),
                dl = l != 'dataLayer' ? '&l=' + l : '';
            j.async = true;
            j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
            f.parentNode.insertBefore(j, f);
        })(window, document, 'script', 'dataLayer', 'GTM-WQ8W78N');
    </script>
    <!-- End Google Tag Manager -->
    <!-- Hotjar Tracking Code for https://ebaumsworld.com -->
    <script>
    (function(h,o,t,j,a,r){
      h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
      h._hjSettings={hjid:1657353,hjsv:6};
      a=o.getElementsByTagName('head')[0];
      r=o.createElement('script');r.async=1;
      r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
      a.appendChild(r);
    })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
    </script>
    <!-- End Hotjar Tracking Code for https://ebaumsworld.com -->
        <title>Funny Pictures, Funny Videos | eBaum's World | eBaum's World</title>    <meta name="viewport" content="width=device-width,minimum-scale=1,user-scalable=yes,initial-scale=1" />
    <meta name="google-site-verification" content="Eyqs6IhzYtZelAJhlJ5yidmBtwpa2GZ5e7RpQZTlnTY" />
    <meta property="fb:admins" content="502854327" />
    <meta property="fb:page_id" content="286683382423" />
    <meta property="fb:app_id" content="609983211267693" />
    <meta name="description" content="Funny videos, fail videos, funny pictures, funny galleries, funny links, flash games, jokes, caption contests, photoshop contests" >
<meta name="robots" content="max-image-preview:large" >
<meta charset="UTF-8">    <link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preconnect" href="https://cdn.ebaumsworld.com">

<link rel="dns-prefetch" href="https://fonts.gstatic.com">
<link rel="dns-prefetch" href="https://cdn.ebaumsworld.com">
<link rel="preload" href="https://fonts.gstatic.com/s/firasans/v16/va9E4kDNxMZdWfMOD5Vvl4jL.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://fonts.gstatic.com/s/firasans/v16/va9B4kDNxMZdWfMOD5VnSKzeRhf6.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://fonts.gstatic.com/s/leaguegothic/v6/qFdR35CBi4tvBz81xy7WG7ep-BQAY7Krj7feObpH_9ahg9U.woff2" as="font" type="font/woff2" crossorigin>

<style>
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/firasans/v16/va9E4kDNxMZdWfMOD5VvmYjLeTY.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/firasans/v16/va9E4kDNxMZdWfMOD5Vvl4jL.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/firasans/v16/va9B4kDNxMZdWfMOD5VnSKzeSBf6TF0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/firasans/v16/va9B4kDNxMZdWfMOD5VnSKzeRhf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'FG-C';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/leaguegothic/v6/qFdR35CBi4tvBz81xy7WG7ep-BQAY7Krj7feObpH_9avg9UKQw.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'FG-C';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/leaguegothic/v6/qFdR35CBi4tvBz81xy7WG7ep-BQAY7Krj7feObpH_9ahg9U.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
</style>
        <style type="text/css" media="screen">
<!--
html *{margin:0;padding:0;font-family:'Fira Sans',Helvetica,Arial,sans-serif;word-wrap:break-word}html{padding-bottom:0!important}body{background:#f4f4f4}ul{list-style:none}img{border:0}object,embed{outline:0}fieldset{border:0}a{color:#26283d}a,a:visited,a:active{text-decoration:none;outline:0;cursor:pointer}.twitter-tweet{margin:auto}h1{color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:38px;font-weight:400;line-height:42px}h1.title{margin-bottom:5px}h1.listing{margin-bottom:20px}.ajaxListLoader{width:50px;height:50px;margin:auto;margin-bottom:10px;background:url('https://cdn.ebaumsworld.com/img/desktop/loaderGlobe100BlueGrey.gif') 0 0 no-repeat;background-size:50px 50px}.yellowBtn{padding:14px 25px;border:1px solid #ffd304;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-sizing:border-box;background-color:#ffd304;text-align:center;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px;cursor:pointer}.yellowBtn.disabled{background-color:#dee0e5;border:1px solid #dee0e5;cursor:default}.backToTop{width:60px;height:58px;display:none;background-color:#676877;opacity:.97;position:fixed;z-index:1000;right:0;top:0;text-align:center;cursor:pointer}.backToTop .backToTopArrow{width:18px;height:12px;display:block;margin:12px auto;margin-bottom:7px;background:url('https://cdn.ebaumsworld.com/img/desktop/formDropUpArrow.png') 0 0 no-repeat}.backToTop .backToTopText{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#b3b3bb;font-size:12px;line-height:12px;text-transform:uppercase}.jqmWindow{display:none;width:690px;margin-left:-345px;position:fixed;top:40px;left:50%;background-color:#fff;border-bottom:1px solid #fff;border-bottom-left-radius:3px 3px;border-bottom-right-radius:3px 3px;border-top:1px solid #ffd304;border-top-left-radius:4px 4px;border-top-right-radius:4px 4px;-webkit-box-shadow:0 0 16px 12px rgba(0,0,0,0.75);-moz-box-shadow:0 0 16px 12px rgba(0,0,0,0.75);box-shadow:0 0 16px 12px rgba(0,0,0,0.75);color:#333}.jqmWindow.absolute{position:absolute}.jqmWindow.enlargeModal{position:absolute;border:0;border-radius:0;box-shadow:none;background-color:transparent}.jqmWindow.enlargeModal.galleryLightbox{position:fixed;margin:0;left:0;top:0;width:100%;height:100%}.jqmWindow.enlargeModal.galleryLightbox .mediumRect{position:absolute;right:10px;bottom:10px}.jqmWindow.enlargeModal .enlargeParentTitle{padding-top:20px;margin-bottom:10px;color:#26283d;font-size:34px;line-height:38px}.jqmWindow.enlargeModal .enlargeContent{float:left;height:100%;text-align:center;padding:1px;box-sizing:border-box;opacity:1;background-color:#232325}.jqmWindow.enlargeModal .enlargeContent #enlargedImage{margin:auto}.jqmWindow.enlargeModal .enlargeRightCol{width:320px;height:100%;padding:10px;display:block;position:absolute;top:0;right:0;box-sizing:border-box;background-color:#fff}.jqmWindow.enlargeModal .enlargeContestRankWrapper{margin-bottom:20px}.jqmWindow.enlargeModal .enlargeContest .contestStatus{width:100%;height:35px;background:url('https://cdn.ebaumsworld.com/img/desktop/contestWinnerIcons.png') 20px -25px no-repeat;background-color:#26283d;box-sizing:border-box}.jqmWindow.enlargeModal .enlargeContest .contestStatus div{padding-left:50px;padding-top:8px;text-transform:uppercase;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#ffd304}.jqmWindow.enlargeModal .enlargeContest .contestStatus div.finalist{background-position:20px 5px}.jqmWindow.enlargeModal .enlargeContest .enlargeNavigation{margin-bottom:0}.jqmWindow.enlargeModal .enlargeContest .voteCTA{color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:38px;line-height:38px;text-transform:uppercase;margin-bottom:12px}.jqmWindow.enlargeModal .enlargeContest .ratingsContestWrapper{margin-bottom:14px}.jqmWindow.enlargeModal .enlargeContest .enlargeCaptionInner{color:#b3b3bb}.jqmWindow.enlargeModal .enlargeContest .enlargeCaptionInner a{text-decoration:underline}.jqmWindow.enlargeModal .enlargeContest .enlargeTitle{margin-bottom:3px}.jqmWindow.enlargeModal .enlargeContest .enlargeCaption,.jqmWindow.enlargeModal .enlargeContest .enlargeCaptionInner{max-height:50px}.jqmWindow.enlargeModal .enlargeNavigation{width:100%;height:52px;display:block;box-sizing:border-box;border-bottom:1px solid #dee0e5;border-top:1px solid #dee0e5;margin-bottom:20px;margin-top:20px;padding:7px 0;position:relative;text-align:center}.jqmWindow.enlargeModal .enlargeNavigation .enlargeNav{width:16px;height:26px;background:url('https://cdn.ebaumsworld.com/img/desktop/paginationArrows.png') 0 0 no-repeat;display:block;position:absolute;top:12px;cursor:pointer}.jqmWindow.enlargeModal .enlargeNavigation .navLeft{left:20px}.jqmWindow.enlargeModal .enlargeNavigation .navLeft:hover{background-position:0 calc(-26px)}.jqmWindow.enlargeModal .enlargeNavigation .navRight{right:20px;background-position:0 calc(-78px)}.jqmWindow.enlargeModal .enlargeNavigation .navRight:hover{background-position:0 calc(-104px)}.jqmWindow.enlargeModal .enlargeGalleryProgress{color:#b3b3bb;font-size:35px;line-height:40px}.jqmWindow.enlargeModal .enlargeGalleryProgress .enlargeCurrentIndex{color:#676877}.jqmWindow.enlargeModal .enlargeDetails{width:100%;height:auto;padding-left:15px;padding-bottom:10px;margin-bottom:10px;box-sizing:border-box;display:block}.jqmWindow.enlargeModal .enlargeDetails.rank{height:204px}.jqmWindow.enlargeModal .enlargeCaption{width:100%;margin-bottom:10px;color:#26283d;font-size:14px;line-height:21px}.jqmWindow.enlargeModal .enlargeCaptionInner{overflow:hidden;padding-right:15px;position:relative;display:block}.jqmWindow.enlargeModal .enlargeAttr{color:#676877;font-size:14px;line-height:16px}.jqmWindow.enlargeModal .mediumRect{min-width:300px;min-height:250px;display:block;background-color:#dee0e5}.jqmWindow input[type=text],.jqmWindow input[type=password],.jqmWindow input[type=email]{width:100%;height:42px;border:2px solid #dee0e5;padding:3px 14px;box-sizing:border-box;outline:0;color:#676877;font-size:14px;line-height:14px}.jqmWindow input[type=text]::-webkit-input-placeholder,.jqmWindow input[type=password]::-webkit-input-placeholder,.jqmWindow input[type=email]::-webkit-input-placeholder{color:#b3b3bb;opacity:1}.jqmWindow input[type=text]:-moz-placeholder,.jqmWindow input[type=password]:-moz-placeholder,.jqmWindow input[type=email]:-moz-placeholder{color:#b3b3bb;opacity:1}.jqmWindow input[type=text]::-moz-placeholder,.jqmWindow input[type=password]::-moz-placeholder,.jqmWindow input[type=email]::-moz-placeholder{color:#b3b3bb;opacity:1}.jqmWindow input[type=text]:-ms-input-placeholder,.jqmWindow input[type=password]:-ms-input-placeholder,.jqmWindow input[type=email]:-ms-input-placeholder{color:#b3b3bb;opacity:1}.jqmWindow.exitOverlay{width:460px;padding:5px;padding-bottom:10px;margin-left:-230px;border:0;background-color:#26283d;box-shadow:0 0 16px 12px rgba(0,0,0,0.3)}.jqmWindow.exitOverlay .featureThumb{width:100%}.jqmWindow.exitOverlay .homepageFeature{margin-bottom:8px}.jqmWindow.exitOverlay .jqmClose{width:15px;height:15px;position:absolute;top:0;right:-24px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/modalCloseWhite.png') 0 0 no-repeat;background-position:center;cursor:pointer}.jqmWindow.exitOverlay h2{padding-left:20px;margin-bottom:12px;color:#fff;font-family:'FG-C','Georgia',sans-serif;font-size:36px;font-weight:400;line-height:36px;text-transform:uppercase}.jqmWindow.exitOverlay .exitTitle{float:left;padding:0 20px;margin-bottom:20px;color:#ffd304;font-size:16px;line-height:20px}.jqmWindow.exitOverlay .exitTitle:hover{text-decoration:underline}.jqmWindow.exitOverlay.v4{width:802px;height:330px;padding:20px 12px;margin-left:-386px;box-sizing:border-box;top:100px}.jqmWindow.exitOverlay.v4 .jqmClose{right:12px;top:12px}.jqmWindow.exitOverlay.v4 h2{padding:0}.jqmWindow.exitOverlay.v4 .featureThumbLink{width:251px;height:173px;display:block}.jqmWindow.exitOverlay.v4 .featureThumb{width:251px;height:173px}.jqmWindow.exitOverlay.v4 .eioItem{width:251px;float:left;margin-right:12px;position:relative}.jqmWindow.exitOverlay.v4 .eioItem:last-child{margin-right:0}.jqmWindow.exitOverlay.v4 .featureThumbLink{margin-bottom:12px}.jqmWindow.exitOverlay.v4 .exitTitle{padding:0;width:222px}.jqmWindow.exitOverlay.v4 .mediaTypeIcon{left:0;top:0}.exitOverlayDetails .exitOptions{width:436px;height:68px;margin:auto}.exitOverlayDetails .exitOptions .exitBtn{display:block;background-color:#ffd304;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;text-align:center;cursor:pointer}.exitOverlayDetails .exitOptions .optionHeader{width:100%;padding-top:10px;color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:38px;font-weight:400;line-height:38px;display:inline-block;text-transform:uppercase}.exitOverlayDetails .exitOptions .optionSubText{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:10px;line-height:10px;display:block}.exitOverlayDetails.version1 .exitBtn,.exitOverlayDetails.version3 .exitBtn{float:left;width:209px;height:68px}.exitOverlayDetails.version1 .exitBtn:last-child,.exitOverlayDetails.version3 .exitBtn:last-child{float:right;background-color:#fff}.exitOverlayDetails.version2.exitOverlayDetails{margin-top:20px}.exitOverlayDetails.version2 .exitTitle{color:#fff;font-size:18px;line-height:24px}.exitOverlayDetails.version2 .exitBtn{width:288px;height:68px;margin:auto}.exitOverlayDetails.version2 .exitOptions{clear:both;margin-bottom:20px}.exitOverlayDetails.version2 .exitOptions .optionHeader{line-height:50px}.jqmOverlay{background-color:#232325;opacity:.97}.jqContent,.jqStaticContent{width:100%}.jqContent.errorMessage ul,.jqStaticContent.errorMessage ul{padding:20px;color:#26283d;font-size:17px;line-height:22px}.jqContent h1,.jqStaticContent h1{padding:24px;padding-right:54px;border-top:1px solid #ffd304;border-top-left-radius:3px 3px;border-top-right-radius:3px 3px;background-color:#ffd304;text-align:center;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;font-size:22px;line-height:22px;text-transform:capitalize}.jqContent .pagesContainer,.jqStaticContent .pagesContainer{padding:0 9px}.jqContent .pagesContainer h1,.jqStaticContent .pagesContainer h1{margin:0 -9px;margin-bottom:9px}.jqmClose{width:36px;height:36px;position:absolute;top:16px;right:10px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/modalClose.png') 0 0 no-repeat;background-position:center;cursor:pointer}.jqEnlargeClose{top:0;right:0}.modalLoader{width:100px;padding-top:65px;margin:auto;background:url('https://cdn.ebaumsworld.com/img/desktop/loaderGlobe50YellowWhite.gif') center 0 no-repeat;text-align:center}.siteContainer{width:1320px;margin:auto;padding:0 10px;box-sizing:border-box;background-color:#f4f4f4}.siteContainer.fullWidthContent{padding:0}.siteContainer.fullWidthContent .mainContent{width:100%}@media(max-width:1320px){.siteContainer{width:100%;padding:0 6px}}.mainContainer{width:100%}@media(max-width:1320px){.mainContainer{margin-top:14px}}.mainContent{width:70%}.mainContent h1{margin-bottom:20px;line-height:32px}.mainContent h1.uploadH1{font-size:50px;line-height:50px}.mainContent .profileContent h1{text-transform:uppercase;margin-bottom:0}@media(max-width:1320px){.mainContent{width:66%;overflow:hidden}}@media(max-width:1320px){.mainContentGaming,.mainContentTrending{width:100%}}.rightColumn{width:30%}.rightColumn .fullWidthContents{border:1px solid #b3b3bb}.rightColumn.profile{margin-top:0}@media(max-width:1320px){.rightColumn{width:33%;border-left:1px solid #dee0e5}}.breadcrumbs{margin-bottom:10px;margin-top:-8px}.breadcrumbs ol{list-style:none;overflow:hidden}.breadcrumbs li{float:left;list-style:none;margin-right:5px}.breadcrumbs li a span{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:16px;line-height:16px}.breadcrumbs li a span:hover{text-decoration:underline}.breadcrumbs .arrowRight{width:0;height:0;margin-right:5px;margin-top:6px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid #ffd304}.adminPanel{padding:15px;position:fixed;z-index:100;top:0;left:0;background-color:#111223}.adminPanel a{color:#fff;font-size:16px;line-height:20px}.adminPanel a.identTrigger{display:block;color:#ffd304;font-family:'FG-C','Georgia',sans-serif;font-size:30px;font-weight:400;line-height:30px;text-transform:uppercase}.adminPanel ul{padding-top:10px;margin-top:5px;border-top:3px solid #676877}.adminPanel .adminMediaId{margin-bottom:3px;overflow:hidden}.adminPanel input[type=text]{width:128px;height:20px;padding:2px;padding-left:5px;background-color:#676877;border:0;color:#b3b3bb}.adminPanel .adminMenuMediaId{float:left;margin-right:2px;margin-left:21px}.adminPanel .yellowBtn{float:left;height:20px;padding:2px;box-sizing:border-box;-moz-border-radius:1px;-webkit-border-radius:1px;border-radius:1px}.adminPanel span{width:8px;height:13px;margin-right:10px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/admin/arrowYellowRight.png') 0 0 no-repeat}.adminPanel .identUsername{margin-bottom:10px}@media(max-width:1320px){.adminPanel{left:140px}}.mobile-logo{display:none}@media(max-width:1279px){.mobile-logo{display:block;width:150px;margin:auto;padding:10px}}#menuToggler input[name="closeButton"]{display:none}@media(max-width:1279px){#menuToggler input[name="closeButton"]{display:block}#menuToggler .navButtonContainer{position:fixed;top:10px;left:10px;z-index:10}#menuToggler .checkbox{position:absolute;display:block;height:32px;width:32px;top:20px;left:10px;z-index:10;opacity:0;cursor:pointer}#menuToggler .hamburger-lines{display:block;height:26px;width:32px;position:absolute;top:20px;left:10px;z-index:9;display:flex;flex-direction:column;justify-content:space-between}#menuToggler .hamburger-lines .line{display:block;height:4px;width:100%;border-radius:10px;background:#ffd304;transition:transform .8s ease-in-out}#menuToggler .hamburger-lines .line1{transform-origin:0 0;transition:transform .4s ease-in-out}#menuToggler .hamburger-lines .line2{transition:transform .2s ease-in-out}#menuToggler .hamburger-lines .line3{transform-origin:0 100%;transition:transform .4s ease-in-out}#menuToggler .menuItems{transform:translateX(-150%);transition:transform .4s ease-in-out;position:relative;z-index:5}#menuToggler input[name="closeButton"]:checked ~ .menuContainer .menuItems{transform:translateX(0)}#menuToggler input[name="closeButton"]:checked ~ .hamburger-lines .line1{transform:rotate(45deg)}#menuToggler input[name="closeButton"]:checked ~ .hamburger-lines .line2{transform:scaleY(0)}#menuToggler input[name="closeButton"]:checked ~ .hamburger-lines .line3{transform:rotate(-45deg)}}.adminMenu{display:none;width:150px}.identBox{padding:5px;top:0;left:0;z-index:2;color:#fff;display:none}.identBox .yellowBtn{margin-right:10px}.breakLine{width:100%;margin-top:20px;margin-bottom:20px;border-top:2px solid #dee0e5}.miniMenu{display:none;width:100%;height:40px;position:fixed;z-index:1000;top:0;background:url('https://cdn.ebaumsworld.com/img/desktop/navGradient.png') 0 20px repeat-x;background-color:#26283d;border-bottom:1px solid #fff}.miniMenu.slideDown{display:block;transition:all .2s ease 0s}.miniMenu>ul{width:1120px;height:100%;margin:auto}@media(max-width:1119px){.miniMenu>ul{width:990px}}.miniMenu>ul>li{float:left;width:105px;height:40px;box-sizing:border-box;color:#fff}.miniMenu>ul>li.logo{padding-top:2px;position:relative}.miniMenu>ul>li .miniLabel{font-family:'Fira Sans','Georgia',sans-serif;font-weight:700;text-transform:uppercase;font-size:12px}.miniMenu>ul>li.menuLines{width:40px;padding-left:5px;margin-right:260px;cursor:pointer;position:relative;background:url('https://cdn.ebaumsworld.com/img/mobile/mobileHeaderIcons.png') 0 -4px no-repeat;background-size:50px 94px}.miniMenu>ul>li.menuLines:hover .miniMenuExpansion{display:block}@media(max-width:1119px){.miniMenu>ul>li.menuLines{margin-right:60px}}.miniMenu>ul>li.user{float:right;width:85px;position:relative;background-color:#111223;border-left:1px solid #353648}.miniMenu>ul>li.user a{height:20px;padding-top:4px;box-sizing:border-box;display:block;text-align:center;font-family:'Fira Sans','Georgia',sans-serif;font-weight:700;color:#fff;font-size:11px;line-height:11px;text-transform:uppercase}.miniMenu>ul>li.user a.withNotice{position:relative}.miniMenu>ul>li.user a.signIn{padding-top:5px;color:#ffd304}.miniMenu>ul>li.user a.signUp{border-top:1px solid #353648}.miniMenu>ul>li.user .notificationBubble{right:12px;display:block}.miniMenu>ul>li.user:hover #loggedInMenuMini{display:block}.miniMenu>ul>li.user:hover .notificationBubble{color:#fff}.miniMenu>ul>li.user .headerAvatar{width:30px;height:30px;margin-top:2px;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%}.miniMenu>ul>li.user .dropdownMenu{display:none;width:88px;position:absolute;top:40px;right:0;z-index:2;padding:12px 12px 7px;padding-bottom:0;background-color:#26283d;border-top:3px solid #ffd304;-webkit-box-shadow:0 13px 15px 5px rgba(0,0,0,0.21);-moz-box-shadow:0 13px 15px 5px rgba(0,0,0,0.21);box-shadow:0 13px 15px 5px rgba(0,0,0,0.21)}.miniMenu>ul>li.user .dropdownMenu li{height:30px}.miniMenu>ul>li.user .dropdownMenu li a{height:30px;text-align:right;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#fff;font-size:12px;line-height:12px;text-transform:uppercase}.miniMenu>ul>li.user .dropdownMenu li a:hover{color:#ffd304}.miniMenu>ul>li.user .dropdownMenu li.menu-active a{color:#ffd304}@media(max-width:1320px){.miniMenu>ul>li.user .dropdownMenu{border-top:0;border-left:3px solid #ffd304;top:0;left:90px}}.miniMenu>ul>li.search{float:right;width:46px;position:relative}.miniMenu>ul>li.search a{width:35px;height:100%;box-sizing:border-box;padding-top:7px;display:block}.miniMenu>ul>li.search .icon{width:26px;height:26px;display:block;background:url('https://cdn.ebaumsworld.com/img/mobile/mobileSearchIcon.png') 0 0 no-repeat;background-size:26px 26px}.miniMenu>ul>li .searchBar{top:40px}.miniMenu>ul>li.facebook,.miniMenu>ul>li.twitter{width:auto;padding-top:7px;cursor:pointer}.miniMenu>ul>li.facebook span,.miniMenu>ul>li.twitter span{box-sizing:border-box;padding-top:7px;padding-left:38px;padding-right:8px;width:auto;height:25px;display:block;background-color:#3c599b;font-size:12px;line-height:12px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;background:url('https://cdn.ebaumsworld.com/img/desktop/miniMenuShare.png') 10px 0 no-repeat}.miniMenu>ul>li.facebook{margin-right:10px}.miniMenu>ul>li.facebook span{background-color:#3c599b}.miniMenu>ul>li.twitter span{background-color:#55acee;background-position:10px -25px}.miniMenu>ul .miniMenuExpansion{display:none;position:absolute;top:40px;left:2px;border-top:3px solid #ffd304;background-color:#26283d;-webkit-box-shadow:0 13px 15px 5px rgba(0,0,0,0.21);-moz-box-shadow:0 13px 15px 5px rgba(0,0,0,0.21);box-shadow:0 13px 15px 5px rgba(0,0,0,0.21)}.miniMenu>ul .miniMenuExpansion ul{width:100px;padding:12px;padding-bottom:7px}.miniMenu>ul .miniMenuExpansion ul li{height:30px;box-sizing:border-box;padding-top:5px}.miniMenu>ul .miniMenuExpansion ul a{color:#fff}.miniMenu>ul .miniMenuExpansion ul a:hover{color:#ffd304}.miniMenu>ul .miniMenuExpansion ul .galleries .icon{background-position:0 calc(-20px)}.miniMenu>ul .miniMenuExpansion ul .newest .icon{background-position:0 calc(-40px)}.miniMenu>ul .miniMenuExpansion ul .popular .icon{background-position:0 calc(-60px)}.miniMenu>ul .miniMenuExpansion ul .spicy .icon{background-position:0 calc(-360px)}.miniMenu>ul .miniMenuExpansion ul .forum .icon{background-position:0 calc(-160px)}.miniMenu>ul .miniMenuExpansion ul .trendingIcon{float:left;width:20px;height:20px;display:block;margin-right:10px;background:url('https://cdn.ebaumsworld.com/img/desktop/big-trending.png') 0 0 no-repeat;background-size:20px,20px}.miniMenu>ul .miniMenuExpansion ul .icon{float:left;width:20px;height:20px;display:block;margin-right:10px;background:url('https://cdn.ebaumsworld.com/img/desktop/navIcons.png') 0 0 no-repeat;background-size:20px 380px}.miniMenu>ul .miniMenuExpansion ul .miniLabel{float:left;padding-top:2px}.miniMenu>ul .miniMenuExpansion .dropdownArrowOutter{left:15px}.miniMenu>ul .miniMenuExpansion .dropdownArrowInner{left:17px}.miniMenu .dropdownArrowOutter{width:0;height:0;position:absolute;top:0;right:34px;z-index:3;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ffd304}.miniMenu .dropdownArrowInner{width:0;height:0;position:absolute;top:-3px;right:36px;z-index:4;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #26283d}.miniMenu .notificationBubble{display:none;height:20px;min-width:20px;text-align:center;right:8px;padding:1px 3px;padding-top:7px;box-sizing:border-box;position:absolute;top:1px;background:url('https://cdn.ebaumsworld.com/img/desktop/notificationBubble.png') 0 0 no-repeat;background-size:100% 100%;font-family:'Fira Sans','Georgia',sans-serif;font-weight:700;color:#fff;font-size:7px;line-height:7px}header.header{width:100%;background-color:#111223;margin-bottom:22px;position:sticky;top:0;z-index:2000;box-shadow:rgba(0,0,0,0.24) 0 3px 8px}#cmn_wrap{padding-top:22px}@media(max-width:1320px){#cmn_wrap{padding:0}}nav>ul>li span.dropdown::after{display:inline-block;position:relative;content:"";top:-2px;left:10px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #ffd304}@media(max-width:1279px){nav>ul>li span.dropdown::after{border-right:0 solid transparent}}nav{height:80px;background:url('https://cdn.ebaumsworld.com/img/desktop/navGradient.png') 0 20px repeat-x;background-color:#26283d;position:unset}nav .navLink{padding-top:32px}nav>ul{width:1320px;height:100%;margin:auto}@media(max-width:1320px){nav>ul{width:100%}}nav>ul>li{float:left;width:95px;height:80px}nav>ul>li span.icon{width:40px;height:40px;margin:auto;margin-bottom:2px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/navIcons.png') center 0 no-repeat}nav>ul>li span.trendingIcon{width:40px;height:40px;margin:auto;margin-bottom:2px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/big-trending.png') 0 0 no-repeat}nav>ul>li span.navLabel{width:100%}nav>ul>li.logo{width:150px;background:0;position:relative}nav>ul>li.logo a{padding:0}nav>ul>li.logo .notificationBubble{left:140px;display:none}@media(max-width:1279px){nav>ul>li.logo{display:none}}nav>ul>li.videos .icon{background-position:0 0}nav>ul>li.galleries .icon{background-position:0 calc(-40px)}nav>ul>li.newest .icon{background-position:0 calc(-80px)}nav>ul>li.popular .icon{background-position:0 calc(-120px)}nav>ul>li.spicy .icon{background-position:0 calc(-720px)}nav>ul>li.forum .icon{background-position:0 calc(-320px)}nav>ul>li.gaming .icon{background-position:0 calc(-480px)}nav>ul>li.articles .icon{background-position:0 calc(-360px)}nav>ul>li.more{position:relative}nav>ul>li.more .icon{background-position:0 calc(-160px)}nav>ul>li.more:hover .moreMenu{display:block}nav>ul>li.more .trending .trendingIcon{width:40px;height:40px;margin-bottom:2px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/big-trending.png') 0 0 no-repeat}nav>ul>li.more .newest .icon{background-position:0 calc(-80px)}nav>ul>li.more .contests .icon{background-position:0 calc(-280px)}nav>ul>li.more .popular .icon{background-position:0 calc(-120px)}nav>ul>li.more .pictures .icon{background-position:0 calc(-440px)}nav>ul>li.more .games .icon{background:url('/img/desktop/navGameIcon.png') 0 0 no-repeat}nav>ul>li.more .soundboards .icon{background-position:0 calc(-520px)}nav>ul>li.more .audio .icon{background-position:0 calc(-560px)}nav>ul>li.more .jokes .icon{background-position:0 calc(-600px)}nav>ul>li.more .blogs .icon{background-position:0 calc(-640px)}nav>ul>li.more .animation .icon{background-position:0 calc(-680px)}nav>ul>li.more .spicy .icon{background-position:0 calc(-720px)}nav>ul>li.more .articles .icon{background-position:0 calc(-360px)}nav>ul>li.more .gaming .icon{background-position:0 calc(-480px)}nav>ul>li.upload{float:right;width:110px;background-color:#111223;border-right:1px solid #353648}nav>ul>li.upload span.icon{background-position:0 calc(-240px)}@media(max-width:1279px){nav>ul>li.upload{float:unset;width:unset;background-color:unset;border-right:unset}}nav>ul>li.search{width:93px;float:right;position:relative}nav>ul>li.search span.icon{background-position:0 calc(-200px)}@media(max-width:1279px){nav>ul>li.search{position:fixed;top:-90px;right:3%}}nav>ul>li.user{float:right;width:100px;background:0;background-color:#111223;position:relative}nav>ul>li.user:hover #loggedInMenu{display:block}nav>ul>li.user:hover .notificationBubble{color:#fff}nav>ul>li.user .headerAvatar{width:46px;height:46px;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;margin-top:6px}nav>ul>li.user .notificationBubble{left:60px}nav>ul>li.user .dropdownArrowOutter{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ffd304;position:absolute;top:0;left:98px;z-index:3}@media(max-width:1279px){nav>ul>li.user .dropdownArrowOutter{display:none}}nav>ul>li.user .dropdownArrowInner{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #26283d;position:absolute;top:-3px;left:100px;z-index:4}@media(max-width:1279px){nav>ul>li.user .dropdownArrowInner{display:none}}nav>ul>li.user .dropdownMenu{display:none;width:100px;padding:15px 23px 28px 22px;position:absolute;top:80px;left:-51px;z-index:2;background-color:#26283d;border-top:3px solid #ffd304;-webkit-box-shadow:0 13px 15px 5px rgba(0,0,0,0.21);-moz-box-shadow:0 13px 15px 5px rgba(0,0,0,0.21);box-shadow:0 13px 15px 5px rgba(0,0,0,0.21)}nav>ul>li.user .dropdownMenu li{height:32px}nav>ul>li.user .dropdownMenu li a{height:32px;text-align:left;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#fff;font-size:12px;line-height:12px;text-transform:uppercase}nav>ul>li.user .dropdownMenu li a:hover{color:#ffd304}nav>ul>li.user .dropdownMenu li.menu-active a{color:#ffd304}@media(max-width:1279px){nav>ul>li.user .dropdownMenu{border-top:0;border-left:3px solid #ffd304;top:0;left:108px}}@media(max-width:1279px){nav>ul>li.user{float:unset;width:unset;background:0;background-color:unset}}nav>ul>li .signIn,nav>ul>li .signUp{width:100%;height:39px;padding:0;float:left;background:0;border-bottom:1px solid #353648;padding-top:10px;box-sizing:border-box}nav>ul>li .signUp{height:40px;color:#fff;border-top:0}@media(max-width:1279px){nav>ul>li{width:auto;float:unset;margin-left:32px}}@media(max-width:1279px){nav>ul{display:flex;flex-wrap:wrap;flex-direction:column;width:auto;height:auto}}nav a{height:80px;padding-top:12px;box-sizing:border-box;display:block;text-align:center}nav a:hover span{color:#ffd304}nav a.signIn span{color:#ffd304}nav a.signIn:hover span{color:#fff}nav a span{font-family:'Fira Sans','Georgia',sans-serif;font-weight:700;color:#fff;font-size:12px;line-height:12px;text-transform:uppercase}nav .notificationBubble{height:26px;min-width:26px;padding:7px 10px;padding-top:7px;box-sizing:border-box;display:block;position:absolute;top:15px;background:url('https://cdn.ebaumsworld.com/img/desktop/notificationBubble.png') 0 0 no-repeat;background-size:100% 100%;font-family:'Fira Sans','Georgia',sans-serif;font-weight:700;color:#fff;font-size:12px;line-height:12px}@media(max-width:1279px){nav{position:fixed;z-index:100;width:140px;height:auto;background-color:#111223;padding-bottom:32px;border:0}}.searchBar{display:none;width:528px;height:40px;position:absolute;z-index:1;right:0;top:80px;background-color:#fff;-webkit-box-shadow:0 13px 15px 5px rgba(0,0,0,0.21);-moz-box-shadow:0 13px 15px 5px rgba(0,0,0,0.21);box-shadow:0 13px 15px 5px rgba(0,0,0,0.21)}.searchBar input{width:416px;height:40px;padding:14px 35px;border:0;box-sizing:border-box;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#676877;font-size:12px;line-height:14px}.searchBtn{width:111px;height:40px;padding:15px 0;padding:14px 25px;border:1px solid #ffd304;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-sizing:border-box;background-color:#ffd304;text-align:center;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px;cursor:pointer;float:right;border-radius:0;border:0;font-size:12px;line-height:12px}.searchBtn.disabled{background-color:#dee0e5;border:1px solid #dee0e5;cursor:default}.moreMenu{display:none;width:566px;padding:22px 28px;padding-right:0;position:absolute;top:80px;left:-244px;z-index:4;background-color:#26283d;border-top:3px solid #ffd304;-webkit-box-shadow:0 13px 15px 5px rgba(0,0,0,0.21);-moz-box-shadow:0 13px 15px 5px rgba(0,0,0,0.21);box-shadow:0 13px 15px 5px rgba(0,0,0,0.21)}.moreMenu li{float:none}.moreMenu ul{float:left;height:230px}.moreMenu ul.moreMenuMedia{width:148px}.moreMenu ul:nth-child(4){border-right:1px solid #111223}.moreMenu ul:nth-child(5){border-left:1px solid #353648;padding-left:28px;margin-right:28px}@media(max-width:1279px){.moreMenu ul:nth-child(5){border:0}}@media(max-width:1279px){.moreMenu ul{height:auto}}.moreMenu a{height:40px;padding-top:0;margin-bottom:20px}.moreMenu a span{float:left;width:auto}.moreMenu a span.icon{margin-right:10px}.moreMenu a span.trendingIcon{margin-right:10px}.moreMenu a span.navLabel{width:auto;padding-top:15px}.moreMenu .moreArrowOutter{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ffd304;position:absolute;top:0;left:286px;z-index:2}@media(max-width:1279px){.moreMenu .moreArrowOutter{display:none}}.moreMenu .moreArrowInner{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #26283d;position:absolute;top:-3px;left:288px;z-index:3}@media(max-width:1279px){.moreMenu .moreArrowInner{display:none}}@media(max-width:1279px){.moreMenu{border-top:0;border-left:3px solid #ffd304;top:-150px;left:108px;width:300px}}.moreMenuCategory a{height:25px;padding-left:30px;background:url('https://cdn.ebaumsworld.com/img/desktop/categoryIcons.png') 0 0 no-repeat}.moreMenuCategory li{width:106px}.moreMenuCategory li span{padding-top:8px}.moreMenuCategory li.funny a{background-position:0 0}.moreMenuCategory li.feels a{background-position:0 calc(-25px)}.moreMenuCategory li.creepy a{background-position:0 calc(-50px)}.moreMenuCategory li.wtf a{background-position:0 calc(-75px)}.moreMenuCategory li.ftw a{background-position:0 calc(-100px)}.moreMenuCategory li.wow a{background-position:0 calc(-125px)}.moreMenuCategory li.facepalm a{background-position:0 calc(-150px)}.moreMenuCategory li.eww a{background-position:0 calc(-175px)}.moreMenuCategory li.ouch a{background-position:0 calc(-200px)}.moreMenuCategory li.all a{padding-left:0;background:0}@media(max-width:1320px){.moreMenuCategory{margin-top:32px}}.categoryNav{width:100%;height:40px;background-color:#ffd304}.categoryNav ul{width:1285px;height:40px;margin:auto}.categoryNav li{float:left;height:40px}.categoryNav a{padding-top:10px;display:block}.categoryNav span{height:22px;padding:0 49px;border-right:1px solid #fff;color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:28px;font-weight:400;line-height:22px;text-transform:uppercase;display:block}.categoryNav .wow span{border-right:0}.commentAvatar{width:40px;height:40px;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%}.featureDetails{float:left}.featureAvatar{float:left;width:40px;height:40px;margin-right:11px;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%}.featureAvatar.hasCategory{margin-top:7px}.featureUsername{font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#ffd304;font-size:12px;line-height:24px}.featureUsername:hover{text-decoration:underline}.homepageCategory,.homepageFeaturedTime{font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#898787;font-size:11px;line-height:11px}.homepageCategory{color:#ffd304;text-transform:capitalize}.homepageCategory:hover{text-decoration:underline}.hasCategory .uploadLabel{margin-bottom:4px}.topCards{margin-bottom:22px;height:320px;display:block}.topCards h2{overflow:hidden}.topCards h2 a{float:left;width:100%;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#fff;font-size:20px;line-height:26px}.topCards footer{position:absolute;bottom:15px}.bigCard,.smallCard{float:left;position:relative;height:320px;display:block;margin-right:12px;background-color:#f4f5f8}.bigCard{width:370px}.smallCard{width:230px}.smallCard h2{height:80px}.smallCard .featureUsername{line-height:20px}.smallCard .featureDetails{padding-top:4px}.smallCard:last-child{margin-right:0}.bigCardThumbLink{width:100%;height:190px;display:block;border:1px solid #26283d;border-bottom:0;box-sizing:border-box}.bigCardThumb{width:100%;height:190px}.bigCardDetails{width:100%;height:130px;padding:12px 20px 10px 20px;box-sizing:border-box;background-color:#26283d;position:relative}.bigCardDetails .homepageFeaturedTime span{float:none}.bigCardDetails .featureAvatar.hasCategory{margin-top:0}.bigCardDetails header{height:52px;overflow:hidden}.smallCardThumbLink{width:100%;height:150px;display:block;border:1px solid #26283d;border-bottom:0;box-sizing:border-box}.smallCardThumb{width:100%;height:150px}.smallCardDetails{width:100%;height:170px;padding:12px 12px 10px 12px;box-sizing:border-box;background-color:#26283d;position:relative}.smallCardDetails footer{width:84%;padding-top:6px;border-top:1px solid #111223;box-sizing:border-box}@media(max-width:1119px){.bigCard,.smallCard{width:233px;margin-right:12px}.bigCard h2,.smallCard h2{height:82px}.bigCard footer,.smallCard footer{width:84%;padding-top:10px;border-top:1px solid #111223;box-sizing:border-box}.bigCardThumbLink{height:150px}.bigCardThumb{height:150px}.bigCardDetails{height:170px;padding:12px 12px 10px 12px;box-sizing:border-box;background-color:#26283d;position:relative;border-top:1px solid #111223}.bigCardDetails .homepageFeaturedTime span{float:left;clear:both}.bigCardDetails .uploadLabel{margin-bottom:4px}.bigCardDetails .featureAvatar.hasCategory{margin-top:7px}.bigCardDetails header{height:82px}}.sticky-container{padding:0;margin:0;position:fixed;right:-100px;top:103px;width:160px;z-index:10}@media(max-width:1320px){.sticky-container{display:none!important}}.sticky-social{background-color:#111223;padding:10px 10px 2px 10px}.sticky-social li{list-style-type:none;background-color:#111223;color:#efefef;height:41px;padding:0;margin:0 0 10px 0;background:url('https://cdn.ebaumsworld.com/img/desktop/followUsIconsWide.png') 0 0 no-repeat;line-height:28px;cursor:pointer}.sticky-social li:hover{background-position:0 calc(-41px)}.stick-social li.facebook{background-position:-4px -3px}.sticky-social li.twitter{background-position:0 calc(-82px)}.sticky-social li.twitter:hover{background-position:0 calc(-123px)}.sticky-social li.pinterest{background-position:0 calc(-246px)}.sticky-social li.pinterest:hover{background-position:0 calc(-287px)}.sticky-social li.instagram{background-position:0 calc(-164px)}.sticky-social li.instagram:hover{background-position:0 calc(-205px)}.sticky-social li.rss{background-position:0 calc(-328px)}.sticky-social li.rss:hover{background-position:0 calc(-369px)}.sticky-social li a{width:40px;height:41px;display:block}.subheader{display:flex;justify-content:center;align-items:center;width:100%;min-height:90px;margin-bottom:32px;clear:both;position:relative}.subheader .followUs{float:left;width:350px;height:90px;padding-top:24px;padding-left:32px;box-sizing:border-box;background-color:#111223;display:block}.subheader .followUs li{float:left;width:40px;height:41px;margin-right:21px;background:url('https://cdn.ebaumsworld.com/img/desktop/followUsIconsWide.png') 0 0 no-repeat;color:#fff;font-family:'FG-C','Georgia',sans-serif;font-size:28px;line-height:28px}.subheader .followUs li:hover{background-position:0 calc(-41px)}.subheader .followUs li a{width:40px;height:41px;display:block}.subheader .followUs li.twitter{background-position:0 calc(-82px)}.subheader .followUs li.twitter:hover{background-position:0 calc(-123px)}.subheader .followUs li.pinterest{background-position:0 calc(-246px)}.subheader .followUs li.pinterest:hover{background-position:0 calc(-287px)}.subheader .followUs li.instagram{background-position:0 calc(-164px)}.subheader .followUs li.instagram:hover{background-position:0 calc(-205px)}.subheader .followUs li.rss{background-position:0 calc(-328px)}.subheader .followUs li.rss:hover{background-position:0 calc(-369px)}@media(max-width:1119px){.subheader .followUs{width:230px;padding-top:16px;padding-left:0}.subheader .followUs li{width:31px;height:32px;border:5px solid #111223;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;margin-right:0}.subheader .followUs li.followLabel{display:block;width:213px;height:26px;padding-left:17px;background:0;border:0;text-transform:uppercase}.subheader .followUs li.facebook{background-position:-4px -3px;margin-left:5px}.subheader .followUs li.facebook:hover{background-position:-4px -44px}.subheader .followUs li.twitter{background-position:-4px -86px}.subheader .followUs li.twitter:hover{background-position:-4px -127px}.subheader .followUs li.pinterest{background-position:-4px -168px}.subheader .followUs li.pinterest:hover{background-position:-4px -209px}.subheader .followUs li.instagram{background-position:-4px -249px}.subheader .followUs li.instagram:hover{background-position:-4px -290px}.subheader .followUs li.rss{background-position:-4px -331px}.subheader .followUs li.rss:hover{background-position:-4px -372px}}.subheader .leaderboard728{min-width:728px;min-height:118px;overflow:hidden;position:absolute;display:flex;justify-content:center;align-items:center}.subheader .rosLeaderboard{float:none;position:static;text-align:center}.subheaderBottom{width:1100px;margin:auto;margin-bottom:25px}@media(max-width:1119px){.subheaderBottom{width:970px}}.flex-parent{width:100%;display:flex;flex-direction:row;gap:10px}@media(max-width:1320px){.flex-parent{gap:1%}}.featureFeed{width:76%}@media(max-width:1320px){.featureFeed{width:66%}}.homepageFeatures{width:100%;margin-top:14px;margin-bottom:20px;overflow:hidden}.homepageFeatures .featureThumb{width:100%;height:auto;display:block}.homepageFeatures .featureThumbLink{width:100%;height:auto;display:block;box-sizing:border-box}.homepageFeature{margin-bottom:10px;position:relative;box-shadow:rgba(0,0,0,0.24) 0 3px 8px}.homepageFeature:last-child{margin-bottom:0}.homepageFeature.listFeature{overflow:hidden;border:1px solid #111223;background-color:#111223;box-sizing:border-box}.homepageFeature.listFeature .featureThumb{width:100%}.homepageFeature.listFeature .mediaTypeIcon{left:0;top:0}.homepageFeature.listFeature .featureThumbLink{float:left;width:35%;border:0;margin-right:2%}.homepageFeature.listFeature .featureFeedDetails{float:left;width:63%;padding:8px 5px 0 0}.homepageFeature.listFeature .featureFeedDetails h2{height:17px;overflow:hidden;margin-bottom:4px}.homepageFeature.listFeature .featureFeedDetails h2 a{font-size:37px;line-height:40px;font-weight:600}.homepageFeature.listFeature .featureFeedDetails .featureDescription{height:33px;margin-bottom:2px;overflow:hidden;font-size:20px;line-height:24px;text-overflow:ellipsis}@media(max-width:1119px){.homepageFeature.listFeature footer{display:none}}.featureFeedDetails .viewDetails{float:right}.featureFeedDetails .viewDetails .viewCount{color:#ffd304;font-size:14px;line-height:14px}.featureFeedDetails .viewDetails .viewLabel{color:#dee0e5;font-size:12px;line-height:12px}.homepageCol1Announcement{overflow:hidden;margin-bottom:18px}.mediaTypeIcon{position:absolute;left:0;top:0}.mediaTypeIcon .labelTail{width:0;height:0;clear:left;border-right:10px solid transparent;border-top:10px solid #ffd304}.mediaTypeIconContent{float:left;padding:5px;background-color:#ffd304}.mediaTypeIconContent span{width:24px;height:24px;background:url('https://cdn.ebaumsworld.com/img/desktop/mediaFeedIcons.png') 0 0 no-repeat;display:block}.mediaTypeIconContent span.video{background-position:0 calc(0px)}.mediaTypeIconContent span.gallery{background-position:0 calc(-24px)}.mediaTypeIconContent span.article{background-position:0 calc(-48px)}.mediaTypeIconContent span.quiz{background-position:0 calc(-96px)}.mediaTypeIconContent span.contest{background-position:0 calc(-72px)}.mediaTypeIconContent span.picture{background-position:0 calc(-120px)}.mediaTypeIconContent span.game{background:url('/img/desktop/mediaFeedGameIcon.png') 0 0 no-repeat}.mediaTypeIconContent span.soundboard{background-position:0 calc(-168px)}.mediaTypeIconContent span.audio{background-position:0 calc(-192px)}.mediaTypeIconContent span.joke{background-position:0 calc(-216px)}.mediaTypeIconContent span.blog{background-position:0 calc(-240px)}.mediaTypeIconContent span.animation{background-position:0 calc(-264px)}.mediaTypeIconContent span.customLabel{width:auto;padding:0 3px;background:0;color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:24px;line-height:27px;text-transform:uppercase}.featureFeedDetails{width:100%;padding:15px 20px 10px 20px;box-sizing:border-box;background-color:#111223;overflow:hidden}.featureFeedDetails h2{margin-bottom:10px;overflow:hidden}.featureFeedDetails h2 a{float:left;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#ffd304;font-size:23px;line-height:25px;font-weight:600}@media(max-width:1320px){.featureFeedDetails{padding:15px 16px 10px 16px}.featureFeedDetails h2{margin-bottom:8px}.featureFeedDetails h2 a{font-size:18px;line-height:20px}}.featureDescription{color:#fff;font-size:20px;line-height:24px;margin-bottom:10px}@media(max-width:1320px){.featureDescription{font-size:15px;line-height:18px}}.stickiedIcon{width:11px;height:11px;display:block;background:url('/img/desktop/pin.svg') 0 0 no-repeat;background-size:13px 13px;color:#ffd304}.homepageH2,.homepageH3{margin-bottom:18px;color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:40px;font-weight:600;line-height:31px;text-transform:uppercase;text-align:center}@media(max-width:1320px){.homepageH2{display:none}}.homepageH3{font-size:32px;line-height:32px;margin-bottom:14px}.viralFeed{width:24%}@media(max-width:1320px){.viralFeed{width:33%}}.viralLi{box-shadow:rgba(0,0,0,0.16) 0 1px 4px}.viralFeed>ul>li{margin:14px 0}.viralFeed>ul>li:last-child{margin-bottom:0}.viralFeed>ul>li:last-child .viralCard{margin-bottom:0}.viralCardLink{width:100%;height:auto;display:block}.viralCardThumb{width:100%;height:auto}.viralDetails{width:100%;padding:10px;box-sizing:border-box;overflow:hidden}.viralDetails header{margin-bottom:7px;overflow:hidden}.viralDetails h2 a span{font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#111223;font-size:20px;line-height:24px}.viralDetails h2 a span:first-child{float:left}.viralDetails .featureUsername{color:#111223}.viralDetails .homepageCategory,.viralDetails .homepageFeatureTime{color:#676877}.viralDetails .viewDetails{float:right;padding-top:25px}.viralDetails .homepageCategory{color:#111223}.viralDetails .viewCount{color:#111223;font-size:14px;line-height:14px}.viralDetails .viewLabel{color:#676877;font-size:12px;line-height:12px}.bananaSurprise{width:300px;height:290px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/bananaSurpriseBg.jpg') 0 0 no-repeat;position:relative}.bananaSurprise .slots{float:left;width:266px;margin:15px 0 13px 20px}.surpriseBtn{width:200px;height:38px;margin:auto;padding-top:13px;display:block;clear:both;box-sizing:border-box;background-color:#fff;font-family:'Fira Sans','Georgia',sans-serif;font-weight:700;color:#26283d;font-size:15px;line-height:15px;text-transform:uppercase;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;text-align:center}.pbjTime{position:absolute;left:22px;bottom:18px;color:#ffd304;font-family:'FG-C','Georgia',sans-serif;font-size:26px;line-height:26px;text-transform:uppercase}.pbjTime span{color:#ffd304;font-family:'FG-C','Georgia',sans-serif;font-size:52px;line-height:52px}.dancingBanana{position:absolute;bottom:6px;right:5px}.dancingBanana img{width:90px;height:100px}.communityFeed{float:right;width:320px;display:block;position:relative}.communityFeed .allStars{width:300px;margin:auto;overflow:hidden}.communityFeed .rightColumnStick{width:320px}.communityUl{background:url('https://cdn.ebaumsworld.com/img/desktop/communityFeedBg.png') 0 0 no-repeat;background-color:#dee0e5}.communityUl .breakLine{width:100%;border-top:2px solid #fff;padding-bottom:30px;margin:auto;margin-top:30px}.rightColumnStick{background-color:#dee0e5;padding-bottom:12px}li.newsletterWidget{width:300px;margin:auto;margin-bottom:30px;overflow:hidden;background:url('https://cdn.ebaumsworld.com/img/desktop/newsletterStamp.png') 0 34px no-repeat}li.newsletterWidget h3.homepageH3{margin-bottom:2px}li.newsletterWidget h4{margin-bottom:40px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;text-align:center}li.newsletterWidget .emailAddress{width:100%;height:44px;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;padding-right:80px}li.newsletterWidget input[type=text]{line-height:normal}li.newsletterWidget .signUp{width:100%;height:46px;display:block;padding-top:15px;background-color:#26283d;text-align:center;box-sizing:border-box;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#fff;font-size:13px;line-height:13px;text-transform:uppercase;cursor:pointer}li.newsletterWidget .newsletterBananaHolder{height:42px;margin-bottom:14px;position:relative;display:block}li.newsletterWidget .newsletterBanana{position:absolute;right:0;bottom:0}.communityUl>li{clear:both}.rightColumn .widgetItem,.rightColumn .fullWidthContents{background-color:#fff;box-shadow:rgba(99,99,99,0.2) 0 2px 8px 0}.rightColumn .breakLine{width:100%;border-top:2px solid #b3b3bb;padding-bottom:30px;margin:auto;margin-top:30px}.rightColumn #rightColumnStick li:last-child{margin-bottom:0}.rightColumn>ul>li{margin-bottom:14px}.viralCard{width:100%;min-height:250px;padding:5px;box-sizing:border-box;background-color:#ffd304;display:block;position:relative}.viralCard .mediaTypeIcon{left:5px;top:5px}.topComments{min-height:282px;padding:0 20px;margin-bottom:22px;box-sizing:border-box;background:url('https://cdn.ebaumsworld.com/img/desktop/featuredCommentBg.png') center 0 no-repeat;overflow:hidden}.topComments .featureUsername{color:#111223}.commentContent{width:260px;height:100px;display:block;margin-bottom:6px;padding-top:33px;padding-left:18px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:19px}.commentMediaLink{width:267px;height:35px;display:block;margin-left:5px;margin-bottom:55px;padding-left:53px;padding-top:13px;box-sizing:border-box;font-family:'Fira Sans','Georgia',sans-serif;font-weight:700;color:#fff;font-size:11px;line-height:11px;text-transform:uppercase;background:url('https://cdn.ebaumsworld.com/img/desktop/featuredCommentBubble.png') 10px 0 no-repeat;background-color:#26283d;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.commentMediaLink:hover{background-color:#ffd304;background-position:10px -35px;color:#26283d}.topCommentDetails{margin-bottom:14px;overflow:hidden}.topCommentDetails .topCommentVote{float:right}.topCommentDetails .topCommentVoteLabel{float:left;margin-right:6px;padding-top:5px;color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:32px;line-height:32px}.topCommentDetails .topCommentDown,.topCommentDetails .topCommentUp{float:left;width:35px}.topCommentDetails .topCommentDown .voteThumb,.topCommentDetails .topCommentUp .voteThumb{width:19px;height:19px;display:block;margin:auto;margin-bottom:1px;background:url('https://cdn.ebaumsworld.com/img/desktop/commentVoteThumbs.png') 0 0 no-repeat;background-position:0 calc(-57px);cursor:pointer}.topCommentDetails .topCommentDown .voteThumb:active,.topCommentDetails .topCommentUp .voteThumb:active,.topCommentDetails .topCommentDown .voteThumb:hover,.topCommentDetails .topCommentUp .voteThumb:hover{background-position:0 calc(-76px)}.topCommentDetails .topCommentDown .voteThumb.active,.topCommentDetails .topCommentUp .voteThumb.active,.topCommentDetails .topCommentDown .voteThumb.active:hover,.topCommentDetails .topCommentUp .voteThumb.active:hover{background-position:0 calc(-95px);cursor:default}.topCommentDetails .topCommentDown .voteThumb.disabled,.topCommentDetails .topCommentUp .voteThumb.disabled,.topCommentDetails .topCommentDown .voteThumb.disabled:hover,.topCommentDetails .topCommentUp .voteThumb.disabled:hover{background-position:0 calc(-57px);cursor:default}.topCommentDetails .topCommentDown .voteCount,.topCommentDetails .topCommentUp .voteCount{width:100%;color:#26283d;font-size:12px;line-height:12px;text-align:center;display:inline-block}.topCommentDetails .topCommentUp .voteThumb{background-position:0 0}.topCommentDetails .topCommentUp .voteThumb:active,.topCommentDetails .topCommentUp .voteThumb:hover{background-position:0 calc(-19px)}.topCommentDetails .topCommentUp .voteThumb.active,.topCommentDetails .topCommentUp .voteThumb.active:hover{background-position:0 calc(-38px);cursor:default}.topCommentDetails .topCommentUp .voteThumb.disabled,.topCommentDetails .topCommentUp .voteThumb.disabled:hover{background-position:0 0;cursor:default}.topCommentsPagination{width:56px;height:12px;display:block;margin:auto;clear:both}.topCommentsPagination div{float:left;width:12px;height:12px;margin-right:10px;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;background-color:#898787;cursor:pointer}.topCommentsPagination div.current{background-color:#26283d;cursor:default}.topCommentsPagination div:last-child{margin-right:0}.topCommentsPagination .error{text-align:center;margin-top:5px}.contestWidget.mediaWidget{margin-bottom:15px}.contestWidget.mediaWidget .fullWidthActionBtn{margin-bottom:0}.contestWidget.mediaWidget .fullWidthTitle{text-align:center;margin-bottom:7px}.contestWidget.mediaWidget .fullWidthTitle a{font-family:'FG-C','Georgia',sans-serif;font-size:25px;line-height:25px;text-transform:uppercase;text-align:center}.contestWidget .homepageH3{height:40px;background:url('https://cdn.ebaumsworld.com/img/desktop/contestCrownOverlay.png') 30px 0 no-repeat;background-color:#26283d;color:#fff;font-size:26px;padding-top:10px}.contestWidget .viewAllContests{margin-bottom:11px}.contestWidget .flip-clock-small-wrapper{margin:20px 0}.contestWidget .flip-clock-small-wrapper .flip-clock-divider .flip-clock-label{top:46px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:9px;line-height:9px;text-transform:uppercase}.contestWidget .flip-clock-dot{border-radius:0}.contestWidget .flip-clock-small-wrapper .flip-clock-dot{border-radius:0;left:2px}.contestWidget .flip-clock-small-wrapper ul{background-color:#26283d}.contestWidget .flip-clock-small-wrapper .flip-clock-divider{width:5px}.contestWidget .flip-clock-small-wrapper a{color:#fff}body .flip-clock-wrapper ul li a div div.inn,body .flip-clock-small-wrapper ul li a div div.inn{background-color:#26283d;color:#fff}.allStarWrapper{width:330px;margin:auto}.allStar{width:100%;padding:10px 0;padding-top:20px;padding-bottom:9px;box-sizing:border-box;background-color:#fff;border-bottom:2px solid #26283d;position:relative;z-index:1;-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px}.allStar .avatar{width:59px;height:59px;display:block;background-color:#777c8d;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;margin:auto;margin-bottom:9px}.allStar .avatar a,.allStar .avatar img{width:59px;height:59px;display:block;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%}.allStar .username{width:100%;margin-bottom:9px;display:inline-block;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#111223;font-size:13px;line-height:13px;text-align:center}.allStarContainer{float:left;width:98px;height:270px;display:block;position:relative;margin-right:3px;background:url('https://cdn.ebaumsworld.com/img/desktop/allStarShadow.png') center bottom no-repeat}.allStarContainer:last-child{margin-right:0}.allStarContainer:hover .allStarRollover{display:block}.allStarContainer .allStarRollover{display:none;background-color:#26283d;border-bottom:2px solid #26283d;width:100%;height:22px;position:absolute;bottom:3px;z-index:0;border-bottom-left-radius:7px;border-bottom-right-radius:7px}.allStarContainer .allStarRollover a{width:100%;height:21px;padding-top:7px;background:url('https://cdn.ebaumsworld.com/img/desktop/allStarPlus.png') 9px 8px no-repeat;padding-left:24px;box-sizing:border-box;display:block;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#fff;font-size:12px;line-height:12px;text-transform:uppercase}.allStarStats{padding:0 4px}.allStarStats li{width:84px;border-top:2px solid #f4f5f8;padding-top:7px;padding-left:32px;margin-bottom:5px;background:url('https://cdn.ebaumsworld.com/img/desktop/allStarIcons.png') 0 0 no-repeat;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#111223;font-size:14px;line-height:14px}.allStarStats li:last-child{margin-bottom:0}.allStarStats li .label{font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#898787;font-size:12px;line-height:12px}.allStarStats li.views{background-position:0 -37px}.allStarStats li.comments{background-position:0 -74px}.mediaWidget{width:100%;margin:auto;overflow:hidden}.mediaWidget .fullWidthThumb{width:298px;position:relative}.mediaWidget .fullWidthThumb a,.mediaWidget .fullWidthThumb img{width:298px;display:block}.mediaWidget .fullWidthThumb .widgetThumbOverlay{width:100%;height:30px;text-align:center;position:absolute;bottom:0;background:rgba(0,0,0,0.7)}.mediaWidget .fullWidthThumb .widgetThumbOverlay a{height:30px;padding-top:5px;box-sizing:border-box;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#ffd304;font-size:17px;line-height:17px;text-transform:uppercase}.mediaWidget .fullWidthThumb .widgetThumbOverlay a span.icon{width:22px;height:22px;margin-right:3px;vertical-align:middle;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/contestWinnerIcons.png') 0 -31px no-repeat}.mediaWidget .fullWidthThumb .widgetThumbOverlay a span.label{height:22px;display:inline-block;line-height:25px;vertical-align:middle}.mediaWidget .fullWidthTitle{margin-bottom:10px}.mediaWidget .fullWidthTitle a:hover{text-decoration:underline}.mediaWidget .listUserInfo{margin-bottom:10px}.mediaWidget .fullWidthDetails{padding:10px;overflow:hidden}.mediaWidget .fullWidthDetails a{font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#26283d;font-size:17px;line-height:20px}.mediaWidget .fullWidthDetails a.featureUsername{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:12px;line-height:24px}.mediaWidget .fullWidthContents{background-color:#fff}.mediaWidget .fullWidthActionBtn{float:left;width:175px;height:42px;margin-right:15px;margin-bottom:12px}.mediaWidget .fullWidthActionBtn a{width:175px;height:42px;padding-top:15px;padding-bottom:12px;box-sizing:border-box;display:block;border:1px solid #dee0e5;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px;text-align:center;text-transform:uppercase}.mediaWidget .fullWidthActionBtn a:hover{border-color:#ffd304}.mediaWidget .fullWidthActionBtn a span{float:left;width:28px;height:28px;display:block;margin-right:6px;margin-top:-9px;margin-left:9px;background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:28px calc(784px);background-position:0 calc(-476px)}.mediaWidget .fullWidthViews{float:left;width:80px;box-sizing:border-box;padding-top:6px}.mediaWidget .fullWidthViews a{width:93px}.mediaWidget .fullWidthViews .viewIcon{float:left;width:28px;height:28px;display:block;margin-right:6px;background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:28px calc(784px);background-position:0 0}.mediaWidget .fullWidthViews .viewCount{float:left;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#111223;font-size:19px;line-height:19px}.mediaWidget .fullWidthViews .viewLabel{float:left;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#b3b3bb;font-size:13px;line-height:13px}.mediaWidget .fullWidthViewContests{clear:both}.mediaWidget .fullWidthViewContests a{width:280px;height:42px;text-transform:uppercase;background-color:#ffd304;margin-bottom:1px;padding-top:17px;box-sizing:border-box;display:block;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px;text-align:center}.mediaWidget .fullWidthViewContests a:hover{background-color:#ffe404}.mediaWidget .fullWidthViewContests.viewAllContests a{background-color:#676877;color:#fff}.mediaWidget .fullWidthViewContests.viewAllContests a:hover{background-color:#26283d}.mediaWidget #outstream{height:210px;overflow:hidden;display:block}.widgetItem{float:left;border:1px solid #dee0e5;margin-bottom:10px}.widgetItem .titleLink{padding:10px;box-sizing:border-box;overflow:hidden;float:left;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#26283d;font-size:16px;line-height:18px}.widgetItem .titleLink:hover{text-decoration:underline}.widgetOverlay .widgetItem{height:94px;position:relative}.widgetOverlay .titleLink{position:absolute;bottom:0;display:none;background-color:#26283d;color:#fff;background:rgba(38,40,61,0.8)}.widgetOverlay .titleLink:hover{text-decoration:none}.communityUl .widgetItem,.communityUl .fullWidthContents{background-color:#fff;border:1px solid #676877}.widgetThumbSmall,.widgetThumbSmall img,.widgetThumbSmall a{width:100%;height:auto}.watchedNow{width:300px;height:115px;padding:2px 2px;margin:auto;margin-bottom:12px;background-color:#fff;position:relative}.watchedNow .mediaTypeIcon{left:2px;top:2px}.watchedNow.top5Item{border:1px solid #b3b3bb;width:294px;height:115px}.watchedCardLink{float:left;width:152px;height:115px;display:block;margin-right:12px}.watchedCardThumb{width:100%;height:115px}.watchedDetails{float:left;width:125px;padding-top:19px}.watchedDetails h2 a{float:left;height:52px;overflow:hidden;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:17px}.watchedDetails h2 a:hover{text-decoration:underline}.watchedDetails footer{position:absolute;bottom:8px;right:10px;font-size:12px;line-height:12px}.watchedDetails .watchedViewsCount{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#676877}.watchedDetails .watchedViewsLabel{font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#b3b3bb}.top5H3{border-bottom:2px solid #dee0e5;padding-bottom:12px}.topVideoNav{width:244px;height:20px;margin:auto;margin-bottom:14px}.topVideoNav li{float:left;padding-right:15px;padding-left:15px;border-right:1px solid #676877}.topVideoNav li:last-child{padding-right:0;border-right:0}.topVideoNav a{font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#b3b3bb;font-size:18px;line-height:18px}.topVideoNav a.active{color:#26283d}#topVideos{min-height:650px}.footerWrapper{width:100%;padding-top:150px;clear:both}.footer{background-color:#111223;box-sizing:border-box;padding:32px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#676877;font-size:12px;text-align:center}.footerLinks{width:100%;height:auto;margin-bottom:22px}.footerLinks ul{width:auto;margin:auto;display:inline-block;text-align:center}.footerLinks li{float:left;margin-right:32px}@media(max-width:768px){.footerLinks li{float:unset;margin:0}}.footerLinks a{color:#fff;font-family:'FG-C','Georgia',sans-serif;font-size:28px;line-height:28px;text-transform:uppercase}.copyrightInfo{margin-top:15px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#707070;font-size:12px}.paginationControl{height:80px;text-align:center;margin:auto;margin-bottom:10px;font-family:'Fira Sans','Georgia',sans-serif;color:#26283d;font-size:16px;font-weight:400;line-height:10px}.paginationControl ul,.paginationControl li{display:inline}.paginationControl a,.paginationControl a:visited{display:inline-block;font-family:'Fira Sans','Georgia',sans-serif;color:#26283d;font-size:17px;font-weight:400;line-height:22px;text-align:center}.paginationControl .next,.paginationControl .previous{width:26px;height:26px;margin-right:10px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/paginationArrows.png') 0 0 no-repeat;line-height:26px}.paginationControl .next:hover,.paginationControl .previous:hover{background-position:0 calc(-26px)}.paginationControl .next{background-position:10px calc(-78px);margin-right:0}.paginationControl .next:hover{background-position:10px calc(-104px)}.paginationControl .nextDisabled,.paginationControl .previousDisabled{width:26px;height:26px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/paginationArrows.png') 10px calc(-130px) no-repeat;color:#26283d;line-height:26px;cursor:default}.paginationControl .previousDisabled{margin-right:10px;background-position:0 calc(-52px)}.paginationControl .page{width:36px;height:36px;padding:2px;margin-right:10px;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;display:inline-block;background-color:#676877}.paginationControl .page:active{background-color:#ffd304}.paginationControl .page span{width:36px;height:36px;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;display:block;background-color:#f4f4f4;line-height:36px}.paginationControl .paginationCurrent{width:36px;height:36px;padding:2px;margin-right:10px;margin-top:10px;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;display:inline-block;background-color:#ffd304;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#676877;font-size:17px;line-height:38px;cursor:default;text-align:center}.mediaListFilters.listFilters{width:100%;height:72px}.listFilters{width:100%;height:42px;border:2px solid #dee0e5;border-left:0;border-right:0;margin-bottom:20px}.listFilters>li{float:left;position:relative}.listFilters>li.viewFilter{float:right;min-width:0}.listFilters>li.viewFilter .filterLabel{padding-right:0;margin-right:0;background:0}.listFilters>li.viewFilter .filterLabelContent{margin-bottom:8px}.listFilters>li.mediaFilter{margin-right:25px}@media(max-width:1320px){.listFilters>li.mediaFilter{margin-right:0}}.listFilters>li.featureFilter{margin-right:25px}@media(max-width:1320px){.listFilters>li.featureFilter{margin-right:0}}.listFilters>li .userToggle{margin-top:34px;height:20px}.listFilters>li:hover{cursor:pointer}.listFilters>li:hover .mediaFilterList{display:block}.listFilters>li:hover .filterStatus{text-decoration:underline}.listFilters>li:hover .filterLabelContent{text-decoration:none}.listFilters.contestFilters li .userToggle{margin-top:24px;margin-left:0;padding-left:0}.listFilters.contestFilters .filterLabel{margin-top:22px;height:25px}.listFilters.contestFilters .filterLabel .filterLabelContent{height:20px;display:inline;margin:0;margin-right:9px;padding-right:9px;font-size:20px;line-height:25px;text-transform:none;border-right:1px solid #b3b3bb}.listFilters.contestFilters .layoutSelect{float:right}.mediaFilter .filterLabel,.viewFilter .filterLabel{border-left:none;padding-left:0;margin-left:0}.filterLabel{height:45px;margin:10px 0 10px 13px;padding-right:26px;padding-left:10px;background:url('https://cdn.ebaumsworld.com/img/desktop/listFilterArrow.png') right 32px no-repeat;color:#26283d;font-size:18px;line-height:20px}.filterLabel .filterStatus{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;text-transform:capitalize}.filterLabel .filterLabelContent{width:100%;margin-bottom:10px;display:block;color:#676877;font-size:15px;line-height:15px;text-transform:uppercase}.toggleFilter a{color:#b3b3bb;font-size:18px;line-height:20px}.toggleFilter a.selected{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;cursor:default}.toggleFilter a:hover{text-decoration:underline;color:#26283d;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500}.toggleFilter a:hover.selected{text-decoration:none}.toggleFilter .filterLabel{background:0;padding-right:10px}.toggleFilter .filterLabel li{float:left;padding-right:10px;margin-right:10px;border-right:1px solid #b3b3bb}.toggleFilter .filterLabel li:last-child{margin-right:0;border-right:0}.mediaFilterList{display:none;width:106px;position:absolute;top:60px;right:0;z-index:2;border:2px solid #dee0e5;background-color:#fff}.mediaFilterList .selected{background-color:#ffd304;color:#26283d;cursor:default}.mediaFilterList li{width:100%;height:24px;text-align:center}.mediaFilterList li a{width:100%;height:24px;display:block;font-family:'Fira Sans','Georgia',sans-serif;font-weight:300;color:#26283d;font-size:14px;line-height:24px}.mediaFilterList li:hover{background-color:#dee0e5}.layoutSelect{float:left}.layoutSelect li{float:left;margin-right:10px}.layoutSelect li a{width:24px;height:24px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/listFilterView.png') 0 0 no-repeat}.layoutSelect li a:hover,.layoutSelect li a.selected{background-position:0 -24px}.layoutSelect li.listView{margin-right:0}.layoutSelect li.listView a{background-position:0 -48px}.layoutSelect li.listView a:hover,.layoutSelect li.listView a.selected{background-position:0 -72px}#mediaList{position:relative}.mediaListItem,.mediaGridItem{background-color:#fff;border:1px solid #dee0e5;box-sizing:border-box;margin-bottom:10px;position:relative}.mediaListItem .title,.mediaGridItem .title{float:left;width:100%;margin-bottom:7px;box-sizing:border-box;clear:both}.mediaListItem .title a,.mediaGridItem .title a{float:left;width:100%;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#26283d;font-size:17px;line-height:19px}.mediaListItem .title a:hover,.mediaGridItem .title a:hover{text-decoration:underline}.mediaListItem .title a.mediaDeleted,.mediaGridItem .title a.mediaDeleted{color:#e60000}.mediaListItem .title a .contestSubmissionCount,.mediaGridItem .title a .contestSubmissionCount{color:#676877}@media(max-width:1320px){.mediaListItem .title a,.mediaGridItem .title a{font-size:14px}}.mediaListItem .description,.mediaGridItem .description{clear:both;color:#676877;font-size:17px;line-height:20px}@media(max-width:1320px){.mediaListItem .description,.mediaGridItem .description{display:none}}.mediaListItem .mediaTypeIcon,.mediaGridItem .mediaTypeIcon{left:0;top:0}.submissionOptions li{float:left;margin-right:15px}.mediaGridItem{float:left;width:100%;padding-bottom:15px}.mediaGridItem .listingThumb{width:100%;margin-right:0}.mediaGridItem .contestEndDate,.mediaGridItem .contestClosed{margin-top:7px}.mediaGridItem .thumbLink img{width:100%;display:block;height:auto}.mediaGridItem .mediaItem>li{padding:0 10px}.mediaGridItem .mediaItem>li.listingThumb{padding:0}@media(max-width:768px){.mediaGridItem .mediaItem>li.listingThumb{margin-bottom:10px}}.mediaGridItem .mediaItem>li.listRatingWrapper{padding:0 5px}.mediaGridItem .description{margin-bottom:20px}.mediaGridItem .listUserInfo{float:left;width:100%;box-sizing:border-box;margin-bottom:10px}@media(max-width:768px){.mediaGridItem .listUserInfo{margin-bottom:30px}}.mediaGridItem .listingStatList .stat{height:22px;min-width:30px;padding-left:27px;margin-top:8px;margin-right:4px;background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:22px calc(616px)}.mediaGridItem .listingStatList .stat.viewStat{background-position:0 calc(-22px)}.mediaGridItem .listingStatList .stat.commentStat{background-position:0 calc(-66px)}.mediaGridItem .listingStatList .stat.favoriteStat{background-position:0 calc(-110px);margin-right:0}.mediaGridItem .count{float:left;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:13px;line-height:13px}.mediaGridItem .label{float:left;clear:both;color:#676877;font-size:10px;line-height:10px}@media(max-width:1119px){.mediaGridItem .listingStatList .stat{padding-top:22px;padding-left:0;margin-top:8px;margin-right:4px;overflow:hidden;text-align:center;background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:22px calc(616px)}.mediaGridItem .listingStatList .stat.viewStat{background-position:center calc(-22px)}.mediaGridItem .listingStatList .stat.commentStat{background-position:center calc(-66px)}.mediaGridItem .listingStatList .stat.favoriteStat{background-position:center calc(-110px);margin-right:0}.mediaGridItem .count{height:15px;padding-top:4px}.mediaGridItem .label{padding-bottom:2px}.mediaGridItem .count,.mediaGridItem .label{float:none;width:100%;display:block;background-color:#fff}.mediaGridItem .profileGrid .listingStars span{background-size:20px 104px;margin-right:3px}.mediaGridItem .profileGrid .listingStars span.off{background-position:0 0}.mediaGridItem .profileGrid .listingStars span:last-of-type{margin-right:0}.mediaGridItem .profileGrid .listingStars span.redHalf{background-position:0 -88px}.mediaGridItem .profileGrid .listingStars span.redOn{background-position:0 -42px}.mediaGridItem .profileGrid .listingStars .star{width:20px;height:21px}.mediaGridItem .profileGrid .profileMediaActionButtons{padding-top:2px}.mediaGridItem .profileGrid .profileMediaActionButtons a{margin-right:3px}.mediaGridItem .profileGrid .profileMediaActionButtons a.profileMediaDelete{margin-right:0}}@media(max-width:1320px){.mediaGridItem{width:49%;height:520px}}@media(max-width:768px){.mediaGridItem{width:100%;height:auto}}.mediaListItem{width:100%;overflow:hidden}.mediaListItem li{float:left}.mediaListItem li .contestClosed,.mediaListItem li .contestEndDate{float:right;margin-left:7px;line-height:24px}.mediaListItem li .listRatingWrapper{width:100%}.mediaListItem .details{width:68%}@media(max-width:1320px){.mediaListItem .details{padding-bottom:50px}}@media(max-width:768px){.mediaListItem{height:200px;padding:5px}.mediaListItem .details{width:60%;float:right}}.listingThumb{width:30%;height:100%;margin-right:10px;padding:12px 0;position:relative}.listingThumb a{width:100%;height:100%;display:block}@media(max-width:768px){.listingThumb{width:38%;height:auto;margin-right:unset;position:unset}}.mediaListingStats{width:68%;height:40px;display:block;right:2px;bottom:13px;position:absolute}.mediaListingStats a{color:#26283d}@media(max-width:768px){.mediaListingStats{float:left;width:100%;height:auto;right:unset;bottom:unset;position:relative;padding:5px}}.mediaGridStats{clear:both}@media(max-width:1320px){.mediaGridStats{display:none}}.listUserInfo{float:left}.listUserInfo .featureAvatar.hasCategory{margin-top:0}@media(max-width:1320px){.listUserInfo .featureAvatar.hasCategory{display:none}}.listUserInfo .featureUsername{float:left}.listUserInfo .featureUsername.hasCategory{line-height:15px}.listUserInfo .homepageFeaturedTime{float:left;clear:both}@media(max-width:768px){.listUserInfo .homepageFeaturedTime span{float:unset}}.listUserInfo .homepageCategory{background-color:#ffd304;padding:2px 4px}.listUserInfo .homepageCategory:hover{text-decoration:underline}.listUserInfo .username{float:left}.listUserInfo a{color:#26283d}.listUserInfo.playerUserInfo{float:none}.listingStatList{display:flex;flex-wrap:wrap;justify-content:space-between}.listingStatList li{float:right}.listingStatList li.listUserInfo{float:left}.listingStatList .stat{height:25px;min-width:30px;margin-top:8px;margin-right:20px;padding-left:33px;background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:25px calc(700px)}.listingStatList .stat.viewStat{background-position:0 calc(-25px)}.listingStatList .stat.commentStat{background-position:0 calc(-75px)}.listingStatList .stat.favoriteStat{background-position:0 calc(-125px)}@media(max-width:1050px){.listingStatList .stat{display:none}}.listingStatList .count{float:left;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:13px;line-height:13px}.listingStatList .label{float:left;clear:both;color:#676877;font-size:10px;line-height:10px}@media(max-width:1119px){.listingStatList .stat.favoriteStat{margin-right:14px}}.listViewThumb{width:100%;height:auto;float:left}@media(max-width:768px){.listViewThumb{height:auto}}.profileCommentList{margin-top:35px}.profileCommentList .mediaListItem{margin-top:25px;padding:0;padding-bottom:25px;border:0;border-bottom:2px solid #dee0e5;background-color:transparent}.profileCommentList .mediaListItem .title a{font-family:'Fira Sans','Georgia',sans-serif;font-weight:700}.profileCommentList .mediaListItem:first-child{margin-top:0}.profileCommentList .listingThumb{border:2px solid #dee0e5}.profileCommentList .description{color:#26283d;margin-bottom:12px}.profileCommentList header{padding-left:20px}.profileCommentList footer{width:100%;min-height:112px;padding-left:46px;padding-top:20px;padding-bottom:24px;overflow:hidden;box-sizing:border-box;background:url('https://cdn.ebaumsworld.com/img/desktop/profileCommentBalloon.png') 0 0 no-repeat;background-size:100% 100%}.profileCommentList .uploadTime{clear:both;color:#676877;font-size:14px;line-height:14px}.listRatingWrapper{float:left;width:100%;margin-top:7px;margin-bottom:10px;box-sizing:border-box}@media(max-width:768px){.listRatingWrapper{display:none}}.profileMediaActionButtons{float:right;padding-top:4px}.profileMediaActionButtons a{float:left;width:16px;height:16px;display:block;margin-right:3px;background:url('https://cdn.ebaumsworld.com/img/desktop/userMediaEditIcons.png') 0 0 no-repeat}.profileMediaActionButtons a.profileMediaShowcase:hover{background-position:0 -16px}.profileMediaActionButtons a.profileMediaDelete{background-position:0 -32px}.profileMediaActionButtons a.profileMediaDelete:hover{background-position:0 -48px}.profileMediaActionButtons a.profileMediaEdit{background-position:0 -64px}.profileMediaActionButtons a.profileMediaEdit:hover{background-position:0 -80px}.profileMediaActionButtons a.profileMediaStats{background-position:0 -96px}.profileMediaActionButtons a.profileMediaStats:hover{background-position:0 -112px}.profileMediaActionButtons a:last-child{margin-right:0}.avatarHistoryCurrent{float:left;width:100px;height:100px;margin-right:20px}.currentAvatar{width:100%;padding-bottom:30px;border-bottom:2px solid #dee0e5;margin-bottom:30px;overflow:hidden}.currentAvatar h2{float:left;font-size:23px;line-height:28px}.avatarHistory{overflow:hidden}.avatarHistory h3{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:20px;line-height:23px;margin-bottom:13px}.avatarHistory .avatarInstructions{font-size:17px;line-height:20px;margin-bottom:13px}.avatarHistory .avatarImg{width:83px;height:83px;display:inline-block}.avatarHistory .historyAvatarWrapper{float:left;position:relative;margin-bottom:5px}.avatarHistory .historyAvatar{width:96px;height:96px;padding:1px;box-sizing:border-box;display:inline-block;border:5px solid #fff;cursor:pointer}.avatarHistory .historyAvatar.selectedAvatar{border-color:#ffd304;cursor:default}.avatarHistory .removeAvatarIcon{position:absolute;top:7px;right:7px;display:block}.listingOverlay{width:100%;position:absolute;bottom:0;left:0;background-color:#26283d;background:rgba(38,40,61,0.8)}.listingOverlay span{float:right;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#fff;font-size:15px;line-height:20px}.listingOverlay a{float:left;padding:4px;box-sizing:border-box;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#fff;font-size:16px;line-height:20px;text-transform:capitalize}.listingOverlay a.finalist{padding:8px 0 8px 50px;background:url('https://cdn.ebaumsworld.com/img/desktop/contestWinnerIcons.png') 20px 5px no-repeat;color:#fff;text-transform:uppercase}.listingOverlay a.winner{padding:8px 0 8px 50px;background:url('https://cdn.ebaumsworld.com/img/desktop/contestWinnerIcons.png') 20px -25px no-repeat;color:#fff;text-transform:uppercase}.mediaRating{height:20px;margin:8px 20px 0 0}.mediaRating .starsWrapper{float:left}@media(max-width:768px){.mediaRating .starsWrapper{display:none}}.mediaRating .votes{margin-top:1px;float:left}.mediaRating .star{width:25px;height:25px;padding-right:5px;background:url('https://cdn.ebaumsworld.com/img/desktop/ratingStars.png') 0 0 no-repeat;float:left;cursor:pointer}.mediaRating .yellowOn{background-position:0 -50px}.mediaRating .yellowHalf{background-position:0 -100px}.mediaRating .redOn{background-position:0 -25px}.mediaRating .redHalf{background-position:0 -75px}.mediaRating .off{background-position:0 0}.mediaRating .userStars{display:none}.listingStars span{margin-right:4px;background:url('https://cdn.ebaumsworld.com/img/desktop/ratingStars.png') 0 0 no-repeat}.listingStars span.redHalf{background-position:0 -100px}.listingStars span.redOn{background-position:0 -50px}.listingStars span.off{background-position:0 0}.listingStars span:last-of-type{margin-right:0}.star{width:24px;height:25px;float:left}.detailPage h1{margin-bottom:10px;font-size:70px;line-height:72px}.detailPage #mediaList .description{color:#676877;font-size:17px;line-height:20px}.detailPage .description{margin-bottom:20px;color:#26283d;font-size:18px;line-height:21px}.detailPage .description a{text-decoration:underline}.detailPage .media a{text-decoration:underline}.detailPage .featureLabels{margin-bottom:20px}.detailPage .featureLabels div{color:#676877;font-size:14px;line-height:16px}.detailPage .featureLabels .contestTitle{margin-right:12px}.detailPage .featureLabels .featured a{padding:3px 4px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:700;color:#26283d;font-size:14px;line-height:16px;background-color:#ffd304}.detailPage .featureLabels .featured a.contestTitleLink{background-color:transparent;text-decoration:underline}.detailPage .featureLabels .winner,.detailPage .featureLabels .finalist{display:inline-block;height:18px;padding-left:45px;background:url('https://cdn.ebaumsworld.com/img/desktop/contestWinnerIcons.png') 17px -30px no-repeat;background-size:19px 50px;border-left:1px solid #676877;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:19px;text-transform:uppercase}.detailPage .featureLabels .finalist{background-position:17px -5px}.detailPage .playerNew a{text-decoration:underline;color:#26283d}.detailPage .playerNew a:hover{text-decoration:underline}.detailPage footer{clear:both}.detailPage .media{margin-bottom:20px;position:relative}.contestFinalists h3{font-family:'FG-C','Georgia',sans-serif;font-size:38px;font-weight:400;line-height:31px;margin-bottom:17px}.contestFinalists .finalList{width:100%;overflow:hidden;padding-bottom:30px;border-bottom:2px solid #dee0e5}.contestFinalists li{float:left;width:144px;margin-right:9px;margin-bottom:9px;box-sizing:border-box;background-color:#26283d;border:1px solid #26283d}.contestFinalists li:nth-child(5n){margin-right:0}.contestFinalists .finalistLink,.contestFinalists .finalistThumb{width:142px;display:block}.contestFinalists .finalistDetails{position:relative;padding:30px 16px 18px 16px}.contestFinalists .finalistDetails a{display:block;height:44px;overflow:hidden;color:#fff;font-size:17px;line-height:21px}.contestFinalists .finalistIcon{position:absolute;top:-14px;width:30px;height:30px;box-sizing:border-box;padding:1px;background-color:#26283d;border-radius:100%}.contestFinalists .finalistIcon span{width:28px;height:28px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/contestWinnerIconsBlue.png') center 1px no-repeat;background-color:#ffd304;border-radius:100%}.contestFinalists .finalistIcon.winner span{background-position:center -26px}@media(max-width:1119px){.contestFinalists li{width:126px;margin-right:4px}.contestFinalists .finalistLink,.contestFinalists .finalistThumb{width:124px}}.playerControls{margin-top:24px;margin-bottom:12px;overflow:hidden}.playerWrapper{width:100%;height:auto;box-shadow:0 8px 20px rgba(0,0,0,0.4)}a.nextVideo,.autoplayToggle{height:20px;color:#676877;font-family:'FG-C','Georgia',sans-serif;font-size:24px;line-height:24px;text-transform:uppercase;padding-left:30px;background:url('https://cdn.ebaumsworld.com/img/desktop/videoPlayerControls.png') 0 0 no-repeat}a.nextVideo:hover,.autoplayToggle:hover{color:#26283d;cursor:pointer}a.nextVideo{float:right;background-position:0 calc(-80px)}a.nextVideo:hover{background-position:0 calc(-100px)}.autoplayToggle{float:left}.autoplayToggle:hover{background-position:0 calc(-20px)}.autoplayToggle.off{background-position:0 calc(-40px)}.autoplayToggle.off:hover{background-position:0 calc(-60px)}.embed{float:left;margin-bottom:12px}.embed span{height:13px;padding-left:25px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/videoEmbedIcons.png') 0 0 no-repeat;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#676877;font-size:14px;line-height:16px}.embed input{padding:4px;border:1px solid #dee0e5;width:514px;height:22px;color:#676877;font-size:13px;line-height:20px}.embed input:focus{background-color:#ffd304;color:#26283d}.embed input::selection{background-color:#ffd304}.embed input::-moz-selection{background-color:#ffd304}.embedToggle{float:right}.embedToggle span{height:13px;display:inline-block;padding-left:25px;background:url('https://cdn.ebaumsworld.com/img/desktop/videoEmbedIcons.png') 0 -13px no-repeat;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#676877;font-size:14px;line-height:16px}.embedToggle span:hover{background-position:0 -26px;cursor:pointer}.realOrFake{clear:both;width:100%;box-sizing:border-box;padding:12px 14px 0 14px;border-top:2px solid #dee0e5;margin-bottom:12px}.realOrFakeVote{width:100%;overflow:hidden}.realOrFakeVote div,.realOrFakeVote button{float:left;width:33%;font-family:'FG-C'}.realOrFakeVote .voteTitle{width:32%;color:#26283d;font-size:50px;line-height:70px}.realOrFakeVote .voteReal,.realOrFakeVote .voteFake{height:70px;margin-right:2%;background:0;border:1px solid #ffd304;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-sizing:border-box;background-color:#ffd304;cursor:pointer;color:#26283d;font-size:40px;line-height:70px;text-align:center}.realOrFakeVote .voteReal:active,.realOrFakeVote .voteFake:active,.realOrFakeVote .voteReal:hover,.realOrFakeVote .voteFake:hover{background-color:#ffe404;border-color:#ffe404}.realOrFakeVote .voteFake{margin-right:0;background-color:#ed4744;border-color:#ed4744;color:#fff}.realOrFakeVote .voteFake:active,.realOrFakeVote .voteFake:hover{background-color:#e60000;border-color:#e60000}.realOrFakeResults{width:100%;height:75px;padding:12px 9px;padding-bottom:7px;box-sizing:border-box;display:none;background-color:#26283d}.realOrFakeResults .realResults,.realOrFakeResults .fakeResults{width:80px;height:37px;display:block;text-align:center}.realOrFakeResults .resultLabel{height:36px;line-height:40px}.realOrFakeResults .realResults{float:left;margin-right:10px}.realOrFakeResults .realResults div{color:#ffd304;font-family:'FG-C','Georgia',sans-serif;font-size:40px;line-height:36px}.realOrFakeResults .fakeResults{float:right}.realOrFakeResults .fakeResults div{color:#ed4744;font-family:'FG-C','Georgia',sans-serif;font-size:40px;line-height:36px}.realOrFakeResults div.voteCount{height:10px;font-size:20px;line-height:15px}.realOrFakeResults .barResults{width:75%;height:36px;margin:auto;margin-top:8px;display:inline-block}.realOrFakeResults .barResults .real{float:left;height:100%;border-top-left-radius:3px;border-bottom-left-radius:3px;display:block;background-color:#ffd304}.realOrFakeResults .barResults .fake{float:left;height:100%;display:block;border-top-right-radius:3px;border-bottom-right-radius:3px;background-color:#ed4744}@media(max-width:1119px){.realOrFakeResults .barResults{width:71%}}.detailNextMedia{width:100%;margin-bottom:22px;padding:8px;border:1px solid #dee0e5;position:relative;box-sizing:border-box;display:block;overflow:hidden}.detailNextMedia a{width:100%;display:block;overflow:hidden}.detailNextMedia .nextThumb{float:left;height:140px;margin-right:10px}.detailNextMedia .nextHeading{float:left;width:400px;margin-bottom:9px;margin-top:10px;font-family:'FG-C','Georgia',sans-serif;font-size:32px;line-height:32px}.detailNextMedia .nextTitle{float:left;width:400px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;font-size:18px;line-height:22px}.detailNextMedia .mediaTypeIcon{width:24px;height:24px;display:block;position:absolute;left:auto;top:auto;right:8px;bottom:8px;background:url('https://cdn.ebaumsworld.com/img/desktop/mediaFeedIcons.png') 0 0 no-repeat}.detailNextMedia .mediaTypeIcon.gallery{background-position:0 calc(-24px)}.detailNextMedia .mediaTypeIcon.article{background-position:0 calc(-48px)}.detailNextMedia .mediaTypeIcon.quiz{background-position:0 calc(-96px)}.detailNextMedia .mediaTypeIcon.contest{background-position:0 calc(-72px)}.detailNextMedia .mediaTypeIcon.picture{background-position:0 calc(-120px)}.detailNextMedia .mediaTypeIcon.game{background-position:0 calc(-144px)}.detailNextMedia .mediaTypeIcon.soundboard{background-position:0 calc(-168px)}.detailNextMedia .mediaTypeIcon.audio{background-position:0 calc(-192px)}.detailNextMedia .mediaTypeIcon.joke{background-position:0 calc(-216px)}.detailNextMedia .mediaTypeIcon.blog{background-position:0 calc(-240px)}.detailNextMedia .mediaTypeIcon.animation{background-position:0 calc(-264px)}.detailNextMedia:hover .nextTitle{text-decoration:underline}.categories,.tags{margin-bottom:12px}.categories span,.tags span{margin-right:10px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#676877;font-size:14px;line-height:22px}.categories a,.tags a{height:22px;padding:4px;margin-right:10px;box-sizing:border-box;display:inline-block;background-color:#ffd304;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px}.categories a:hover,.tags a:hover{text-decoration:underline}.tags a{margin-bottom:10px;border:1px solid #dee0e5;background-color:#fff;color:#676877}.tags a:hover{text-decoration:none;border-color:#ffd304}.galleryView .overlay.imageEnlarge{width:44px;height:44px;display:none;position:absolute;top:20px;right:20px;z-index:1;background:url('https://cdn.ebaumsworld.com/img/desktop/imageEnlargeIcon.png') 0 0 no-repeat;cursor:pointer}.galleryView .galleryGridItem .overlay.imageEnlarge{top:10px;right:10px}.galleryView .galleryListItem .overlay.imageEnlarge{top:22px;right:22px}.addthis_responsive_sharing{margin-bottom:18px}.addthis_responsive_sharing .at-resp-share-element span{float:none;margin-top:0}.addthis_responsive_sharing .at-resp-share-element a{width:19%;height:60px;box-sizing:border-box;padding-left:0;margin-right:1%!important;margin-left:0!important;text-align:center}.addthis_responsive_sharing .at-resp-share-element a .label{font-size:18px;line-height:22px;height:32px;padding-right:0}.addthis_responsive_sharing .at-resp-share-element a:last-child{margin-right:0!important;margin-left:0!important}.addthis_responsive_sharing .at4-icon{margin-top:7px}.addthis_responsive_sharing .addthis_32x32_style .at4-icon{margin-top:0;width:32px;height:32px;background-size:32px 32px!important}.addthis_responsive_sharing .addthis_32x32_style .at4-icon.aticon-email{background-size:35px 35px!important}.galleryViewFilters li{float:left;padding-left:40px;padding-right:20px;margin-top:9px;margin-right:20px;border-right:2px solid #b3b3bb;background:url('https://cdn.ebaumsworld.com/img/desktop/listFilterView.png') 0 0 no-repeat;color:#676877;font-size:20px;line-height:23px}.galleryViewFilters li.active{color:#26283d;cursor:default}.galleryViewFilters li:hover{color:#26283d;cursor:pointer}.galleryViewFilters li.listView{background-position:0 calc(-48px)}.galleryViewFilters li.listView.active{background-position:0 calc(-72px)}.galleryViewFilters li.listView:hover{background-position:0 calc(-72px)}.galleryViewFilters li.playerView{background-position:0 calc(-96px)}.galleryViewFilters li.playerView.active{background-position:0 calc(-120px)}.galleryViewFilters li.playerView:hover{background-position:0 calc(-120px)}.galleryViewFilters li.gridView{background-position:0 0;border-right:0}.galleryViewFilters li.gridView.active{background-position:0 calc(-24px)}.galleryViewFilters li.gridView:hover{background-position:0 calc(-24px)}.galleryListItem{width:100%;margin-bottom:30px;margin-top:10px}.galleryListItem img{max-width:100%;display:block;margin:auto}.galleryListItem h2{margin-bottom:14px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:700;color:#26283d;font-size:24px;line-height:27px}.galleryListItem h2 a{text-decoration:underline}.galleryListItem .galleryImageWrapper{width:100%;background-color:#26283d;text-align:center;position:relative}.galleryListItem .galleryImageWrapper img{cursor:pointer}.galleryListItem .imageAttr{margin-top:10px;text-align:right;color:#676877;font-size:14px;line-height:17px}.overlay.galleryImageShare{position:absolute;width:62px;height:294px;display:none;left:-62px;top:0}.overlay.galleryImageShare li{width:100%;height:62px;display:block;margin-bottom:1px;color:#fff;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;text-align:center;cursor:pointer}.overlay.galleryImageShare li:last-child{margin-bottom:0}.overlay.galleryImageShare span{height:27px;margin-top:16px;background:url('https://cdn.ebaumsworld.com/img/desktop/shareBtnsBig2.png') right 0 no-repeat;display:inline-block}.overlay.galleryImageShare .facebook{background-color:#3c599b}.overlay.galleryImageShare .facebook span{width:14px}.overlay.galleryImageShare .twitter{background-color:#55acee}.overlay.galleryImageShare .twitter span{width:30px;background-position:right calc(-27px)}.overlay.galleryImageShare .stumble{background-color:#ea4b24}.overlay.galleryImageShare .stumble span{width:37px;background-position:right calc(-54px)}.overlay.galleryImageShare .flipboard{background-color:#f52828}.overlay.galleryImageShare .flipboard span{width:29px;background:url('/img/desktop/shareFlipboard.png') right 0 no-repeat #f52828}.overlay.galleryImageShare .email{background-color:#5d5f70}.overlay.galleryImageShare .email span{width:36px;background-position:right calc(-81px)}.overlay.galleryImageShare .more{background-color:#07e}.overlay.galleryImageShare .more span{width:27px;background-position:right calc(-108px)}.overlay.galleryImageShare .pinterest{background-color:#d13e44}.overlay.galleryImageShare .pinterest span{width:29px;background-position:right calc(-135px)}.galleryGridView{display:none;overflow:hidden}.galleryGridItem{float:left;width:32%;height:167px;display:block;margin-right:2%;margin-bottom:10px;position:relative;cursor:pointer}.galleryGridItem:nth-child(3n){margin-right:0}.galleryGridItem .thumbAjaxLoader{width:50px;height:50px;margin:auto}.galleryGridItem img{width:100%;height:100%;display:block}.galleryGridItem h2{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#ffd304;font-size:15px;line-height:18px;max-height:37px;overflow:hidden}.galleryGridItem .overlay.gridOverlay{max-height:100%;width:100%;position:absolute;bottom:0;padding:10px 8px;padding-bottom:5px;box-sizing:border-box;background-color:#26283d;background:rgba(0,0,0,0.7);display:none}.galleryGridItem .imageAttr{color:#b3b3bb;font-size:10px;line-height:14px}@media(max-width:1119px){.galleryGridItem{height:143px}}.galleryPostRoll{width:100%;height:100%;position:absolute;top:0;left:0;display:none;background-color:rgba(38,40,61,0.9)}.galleryPostRoll .postRollThumbWrapper{width:508px;margin:auto;margin-top:130px;margin-bottom:20px}.galleryPostRoll .replayGallery,.galleryPostRoll .nextGallery{float:left;width:244px}.galleryPostRoll .replayGallery{margin-right:20px}.galleryPostRoll .replayGallery .thumbnail{position:relative}.galleryPostRoll .replayGallery .thumbnail img{opacity:.3}.galleryPostRoll .heading{color:#fff;font-family:'FG-C','Georgia',sans-serif;font-size:28px;line-height:28px;text-align:center;margin-bottom:18px}.galleryPostRoll .thumbnail{background-color:#111223}.galleryPostRoll .thumbnail a,.galleryPostRoll .thumbnail img{width:244px;height:165px;display:block}.galleryPostRoll .title{width:100%;height:85px;padding:8px 12px;margin-bottom:12px;box-sizing:border-box;display:block;background-color:#111223;color:#fff}.galleryPostRoll .title a{color:#fff;font-size:12px;line-height:15px}.galleryPostRoll .replayBtn{width:79px;height:79px;display:block;position:absolute;top:42px;left:84px;background:url('https://cdn.ebaumsworld.com/img/desktop/galleryReplay.png') 0 0 no-repeat}.galleryPostRoll .replayBtn:hover{background-position:0 -79px;cursor:pointer}.galleryPostRoll .replayGalleryShare .shareFacebook{width:206px;height:50px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;display:block;position:absolute;padding-top:14px;padding-left:18px;box-sizing:border-box;top:58px;left:19px;background:url('https://cdn.ebaumsworld.com/img/desktop/facebookThumb.png') 161px 6px no-repeat;background-color:#3c599b;color:#fff;font-family:'FG-C','Georgia',sans-serif;font-size:24px;line-height:24px;text-transform:uppercase;cursor:pointer}.galleryPostRoll .replayGalleryShare .replayBtn{height:26px;padding-top:2px;padding-left:33px;box-sizing:border-box;top:132px;left:7px;background-size:26px 52px;text-transform:uppercase;color:#fff;font-family:'FG-C','Georgia',sans-serif;font-size:18px;line-height:18px}.galleryPostRoll .replayGalleryShare .replayBtn:hover{background-position:0 -26px}.relatedTitle{float:left;margin-left:45px;color:#fff;font-family:'FG-C','Georgia',sans-serif;font-size:28px;line-height:28px;text-transform:uppercase}.jcarouselWrapper{width:744px;height:110px;margin:0 8px;position:relative;overflow:hidden}.jcarouselWrapper .jcarousel-control-prev{width:30px;height:110px;position:absolute;left:0;top:0;cursor:pointer;background:url('https://cdn.ebaumsworld.com/img/desktop/carouselArrows.png') center calc(-220px) no-repeat #111223}.jcarouselWrapper .jcarousel-control-prev:hover{background-position:center calc(-110px);background-color:#111223}.jcarouselWrapper .jcarousel-control-next{width:30px;height:110px;position:absolute;right:0;top:0;cursor:pointer;background:url('https://cdn.ebaumsworld.com/img/desktop/carouselArrows.png') center calc(-550px) no-repeat #111223}.jcarouselWrapper .jcarousel-control-next:hover{background-position:center calc(-440px);background-color:#111223}.relatedContainer{width:670px;position:relative;margin:auto}.relatedContainer .relatedList{height:110px;overflow:hidden;position:absolute}.relatedContainer .relatedList li{float:left;width:160px;margin-right:10px;position:relative}.relatedContainer .relatedList a{display:block}.relatedContainer .relatedList img{width:160px;height:110px;display:block}.relatedContainer .relatedList .overlay,.relatedContainer .relatedList .overlay2{width:100%;max-height:100%;padding:8px;position:absolute;bottom:0;left:0;z-index:5;text-align:left;box-sizing:border-box;background-color:#101223;background-color:rgba(16,18,35,0.9);display:none;cursor:pointer}.relatedContainer .relatedList .overlay .hlMediaType,.relatedContainer .relatedList .overlay2 .hlMediaType{color:#f9efbf;font-size:14px;font-weight:700;line-height:18px;text-transform:uppercase}.relatedContainer .relatedList .overlay .hlTitle,.relatedContainer .relatedList .overlay2 .hlTitle{color:#f4f5f8;font-size:14px;line-height:18px}.relatedContainer .relatedList .overlay span,.relatedContainer .relatedList .overlay2 span{display:block}.relatedContainer .relatedList .mediaTypeIcon{left:0;top:0;display:none}.relatedMedia{position:absolute;bottom:10px}#lightboxRelated.relatedMedia{position:relative;bottom:auto}.lightboxRelatedWrapper{width:760px;margin:auto;margin-top:20px;clear:both}@media(max-width:1119px){.jcarouselWrapper{width:634px;height:92px}.relatedContainer{width:560px;height:92px}.relatedContainer .relatedList{height:92px}.relatedContainer .relatedList li{margin-right:8px}.relatedContainer .relatedList img{width:134px;height:92px}.relatedContainer .jcarousel-control-prev{height:92px}.relatedContainer .jcarousel-control-next{height:92px}}.enlargePostRoll{float:left;height:100%;text-align:center;background-color:#232325;padding:1px;box-sizing:border-box;opacity:1;display:none}.enlargePostRoll .postRollThumbWrapper{width:670px;margin:auto;margin-top:130px;overflow:hidden}.enlargePostRoll .replayGallery,.enlargePostRoll .nextGallery{float:left;width:320px}.enlargePostRoll .replayGallery{margin-right:30px}.enlargePostRoll .replayGallery .thumbnail{position:relative}.enlargePostRoll .heading{color:#fff;font-family:'FG-C','Georgia',sans-serif;font-size:34px;line-height:34px;text-align:center;margin-bottom:22px}.enlargePostRoll .thumbnail a,.enlargePostRoll .thumbnail img{width:320px;height:220px;display:block}.enlargePostRoll .title{text-align:left;width:100%;height:85px;padding:8px 12px;margin-bottom:12px;box-sizing:border-box;display:block;background-color:#111223;color:#fff}.enlargePostRoll .title a{color:#fff;font-size:12px;line-height:15px}.enlargePostRoll .replayBtn{width:79px;height:79px;display:block;position:absolute;top:75px;left:118px;background:url('https://cdn.ebaumsworld.com/img/desktop/galleryReplay.png') 0 0 no-repeat}.enlargePostRoll .replayBtn:hover{background-position:0 -79px;cursor:pointer}.enlargePostRoll .relatedMedia{width:760px;position:static;margin:auto;margin-top:20px}.galleryContainer{position:relative;margin-bottom:12px}.galleryContainer a#remixesList{color:#babdc6}.galleryContainer a#remixesList:hover{color:#f4f5f8;text-decoration:none}.galleryContainer .overlay.imageEnlarge{width:44px;height:44px;display:none;position:absolute;top:20px;right:20px;z-index:1;background:url('https://cdn.ebaumsworld.com/img/desktop/imageEnlargeIcon.png') 0 0 no-repeat;cursor:pointer}.twitterEmbed{width:500px;margin:auto}.vineEmbed{width:600px;margin:auto}.tweetEnlarge{width:500px;margin:auto;padding:20px 40px}.pictureContainer{width:100%;height:auto;min-height:500px;box-sizing:border-box;overflow:hidden;padding:2px;position:relative;background-color:#232325;-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;user-select:none}.pictureContainer .currentImage{width:100%;max-height:600px;text-align:center}.pictureContainer .currentImage img{max-width:100%;max-height:100%;cursor:pointer}.pictureContainer.singlePicture{height:auto;min-height:580px}.pictureContainer.singlePicture .currentImage{height:auto;min-height:580px}.pictureContainer.singlePicture .currentImage span{display:block}.pictureContainer.singlePicture .currentImage img{width:100%;height:auto;max-height:none}.pictureContainer.singlePicture.singleImage{min-height:0;text-align:center}.pictureContainer.singlePicture.singleImage p{margin:auto;min-height:0}.pictureContainer.singlePicture.singleImage p img{display:block}.pictureContainer.postRoll{min-height:620px}.pictureContainer .galleryNavPrev,.pictureContainer .galleryNavNext{width:70px;height:200px;position:absolute;top:150px;left:0;display:block;cursor:pointer}.pictureContainer .galleryNavPrev:hover .galleryNav,.pictureContainer .galleryNavNext:hover .galleryNav{background-color:#232325;background-color:rgba(35,35,37,0.7)}.pictureContainer .galleryNavPrev:hover .galleryNav.prev,.pictureContainer .galleryNavNext:hover .galleryNav.prev{background-position:0 -34px}.pictureContainer .galleryNavPrev:hover .galleryNav.next,.pictureContainer .galleryNavNext:hover .galleryNav.next{background-position:0 -102px}.pictureContainer .galleryNavNext{right:0;left:auto}.pictureContainer .galleryNav{width:52px;height:52px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;position:absolute;top:73px;background-color:#232325;background-color:rgba(35,35,37,0.4);cursor:pointer;text-align:center}.pictureContainer .galleryNav span{width:26px;height:26px;margin-top:12px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/paginationArrows.png') 0 calc(-26px) no-repeat}.pictureContainer .galleryNav:hover{background-color:#232325;background-color:rgba(35,35,37,0.7)}.pictureContainer .galleryNav.prev{left:24px;display:block}.pictureContainer .galleryNav.next{display:block;right:24px}.pictureContainer .galleryNav.next span{background-position:7px calc(-104px)}.pictureContainer .captionOverlay{width:100%;box-sizing:border-box;padding:10px 25px 10px 10px;position:absolute;bottom:10px;left:0;color:#f4f5f8;font-family:'FG-M','Georgia',sans-serif;font-size:28px;line-height:34px;background-color:#232325;background-color:rgba(35,35,37,0.75)}.pictureContainer .captionOverlay a{color:#ffd304;font-weight:400;text-decoration:underline}.pictureContainer .captionContent{max-height:175px;overflow:auto}.pictureContainer .captionContent a{color:#ffd304;text-decoration:underline}.pictureContainer .captionToggle{width:30px;height:24px;position:absolute;bottom:15px;left:310px;background:url('https://cdn.ebaumsworld.com/img/galleryCaptionToggle.png') 0 0 no-repeat;background-color:#232325;background-color:rgba(35,35,37,0.4);display:none;cursor:pointer}.pictureContainer .captionToggle:hover{background-color:#232325;background-color:rgba(35,35,37,0.7);background-position:0 -24px}.pictureContainer .thumbGridOverlay{width:606px;height:576px;padding:24px 0 0 44px;position:absolute;bottom:0;left:0;background-color:#232325;background-color:rgba(35,35,37,0.8);text-align:center;display:none}.pictureContainer .thumbGridOverlay .close{right:15px;top:15px}.pictureContainer .thumbGridOverlay.extended{width:620px;padding:24px 0 0 30px}.pictureContainer .thumbGridOverlay.extended .close{right:10px;top:15px}.pictureContainer .thumbGridOverlay.extended ul{width:587px;height:552px;overflow:auto}.pictureContainer .twitterEmbed{width:500px;max-height:580px;margin:auto;display:block}.pictureContainer .twitterEmbed blockquote.twitter-tweet{display:none}.pictureContainer .galleryThumb{width:106px;height:72px;margin:0 8px 8px 0;position:relative;float:left}.pictureContainer .galleryThumb img{width:104px;height:70px;border:1px solid #d5d6da}.pictureContainer .galleryThumb img:hover{border:1px solid #ffd304}.pictureContainer .galleryThumb img.thumbAjaxLoader{width:30px;height:30px;padding-top:20px;border:0}.pictureContainer .galleryThumb .galleryNumber{min-width:16px;padding:5px;position:absolute;top:0;left:0;background-color:#ffd304;color:#26283d;font-family:'FG-M','Georgia',sans-serif;font-size:16px;line-height:16px;cursor:pointer}.pictureContainer .galleryThumbImage{display:none;cursor:pointer}.pictureContainer .galleryThumbImage.currentThumb{border:1px solid #ffd304;cursor:default}.pictureContainer .galleryPostRoll{width:430px;margin:auto;margin-top:50px;color:#f4f5f8;cursor:pointer}.pictureContainer .galleryPostRoll .replayGallery,.pictureContainer .galleryPostRoll .nextGallery{width:194px}.pictureContainer .galleryPostRoll .replayGallery:hover a,.pictureContainer .galleryPostRoll .nextGallery:hover a{text-decoration:none}.pictureContainer .galleryPostRoll .replayGallery:hover .heading,.pictureContainer .galleryPostRoll .nextGallery:hover .heading{color:#ffd304}.pictureContainer .galleryPostRoll .replayGallery:hover .thumbnail img,.pictureContainer .galleryPostRoll .nextGallery:hover .thumbnail img{border:1px solid #ffd304}.pictureContainer .galleryPostRoll .relatedMedia{border-top:0;margin:0;padding:0}.pictureContainer .galleryPostRoll .galleryRelated{width:650px;height:148px;display:block;position:absolute;bottom:0;left:0}.pictureContainer .galleryPostRoll .galleryRelated .relatedTitle{float:left;padding:5px 10px;color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:30px;line-height:262px;background-color:#bfc2cd;text-transform:uppercase}.pictureContainer .galleryPostRoll .galleryRelated .relatedCarousel{float:left;width:630px;height:98px;padding:10px;background-color:#bfc2cd}.pictureContainer .galleryPostRoll .galleryRelated a:hover{text-decoration:none}.pictureContainer .galleryPostRoll .replayGallery{float:left}.pictureContainer .galleryPostRoll .replayGallery .thumbnail{position:relative}.pictureContainer .galleryPostRoll .replayGallery .thumbnail .replayBtn{width:73px;height:72px;position:absolute;top:32px;left:60px;background:url('https://cdn.ebaumsworld.com/img/replayBtn.png') 0 0 no-repeat}.pictureContainer .galleryPostRoll .nextGallery{float:right}.pictureContainer .galleryPostRoll li{float:left}.pictureContainer .galleryPostRoll .title{width:192px;text-align:center}.pictureContainer .galleryPostRoll .heading{width:192px;margin-bottom:10px;text-align:center;font-family:'FG-C','Georgia',sans-serif;font-size:30px;font-weight:400}.pictureContainer .galleryPostRoll .nextGallery .thumbnail a{display:block;width:192px;height:132px;margin-bottom:10px}.pictureContainer .galleryPostRoll .nextGallery a.title{display:block;color:#f4f5f8;font-weight:400;text-align:center}.pictureContainer .galleryPostRoll .thumbnail img{width:192px;height:132px;display:block;border:1px solid #f4f5f8}.pictureContainer .galleryPostRoll .replayGallery .thumbnail img{margin-bottom:10px}.pictureContainer .galleryPostRoll .postRollShare{width:305px;margin:auto;margin-bottom:50px;overflow:hidden;cursor:default}.pictureContainer .galleryPostRoll .postRollShare .heading{width:305px;line-height:25px}.pictureContainer .galleryPostRoll .postRollShare .postRollShareBtn{width:142px;height:49px;float:left}.pictureContainer .galleryPostRoll .postRollShare .postRollShareBtn a{width:142px;height:49px;display:block;background:url('https://cdn.ebaumsworld.com/img/galleryPostrollShareBtns.png') 0 0 no-repeat}.pictureContainer .galleryPostRoll .postRollShare .postRollShareBtn a:hover{background-position:0 -49px}.pictureContainer .galleryPostRoll .postRollShare .postRollShareBtn.twitter{float:right}.pictureContainer .galleryPostRoll .postRollShare .postRollShareBtn.twitter a{background-position:0 -98px}.pictureContainer .galleryPostRoll .postRollShare .postRollShareBtn.twitter a:hover{background-position:0 -147px}.close{width:17px;height:16px;position:absolute;right:5px;top:5px;background:url('https://cdn.ebaumsworld.com/img/galleryClose.png') 0 0 no-repeat;cursor:pointer}.shareEnlarge{height:40px;position:absolute;top:15px;right:15px}.shareEnlarge .enlargeWrapper{float:left}.shareEnlarge .share,.shareEnlarge .enlarge{width:40px;height:40px;margin-left:5px;display:block;background:url('https://cdn.ebaumsworld.com/img/galleryOverlay.png') 0 0 no-repeat #26283d;background-color:#232325;background-color:rgba(35,35,37,0.4);cursor:pointer;float:left}.shareEnlarge .share:hover,.shareEnlarge .enlarge:hover{background-color:#232325;background-color:rgba(35,35,37,0.7)}.shareEnlarge .share:hover{background-position:0 -40px}.shareEnlarge .enlarge{background-position:0 -80px}.shareEnlarge .enlarge:hover{background-position:0 -120px}.shareOverlay{width:530px;height:455px;padding:145px 0 0 120px;position:absolute;top:0;left:0;background-color:#232325;background-color:rgba(35,35,37,0.8);color:#f4f5f8;display:none}.shareOverlay .close{right:15px;top:15px}.shareOverlay .shareThumb{margin-bottom:15px;float:left}.shareOverlay .shareThumb img{width:114px;height:78px;border:1px solid #f4f5f8;display:block}.shareOverlay .shareHeader{margin-bottom:3px;overflow:hidden;clear:both}.shareOverlay .shareHeader span{width:31px;height:26px;margin:5px 5px 0 0;display:block;background:url('https://cdn.ebaumsworld.com/img/galleryOverlay.png') -6px -48px no-repeat;float:left}.shareOverlay .shareUrl input{width:400px;border:1px solid #d5d6da}.shareOverlay h2.shareH{color:#f4f5f8;font-family:'FG-M','Georgia',sans-serif;font-size:32px;float:left}.enlargeDetails .mediaRating{width:241px;height:32px;margin:0}.enlargeDetails .mediaRating .starsWrapper{float:left}.enlargeDetails .mediaRating .votes{float:left;margin-top:1px}.enlargeDetails .mediaRating .star{float:left;width:33px;height:32px;padding-right:5px;background:url('https://cdn.ebaumsworld.com/img/desktop/ratingStarsBig.png') 0 0 no-repeat;cursor:pointer}.enlargeDetails .mediaRating .yellowOn{background-position:0 calc(-64px)}.enlargeDetails .mediaRating .yellowHalf{background-position:0 calc(-128px)}.enlargeDetails .mediaRating .redOn{background-position:0 calc(-32px)}.enlargeDetails .mediaRating .redHalf{background-position:0 calc(-96px)}.enlargeDetails .mediaRating .off{background-position:0 0}.enlargeDetails .mediaRating .userStars{display:none}.enlargeDetails .voteCount{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:18px;line-height:18px}.enlargeDetails .voteLabel{color:#26283d;font-size:15px;line-height:15px}.contestLoginCTA{width:100%;height:50px;padding:12px 0;margin-bottom:12px;background-color:#ffd304;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-sizing:border-box;text-align:center}.contestLoginCTA a{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:30px;line-height:30px;text-decoration:underline;text-transform:uppercase}.galleryControlBar{width:100%;box-sizing:border-box;padding:20px;background-color:#26283d;position:relative;overflow:hidden;display:table}.galleryControlBar.contestControlBar .captionContent{clear:both;padding-top:20px}.galleryControlBar.contestControlBar .captionContent a{color:#ffd304;text-decoration:underline}.galleryControlBar.contestControlBar .playerUserInfo{width:100%;height:40px;display:table-header-group}.galleryControlBar.contestControlBar .voteWrapper{position:absolute;top:19px;right:31px}.galleryControlBar.contestControlBar .voteCTA{float:left;color:#fff;font-family:'FG-C','Georgia',sans-serif;font-size:32px;line-height:32px;text-transform:uppercase;margin-right:15px}.galleryControlBar.contestControlBar .contestRank{width:100%;height:35px;position:absolute;left:0;top:-36px;display:block;background-color:rgba(0,0,0,0.8)}.galleryControlBar.contestControlBar .contestRank .contestRankLabel{padding:8px 0 7px 50px;background:url('https://cdn.ebaumsworld.com/img/desktop/contestWinnerIcons.png') 20px -25px no-repeat;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#fff;text-transform:uppercase}.galleryControlBar.contestControlBar .contestRank .contestRankLabel.finalist{background-position:20px 5px}.galleryControlBar.contestControlBar .mediaRating{width:241px;height:32px;margin-right:0;margin-top:0}.galleryControlBar.contestControlBar .mediaRating .starsWrapper{float:left}.galleryControlBar.contestControlBar .mediaRating .votes{float:left;margin-top:1px}.galleryControlBar.contestControlBar .mediaRating .star{width:33px;height:32px;padding-right:5px;background:url('https://cdn.ebaumsworld.com/img/desktop/ratingStarsBig.png') 0 0 no-repeat;float:left;cursor:pointer}.galleryControlBar.contestControlBar .mediaRating .yellowOn{background-position:0 calc(-64px)}.galleryControlBar.contestControlBar .mediaRating .yellowHalf{background-position:0 calc(-128px)}.galleryControlBar.contestControlBar .mediaRating .redOn{background-position:0 calc(-32px)}.galleryControlBar.contestControlBar .mediaRating .redHalf{background-position:0 calc(-96px)}.galleryControlBar.contestControlBar .mediaRating .off{background-position:0 0}.galleryControlBar.contestControlBar .mediaRating .userStars{display:none}.galleryControlBar.contestControlBar .voteCount{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#fff;font-size:18px;line-height:18px}.galleryControlBar.contestControlBar .voteLabel{color:#ffd304;font-size:15px;line-height:15px}.captionContent{color:#fff;font-size:20px;line-height:26px;max-height:112px;display:table-cell}.captionContent a{color:#ffd304;text-decoration:underline}.captionContentInner{max-height:112px;display:block;overflow:hidden;position:relative;padding-right:15px}.ps-container{-ms-touch-action:none;overflow:hidden!important}.ps-container.ps-active-x>.ps-scrollbar-x-rail,.ps-container.ps-active-y>.ps-scrollbar-y-rail{display:block}.ps-container.ps-in-scrolling{pointer-events:none}.ps-container.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail{background-color:#eee;opacity:.9}.ps-container.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail>.ps-scrollbar-x{background-color:#999}.ps-container.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail{background-color:#eee;opacity:.9}.ps-container.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail>.ps-scrollbar-y{background-color:#999}.ps-container>.ps-scrollbar-x-rail{display:none;position:absolute;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;opacity:0;-webkit-transition:background-color .2s linear,opacity .2s linear;-moz-transition:background-color .2s linear,opacity .2s linear;-o-transition:background-color .2s linear,opacity .2s linear;transition:background-color .2s linear,opacity .2s linear;bottom:3px;height:8px}.ps-container>.ps-scrollbar-x-rail>.ps-scrollbar-x{position:absolute;background-color:#aaa;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-transition:background-color .2s linear;-moz-transition:background-color .2s linear;-o-transition:background-color .2s linear;transition:background-color .2s linear;bottom:0;height:8px}.ps-container>.ps-scrollbar-y-rail{position:absolute;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;background-color:#eee;opacity:.5;-webkit-transition:background-color .2s linear,opacity .2s linear;-moz-transition:background-color .2s linear,opacity .2s linear;-o-transition:background-color .2s linear,opacity .2s linear;transition:background-color .2s linear,opacity .2s linear;right:3px;width:8px}.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y{position:absolute;background-color:#aaa;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-transition:background-color .2s linear;-moz-transition:background-color .2s linear;-o-transition:background-color .2s linear;transition:background-color .2s linear;right:0;width:8px}.ps-container:hover.ps-in-scrolling{pointer-events:none}.ps-container:hover.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail{background-color:#eee;opacity:.9}.ps-container:hover.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail>.ps-scrollbar-x{background-color:#999}.ps-container:hover.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail{background-color:#eee;opacity:.9}.ps-container:hover.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail>.ps-scrollbar-y{background-color:#999}.ps-container:hover>.ps-scrollbar-x-rail,.ps-container:hover>.ps-scrollbar-y-rail{opacity:.6}.ps-container:hover>.ps-scrollbar-x-rail:hover{background-color:#eee;opacity:.9}.ps-container:hover>.ps-scrollbar-x-rail:hover>.ps-scrollbar-x{background-color:#999}.ps-container:hover>.ps-scrollbar-y-rail:hover{background-color:#eee;opacity:.9}.ps-container:hover>.ps-scrollbar-y-rail:hover>.ps-scrollbar-y{background-color:#999}.galleryProgress{position:absolute;bottom:20px;right:20px;color:#fff;font-size:35px;line-height:35px}.galleryProgress .currentThumbIndex{color:#ffd304}.galleryProgressFake{width:90px;display:table-cell;color:#26283d;font-size:35px;line-height:35px}.mediaDetailInfo{width:100%;height:80px;display:block;padding:18px;margin-bottom:12px;border:1px solid #dee0e5;background-color:#fff;box-sizing:border-box;position:relative}.mediaDetailInfo a.avatar{float:left;border:1px solid #dee0e5;margin-right:15px}.mediaDetailInfo .avatar{width:84px;height:84px;display:block}.mediaDetailInfo .detailInfo{float:left;width:83%;height:100%}.mediaDetailInfo a.username{margin-bottom:8px;display:block;font-family:'Fira Sans','Georgia',sans-serif;font-weight:700;color:#26283d;font-size:20px;line-height:20px}.mediaDetailInfo a.username:hover{text-decoration:underline}.mediaDetailInfo .uploadTime{margin-bottom:10px;color:#676877;font-size:16px;line-height:16px}.mediaDetailInfo .mediaRating{width:241px;height:32px;margin:0;position:absolute;top:18px;right:18px}.mediaDetailInfo .mediaRating .starsWrapper{float:left}.mediaDetailInfo .mediaRating .votes{margin-top:1px;float:left}.mediaDetailInfo .mediaRating .star{float:left;width:33px;height:32px;padding-right:5px;background:url('https://cdn.ebaumsworld.com/img/desktop/ratingStarsBig.png') 0 0 no-repeat;cursor:pointer}.mediaDetailInfo .mediaRating .yellowOn{background-position:0 calc(-64px)}.mediaDetailInfo .mediaRating .yellowHalf{background-position:0 calc(-128px)}.mediaDetailInfo .mediaRating .redOn{background-position:0 calc(-32px)}.mediaDetailInfo .mediaRating .redHalf{background-position:0 calc(-96px)}.mediaDetailInfo .mediaRating .off{background-position:0 0}.mediaDetailInfo .mediaRating .userStars{display:none}.mediaDetailInfo .voteCount{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:18px;line-height:18px}.mediaDetailInfo .voteLabel{color:#26283d;font-size:15px;line-height:15px}.mediaDetailInfo .mediaStatList .count{float:left;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:18px;line-height:18px}.mediaDetailInfo .mediaStatList .label{float:left;clear:both;color:#26283d;font-size:15px;line-height:15px}.mediaDetailInfo .mediaStatList .stat{float:left;height:32px;min-width:30px;margin-right:18px;background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:32px calc(896px);padding-left:40px}.mediaDetailInfo .mediaStatList .stat.viewStat{background-position:0 calc(-32px)}.mediaDetailInfo .mediaStatList .stat.commentStat{cursor:pointer;background-position:0 calc(-96px)}.mediaDetailInfo .mediaStatList .stat.commentStat:hover{background-position:0 calc(-64px)}.mediaDetailInfo .mediaStatList .stat.favoriteStat{cursor:pointer;background-position:0 calc(-160px)}.mediaDetailInfo .mediaStatList .stat.favoriteStat.favorited{background-position:0 calc(-192px)}.mediaDetailInfo .mediaStatList .stat.favoriteStat:hover{background-position:0 calc(-192px)}.mediaDetailInfo .mediaStatList .stat.flagStat{background-position:0 calc(-224px);margin-right:0;cursor:pointer}.mediaDetailInfo .mediaStatList .stat.flagStat:hover{background-position:0 calc(-256px)}.mediaDetailInfo .mediaStatList .stat.flagStat .label{padding-top:15px}.mediaDetailInfo .mediaStatList .stat.flagStat.flagged{background-position:0 calc(-256px);cursor:default}.topNotes{text-align:center;margin-bottom:20px}.detailPage .commentContent,.profileMessages .commentContent{width:100%;height:auto;margin:0;padding:0}.shareBtns{width:100%;height:60px;margin-bottom:20px}.shareBtns ul{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1px}.shareBtns li{width:19%;height:60px;padding-top:16px;box-sizing:border-box;display:block;color:#fff;text-align:center;cursor:pointer}.shareBtns li span{height:27px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/shareBtnsBig2.png') 0 0 no-repeat;box-sizing:border-box;color:#fff;font-size:18px;line-height:30px}.shareBtns li:last-child{margin-right:0}.shareBtns li.facebook{background-color:#3c599b}.shareBtns li.facebook span{width:74px;padding-left:26px;background-position:-22px 0}.shareBtns li.twitter{background-color:#55acee}.shareBtns li.twitter span{width:85px;padding-left:36px;background-position:-7px calc(-27px)}.shareBtns li.stumble{background-color:#ea4b24}.shareBtns li.stumble span{width:118px;padding-left:46px;background-position:3px calc(-54px)}.shareBtns li.flipboard{background-color:#f52828}.shareBtns li.flipboard span{background:url('/img/desktop/shareFlipboard.png') 0 0 no-repeat;width:89px;padding-left:40px}.shareBtns li.email{background-color:#5d5f70}.shareBtns li.email span{width:92px;padding-left:46px;background-position:0 calc(-81px)}.shareBtns li.more{background-color:#07e}.shareBtns li.more span{width:82px;padding-left:40px;background-position:-10px calc(-108px)}.shareBtns li.pinterest{background-color:#d13e44}.shareBtns li.pinterest span{width:84px;padding-left:38px;background-position:-8px calc(-135px)}.commentSection{clear:both;border-top:1px solid #dee0e5;padding-top:17px}.commentSection .paginationControl{margin-bottom:18px}.commentSection .commentImage{max-width:100%;max-height:600px;margin:auto;display:block}.commentHeader{width:100%;margin-bottom:15px;overflow:hidden}.commentTitle,.commentRefresh{background:url('https://cdn.ebaumsworld.com/img/desktop/commentHeaderIcons.png') 0 0 no-repeat}.commentTitle{float:left;padding-left:65px;color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:40px;font-weight:400;line-height:50px}.deletedComment{background-color:#f9efbf}.commentRefresh{height:38px;position:absolute;right:0;top:2px;padding-left:34px;background-position:0 -56px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#26283d;font-size:18px;line-height:20px}.commentRefresh .refrash{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500}.commentRefresh:hover{cursor:pointer;background-position:0 -106px}.addCommentForm{border:1px solid #ffd304;border-top-left-radius:3px;border-top-right-radius:3px}.addCommentError{float:left;clear:both;display:none;margin-top:10px;text-transform:capitalize}.commentTimer{float:left;clear:both;display:none;margin-top:10px}.addCommentForm{width:100%;height:auto;box-sizing:border-box;padding:9px;margin-bottom:28px;overflow:hidden;background-color:#ffd304}.adminListRatersWrapper{float:right;clear:both;background:0;width:auto}.commentToolbar li.adminListRatersWrapper{background:0;width:auto;height:auto}.commentToolbar li.raterListLi{background:0;width:auto;height:auto;clear:both;float:right}.commentListHolder{position:relative}.commentFilterWrapper{left:0;height:40px;margin-bottom:20px}.commentFilterWrapper .commentActions{padding-bottom:2px;position:absolute;left:0}.commentFilterWrapper .commentActions .filterLabel{margin:0}.commentFilterWrapper .commentActions:hover{cursor:pointer}.commentFilterWrapper .commentActions:hover .mediaFilterList{display:block}.commentFilterWrapper .commentActions:hover .filterStatus{text-decoration:underline}.commentFilterWrapper .commentActions:hover .filterLabelContent{text-decoration:none}.commentFilterWrapper .mediaFilterList{top:47px}.commentContentWrapper{width:89%;float:left}@media(max-width:1119px){.commentContentWrapper{width:87%}}.commentReplyContentWrapper{margin-left:104px}.commentReplyForm{clear:both;width:100%;margin-bottom:20px;padding-top:9px;border-top:2px solid #dee0e5;display:none}.commentReplyForm .addCommentLabel{box-sizing:border-box;border:1px solid #ffd304;border-top-left-radius:3px;border-top-right-radius:3px;background-color:#ffd304}.commentReplyText{overflow:hidden;width:100%;min-height:48px;padding:8px;padding-bottom:0;box-sizing:border-box;border:2px solid #dee0e5;background-color:#fff;display:table}.addCommentLabel{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;font-size:22px;text-align:center;text-transform:uppercase}.addCommentLabel a{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;text-decoration:underline}.addCommentForm textarea,.commentReplyForm textarea{float:left;width:82%;height:70px;padding:15px 15px;margin-right:2%;box-sizing:border-box;color:#676877;font-size:15px;line-height:22px;border:0}.replyTextareaWrapper{min-height:28px;padding:8px;padding-top:5px;display:table-cell;vertical-align:top}.commentReplyForm textarea{float:none;width:100%;height:20px;padding:0;margin-right:0;box-sizing:border-box;color:#26283d;font-size:16px;line-height:18px}.submitComment,.addReply{width:16%;height:50px;box-sizing:border-box;display:inline-block;border:1px solid #fff;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;background:0;background:url('https://cdn.ebaumsworld.com/img/desktop/commentSubmitArrow.png') center 0 no-repeat;background-color:#fff;outline:0;cursor:pointer}.submitComment:hover,.addReply:hover{background-position:center -50px;background-color:#26283d;outline:0;border-color:#26283d}.submitComment:active,.addReply:active{border-color:#26283d;background-position:center -50px;background-color:#26283d;outline:0}.submitComment.disabled,.addReply.disabled{background-color:#fbe982;border-color:#fbe982;cursor:default}.submitComment.disabled:hover,.addReply.disabled:hover{background-position:center 0}.addReplyWrapper{width:9%;display:table-cell;vertical-align:top}.addReply{width:100%;height:28px;background-color:#ffd304;background-size:19px 57px;background-position:center -30px}.addReply:hover{background-position:center -1px}.addReply.disabled{background-color:#dee0e5;border-color:#dee0e5}.addReply.disabled:hover{cursor:default;background-position:center -30px}.replyAvatar{width:28px;height:28px;display:table-cell}.replyAvatar img{width:28px;height:28px}.commentList{width:100%;border-top:1px solid #dee0e5}.commentList>li{border-bottom:1px solid #dee0e5;padding-top:17px;padding-bottom:14px;overflow:hidden}.commentList>li .avatar,.commentList>li .avatar img{float:left;width:80px;height:80px;display:block}.commentList>li .avatar{border:1px solid #dee0e5}.commentList>li:last-child{margin-bottom:16px}.commentImageInfo{height:20px;padding-left:30px;background:url('https://cdn.ebaumsworld.com/img/desktop/commentImageIcon.png') left center no-repeat;background-size:23px 20px;line-height:22px;clear:both}.commentImageInfo.loggedOut{width:455px;margin:auto}.commentUsername,.commentBody,.commentDate{overflow:hidden;padding-left:17px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400}.commentUsername a{padding-bottom:8px;float:left;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:20px;line-height:22px}.commentDetail{float:left;width:65%}.commentBody{margin-bottom:7px;color:#26283d;font-size:16px;line-height:20px}.commentBody a{color:#26283d;text-decoration:underline}.commentDate{float:left;clear:both;color:#b3b3bb;font-size:15px;line-height:16px}.commentReplies{float:left;width:100%;margin-top:10px}.commentReplies .child{margin-bottom:11px;padding-bottom:11px;border-bottom:1px solid #dee0e5;overflow:hidden}.commentReplies .child:first-child{padding-top:11px;border-top:1px solid #dee0e5}.commentReplies .child:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.commentReplies .commentContentWrapper{width:87%}.commentReplies .commentToolbar{min-width:184px}@media(max-width:1119px){.commentReplies .commentContentWrapper{width:84.5%}}.pendingToolbar{display:inline-flex;justify-content:center}.pendingToolbar li{padding:0 5px;cursor:pointer}.commentToolbar{float:right;width:35%;padding-top:20px;min-width:221px;vertical-align:top;text-align:right;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:12px}.commentToolbar li{width:36px;height:36px;margin-right:10px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;cursor:pointer}.commentToolbar li.reply{background-position:0 calc(-108px)}.commentToolbar li.reply:active,.commentToolbar li.reply:hover{background-position:0 calc(-72px)}.commentToolbar li.link{background-position:0 calc(-360px)}.commentToolbar li.link:active,.commentToolbar li.link:hover{background-position:0 calc(-324px)}.commentToolbar li.link a{width:19px;height:19px;display:block}.commentToolbar li.rateDown{background-position:0 calc(-504px)}.commentToolbar li.rateDown:active,.commentToolbar li.rateDown:hover{background-position:0 calc(-468px)}.commentToolbar li.rateDown.rated{border-color:#ffd304}.commentToolbar li.rateUp{background-position:0 calc(-432px)}.commentToolbar li.rateUp:active,.commentToolbar li.rateUp:hover{background-position:0 calc(-396px)}.commentToolbar li.rateUp.rated{border-color:#ffd304}.commentToolbar li.rating{float:right;width:auto;margin-right:0;border:0;background:0;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#26283d;font-size:24px;line-height:36px;cursor:default}.commentToolbar li.rating.negative{color:#e60000}.commentToolbar li.admin{float:right;margin-top:9px;border:0;background:0}.commentToolbar li.ban{clear:both;margin-right:0}.replyForm{display:none}.profileContent,.prizeStore{margin-top:35px}.contentHeader{margin-bottom:20px}.showcase{margin-bottom:35px}.showcase .contentHeader{width:100%;display:block;min-height:24px}.showcase h1{float:left;margin-right:15px}.showcase .infoIcon{float:left;margin-top:3px}.showcase .showcaseTitle{margin-bottom:10px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:23px;line-height:23px;text-transform:uppercase}.showcase .showcaseDescription{margin-bottom:16px;color:#26283d;font-size:17px;line-height:20px}.profileRightColumn{background-color:#fff;border:2px solid #dee0e5;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:17px;line-height:17px}.avatarSection{width:100%;overflow:hidden;border-top:1px solid #dee0e5;padding:12px;box-sizing:border-box;display:block}.profileAvatar{float:left;width:108px;height:158px;display:block;margin-right:12px}.profileAvatar img{width:106px;height:106px;border:1px solid #dee0e5;-webkit-box-reflect:below 1px -webkit-gradient(linear,left top,left bottom,from(transparent),color-stop(50%,transparent),to(rgba(250,250,250,0.1)))}.profileAvatar.ownProfile{height:108px}.profileAvatar.ownProfile img{-webkit-box-reflect:none}h1.profileUsernameHeader{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:23px;line-height:23px;padding:20px 15px}.userActionsHolder{width:152px;float:right}.userActionsHolder li{width:100%;border:2px solid #dee0e5;box-sizing:border-box;margin-bottom:6px;padding:8px 0;text-align:center}.userActionsHolder li.ownProfile{height:50px;padding:0}.userActionsHolder li.ownProfile a{display:block;padding:16px 0}.userActionsHolder li a{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:17px;line-height:17px;text-transform:uppercase}.userActionsHolder li:last-child{margin-bottom:0}.userActionsHolder li:hover{border-color:#ffd304;cursor:pointer}.userActionsHolder li:active{border-color:#ffd304;background-color:#ffd304}.actionStats{clear:both;padding:15px 11px;margin-bottom:14px;border-top:1px solid #dee0e5;border-bottom:1px solid #dee0e5;overflow:hidden}.actionStats li{float:left;width:45%;height:27px;margin-right:2px;padding-left:36px;box-sizing:border-box;background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:27px calc(756px)}.actionStats li:last-child{margin-right:0}.actionStats li.uploads{width:50%;background-position:0 calc(-405px);border-right:1px solid #dee0e5;margin-right:12px}.actionStats li.followers{background-position:0 calc(-486px)}.actionStats .count{float:left;width:100%;min-width:30px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:17px;line-height:17px}.actionStats .label{float:left;font-family:'Fira Sans','Georgia',sans-serif;font-weight:300;color:#b3b3bb;font-size:12px;line-height:12px}.userStats{margin-bottom:16px;padding-left:11px;overflow:hidden}.userStats li{width:100%;height:27px;padding-left:36px;margin-bottom:5px;box-sizing:border-box;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:17px;line-height:27px;background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:27px calc(756px)}.userStats li:last-child{margin-bottom:0}.userStats li.mediaWatched{background-position:0 calc(-540px)}.userStats li.mediaFeatured{background-position:0 calc(-702px)}.userStats li.profileViews{background-position:0 calc(-540px)}.userStats li.mediaFavorited{background-position:0 calc(-108px)}.userStats li.lastLogin{background-position:0 calc(-594px)}.userStats li.userSince{background-position:0 calc(-648px)}.infoIcon{float:right;width:25px;height:25px;margin-top:-6px;padding-top:3px;padding-right:2px;box-sizing:border-box;border:2px solid #676877;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#676877;font-size:14px;line-height:20px;text-align:center;font-style:italic;text-transform:none}.sectionBannerGrey{width:100%;height:42px;padding:14px 16px;margin-bottom:15px;box-sizing:border-box;background-color:#dee0e5;color:#26283d;font-size:20px;line-height:20px;text-transform:uppercase}.sectionBannerGrey .infoIcon{float:right;width:25px;height:25px;margin-top:-6px;padding-top:3px;padding-right:2px;box-sizing:border-box;border:2px solid #676877;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;background-color:#dee0e5;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#676877;font-size:14px;line-height:20px;font-style:italic;text-align:center;text-transform:none}.subLabel{color:#676877;font-size:17px;line-height:17px;margin-bottom:14px}.statBox{width:100%;box-sizing:border-box;display:block;padding:20px 14px;margin-bottom:20px;background-color:#fee982;overflow:hidden;text-align:center}.statBox .count{width:100%;display:block;color:#26283d;font-size:35px;line-height:35px;font-style:italic}.statBox .label{color:#26283d;font-size:17px;line-height:22px}.statBox li{float:left;width:30%;margin-right:10px}.statBox li:last-child{margin-right:0}.statBox.eboneStats{margin-bottom:12px}.erepStats{padding:0 12px;overflow:hidden}.erepStats .pointsEarned{overflow:hidden;border-bottom:3px solid #fff;padding-bottom:12px;margin-bottom:20px}.erepStats .pointsEarned>div{float:left;width:50%}.erepStats .prizeStoreLink{width:100%;height:50px;display:block;padding:17px 0;margin-bottom:23px;border:2px solid #ffd304;box-sizing:border-box;text-align:center;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:17px;line-height:17px;text-transform:uppercase}.erepStats .prizeStoreLink:hover{text-decoration:underline}.prizeBox{width:100%;padding:8px;margin-bottom:16px;box-sizing:border-box;border:1px solid #dee0e5;overflow:hidden}.prizeBox .prizeThumb{float:left;width:83px;height:83px;display:block;margin-right:16px}.prizeBox .prizeThumb img{width:83px;height:83px}.prizeBox .prizeName{float:left;width:150px;margin-bottom:10px}.prizeBox .prizeName a{color:#26283d;font-size:23px;line-height:27px}.prizeBox .prizePoints{float:left;color:#26283d;font-size:17px;line-height:17px;font-style:italic}.eBonePointDetails{width:100%;margin-bottom:12px;position:relative;display:block;overflow:hidden}.eBonePointDetails .eBonePointBreak{width:100%;height:3px;margin-top:20px;display:block;background-color:#ffd304}.eBonePointDetails .eBoneCurrentPoints{min-width:83px;max-width:280px;margin:auto;margin-top:-24px;display:block;text-align:center}.eBonePointDetails .eBoneCurrentPoints .statNumber{color:#26283d;font-size:35px;line-height:46px;background-color:#fff;padding:0 17px}.eBonePointDetails .eBoneCurrentPoints .statLabel{margin:auto;display:block;color:#26283d;font-size:17px;line-height:17px}.buddiesSubscriptions{width:100%;padding:0 12px;padding-bottom:20px;box-sizing:border-box}.buddiesSubscriptions .tabNav{overflow:hidden;width:100%;border-bottom:5px solid #ffd304;margin-bottom:14px}.buddiesSubscriptions .tabNav .label{width:100%;margin-bottom:4px;display:block;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:17px;line-height:17px}.buddiesSubscriptions .tabNav .count{color:#26283d;font-size:17px;line-height:17px}.buddiesSubscriptions .tabNav button,.buddiesSubscriptions .tabNav a{width:100%;height:51px;padding-top:6px;border:1px solid #dee0e5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-sizing:border-box;background-color:#fff;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:12px;cursor:pointer}.buddiesSubscriptions .tabNav a{display:block;text-align:center;box-sizing:border-box;line-height:25px}.buddiesSubscriptions .tabNav .submissionsToggle,.buddiesSubscriptions .tabNav .buddiesToggle{float:left}.buddiesSubscriptions .tabNav .favoritesToggle,.buddiesSubscriptions .tabNav .subscriptionsToggle{float:right}.buddiesSubscriptions .tabNav .buddiesToggle,.buddiesSubscriptions .tabNav .subscriptionsToggle{width:49%;border-bottom:5px solid #fff}.buddiesSubscriptions .tabNav .buddiesToggle.active,.buddiesSubscriptions .tabNav .subscriptionsToggle.active{border-bottom:5px solid #ffd304}.buddiesSubscriptions .tabNav .buddiesToggle.active button,.buddiesSubscriptions .tabNav .subscriptionsToggle.active button{border-bottom-right-radius:0;border-bottom-left-radius:0;border-color:#ffd304;background-color:#ffd304;cursor:default}.profileUserList .paginationControl{max-width:272px;height:33px;margin:auto;margin-bottom:10px;color:#26283d;font-size:14px;font-weight:400;line-height:10px}.profileUserList .paginationControl ul,.profileUserList .paginationControl li{display:inline}.profileUserList .paginationControl a,.profileUserList .paginationControl a:visited{display:inline-block;color:#26283d;font-size:14px;font-weight:400;line-height:31px;text-align:center}.profileUserList .paginationControl .next,.profileUserList .paginationControl .previous{width:20px;height:16px;margin-right:3px;background:url('https://cdn.ebaumsworld.com/img/desktop/paginationArrows.png') 0 0 no-repeat;background-size:10px calc(96px);line-height:18px}.profileUserList .paginationControl .next:hover,.profileUserList .paginationControl .previous:hover{background-position:0 calc(-16px)}.profileUserList .paginationControl .next{background-position:4px calc(-48px);margin-right:0}.profileUserList .paginationControl .next:hover{background-position:4px calc(-64px)}.profileUserList .paginationControl .nextDisabled,.profileUserList .paginationControl .previousDisabled{width:20px;height:16px;margin-right:3px;background:url('https://cdn.ebaumsworld.com/img/desktop/paginationArrows.png') 0 calc(-32px) no-repeat;background-size:10px calc(96px);line-height:18px}.profileUserList .paginationControl .nextDisabled{margin-right:0;background-position:4px calc(-80px)}.profileUserList .paginationControl .page{width:31px;height:31px;margin-right:6px}.profileUserList .paginationControl .page:hover{background-color:#ffd304}.profileUserList .paginationControl .page:active{background-color:#ffd304}.profileUserList .paginationControl .page span{width:31px;height:31px;background-color:#fff;color:#26283d;font-size:14px;font-weight:400;line-height:31px}.profileUserList .paginationControl .paginationCurrent{width:31px;height:31px;margin-right:6px;color:#26283d;font-size:14px;font-weight:400;line-height:31px}.profileBuddyList{width:100%}.profileBuddyList .userItem{float:left;width:83px;margin-bottom:9px;margin-right:11px;box-sizing:border-box}.profileBuddyList .userItem a{width:100%;display:block;color:#fff;font-size:10px;line-height:10px;text-align:center}.profileBuddyList .userItem a img{width:100%;height:78px}.profileBuddyList .userItem:nth-child(3n+3){margin-right:0}.profileBuddyList .avatarLink{float:left;height:78px}.profileBuddyList .usernameLink{width:100%;height:15px;padding-bottom:1px;padding-top:6px;display:block;clear:both;background-color:#26283d;font-size:8px;line-height:10px}.profileBuddyList .userList{overflow:hidden;padding:16px 0 0 25px}.profileBuddyList .paginationControl{margin-top:4px;clear:both;text-align:center}.profileBuddyList .paginationControl:first-child{margin-bottom:12px}.profileTabsWrapper{width:100%}.contestTabs{margin-bottom:20px}.contestDetailPage .playerUserInfo a{color:#26283d}.contestDetailPage .playerUserInfo a:hover{text-decoration:underline}.contestDetailPage .playerUserInfo a.featureUsername{color:#ffd304}.profileTabs{border-bottom:10px solid #ffd304;width:100%;height:69px}.profileTabs li{float:left;text-align:center;margin-right:6px;border-bottom:5px solid transparent}.profileTabs li.selected{border-bottom:5px solid #ffd304}.profileTabs li.selected a{background-color:#ffd304;border:2px solid #ffd304;border-bottom-right-radius:0;border-bottom-left-radius:0}.profileTabs li#rules a{border-color:#ffd304}.profileTabs li.upload a{width:134px;height:64px;box-sizing:border-box;padding-left:24px;padding-right:0;background:url('https://cdn.ebaumsworld.com/img/desktop/uploadArrow.png') 15px center no-repeat;border-color:#ffd304;background-color:#ffd304}@media(max-width:1119px){.profileTabs li.upload a{width:116px;background-position:10px center}}.profileTabs a{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;float:left;padding:22px 36px;border:2px solid #dee0e5;background-color:#fff;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:17px;line-height:17px}@media(max-width:1119px){.profileTabs a{padding:22px 25px}}.removeX{width:22px;height:22px;display:none;position:absolute;top:0;right:0;background-color:#26283d;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#fff;font-size:16px;line-height:22px;text-align:center;cursor:pointer}.profileUserList.editingEnabled .removeX{display:block}.profileUserList .userItem{position:relative}.profileEditWidget{width:100%;padding-top:6px;margin-bottom:9px;border-top:1px solid #dee0e5}.profileWidgetEdit{width:100%;height:20px;padding-right:28px;background:url('https://cdn.ebaumsworld.com/img/desktop/editPencil.png') right 0 no-repeat;text-align:right;box-sizing:border-box;display:block;color:#26283d;font-size:14px;line-height:24px}.profileWidgetEdit:hover{text-decoration:underline;background-position:right -20px}.profileWidgetEditCancel{display:none;width:100%;height:20px;padding-left:28px;background:url('https://cdn.ebaumsworld.com/img/desktop/editPencil.png') left -20px no-repeat;color:#26283d;font-size:14px;line-height:24px;box-sizing:border-box}.moderatorTasks,.userPermissions{margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid #dee0e5}.moderatorTasks p,.userPermissions p{color:#26283d;font-size:17px;line-height:17px}.profileAboutMe{padding:0 12px;color:#26283d;font-size:17px;line-height:17px;margin-bottom:20px}.profileAboutMe img{max-width:100%}.profileModerationTasks{padding:0 12px}.profileModerationTasks li{margin-bottom:5px}.profileModerationTasks a{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:17px;line-height:17px}.activityDetail{float:left;color:#676877;font-size:14px;line-height:16px}.activityDetail .username{color:#26283d;font-size:17px;line-height:20px;margin-right:3px}.activityDetail .activityTimestamp{color:#676877;font-size:14px;line-height:16px;border-left:1px solid #676877;padding-left:8px;margin-left:8px}.activityDetail a{width:100%;margin-top:6px;display:block;color:#26283d;font-size:17px;line-height:20px}.activityDetail a:hover{text-decoration:underline}.activityDetail.oneLine{margin-top:12px}.activityItem{min-height:48px;margin-bottom:20px;border-bottom:1px dotted #676877;padding-bottom:18px}.activityItem.lastItem{border-bottom:0}.userActivity{margin-bottom:35px}.activityIcon{float:left;width:36px;height:36px;margin-right:14px;margin-top:6px;background:url('https://cdn.ebaumsworld.com/img/desktop/navIcons.png') 0 0 no-repeat;background-size:36px calc(684px);display:block}.activityIcon.addFavorite{background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:36px 1008px;background-position:0 calc(-144px)}.activityIcon.comment{background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:36px 1008px;background-position:0 calc(-72px)}.activityIcon.addBuddy{background:url('https://cdn.ebaumsworld.com/img/desktop/statIcons.png') 0 0 no-repeat;background-size:36px 1008px;background-position:0 calc(-864px)}.activityIcon.uploadGallery{background-position:0 calc(-36px)}.activityIcon.uploadContest{background-position:0 calc(-252px)}.activityIcon.uploadArticle{background-position:0 calc(-324px)}.activityIcon.uploadQuiz{background-position:0 calc(-360px)}.activityIcon.uploadPicture{background-position:0 calc(-396px)}.activityIcon.uploadGame{background-position:0 calc(-432px)}.activityIcon.uploadSoundboard{background-position:0 calc(-468px)}.activityIcon.uploadAudio{background-position:0 calc(-504px)}.activityIcon.uploadJoke{background-position:0 calc(-540px)}.activityIcon.uploadBlog{background-position:0 calc(-576px)}.activityIcon.uploadAnimation{background-position:0 calc(-612px)}.profileMessageList{padding-top:20px}.profileFilters{border-top:0}.inboxWrapper .sendMessageBtn{float:right;padding-top:5px}.inboxWrapper .sendMessageBtn a{width:175px;height:42px;border:2px solid #ffd304;display:block;text-align:center;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:18px;line-height:38px;background-color:#fff;box-sizing:border-box}.inboxWrapper .listFilters{margin-top:10px;padding-bottom:15px;border-bottom:3px solid #dee0e5;border-top:0}@media(max-width:1119px){.inboxWrapper .listFilters>li.mediaFilter{margin-right:0}.inboxWrapper .listFilters .sendMessageBtn a{width:154px}}.inboxWrapper .username{margin-bottom:8px;color:#26283d;font-size:18px;line-height:24px}.inboxWrapper .username a{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:18px;line-height:20px}.inboxWrapper .messageDetails{padding-left:80px}.inboxWrapper .messageBody{color:#26283d;font-size:16px;line-height:24px}.inboxWrapper .messageBody a{text-decoration:underline}.inboxWrapper .message{margin-bottom:10px}.inboxWrapper .timestamp{color:#676877;font-size:14px;line-height:14px;margin-bottom:65px}.inboxWrapper .messageStatus{width:33px;height:34px;position:absolute;left:0;bottom:20px;display:block}.inboxWrapper .messageStatus .inboxStatus{width:33px;height:34px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/inboxReadIcons.png') 0 -34px no-repeat}.inboxWrapper .messageStatus .inboxStatus.unread{background-position:0 0}.inboxWrapper .messageActions{position:absolute;right:0;bottom:15px}.inboxWrapper .messageActions li{float:left;margin-right:25px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:28px}.inboxWrapper .messageActions li a{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:28px}.inboxWrapper .messageActions li:last-child{margin-right:0}.inboxWrapper .inboxIcon{height:28px;padding-left:36px;background:url('https://cdn.ebaumsworld.com/img/desktop/inboxIcons.png') 0 0 no-repeat}.inboxWrapper .inboxIcon:hover{cursor:pointer;text-decoration:underline;background-position:0 calc(-28px)}.inboxWrapper .inboxIcon.comment{background-position:0 calc(-168px)}.inboxWrapper .inboxIcon.comment:hover{background-position:0 calc(-196px)}.inboxWrapper .inboxIcon.viewMedia{background-position:0 calc(-112px)}.inboxWrapper .inboxIcon.viewMedia:hover{background-position:0 calc(-140px)}.inboxWrapper .inboxIcon.buddy{background-position:0 calc(-224px)}.inboxWrapper .inboxIcon.buddy:hover{background-position:0 calc(-252px)}.inboxWrapper .inboxIcon.reply{background-position:0 calc(-112px)}.inboxWrapper .inboxIcon.reply:hover{background-position:0 calc(-140px)}.inboxWrapper .inboxIcon.acceptCreator{background-position:0 calc(-56px)}.inboxWrapper .inboxIcon.acceptCreator:hover{background-position:0 calc(-84px)}.msgListItem{width:100%;padding-bottom:15px;margin-bottom:20px;border-bottom:1px solid #dee0e5;overflow:hidden;position:relative}.msgListItem .senderAvatar{float:left}.msgListItem .senderAvatar a,.msgListItem .senderAvatar img{width:64px;height:64px;display:block}.msgListItem .senderAvatar img{float:left}.composeMessageForm{margin-bottom:150px}.composeMessageForm li.input{margin-bottom:10px}.composeMessageForm input[type=text]{width:50%}.composeMessageForm textarea{width:100%;height:100px}.composeMessageForm .error{color:#e60000;font-size:12px;line-height:14px}.composeMessageForm .submitMessageBtn{margin-bottom:20px}.composeMessageForm .labelOriginal{margin-bottom:10px}.composeMessageForm .customSelect{width:50%;height:42px;padding:12px 15px;border:2px solid #dee0e5;box-sizing:border-box;background:#fff url('https://cdn.ebaumsworld.com/img/desktop/selectDropSmall.png') right 0 no-repeat;color:#676877;font-size:14px;line-height:17px}.composeMessageForm .customSelect.customSelectOpen{background-color:#ffd304}.prizeTabs .adminTab{padding:22px 30px}@media(max-width:1119px){.prizeTabs .adminTab{padding:22px 19px}}.prize{float:left;width:244px;height:399px;margin-right:12px;margin-bottom:35px;position:relative;display:block;background-color:#26283d}.prize:nth-child(3n){margin-right:0}@media(max-width:1119px){.prize{width:208px;height:394px}.prize .prizeImageLink{width:208px;height:208px}.prize .prizeImageLink img,.prize .prizeImageLink a{width:208px;height:208px}}.prizeImageLink{width:244px;height:244px;position:relative;background-color:#232325}.prizeImageLink a,.prizeImageLink img{width:244px;height:244px;display:block}.prizeImageLink .prizePoints{width:100%;height:34px;padding:8px 10px;padding-left:38px;box-sizing:border-box;background:rgba(0,0,0,0.8);position:absolute;bottom:0;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#fff;font-size:20px;line-height:20px;background:rgba(0,0,0,0.8) url('https://cdn.ebaumsworld.com/img/desktop/eboneCoinLittleYellow.png') 10px 10px no-repeat}.prizeDetails{padding:14px 12px;color:#fff;font-size:12px;line-height:15px}.prizeDetails .prizeName{margin-bottom:10px;display:block;color:#ffd304;font-size:20px;line-height:20px}.prizeDetails .prizeName:hover{text-decoration:underline}.prizeDetailContent .description{margin-bottom:50px}.prizeDetailContent .notes{margin-bottom:28px;color:#676877;font-size:17px;line-height:20px}.prizeDetailClaimForm .claimButton{cursor:pointer}.claimButton{width:100%;height:68px;margin-bottom:10px;padding-top:11px;background-color:#ffd304;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;text-align:center;box-sizing:border-box}.claimButton span{color:#000;font-size:27px;line-height:46px}.claimButton span.buyPrize{height:46px;padding-left:60px;margin-right:18px;background:url('https://cdn.ebaumsworld.com/img/desktop/eboneCoinBigBlack.png') 0 0 no-repeat;display:inline-block;text-transform:uppercase}.claimButton span.prizeCost{padding-left:18px;border-left:2px solid #000}.ebonesClaimTerms{margin-bottom:23px;color:#26283d;font-size:14px;line-height:18px}.ebonesClaimTerms li{margin-bottom:12px}.ebonesClaimTerms li:last-child{margin-bottom:0}.ebonesClaimTerms a{color:#26283d;text-decoration:underline}.prizeStore h3{margin-bottom:8px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:23px;line-height:23px}.prizeStore h2{margin:43px 0;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:28px;line-height:28px}.prizeClaimInstructions{margin-bottom:38px}.prizeClaimInstructions ul{margin-bottom:23px}.prizeClaimInstructions p{margin-bottom:12px;color:#26283d}.prizeClaimInstructions p a{color:#26283d;text-decoration:underline}.prizeClaimInstructions li{margin-bottom:12px}.prizeClaimInstructions li:last-child{margin-bottom:0}.prizeClaimInstructions li a{height:23px;padding-left:42px;background:url('https://cdn.ebaumsworld.com/img/desktop/prizeClaimFlags.png') 0 0 no-repeat;color:#26283d;font-size:23px;line-height:23px}.prizeClaimInstructions li a.canada{background-position:0 -23px}.prizeClaimInstructions li a.w8{background-position:0 -46px}.prizeClaimForm input,.prizeClaimForm textarea{width:390px;margin-bottom:25px}.prizeClaimForm textarea{margin-bottom:8px;line-height:17px}.prizeClaimForm .note{margin-bottom:28px;color:#676877;font-size:12px;line-height:12px}.prizeClaimForm .checkbox{height:24px;margin-bottom:8px;clear:both}.prizeClaimForm a{color:#26283d;text-decoration:underline;line-height:24px}.fakeCheck{width:20px;height:20px;margin-right:10px;border:2px solid #dee0e5;display:block;background-color:#fff;cursor:pointer;float:left}.fakeCheck.checked{background:#fff url('https://cdn.ebaumsworld.com/img/desktop/checkboxInner.png') 0 0 no-repeat}input,textarea{padding:12px 15px;border:2px solid #dee0e5;box-sizing:border-box;outline:0;color:#676877;font-size:14px;line-height:14px}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#b3b3bb;opacity:1}input:-moz-placeholder,textarea:-moz-placeholder{color:#b3b3bb;opacity:1}input::-moz-placeholder,textarea::-moz-placeholder{color:#b3b3bb;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#b3b3bb;opacity:1}input:focus,textarea:focus{border-color:#b3b3bb}input:focus::-webkit-input-placeholder,textarea:focus::-webkit-input-placeholder{color:#676877;opacity:1}input:focus:-moz-placeholder,textarea:focus:-moz-placeholder{color:#676877;opacity:1}input:focus::-moz-placeholder,textarea:focus::-moz-placeholder{color:#676877;opacity:1}input:focus:-ms-input-placeholder,textarea:focus:-ms-input-placeholder{color:#676877;opacity:1}input.error,textarea.error{border-color:#e60000}input:active,textarea:active{outline:0}.arrowchat_tabpopup input{padding:auto;border:auto;font-size:14px;line-height:21px}input.submit{padding:14px 25px;border:1px solid #ffd304;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-sizing:border-box;background-color:#ffd304;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px;cursor:pointer;padding:15px 15px;border-color:#ffd304;text-align:center}input.submit.disabled{background-color:#dee0e5;border:1px solid #dee0e5;cursor:default}input.submit:disabled{background-color:#dee0e5;border-color:#dee0e5;color:#676877}.shirtSize{overflow:hidden;margin-bottom:25px}.shirtSize img{float:left;width:80px;margin-right:20px;border:8px solid #dee0e5}.shirtSize select{float:left;width:276px;height:42px;padding:12px 15px;margin-top:28px;border:2px solid #dee0e5;box-sizing:border-box}.shirtSize option{padding:12px 15px;border-bottom:1px solid #676877;color:#676877;font-size:14px;line-height:14px}.shirtSize option:last-child{border-bottom:0}.shirtSize option:hover{background-color:#dee0e5}.shirtSize .customSelect{width:276px;height:42px;padding:12px 15px;margin-top:28px;border:2px solid #dee0e5;box-sizing:border-box;background:#fff url('https://cdn.ebaumsworld.com/img/desktop/selectDropSmall.png') right 0 no-repeat;color:#676877;font-size:14px;line-height:17px}.shirtSize .customSelect.customSelectOpen{background-color:#ffd304}.prizeAdmin{position:absolute;bottom:8px;left:12px;color:#fff;font-size:12px;line-height:12px}.prizeAdmin a{color:#ffd304;font-size:12px;line-height:12px}.prizeDetailContent .description{color:#26283d;font-size:23px;line-height:27px}.prizeDetailThumb{max-width:100%;text-align:center;margin:auto}.prizeDetailThumb img{max-width:100%;box-sizing:border-box;border:16px solid #dee0e5}.marginB23{margin-bottom:23px}.browseBtn{float:left;padding:15px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-sizing:border-box;text-transform:uppercase;display:block;background-color:#26283d;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#fff;font-size:17px;line-height:17px;text-align:center;cursor:pointer}.browseBtnHolder{margin-bottom:8px;position:relative}.browseBtnHolder object{cursor:pointer}.browseBtnHolder .swfupload{position:absolute;top:0;left:0}.editProfileForm h2{margin-bottom:20px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:23px;line-height:23px}.editProfileForm .currentAvatarContainer{margin-right:12px}.editProfileForm .currentAvatar{width:108px;height:108px}.editProfileForm .uploaderError{margin-bottom:5px;display:none;color:#e60000;clear:left}.editProfileForm .uploader,.editProfileForm .uploadFileList{float:left;clear:left}.editProfileForm li{float:left;margin-right:25px}.editProfileForm li.checkbox{height:24px;margin-bottom:10px;float:none;color:#26283d;font-size:14px;line-height:24px}.editProfileForm .label{margin-bottom:7px;display:block;color:#b3b3bb;font-size:12px;line-height:12px}.editProfileForm input{width:250px}.editProfileForm .aboutMeInput{width:526px;height:150px}.editProfileForm .blocklistSection{margin-bottom:35px}.editProfileForm .status{color:#26283d;font-size:14px;line-height:18px}.editProfileForm .blockedUserList{clear:both}.pagesContainer{margin-bottom:35px}.pagesContainer h1{color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:50px;line-height:60px}.pagesContainer h2{margin-bottom:5px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:24px;line-height:30px}.pagesContainer a{color:#26283d;text-decoration:underline}.uploadMediaContainer{min-height:900px}.uploadMediaContainer input,.uploadMediaContainer textarea{width:100%;font-size:20px;line-height:22px}.uploadMediaContainer input.jokeInput,.uploadMediaContainer textarea.jokeInput{height:300px}.uploadMediaContainer textarea{line-height:24px}.uploadMediaContainer input[type=text]{height:55px}.uploadLeftCol{float:left;width:50%;margin-right:3%;overflow:hidden;display:block}.uploadRightCol{float:right;width:47%;overflow:hidden;display:block}.uploadRightCol a{text-decoration:underline}.hasErrors input,.hasErrors textarea{border-color:#e60000}.hasErrors input::-webkit-input-placeholder,.hasErrors textarea::-webkit-input-placeholder{color:#b3b3bb;opacity:1}.hasErrors input:-moz-placeholder,.hasErrors textarea:-moz-placeholder{color:#b3b3bb;opacity:1}.hasErrors input::-moz-placeholder,.hasErrors textarea::-moz-placeholder{color:#b3b3bb;opacity:1}.hasErrors input:-ms-input-placeholder,.hasErrors textarea:-ms-input-placeholder{color:#b3b3bb;opacity:1}.fakeTags{width:100%;min-height:55px;padding:12px 15px;padding-bottom:0;border:2px solid #dee0e5;overflow:hidden;display:none;box-sizing:border-box;background-color:#fff}.fakeTags .tag{float:left;height:27px;margin-bottom:12px;margin-right:8px;padding:8px 10px;padding-right:32px;position:relative;display:inline-block;box-sizing:border-box;background:url('https://cdn.ebaumsworld.com/img/desktop/xSmall.png') right 10px center no-repeat;background-color:#dee0e5;color:#676877;font-size:18px;line-height:15px;text-transform:uppercase;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.fakeTags .tag:last-child{margin-right:0}.fakeTags .deleteArea{width:24px;height:27px;display:block;position:absolute;right:0;top:0;cursor:pointer}.selectMediaSelect{width:100%;float:left}.selectMediaSelect li{float:left;width:202px;height:202px;margin-right:20px;margin-bottom:20px;padding-top:40px;background-color:#fff;border:1px solid #676877;display:block;text-align:center;box-sizing:border-box;cursor:pointer}.selectMediaSelect li span.icon{width:80px;height:80px;margin-bottom:10px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/uploadMediaIcons.png') 0 0 no-repeat}.selectMediaSelect li.video .icon{background-position:0 calc(0px)}.selectMediaSelect li.gallery .icon{background-position:0 calc(-160px)}.selectMediaSelect li.picture .icon{background-position:0 calc(-320px)}.selectMediaSelect li.game .icon{background:url('/img/desktop/uploadGameIcon.png') 0 0 no-repeat}.selectMediaSelect li.soundboard .icon{background-position:0 calc(-640px)}.selectMediaSelect li.audio .icon{background-position:0 calc(-800px)}.selectMediaSelect li.joke .icon{background-position:0 calc(-960px)}.selectMediaSelect li.blog .icon{background-position:0 calc(-1120px)}.selectMediaSelect li.flash .icon{background-position:0 calc(-1280px)}.selectMediaSelect li:nth-child(5){margin-right:0}.selectMediaSelect li span.iconText{display:block;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:24px;line-height:24px;text-transform:uppercase}.selectMediaSelect li:hover{background-color:#ffd304;border-color:#ffd304}.selectMediaSelect li:hover.video .icon{background-position:0 calc(-80px)}.selectMediaSelect li:hover.gallery .icon{background-position:0 calc(-240px)}.selectMediaSelect li:hover.picture .icon{background-position:0 calc(-400px)}.selectMediaSelect li:hover.game .icon{background-position:0 calc(-80px)}.selectMediaSelect li:hover.soundboard .icon{background-position:0 calc(-720px)}.selectMediaSelect li:hover.audio .icon{background-position:0 calc(-880px)}.selectMediaSelect li:hover.joke .icon{background-position:0 calc(-1040px)}.selectMediaSelect li:hover.blog .icon{background-position:0 calc(-1200px)}.selectMediaSelect li:hover.flash .icon{background-position:0 calc(-1360px)}@media(max-width:1119px){.selectMediaSelect li{width:182px;height:182px}}.uploadBanana{float:right;width:196px;height:268px;margin-bottom:150px;margin-top:-153px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/bananaLeft.png') 0 0 no-repeat}.mediaEditBack{width:52px;height:28px;margin-right:24px;padding-top:26px;padding-right:20px;border-right:1px solid #676877;box-sizing:border-box;background:url('https://cdn.ebaumsworld.com/img/desktop/backArrow.png') 0 0 no-repeat;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#b3b3bb;font-size:14px;line-height:14px;text-transform:uppercase}.mediaEditBack:hover{color:#26283d}.userEditMediaForm{padding:0 10px}.userEditMediaForm h2{margin-bottom:17px;font-size:20px;font-weight:400;line-height:20px}.userEditMediaForm .thumbSelect{margin-right:10px;float:left}.userEditMediaForm .thumbSelect a{width:162px;height:112px;display:block}.userEditMediaForm .uploadedFile{color:#676877;font-size:14px;line-height:14px;cursor:default}.userEditMediaForm .reorderHandle{float:right;width:86px;height:112px;cursor:move;background:url('https://cdn.ebaumsworld.com/img/desktop/galleryReorder.png') center center no-repeat;cursor:pointer}.userEditMediaForm .ui-sortable-helper{background-color:#dee0e5}.userEditMediaForm .sortableLi{overflow:hidden;margin-bottom:12px}.userEditMediaForm .editGalleryThumb{width:160px;border:1px solid #b3b3bb}.userEditMediaForm .editGalleryThumb.gallerySelectedThumb{width:150px;height:100px;display:block;border:5px solid #ffd304}.userEditMediaForm .imageCaption .caption{float:right;width:100%;height:110px}.userEditMediaForm .statTitle h1{margin-bottom:0}.uploadThumbArea{float:left;margin-bottom:17px}.uploadThumbArea .yellowBtn{float:left;width:auto;padding:14px 18px}.uploadThumbArea .browseBtnHolder{margin-top:12px;margin-bottom:0;overflow:hidden}.uploadThumbArea .uploadProgress{padding-top:5px}.uploadThumbArea .uploadProgress img{float:left;width:32px;height:32px;margin-right:12px}.uploadThumbArea .uploadProgress .progressText{float:left;color:#26283d;font-size:17px;line-height:32px}.uploadThumbArea .error{color:#ed4744}.uploadThumbArea .error .errorMessage{color:#26283d}.uploadThumbArea.fixedArea{max-width:375px}.uploadThumbArea .thumbBrowse{margin-right:12px}.uploadThumbArea .uploadComplete{color:#26283d;font-size:17px;line-height:22px}.uploadThumbArea .thumbUploadInfo{float:left}.naturalThumbWrapper{padding-right:40px;border-right:1px dashed #b3b3bb;margin-right:40px}.thumbContainer{padding:12px;overflow:hidden;border:1px solid #b3b3bb;background-color:#fff}.thumbContainer img.thumbPreview{display:block}.thumbContainer.naturalThumbContainer img.naturalThumbPreview{width:488px}.thumbContainer.fixedThumbContainer{width:320px;margin-bottom:25px}.thumbContainer.fixedThumbContainer img.fixedThumbPreview{width:320px}.goldpot{display:none}.userMediaEditFields{clear:both}.userMediaEditFields .title,.userMediaEditFields .description{width:100%;padding:18px;font-size:20px;line-height:20px}.userMediaEditFields .description{height:226px;line-height:26px}.userMediaEditFields .statBoxWrapper{float:right;width:545px;margin-bottom:35px}.userMediaEditFields .statBoxWrapper table{width:545px;background-color:#fff;border:1px solid #b3b3bb;border-collapse:collapse}.userMediaEditFields .statBoxWrapper .viewStats{margin-bottom:20px}.userMediaEditFields .statBoxWrapper tbody{width:100%}.userMediaEditFields .statBoxWrapper tr{border-left:1px solid #b3b3bb;border-right:1px solid #b3b3bb}.userMediaEditFields .statBoxWrapper tr.totals,.userMediaEditFields .statBoxWrapper tr.week{background-color:#dee0e5}.userMediaEditFields .statBoxWrapper th{padding:14px 25px;background-color:#b3b3bb;border:1px solid #b3b3bb;border-right:1px solid #fff;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px}.userMediaEditFields .statBoxWrapper th:last-child{border-right:1px solid #b3b3bb}.userMediaEditFields .statBoxWrapper th.views{text-align:left}.userMediaEditFields .statBoxWrapper td{padding:14px 0;color:#26283d;font-size:14px;line-height:14px;text-align:center}.userMediaEditFields .statBoxWrapper td.time{text-align:left;padding-left:25px}.userMediaEditFields .statBoxWrapper .enagementStats tr{border:1px solid #dee0e5}.userMediaEditFields .statBoxWrapper .enagementStats td{height:34px;padding-left:56px;padding-bottom:12px;box-sizing:border-box;border-bottom:1px solid #dee0e5;background:url('https://cdn.ebaumsworld.com/img/desktop/userMediaStatIcons.png') 24px 0 no-repeat;line-height:9px;text-align:left}.userMediaEditFields .statBoxWrapper .enagementStats td.numRating{background-position:24px -34px}.userMediaEditFields .statBoxWrapper .enagementStats td.numComment{background-position:24px -68px}.userMediaEditFields .statBoxWrapper .enagementStats td.numFavorite{background-position:24px -102px}.userMediaEditFields .titleWrapper,.userMediaEditFields .descriptionWrapper{float:left;width:515px}@media(max-width:1120px){.userMediaEditFields .titleWrapper,.userMediaEditFields .descriptionWrapper{width:405px}}.userMediaEditFields .titleWrapper{margin-top:37px;margin-bottom:24px}.userMediaEditFields>ul{overflow:hidden}.userMediaEditFields .editGalleryItem li{overflow:hidden}.userMediaEditFields .editInfo{overflow:hidden;margin-bottom:50px}.userMediaEditFields .modifyGalleryInstructions{clear:both;margin-bottom:16px}.uploadForm .uploadBox{float:left;margin-top:10px}.uploadForm #submitWrapper{padding-bottom:35px;border-bottom:1px solid #b3b3bb;margin-bottom:35px}.uploadForm #matureWrapper{margin-bottom:100px}.uploadForm .browseBtnHolder{width:170px;position:relative}.uploadForm .browseBtnViewable{width:170px;height:44px;display:block;background-color:#26283d;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;color:#fff;font-size:17px;line-height:47px;text-align:center;text-transform:uppercase;cursor:pointer}.uploadForm .dragInstructions{cursor:default}.uploadForm .browseBtn{width:100%;height:44px;position:absolute;top:0;left:0;opacity:0;padding:0}.uploadForm .clearBtn{height:19px;padding-left:25px;position:absolute;bottom:0;right:0;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/trashcan.png') 0 0 no-repeat;color:#676877;font-size:14px;line-height:19px;cursor:pointer}.uploadForm .clearBtn:hover{text-decoration:underline}.uploadForm .addMoreBtn{height:19px;margin-top:20px;color:#676877;font-size:14px;line-height:19px;cursor:pointer}.uploadForm .addMoreBtn:hover{text-decoration:underline}.uploadForm .error{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#e60000;font-size:14px;line-height:17px}.uploadForm .fileWrapper{width:100%;min-height:335px;padding:16px;border:1px solid #b3b3bb;margin-bottom:30px;display:block;box-sizing:border-box;background-color:#dee0e5}.uploadForm .fileWrapper.complete{border:2px solid #ffd304;background-color:#fff}.uploadForm .fileWrapper.complete .fileBox{border:0}.uploadForm .waitForUpload{display:none}.uploadForm .fileBox{width:100%;min-height:303px;padding-left:60px;padding-top:90px;box-sizing:border-box;border:1px dashed #b3b3bb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;position:relative}.uploadForm .fileBox.dragOver{background-color:#b3b3bb;border-color:#777c8d}.uploadForm .uploadNotes{width:355px;position:absolute;bottom:6px;left:100px;color:#676877;font-size:12px;line-height:14px}.uploadForm .label{margin-bottom:7px;display:block;color:#b3b3bb;font-size:12px;line-height:15px}.uploadForm.blogJoke .uploadRightCol{width:84%;margin-right:8%}.uploadForm.blogJoke #descriptionWrapper{float:left;width:50%;height:135px;margin-right:3%}.uploadForm.blogJoke #tagWrapper{float:left;width:49%}.uploadForm.blogJoke .description{height:135px}.uploadForm.blogJoke .premiumOption{padding:0 20px}.uploadForm.blogJoke .noMature{line-height:33px}.uploadForm.blogJoke select{width:100%}.uploadForm.blogJoke .customSelect{width:100%}.uploadForm.blogJoke #tagWrapper{margin-bottom:27px}.uploadForm.blogJoke .premiumOptions,.uploadForm.blogJoke .girlsCheck,.uploadForm.blogJoke #girlCheck{clear:both}.uploadForm.blogJoke #categoryWrapper{float:right;width:49%}.uploadForm.blogJoke #categoryWrapper .uploadCategorySelect li{width:50%}.uploadForm select{box-sizing:border-box;width:526px;height:55px;padding:12px 15px;border:2px solid #dee0e5}.uploadForm option{width:100%;height:50px;padding:12px 15px;border-bottom:1px solid #676877;box-sizing:border-box;color:#676877;font-size:20px;line-height:22px}.uploadForm option:last-child{border-bottom:0}.uploadForm option:hover{background-color:#dee0e5}.uploadForm .customSelect{width:526px;height:50px;padding:12px 15px;padding-right:20px;border:2px solid #dee0e5;box-sizing:border-box;background:#fff url('https://cdn.ebaumsworld.com/img/desktop/listFilterArrow.png') right 13px center no-repeat;color:#b3b3bb;font-size:20px;line-height:22px;cursor:pointer}.uploadForm .customSelect.categorySelect.categoryChosen::-webkit-input-placeholder{color:#676877;opacity:1}.uploadForm .customSelect.categorySelect.categoryChosen:-moz-placeholder{color:#676877;opacity:1}.uploadForm .customSelect.categorySelect.categoryChosen::-moz-placeholder{color:#676877;opacity:1}.uploadForm .customSelect.categorySelect.categoryChosen:-ms-input-placeholder{color:#676877;opacity:1}.uploadForm .customSelect.customSelectOpen{background-color:#ffd304;color:#676877;font-size:20px;line-height:22px}.uploadForm .customSelect.customSelectFocus{color:#676877;font-size:20px;line-height:22px}.uploadForm li{margin-bottom:12px}.uploadForm h2{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:28px;line-height:30px}.uploadForm .checkText{color:#26283d;font-size:14px;line-height:24px}.uploadForm .noMature{padding-left:36px;background:url('https://cdn.ebaumsworld.com/img/desktop/noMatureIcon.png') 0 2px no-repeat;line-height:17px;display:block}.uploadForm .uploadTypeIcon{float:left;width:80px;height:80px;margin-right:20px;background:url('https://cdn.ebaumsworld.com/img/desktop/uploadMediaIcons.png') 0 0 no-repeat;display:block}.uploadForm .uploadTypeIcon.video{background-position:0 calc(-80px)}.uploadForm .uploadTypeIcon.gallery{background-position:0 calc(-240px)}.uploadForm .uploadTypeIcon.picture{background-position:0 calc(-400px)}.uploadForm .uploadTypeIcon.game{background-position:0 calc(-560px)}.uploadForm .uploadTypeIcon.soundboard{background-position:0 calc(-720px)}.uploadForm .uploadTypeIcon.audio{background-position:0 calc(-880px)}.uploadForm .uploadTypeIcon.joke{background-position:0 calc(-1040px)}.uploadForm .uploadTypeIcon.blog{background-position:0 calc(-1200px)}.uploadForm .uploadTypeIcon.flash{background-position:0 calc(-1360px)}.uploadForm .uploadTypeIcon.complete{background-position:0 calc(-1440px)}.uploadForm .fileList{width:300px;overflow:hidden}.uploadForm .fileCount{color:#676877;font-size:14px}.uploadForm .filename{color:#676877;font-size:14px}.uploadForm .uploadingList{display:block;overflow:hidden}.uploadForm .uploadingList li{margin-bottom:0}.uploadForm .outer_progress{width:300px;height:20px;margin:3px 10px 0 0;margin-bottom:12px;background-color:#b3b3bb;color:#fff;text-align:left}.uploadForm .galleryProgress{display:block}.uploadForm .progress{height:20px;background:none repeat scroll 0 0 #ffd304;text-align:left}.uploadForm .progress_text{margin-bottom:7px;margin-top:14px;color:#676877;font-size:22px;line-height:22px}.uploadForm .filename{width:300px;margin-right:10px;font-size:14px}@media(max-width:1119px){.uploadForm .fileBox{padding-left:30px}.uploadForm .uploadNotes{left:70px}}.categoryDropDown{width:100%;min-height:260px;padding:0 17px;overflow:hidden;display:block;background-color:#26283d;box-sizing:border-box;display:none}.categorySelectFake{width:100%;height:57px;color:#ffd304;font-size:20px;line-height:57px;cursor:pointer}.categorySelectFake .dropdown{float:right;width:18px;height:12px;margin-top:24px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/formDropUpArrow.png') 0 0 no-repeat}.uploadCategorySelect{width:100%;padding-top:28px;display:block;border-top:1px solid #676877}.uploadCategorySelect .fakeCheck{margin-top:7px}.uploadCategorySelect li{width:156px;height:38px;float:left;color:#fff;font-size:21px;line-height:50px;text-transform:uppercase}.uploadCategorySelect li .icon{float:left;height:38px;padding-left:43px;background:url('https://cdn.ebaumsworld.com/img/desktop/categoryIconsBig.png') 0 0 no-repeat;display:block}.uploadCategorySelect li .icon.checked{color:#ffd304}.uploadCategorySelect li:nth-child(3n){width:148px}.uploadCategorySelect li.creepy{width:188px}.uploadCategorySelect li.wtf .icon{background-position:0 calc(-38px)}.uploadCategorySelect li.eww .icon{background-position:0 calc(-76px)}.uploadCategorySelect li.facepalm{width:188px}.uploadCategorySelect li.facepalm .icon{background-position:0 calc(-114px)}.uploadCategorySelect li.ouch .icon{background-position:0 calc(-152px)}.uploadCategorySelect li.funny .icon{background-position:0 calc(-190px)}.uploadCategorySelect li.feels{width:188px}.uploadCategorySelect li.feels .icon{background-position:0 calc(-228px)}.uploadCategorySelect li.ftw .icon{background-position:0 calc(-266px)}.uploadCategorySelect li.wow .icon{background-position:0 calc(-304px)}.uploadMediaSelect{overflow:hidden;width:100%;margin-bottom:50px}.uploadMediaSelect li{float:left;width:114px;height:115px;padding:13px 11px;margin-right:11px;border:1px solid #b3b3bb;box-sizing:border-box;display:block;background-color:#fff;text-align:center}.uploadMediaSelect li:hover{cursor:pointer}.uploadMediaSelect li:hover,.uploadMediaSelect li.selected,.uploadMediaSelect li.disabled{background-color:#ffd304;border-color:#ffd304}.uploadMediaSelect li:hover.video .icon,.uploadMediaSelect li.selected.video .icon,.uploadMediaSelect li.disabled.video .icon{background-position:0 calc(-60px)}.uploadMediaSelect li:hover.gallery .icon,.uploadMediaSelect li.selected.gallery .icon,.uploadMediaSelect li.disabled.gallery .icon{background-position:0 calc(-180px)}.uploadMediaSelect li:hover.picture .icon,.uploadMediaSelect li.selected.picture .icon,.uploadMediaSelect li.disabled.picture .icon{background-position:0 calc(-300px)}.uploadMediaSelect li:hover.game .icon,.uploadMediaSelect li.selected.game .icon,.uploadMediaSelect li.disabled.game .icon{background-position:0 calc(-420px)}.uploadMediaSelect li:hover.soundboard .icon,.uploadMediaSelect li.selected.soundboard .icon,.uploadMediaSelect li.disabled.soundboard .icon{background-position:0 calc(-540px)}.uploadMediaSelect li:hover.audio .icon,.uploadMediaSelect li.selected.audio .icon,.uploadMediaSelect li.disabled.audio .icon{background-position:0 calc(-660px)}.uploadMediaSelect li:hover.joke .icon,.uploadMediaSelect li.selected.joke .icon,.uploadMediaSelect li.disabled.joke .icon{background-position:0 calc(-780px)}.uploadMediaSelect li:hover.blog .icon,.uploadMediaSelect li.selected.blog .icon,.uploadMediaSelect li.disabled.blog .icon{background-position:0 calc(-900px)}.uploadMediaSelect li:hover.flash .icon,.uploadMediaSelect li.selected.flash .icon,.uploadMediaSelect li.disabled.flash .icon{background-position:0 calc(-1020px)}.uploadMediaSelect li:hover.selected,.uploadMediaSelect li.selected.selected,.uploadMediaSelect li.disabled.selected{cursor:default}.uploadMediaSelect li:hover.disabled,.uploadMediaSelect li.selected.disabled,.uploadMediaSelect li.disabled.disabled{background-color:#f4f4f4;border-color:#b3b3bb;cursor:default}.uploadMediaSelect li:last-child{margin-right:0}.uploadMediaSelect li.gallery .icon{background-position:0 calc(-120px)}.uploadMediaSelect li.gallery.selected .icon{background-position:0 calc(-180px)}.uploadMediaSelect li.picture .icon{background-position:0 calc(-240px)}.uploadMediaSelect li.picture.selected .icon{background-position:0 calc(-300px)}.uploadMediaSelect li.game.selected .icon{background-position:0 calc(-420px)}.uploadMediaSelect li.game .icon{background-position:0 calc(-360px)}.uploadMediaSelect li.soundboard.selected .icon{background-position:0 calc(-540px)}.uploadMediaSelect li.soundboard .icon{background-position:0 calc(-480px)}.uploadMediaSelect li.audio.selected .icon{background-position:0 calc(-660px)}.uploadMediaSelect li.audio .icon{background-position:0 calc(-600px)}.uploadMediaSelect li.joke.selected .icon{background-position:0 calc(-780px)}.uploadMediaSelect li.joke .icon{background-position:0 calc(-720px)}.uploadMediaSelect li.blog.selected .icon{background-position:0 calc(-900px)}.uploadMediaSelect li.blog .icon{background-position:0 calc(-840px)}.uploadMediaSelect li.flash.selected .icon{background-position:0 calc(-1020px)}.uploadMediaSelect li.flash .icon{background-position:0 calc(-960px)}.uploadMediaSelect li .icon{width:60px;height:60px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/uploadMediaIcons.png') 0 0 no-repeat;background-size:60px calc(1140px)}.uploadMediaSelect li .iconText{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px;text-transform:uppercase}@media(max-width:1119px){.uploadMediaSelect li{width:103px;margin-right:7px}.uploadMediaSelect li.soundboard{padding:13px 5.5px}}#blogBody{border:1px solid #b3b3bb;visibility:visible!important}.articleBody{padding:0 0 12px}.articleBody>p{padding:0 10px;font-size:20px}.articleBody>p:first-child{padding:0}.articleBody h2{padding:0 40px}.articleBody h2.noStyle{padding:auto}.articleBody hr{margin:0 40px}.articleBody hr.noStyle{margin:auto}.articleBody>p.noStyle{padding:0}.articleBody ol{margin-left:55px}.articleBody .fb_iframe_widget{width:500px;margin:auto;display:block}.blogBody.fr-view blockquote,.fullDescription .fr-view blockquote{color:#26283d;border-left:4px solid #bfc2cd;font-style:italic;margin-left:60px;padding-left:10px}.blogBody.fr-view h2,.fullDescription .fr-view h2,.blogBody.fr-view h3,.fullDescription .fr-view h3,.blogBody.fr-view h4,.fullDescription .fr-view h4,.blogBody.fr-view h5,.fullDescription .fr-view h5{color:#26283d}.blogBody.fr-view a,.fullDescription .fr-view a{text-decoration:underline}.blogBody.fr-view iframe.instagram-media,.fullDescription .fr-view iframe.instagram-media{margin:auto!important}.blogBody img,.fr-view img{max-width:100%;height:auto!important;overflow:hidden}.blogBody ol,.fr-view ol{margin-left:15px}.blogBody ul,.fr-view ul{list-style:disc;margin-left:15px}#cke_blogBody{margin-bottom:12px}.toolContainer{float:left;width:69%;display:block}#memeTool{margin:auto}.toolInstructions{float:left;margin-bottom:35px}.toolContainer{margin-bottom:150px}.toolTools{float:right;width:300px;padding-left:20px;margin-left:20px;margin-bottom:150px;border-left:1px solid #dee0e5}.toolTools .profileTabs{height:auto;margin-bottom:20px;overflow:hidden}.toolTools .profileTabs li{margin-right:9px}.toolTools .profileTabs li:last-child{margin-right:0}.toolTools .profileTabs a{padding:20px 53px}.toolTools input.submit{width:100%}.toolOptions{width:100%;padding:18px 10px;margin-bottom:20px;background-color:#dee0e5;box-sizing:border-box}.toolOptions .optionHeader{margin-bottom:10px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:20px}.toolOptions .captionInput{width:100%;height:120px;padding:12px;margin-bottom:10px;border:1px solid #b3b3bb;box-sizing:border-box;line-height:17px}.toolOptions .fontSelectWrapper{position:relative}.toolOptions .fontSelect{width:100%;height:36px;margin-bottom:10px;box-sizing:border-box;padding:10px 20px;border:1px solid #b3b3bb;background:#fff url('https://cdn.ebaumsworld.com/img/desktop/listFilterArrow.png') right 13px center no-repeat;font-size:12px;line-height:12px;cursor:pointer}.toolOptions .fontSelect option{padding:10px 20px}.toolOptions .optionButtons{display:block;margin-bottom:35px}.toolOptions .optionBtn{float:left;width:86px;height:52px;box-sizing:border-box;margin-right:11px;margin-bottom:10px;padding-top:10px;background-color:#fff;border:1px solid #b3b3bb;cursor:pointer;position:relative}.toolOptions .optionBtn.strokeBtn{margin-right:0}.toolOptions .optionBtn:hover{background-color:#f4f4f4}.toolOptions .optionPreview{width:30px;height:30px;display:block;margin:auto;box-sizing:border-box}.toolOptions .alignPreview{background:url('https://cdn.ebaumsworld.com/img/desktop/toolAlignIcons.png') 0 0 no-repeat}.toolOptions .alignPreview.alignPreviewLeft{background-position:0 calc(0px)}.toolOptions .alignPreview.alignPreviewCenter{background-position:0 calc(-90px)}.toolOptions .alignPreview.alignPreviewRight{background-position:0 calc(-180px)}.toolOptions .colorPreview{border:1px solid #b3b3bb;background-color:#fff}.toolOptions .strokePreview{border:3px solid #000;background-color:#fff}.toolOptions .optionPopup{display:none;width:191px;height:86px;position:absolute;top:-86px;left:-53px;box-sizing:border-box}.toolOptions .optionBox{width:100%;height:76px;padding:8px;display:block;box-sizing:border-box;background-color:#26283d}.toolOptions .optionBox.alignBox{padding-top:24px}.toolOptions .optionBoxArrow{width:0;height:0;margin:auto;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #26283d}.toolOptions .optionLabel{clear:both;display:block;overflow:hidden}.toolOptions .optionLabel li{float:left;width:31%;margin-right:10px;color:#b3b3bb;font-size:12px;line-height:12px}.toolOptions .optionLabel li:last-child{width:30%;margin-right:0}.toolOptions .optionAlign{float:left;width:30px;height:30px;padding:0 8px;margin-right:18px;display:block;background:url('https://cdn.ebaumsworld.com/img/desktop/toolAlignIcons.png') 8px calc(-30px) no-repeat}.toolOptions .optionAlign:hover,.toolOptions .optionAlign.selected{background-position:8px calc(-60px)}.toolOptions .optionAlign.optionAlignCenter{background-position:8px calc(-120px)}.toolOptions .optionAlign.optionAlignCenter:hover,.toolOptions .optionAlign.optionAlignCenter.selected{background-position:8px calc(-150px)}.toolOptions .optionAlign.optionAlignRight{background-position:8px calc(-210px)}.toolOptions .optionAlign.optionAlignRight:hover,.toolOptions .optionAlign.optionAlignRight.selected{background-position:8px calc(-240px)}.toolOptions .optionAlign:last-child{margin-right:0}.toolOptions .optionColor,.toolOptions .optionPaint{float:left;width:20px;height:20px;margin-right:10px;margin-bottom:10px;border:1px solid #26283d;display:block;box-sizing:border-box}.toolOptions .optionColor:nth-child(6n),.toolOptions .optionPaint:nth-child(6n){margin-right:0}.toolOptions .optionColor.selected,.toolOptions .optionPaint.selected,.toolOptions .optionColor:hover,.toolOptions .optionPaint:hover{border-color:#fff}.toolOptions .optionColor.optionColorWhite,.toolOptions .optionPaint.optionColorWhite{background-color:#fff}.toolOptions .optionColor.optionColorBlack,.toolOptions .optionPaint.optionColorBlack{background-color:#000}.toolOptions .optionColor.optionColorGrey,.toolOptions .optionPaint.optionColorGrey{background-color:#555}.toolOptions .optionColor.optionColorRed,.toolOptions .optionPaint.optionColorRed{background-color:#f00}.toolOptions .optionColor.optionColorYellow,.toolOptions .optionPaint.optionColorYellow{background-color:#fcee21}.toolOptions .optionColor.optionColorPurple,.toolOptions .optionPaint.optionColorPurple{background-color:#9032d6}.toolOptions .optionColor.optionColorGreen,.toolOptions .optionPaint.optionColorGreen{background-color:#1be21b}.toolOptions .optionColor.optionColorOrange,.toolOptions .optionPaint.optionColorOrange{background-color:#ff8700}.toolOptions .optionColor.optionColorBlue,.toolOptions .optionPaint.optionColorBlue{background-color:#0dc9ff}.toolOptions .optionColor.optionColorPink,.toolOptions .optionPaint.optionColorPink{background-color:#ff009b}.toolOptions .optionColor.optionColorTeal,.toolOptions .optionPaint.optionColorTeal{background-color:#0ff}.toolOptions .optionColor.optionColorToupe,.toolOptions .optionPaint.optionColorToupe{background-color:#998675}.toolOptions .optionPaint{width:33px;height:33px;margin-right:15px;border:0;cursor:pointer}.toolOptions .optionPaint.selected{border:2px solid #fff}.toolOptions .optionPaint.selected:hover{border:2px solid #fff;cursor:default}.toolOptions .optionPaint:hover{border:2px solid #676877}.toolOptions .optionStroke{float:left;width:20px;height:20px;margin-right:10px;margin-bottom:10px;border:3px solid #26283d;display:block;box-sizing:border-box}.toolOptions .optionStroke:nth-child(6n){margin-right:0}.toolOptions .optionStroke.selected,.toolOptions .optionStroke:hover{outline:1px solid #fff;border-width:2px}.toolOptions .optionStroke.selected.optionStrokeWhite,.toolOptions .optionStroke:hover.optionStrokeWhite{outline-color:#b3b3bb}.toolOptions .optionStroke.optionStrokeWhite{border-color:#fff}.toolOptions .optionStroke.optionStrokeBlack{border-color:#000}.toolOptions .optionStroke.optionStrokeGrey{border-color:#555}.toolOptions .optionStroke.optionStrokeRed{border-color:#f00}.toolOptions .optionStroke.optionStrokeYellow{border-color:#fcee21}.toolOptions .optionStroke.optionStrokePurple{border-color:#9032d6}.toolOptions .optionStroke.optionStrokeGreen{border-color:#1be21b}.toolOptions .optionStroke.optionStrokeOrange{border-color:#ff8700}.toolOptions .optionStroke.optionStrokeBlue{border-color:#0dc9ff}.toolOptions .optionStroke.optionStrokePink{border-color:#ff009b}.toolOptions .optionStroke.optionStrokeTeal{border-color:#0ff}.toolOptions .optionStroke.optionStrokeToupe{border-color:#998675}.toolOptions .brushSelection{height:62px;margin-bottom:50px}.toolOptions .optionBrush{float:left;margin-right:8px;display:block;background-color:#b3b3bb;border:2px solid #b3b3bb;border-radius:50%;cursor:pointer}.toolOptions .optionBrush:last-child{margin-right:0}.toolOptions .optionBrush.selected{border-color:#fff;cursor:pointer}.toolOptions .optionBrush:hover{border-color:#fff;background-color:#ffd304}.toolOptions .optionBrush:hover.selected{border-color:#fff;background-color:#b3b3bb}.toolOptions .optionBrush.optionBrush4{width:8px;height:8px;margin-top:23px}.toolOptions .optionBrush.optionBrush8{width:12px;height:12px;margin-top:20.5px}.toolOptions .optionBrush.optionBrush16{width:20px;height:20px;margin-top:17px}.toolOptions .optionBrush.optionBrush24{width:28px;height:28px;margin-top:13px}.toolOptions .optionBrush.optionBrush32{width:36px;height:36px;margin-top:9px}.toolOptions .optionBrush.optionBrush48{width:42px;height:42px;margin-top:6px}.toolOptions .optionBrush.optionBrush58{width:54px;height:54px;background-position:-105px 0}.toolOptions .optionBrush.optionBrush58:hover{background-position:-105px -52px;cursor:pointer}.toolOptions .optionBrush.optionBrush58.selected{background-position:-105px -104px}.toolOptions .drawToolSelection{overflow:hidden;margin-bottom:50px}.toolOptions .drawToolSelection div{float:left;width:135px;height:135px;margin-right:10px;display:block;cursor:pointer;background:#b3b3bb url('https://cdn.ebaumsworld.com/img/desktop/toolDrawIcons.png') center calc(-135px) no-repeat}.toolOptions .drawToolSelection div:last-child{margin-right:0}.toolOptions .drawToolSelection div.eraserTool{background-position:0 calc(-405px)}.toolOptions .drawToolSelection div.selected{cursor:default;background-position:0 calc(0px);background-color:#ffd304}.toolOptions .drawToolSelection div.selected.eraserTool{background-position:0 calc(-270px)}.toolOptions .drawToolSelection div:hover{background-color:#ffd304}.toolOptions .colorSelectionArea{clear:both;overflow:hidden}.toolRemixPreview{float:left;width:26%;margin-right:3%}.contestUploadDetails{float:left;margin-right:0!important}.contestUploadDetails.uploadRightCol{width:71%!important}.forgotLoginForm li.input{margin-bottom:10px}.forgotLoginForm select{width:270px;height:42px;padding:12px 15px;box-sizing:border-box;color:#b3b3bb;font-size:14px;line-height:42px}.forgotLoginForm input.forgotLoginBtn{padding:14px 25px;border:1px solid #ffd304;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-sizing:border-box;background-color:#ffd304;text-align:center;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px;cursor:pointer}.forgotLoginForm input.forgotLoginBtn.disabled{background-color:#dee0e5;border:1px solid #dee0e5;cursor:default}.forgotLoginForm .customSelect{width:270px;height:42px;padding:12px 15px;padding-right:20px;border:2px solid #dee0e5;box-sizing:border-box;background:#fff url('https://cdn.ebaumsworld.com/img/desktop/listFilterArrow.png') right 13px center no-repeat;color:#b3b3bb;font-size:14px;line-height:22px;cursor:pointer}.forgotLoginForm .customSelect.categorySelect.categoryChosen::-webkit-input-placeholder{color:#676877;opacity:1}.forgotLoginForm .customSelect.categorySelect.categoryChosen:-moz-placeholder{color:#676877;opacity:1}.forgotLoginForm .customSelect.categorySelect.categoryChosen::-moz-placeholder{color:#676877;opacity:1}.forgotLoginForm .customSelect.categorySelect.categoryChosen:-ms-input-placeholder{color:#676877;opacity:1}.forgotLoginForm .customSelect.customSelectOpen{background-color:#ffd304;color:#676877;font-size:14px;line-height:22px}.forgotLoginForm .customSelect.customSelectFocus{color:#676877;font-size:14px;line-height:22px}.modalContentWrapper{padding:35px 55px;overflow:hidden;color:#26283d;font-size:17px;font-weight:300}.modalContentWrapper h2{margin-bottom:10px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:23px;line-height:23px}.modalContentWrapper p,.modalContentWrapper table{margin-bottom:9px;color:#26283d}.modalContentWrapper h3{margin-bottom:6px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:17px;line-height:17px}.modalContentWrapper table{width:100%;border:1px solid #dee0e5}.modalContentWrapper tr,.modalContentWrapper td{border:1px solid #dee0e5}.modalContentWrapper td{height:24px;padding:8px 20px;box-sizing:border-box;color:#26283d;font-size:17px;line-height:24px}.modalContentWrapper .notes{color:#26283d;font-size:14px;line-height:17px}.modalContentWrapper.erepEboneExplain a{color:#26283d;font-size:17px;line-height:21px;text-decoration:underline}.modalContentWrapper.erepEboneExplain .erepUploads td:first-child{padding-left:10px}.modalContentWrapper.erepEboneExplain .mediaIcon{float:left;width:24px;height:24px;margin-right:8px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/mediaFeedIcons.png') 0 0 no-repeat}.modalContentWrapper.erepEboneExplain .mediaIcon.gallery{background-position:0 calc(-24px)}.modalContentWrapper.erepEboneExplain .mediaIcon.article{background-position:0 calc(-48px)}.modalContentWrapper.erepEboneExplain .mediaIcon.quiz{background-position:0 calc(-96px)}.modalContentWrapper.erepEboneExplain .mediaIcon.contest{background-position:0 calc(-72px)}.modalContentWrapper.erepEboneExplain .mediaIcon.picture{background-position:0 calc(-120px)}.modalContentWrapper.erepEboneExplain .mediaIcon.game{background-position:0 calc(-144px)}.modalContentWrapper.erepEboneExplain .mediaIcon.soundboard{background-position:0 calc(-168px)}.modalContentWrapper.erepEboneExplain .mediaIcon.audio{background-position:0 calc(-192px)}.modalContentWrapper.erepEboneExplain .mediaIcon.joke{background-position:0 calc(-216px)}.modalContentWrapper.erepEboneExplain .mediaIcon.blog{background-position:0 calc(-240px)}.modalContentWrapper.erepEboneExplain .mediaIcon.animation{background-position:0 calc(-264px)}.modalContentWrapper.erepEboneExplain .mediaType{float:left;margin-top:5px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#26283d;font-size:17px;line-height:17px}.modalContentWrapper.erepEboneExplain .eBonesDescription{margin-bottom:10px}.modalContentWrapper.erepEboneExplain .eBonesDescription li{color:#26283d;font-size:17px;line-height:21px}.modalContentWrapper.erepEboneExplain .eBonesDescription li span{width:7px;height:7px;display:inline-block;background-color:#ffd304}.modalContentWrapper .breakLine{margin-top:40px;margin-bottom:40px}.modalContentWrapper .modalBtn{width:100%;height:42px;padding:14px 0;padding:14px 25px;border:1px solid #ffd304;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-sizing:border-box;background-color:#ffd304;text-align:center;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px;cursor:pointer}.modalContentWrapper .modalBtn.disabled{background-color:#dee0e5;border:1px solid #dee0e5;cursor:default}.modalContentWrapper .label{color:#676877}.modalContentWrapper .note{color:#b3b3bb;font-size:12px;line-height:14px;margin-top:3px}.modalContentWrapper .socialSignIn{float:left;width:244px;height:184px;box-sizing:border-box;padding-top:50px;position:relative;margin-right:20px}.modalContentWrapper .socialSignIn .signUp{position:absolute;bottom:0;color:#676877;font-size:14px;line-height:16px}.modalContentWrapper .socialSignIn .signUp a{color:#26283d}.modalContentWrapper .socialSignIn .signUp a:hover{text-decoration:underline}.modalContentWrapper .signinOptions,.modalContentWrapper .loginOptions,.modalContentWrapper .rememberCheck,.modalContentWrapper .checkText,.modalContentWrapper .forgotLoginLink a,.modalContentWrapper .whyJoin a{color:#676877;font-size:12px;line-height:25px}.modalContentWrapper .termsText{float:left;width:200px;margin-bottom:10px;line-height:20px}.modalContentWrapper .forgotLoginLink{float:left}.modalContentWrapper .forgotLoginLink a:hover{text-decoration:underline}.modalContentWrapper .whyJoinLink{float:right}.modalContentWrapper .whyJoinLink a:hover{text-decoration:underline}.modalContentWrapper .error{margin-top:3px;color:#e60000;font-size:12px;line-height:15px}.modalContentWrapper .whyJoin{clear:both;padding-top:25px}.modalContentWrapper .whyJoin ul{margin-left:20px;list-style-type:disc}.modalContentWrapper .signupCaptcha{margin-left:-20px}.modalContentWrapper input[type=submit],.modalContentWrapper input[type=button]{padding:14px 25px;border:1px solid #ffd304;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-sizing:border-box;background-color:#ffd304;text-align:center;font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:14px;line-height:14px;cursor:pointer}.modalContentWrapper input[type=submit].disabled,.modalContentWrapper input[type=button].disabled{background-color:#dee0e5;border:1px solid #dee0e5;cursor:default}.modalContentWrapper .changeEmail,.modalContentWrapper .resendCode{margin-bottom:10px}.modalContentWrapper li.input{margin-bottom:10px}.loginFormFields{float:right;width:244px}.loginFormFields.facebookSignUpFields{width:100%;float:none}.loginFormFields li{margin-bottom:10px}.loginFormFields li.loginOptions{margin:20px 0;overflow:hidden}.socialLoginBtn{width:100%;height:42px;padding-left:64px;box-sizing:border-box;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;background:url('https://cdn.ebaumsworld.com/img/desktop/socialSignInIcons.png') 28px 0 no-repeat;color:#fff;font-size:14px;line-height:42px;cursor:pointer}.socialLoginBtn.signinFacebook{background-color:#3c599b}.signinBreak{float:left;width:46px;height:142px;margin-bottom:7px;position:relative}.signinBreak .horizontalRule{height:142px;position:absolute;left:22.5px;border-left:1px solid #dee0e5}.orBubble{width:46px;height:46px;margin:auto;box-sizing:border-box;border:2px solid #dee0e5;-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;position:absolute;top:49px;z-index:4;background-color:#fff;color:#676877;font-size:17px;line-height:46px;text-align:center}.categoryIndex{width:686px;margin:auto}.categoryIndex li{float:left;width:202px;height:202px;margin-right:40px;margin-bottom:40px;padding-top:40px;background-color:#fff;border:1px solid #676877;display:block;text-align:center;box-sizing:border-box;cursor:pointer}.categoryIndex li span.icon{width:80px;height:87px;margin-bottom:10px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/categoryIconsLanding.png') 0 0 no-repeat}.categoryIndex li.creepy .icon{background-position:0 calc(0px)}.categoryIndex li.wtf .icon{background-position:0 calc(-174px)}.categoryIndex li.eww .icon{background-position:0 calc(-348px)}.categoryIndex li.facepalm .icon{background-position:0 calc(-522px)}.categoryIndex li.ouch .icon{background-position:0 calc(-696px)}.categoryIndex li.funny .icon{background-position:0 calc(-870px)}.categoryIndex li.feels .icon{background-position:0 calc(-1044px)}.categoryIndex li.ftw .icon{background-position:0 calc(-1218px)}.categoryIndex li.wow .icon{background-position:0 calc(-1392px)}.categoryIndex li:nth-child(3n){margin-right:0}.categoryIndex li span.iconText{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500;color:#26283d;font-size:24px;line-height:24px;display:block;text-transform:uppercase}.categoryIndex li:hover{background-color:#ffd304;border-color:#ffd304}.categoryIndex li:hover.creepy .icon{background-position:0 calc(-87px)}.categoryIndex li:hover.wtf .icon{background-position:0 calc(-261px)}.categoryIndex li:hover.eww .icon{background-position:0 calc(-435px)}.categoryIndex li:hover.facepalm .icon{background-position:0 calc(-609px)}.categoryIndex li:hover.ouch .icon{background-position:0 calc(-783px)}.categoryIndex li:hover.funny .icon{background-position:0 calc(-957px)}.categoryIndex li:hover.feels .icon{background-position:0 calc(-1131px)}.categoryIndex li:hover.ftw .icon{background-position:0 calc(-1305px)}.categoryIndex li:hover.wow .icon{background-position:0 calc(-1479px)}@media(max-width:1119px){.categoryIndex li{width:182px;height:182px}}.liveRailCompanionAd{width:300px;margin-bottom:10px;display:none}.listingLoader{width:100%;height:32px;margin-bottom:20px;display:inline-block;display:none;text-align:center}.listingLoader span{width:32px;height:32px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/desktop/loaderGlobe32BlueGrey.gif') center 0 no-repeat}.widgetLoader{width:1em;height:1em;padding:20px 0;margin:auto;display:inline-block;font-size:4rem;animation:2s rotate infinite linear}.widgetLoader circle{fill:transparent;stroke:#26283d;stroke-width:.1em;stroke-linecap:round;stroke-dasharray:2.3525em .4705em;animation:1.5s strokeDashArray infinite linear,24s colorBounce infinite linear}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes strokeDashArray{from{stroke-dasharray:2.3525em .4705em;stroke-dashoffset:0}10%{stroke-dasharray:2.3525em .4705em;stroke-dashoffset:0}50%{stroke-dasharray:.001em 2.825em;stroke-dashoffset:-2.826em}60%{stroke-dasharray:.001em 2.825em}to{stroke-dasharray:2.3525em .4705em;stroke-dashoffset:-2.826em}}@keyframes colorBounce{1%{stroke:#26283d}24%{stroke:#26283d}26%{stroke:#26283d}49%{stroke:#676877}70%{stroke:#676877}71%{stroke:#ffd304}76%{stroke:#ffd304}99%{stroke:#ffd304}}.galleryLoader{padding-top:200px}.galleryLoader .widgetLoader circle{color:#ffd304}@keyframes colorBounce{1%{stroke:#ffd304}24%{stroke:#ffd304}26%{stroke:#dee0e5}49%{stroke:#dee0e5}70%{stroke:#dee0e5}}.error404{width:100%;height:292px;margin:auto;background:url(/img/pepperPeanut404.jpg) 0 5px no-repeat}.error404 h1{float:right;color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:125px;font-weight:400;line-height:115px}.error404 h2{float:right;width:370px;clear:right;color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:48px;font-weight:400;text-align:right}.errorSearchResults{width:632px;height:310px;margin-bottom:25px;background:url('https://cdn.ebaumsworld.com/img/pepperPeanutNoResults.jpg') 0 5px no-repeat}.errorSearchResults h1{float:right;width:370px;color:#232325;font-family:'FG-C','Georgia',sans-serif;font-size:95px;font-weight:400;line-height:100px;text-align:center}.errorSearchResults h2{float:right;width:370px;margin-bottom:50px;clear:right;color:#232325;font-family:'FG-C','Georgia',sans-serif;font-size:45px;font-weight:400;line-height:45px;text-align:center}.errorSearchResults h3{float:right;width:350px;color:#232325;font-family:'FG-C','Georgia',sans-serif;font-size:35px;font-weight:400;text-align:right}.error404Media h3{clear:both;text-align:center;color:#26283d;font-family:'FG-C','Georgia',sans-serif;font-size:45px;font-weight:400;margin-bottom:10px}.error404Media .topMedia{float:left;width:300px;height:206px;position:relative;margin-right:10px;margin-bottom:10px}.error404Media .topMedia:hover .topMediaTitle a{color:#ffd304;background-color:#26283d;box-shadow:-10px 0 0 0 #26283d}.error404Media .topMediaThumb{width:300px;height:206px}.error404Media .topMediaThumb img{width:300px;height:206px}.error404Media .topMediaTitle{clear:left}.error404Media .topMediaTitle a{background-color:rgba(38,40,61,0.7);box-shadow:-10px 0 0 0 rgba(38,40,61,0.7);color:#f4f5f8;font-family:'FG-C','Georgia',sans-serif;font-size:26px;line-height:35px;padding-right:5px;text-transform:uppercase}.error404Media .topMediaDetails{position:absolute;bottom:0}.error404Media .topMediaDetails li{margin-bottom:5px;padding-left:10px}.error404Media .topMediaDetails .topMediaViews{float:left;height:14px;padding:7px 11px 7px 35px;background:url("https://cdn.ebaumsworld.com/img/widgetIcons.png") no-repeat scroll 10px 8px rgba(38,40,61,0.7);font-family:'FG-M','Georgia',sans-serif;font-size:18px;line-height:14px}.error404Media .topMediaDetails .topMediaViews a{color:#f4f5f8}.mobileToggle a{width:990px;height:50px;padding-top:10px;margin:auto;margin-bottom:24px;display:block;background-color:#26283d;color:#bfc2cd;font-family:'FG-C','Georgia',sans-serif;font-size:40px;font-weight:400;line-height:40px;cursor:pointer;text-align:center}.jw-skin-ebaum .jw-controlbar{background-color:#111223}.pushRollover{display:none}.pushRollover{position:absolute;left:62px;top:4px;background-color:#232325;border-radius:5px;height:14px;width:180px;padding:14px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#fff;font-size:14px;line-height:14px}.pushRolloverArrow{position:absolute;left:-9px;top:12px;width:0;height:0;border-bottom:9px solid transparent;border-right:9px solid #232325;border-top:9px solid transparent}.pushInfo{display:none;position:absolute;left:0;top:-103px;background-color:#232325;border-radius:5px;height:64px;width:200px;padding-right:20px;padding:14px;font-family:'Fira Sans','Georgia',sans-serif;font-weight:400;color:#fff;font-size:14px;line-height:17px}.pushInfo a{color:#fff;text-decoration:underline}.pushInfoClose{position:absolute;right:5px;top:5px;cursor:pointer;width:20px;height:20px;display:block;background:url('https://cdn.ebaumsworld.com/img/mobile/mobileModalClose.png') 5px 2px no-repeat;background-size:10px 10px}.pushInfoArrow{position:absolute;left:15px;bottom:-9px;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-top:9px solid #232325}.uploaderBox{width:100px;position:relative}.uploaderBox .browseBtn{width:100%;height:44px;position:absolute;top:0;left:0;opacity:0}.uploaderBox .browseBtnViewable{width:100%;height:44px;display:block;background-color:#26283d;border-radius:5px;color:#fff;font-size:17px;line-height:47px;font-weight:500;text-align:center}.uploaderBox .browseBtnViewable.yellow{background-color:#ffd304;color:#26283d}.ad-sticky-wrapper{width:100%;height:100px}.ad-sticky-desktop-anchor{width:100%;padding-top:10px;background:url('https://cdn.ebaumsworld.com/img/desktop/navGradient.png') 0 60px repeat-x;left:0;bottom:0}#ssrt-close-anchor-button{position:fixed;left:50%;margin-left:366px;height:20px;width:20px;font-size:20px;line-height:19px;border-radius:15px;background-color:#26283d;color:#ffd304;border-color:#ffd304;border-style:solid;border-width:2px;cursor:pointer;text-align:center;z-index:999999999}.ad-anchor{margin-left:auto;margin-right:auto;text-align:center;position:relative}.ad-sticky{position:fixed!important;z-index:100000}.subheaderHome{min-height:250px!important;display:flex;justify-content:center;align-items:center}.subheaderHome #subheader_atf{position:relative!important}.centerhomeads{margin:0;position:absolute;top:52%;-ms-transform:translateY(-50%);transform:translateY(-50%)}.mosaicArea{width:1100px;height:376px;display:block;margin-bottom:26px}@media(max-width:1320px){.mosaicArea{width:100%;height:auto}}.bigMosaicContainer{width:50%;height:100%;float:left;overflow:hidden}@media(max-width:948px){.bigMosaicContainer{width:100%;height:auto;margin-bottom:1px}}.smallMosaicContainer{width:50%;height:100%;float:left;overflow:hidden}@media(max-width:948px){.smallMosaicContainer{width:100%;height:auto;display:flex;flex-direction:row;flex-wrap:wrap}}.bigMosaic{width:100%;height:100%;display:block;background-color:#000}.smallMosaic{width:50%;height:50%;display:block;float:left;padding-left:2px;box-sizing:border-box}@media(max-width:948px){.smallMosaic{width:100%;height:auto;display:flex;flex-basis:calc(50%)}}.smallMosaic:nth-child(1){float:left;margin-bottom:1px}.smallMosaic:nth-child(2){float:right;margin-bottom:1px}.smallMosaic:nth-child(3){float:left;margin-top:1px}.smallMosaic:nth-child(4){float:right;margin-top:1px}.smallMosaicContent{background-color:#000;width:100%;height:100%;display:block;overflow:hidden}.gamingLayout .rightColumn{margin-top:25px}.gamingLayout .mainContent{margin-top:25px}.smallMosaic,.bigMosaic{position:relative}.smallMosaic a,.bigMosaic a{width:100%;height:100%;display:block}.smallMosaic img,.bigMosaic img{width:100%;height:100%;display:block;-moz-transition:all .3s;-webkit-transition:all .3s;transition:all .3s}.smallMosaic:hover img,.bigMosaic:hover img{-moz-transform:scale(1.1);-webkit-transform:scale(1.1);transform:scale(1.1)}.bigMosaic .mediaTypeIcon{top:0;left:0}.smallMosaic .mediaTypeIcon{top:0;left:2px}.bigMosaic .title,.smallMosaic .title{position:absolute;bottom:0;left:0;width:100%;z-index:2}.smallMosaic .title{left:2px}.bigMosaic h2{color:#fff;font-size:24px;font-weight:400;line-height:26px}.smallMosaic h2{color:#fff;font-size:18px;font-weight:400;line-height:22px}.bigMosaic h2 a{padding:20px 25px;box-sizing:border-box}.smallMosaic h2 a{padding:10px;box-sizing:border-box}.bigMosaic h2 a,.smallMosaic h2 a{color:#fff}.gradient{width:100%;height:100%;display:block;position:absolute;top:0;left:0;background:0;background:-webkit-linear-gradient(rgba(17,18,35,0),#111223);background:-o-linear-gradient(rgba(17,18,35,0),#111223);background:-moz-linear-gradient(rgba(17,18,35,0),#111223);background:linear-gradient(rgba(17,18,35,0),#111223)}.smallMosaic .gradient{left:2px;width:99.8%}.smallMosaic a{width:100%;height:100%;display:block}.popup-slide{position:fixed;bottom:110px;right:0}.popup-slide .checkbox{position:absolute;display:block;height:32px;width:32px;top:3px;left:-43px;z-index:10;opacity:0;cursor:pointer}.popup-slide .close-button-lines{display:block;height:26px;width:32px;position:absolute;top:0;left:-46px;z-index:9;display:flex;flex-direction:column;justify-content:space-between;padding:6px 6px 6px 8px;background-color:white}.popup-slide .close-button-lines .line{display:block;height:4px;width:100%;border-radius:10px;background:#ffd304;transition:transform .8s ease-in-out}.popup-slide .close-button-lines .line1{transform-origin:0 0;transition:transform .4s ease-in-out}.popup-slide .close-button-lines .line2{transition:transform .2s ease-in-out}.popup-slide .close-button-lines .line3{transform-origin:0 100%;transition:transform .4s ease-in-out}.popup-slide .newsletterPopup{background:white;padding:32px 42px;transform:translateX(100%);transition:transform .4s ease-in-out;position:relative;z-index:5}.popup-slide .slideOut{transform:translateX(100%)}.popup-slide .slideIn{transform:translateX(0)}.popup-slide input[name="closePopup"]:not(:checked) ~ .close-button-lines .line1{transform:rotate(45deg)}.popup-slide input[name="closePopup"]:not(:checked) ~ .close-button-lines .line2{transform:scaleY(0)}.popup-slide input[name="closePopup"]:not(:checked) ~ .close-button-lines .line3{transform:rotate(-45deg)}@media(max-width:433px){.popup-slide input[name="closePopup"]:not(:checked) ~ .close-button-lines{left:0}.popup-slide input[name="closePopup"]:not(:checked){left:0}}.horizontal-shake{animation:horizontal-shaking .35s 5}@keyframes horizontal-shaking{0%{transform:translateX(0)}25%{transform:translateX(5px)}50%{transform:translateX(-5px)}75%{transform:translateX(5px)}100%{transform:translateX(0)}}.kym-ad-container{padding:0 15px}.kym-ad-container-right{padding:0 54px 24px}@font-face{font-family:'Icons';src:url('/font/icomoon.eot');src:url('/font/icomoon.eot#iefix') format('embedded-opentype'),url('/font/icomoon.woff') format('woff'),url('/font/icomoon.tff') format('truetype'),url('/font/icomoon.svg') format('svg')}.firaLight{font-family:'Fira Sans','Georgia',sans-serif;font-weight:300}.firaRegular{font-family:'Fira Sans','Georgia',sans-serif;font-weight:400}.firaMedium{font-family:'Fira Sans','Georgia',sans-serif;font-weight:500}.firaBold{font-family:'Fira Sans','Georgia',sans-serif;font-weight:700}.left{float:left}.right{float:right}.alignL{text-align:left}.alignR{text-align:right}.alignC{text-align:center}.clear{clear:both}.overHidden{overflow:hidden}.hidden{display:none}.pointer{cursor:pointer}.bold{font-weight:bold}.marginB15{margin-bottom:15px}.underline:hover{text-decoration:underline}.paddingLR20{padding:0 20px}.unselectable{-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;user-select:none}.imjs-default{display:none}ul#imjs-bar{height:40px;max-width:95%;padding:0;margin:0 0 0 -47.5%;display:none;position:fixed;z-index:2147483640;bottom:0;right:20px;list-style-type:none;font:12px/25px Helvetica Neue,Helvetica,Arial,Calibri,Tahoma,Verdana,sans-serif;color:#222}ul#imjs-bar>li{float:right;width:205px;height:40px;margin-left:5px;padding:0 10px;position:relative;border:1px solid #777c8d;border-bottom:0;cursor:pointer;text-shadow:0 1px 0 #fff;background:#fff}ul#imjs-bar>li:hover{background:#f4f5f8}ul#imjs-bar>li.imjs-selected{height:40px;border-top:1px solid #d5d6da;text-shadow:0 1px 0 #eaeaea;background:#fff}ul#imjs-bar>li.blink{background-color:#26283d}ul#imjs-bar>li.blink .tabUsername{color:#bfc2cd;text-shadow:none}ul#imjs-bar>li .imjs-tab-text{float:left;width:205px;margin-top:10px;color:#26283d;font-size:12px;font-weight:700}ul#imjs-bar>li .imjs-tab-text span.statusIndicator{margin-top:9px;margin-left:0}ul#imjs-bar>li .imjs-tab-text .tabUsername{float:left;margin-right:5px}ul#imjs-bar>li .imjs-tab-bar .imjs-tab-text{width:180px}.imjs-tab-bar img{float:right;width:25px;height:25px;margin-top:8px;display:inline-block;background-color:#232325}.imjs-not-connected img.tabBarAvatar{display:none}ul#imjs-bar>li.imjs-offline strong{color:#777}ul#imjs-bar>li.imjs-away strong{color:#df9b00}ul#imjs-bar>li.imjs-selected .imjs-tab-text a{display:block;width:11px;height:11px;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') 0 0 no-repeat}ul#imjs-bar>li.imjs-selected .imjs-tab-text a:hover{background-position:-11px 0}ul#imjs-bar>li:hover .imjs-tab-text a{display:inline}ul#imjs-bar>li .imjs-tab-text a{float:right;width:11px;height:11px;margin-top:7.5px;text-decoration:none;overflow:hidden;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') 0 0 no-repeat}ul#imjs-bar>li .imjs-tab-text a:hover{background-position:-11px 0}ul#imjs-bar>li.imjs-scroll{width:20px;font-size:12px;font-weight:700;line-height:38px;text-align:center;background-repeat:no-repeat}ul#imjs-bar li#imjs-scroll-left{padding:1px 6px 0 4px}ul#imjs-bar li#imjs-scroll-left span.scrollLeft{float:left;width:10px;height:16px;margin-top:11px;margin-right:3px;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') -60px 0;display:inline-block}ul#imjs-bar li#imjs-scroll-right{padding:1px 5px 0}ul#imjs-bar li#imjs-scroll-right span.scrollRight{float:right;width:10px;height:16px;margin-top:11px;margin-left:3px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') -70px 0}span.imjs-notification{width:22px;height:22px;color:#fff;display:inline-block;line-height:22px;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') -27px -20px;text-shadow:none;overflow:hidden;text-align:center}span.imjs-notification.highNumber{width:31px;background-position:-49px -20px}span.imjs-tooltip{display:none;position:absolute;padding-bottom:5px;margin:0 0 3px 6px;left:-10000px;color:#fff;text-shadow:none;opacity:.9}span.imjs-tooltip p{font:11px/18px Helvetica Neue,Helvetica,Arial,Calibri,Tahoma,Verdana,sans-serif;margin:0;padding:2px 6px;background:#000;max-width:200px}ul#imjs-bar>li#imjs-friends.imjs-not-connected,ul#imjs-bar>li#imjs-friends.not-connected:hover{width:27px}ul#imjs-bar>li#imjs-friends.imjs-not-connected .imjs-reconnect,ul#imjs-bar>li#imjs-friends.not-connected:hover .imjs-reconnect{display:none}ul#imjs-bar>li#imjs-friends.imjs-not-connected.imjs-not-connected .imjs-reconnect,ul#imjs-bar>li#imjs-friends.not-connected:hover.imjs-not-connected .imjs-reconnect{width:27px;height:25px;margin-top:7px;display:block;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') 0 -17px no-repeat}ul#imjs-bar>li#imjs-friends.imjs-not-connected span.imjs-tab-text{margin-left:-10000px}li#imjs-friends .imjs-tab-text span{color:#888}li#imjs-friends .imjs-tab-text span>span{color:#222;font-weight:700}.imjs-chatbox{width:225px;position:absolute;bottom:40px;right:-1px;border:1px solid #777c8d;border-bottom:1px solid #777c8d;background-color:#fff;font:12px/14px Helvetica Neue,Helvetica,Arial,Calibri,Tahoma,Verdana,sans-serif;color:#000;cursor:default;text-shadow:none}.imjs-chatbox>div{display:block}div.imjs-header{height:25px;display:block;position:relative;background:#bfc2cd;font-weight:700;color:#f4f5f8}div.imjs-header a{position:absolute;text-shadow:none;color:#f4f5f8;text-decoration:none}div.imjs-header a.imjs-close{width:11px;height:0;top:6px;right:5px;padding-top:11px;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') -22px 0 no-repeat;overflow:hidden}div.imjs-header a.imjs-close:hover{background-position:-33px 0}div.imjs-header a.imjs-minimize{width:207px;height:23px;position:absolute;top:0;left:0;overflow:hidden}div.imjs-header a.imjs-minimize span{float:right;width:11px;height:2px;display:inline-block;margin-top:15px;margin-right:5px;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') -40px -16px no-repeat}div.imjs-header a.imjs-minimize:hover span{background-position:-51px -16px}div.imjs-header a.imjs-minimize:active{outline:0}#imjs-friends div.imjs-header a.imjs-minimize{width:225px}#imjs-friends div.imjs-header a.imjs-minimize span{margin-right:10px}ul.imjs-msglog{height:194px;margin:0;padding:0;display:block;overflow-y:auto;list-style-type:none;border-bottom:1px solid #ddd;background:#fff}ul.imjs-msglog li ul{list-style-type:none;margin:0;padding:0;font-size:12px;line-height:15px}ul.imjs-msglog li ul span{float:left;margin-right:5px;color:#232325}ul.imjs-msglog p a{color:#777c8d;font-weight:bold}ul.imjs-msglog p a:hover{text-decoration:underline}li.imjs-date{margin-bottom:2px;display:block;padding:5px 5px 3px 8px;background-color:#d5d6da}li.imjs-error{display:block;padding:0 5px 3px 8px;border-top:1px dotted #afafaf;background-color:#ffeded;color:#f00}li.imjs-error span.imjs-msg-time{color:#f00}li.imjs-msg-a,li.imjs-msg-b{display:block;padding:5px 5px 3px 8px;position:relative}li.imjs-msg-b>span{color:#e60000;font-weight:700}li.imjs-msg-b>span.imjs-msg-time{color:#76777b;font-weight:400}li.imjs-msg-a>span{color:#26283d;font-weight:700}li.imjs-msg-a>span.imjs-msg-time{color:#76777b;font-weight:400}.imjs-date .imjs-msg-time{position:static}.imjs-msg-time{position:absolute;right:10px;color:#76777b;font-size:10px;font-weight:400}li.imjs-msg-a ul p,li.imjs-msg-b ul p,li.imjs-date ul p{margin:0}textarea.imjs-input{width:219px;height:16px;padding:3px;margin:0;border:solid #aaa;border-width:1px 0 0 0;font:12px/14px Helvetica Neue,Helvetica,Arial,Calibri,Tahoma,Verdana,sans-serif;overflow:hidden;box-sizing:content-box}.imjs-user-info{height:36px;padding-top:6px;border-bottom:1px solid #d5d6da;background-color:#fff}.imjs-user-info .avatarDropDown{float:right;width:42px;height:28px;padding-top:2px;padding-left:2px;display:inline-block;position:relative;cursor:pointer}.imjs-user-info .avatarDropDown:hover{background-color:#bfc2cd}.imjs-user-info .avatarDropDown img{width:26px;height:26px;background-color:#232325;display:inline-block}.imjs-user-info .avatarDropDown span{float:right;width:8px;height:5px;margin-top:11px;margin-right:5px;display:block;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') -32px -11px}.imjs-user-info .avatarDropDown ul.options{float:left;width:80px;top:30px;right:0;border:1px solid #777c8d;border-right:0;position:absolute;z-index:100;background:#fff;display:none}.imjs-user-info .avatarDropDown ul.options li{padding:3px;font-size:12px;line-height:14px}.imjs-user-info .avatarDropDown ul.options li:hover{background-color:#bfc2cd}.imjs-user-info .username{float:left;color:#26283d;font-size:12px;font-weight:700}.imjs-user-info .status{float:left;margin-top:5px;margin-left:25px;clear:left;font-size:11px;line-height:13px;text-transform:capitalize}span.statusIndicator{float:left;width:6px;height:6px;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') 0 -11px no-repeat;margin:4px 7px 0 10px;display:inline-block}ul#imjs-bar .imjs-away span.statusIndicator{background-position:-6px -11px}ul#imjs-bar .imjs-friend.imjs-away span.statusIndicator{background-position:-6px -11px}ul#imjs-bar .imjs-friend.imjs-available span.statusIndicator{background-position:0 -11px}ul#imjs-bar .imjs-friend.imjs-offline span.statusIndicator{background-position:-18px -11px}.imjs-available span.statusIndicator{background-position:0 -11px}.imjs-friend-group .imjs-user-info{height:30px;margin-bottom:3px;border-bottom:0;padding-top:0}.imjs-friend-group .imjs-user-info .avatarDropDown{margin:0}.imjs-friend-group .imjs-user-info .username{line-height:14px;margin-top:1px}.imjs-friend-group .imjs-user-info span.status{font-size:10px;clear:left}.imjs-friend-group .imjs-user-info span.statusIndicator{margin-top:5px}.imjs-offline span.statusIndicator{background-position:-18px -11px}div#imjs-friends-panel{width:225px;right:auto;left:-1px;z-index:100;background:#fff}div#imjs-friends-panel a.imjs-minimize:active{outline:0}ul#imjs-friends-list{height:194px;padding:0;margin:0;font:12px/25px Helvetica Neue,Helvetica,Arial,Calibri,Tahoma,Verdana,sans-serif;list-style-type:none;overflow-x:hidden;overflow-y:auto}ul#imjs-friends-list>li,ul.imjs-friend-group>li{padding:0;margin:0;cursor:pointer;list-style-type:none}span.imjs-friend-group-header{margin-bottom:2px;padding:0 0 0 5px;display:block;font-weight:700;background-color:#d5d6da;cursor:default;color:#26283d}span.imjs-friend-group-header .groupTwirl{width:8px;height:5px;display:inline-block;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') -32px -11px no-repeat;margin-right:5px;margin-bottom:2px}span.imjs-friend-group-header .groupTwirl.collapsed{width:5px;height:7px;margin-bottom:0;margin-right:7px;background-position:-27px -11px}li.imjs-friend-group ul{margin:0 0 5px;padding:0}li.imjs-friend-group ul li:hover{background:#f4f5f8;color:#26283d}li.imjs-friend-group ul li span.status{margin-top:0}li.imjs-friend-group ul li.imjs-selected{background:#686868;color:#eee;font-weight:700;text-shadow:0 1px 0 #333}div#imjs-friends-panel form,div#imjs-friends-panel form p{margin:0;padding:0}.imjs-search-form p{height:25px;border:solid #aaa;border-width:1px 0 0 0}span.searchIcon{float:left;width:16px;height:16px;display:inline-block;margin:5px 7px 0 10px;background:url('https://cdn.ebaumsworld.com/img/im/sprite.png') -44px 0 no-repeat}input#imjs-search-friends{float:left;width:192px;height:22px;border:0;margin-top:2px;padding:0;color:#76777b;font:11px/13px Helvetica Neue,Helvetica,Arial,Calibri,Tahoma,Verdana,sans-serif}div#imjs-lr form{border:1px solid #cfceca;max-width:220px;padding:5px 5px 10px 8px;overflow:auto;-moz-border-radius:2px;-webkit-border-radius:2px}div#imjs-lr form fieldset{border:0;padding:0;margin:0}div#imjs-lr form h2{font:700 20px/24px Helvetica Neue,Helvetica,Arial,Calibri,Tahoma,Verdana,sans-serif;margin:0;padding:7px 0 0 2px;color:#555;text-shadow:0 1px 0 #fff}div#imjs-lr form label{display:block;font:700 12px/14px Helvetica Neue,Helvetica,Arial,Calibri,Tahoma,Verdana,sans-serif;color:#7b7a79}div#imjs-lr form input{width:200px}div#imjs-lr form button{float:right;background:#f4f3f1;outline:0}div#imjs-lr form p{padding-left:2px;overflow:visible}div#imjs-lr .error{font:700 12px/18px Helvetica Neue,Helvetica,Arial,Calibri,Tahoma,Verdana,sans-serif;color:#f00}div#imjs-lr form input.imjs-lr-error,div#imjs-lr form input.imjs-lr-error:focus{margin:-1px;border:2px solid #f11}div#imjs-lr form input,div#imjs-lr form button{border:1px solid #ddd;color:#000;padding:4px 3px;font:16px/20px Helvetica Neue,Helvetica,Arial,Calibri,Tahoma,Verdana,sans-serif;-moz-border-radius:2px;-webkit-border-radius:2px;margin:0}div#imjs-lr form input:focus,div#imjs-lr form button:focus{position:relative;border:2px solid #999;margin:-1px}p.imjs-submit{width:207px;overflow:visible}form#imjs-login{margin-bottom:10px}
-->
</style>    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript">
    //<!--
var $jscomp={scope:{},findInternal:function(b,c,d){b instanceof String&&(b=String(b));for(var f=b.length,g=0;g<f;g++){var h=b[g];if(c.call(d,h,g,b))return{i:g,v:h}}return{i:-1,v:void 0}}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(b,c,d){if(d.get||d.set)throw new TypeError("ES3 does not support getters and setters.");b!=Array.prototype&&b!=Object.prototype&&(b[c]=d.value)};
$jscomp.getGlobal=function(b){return"undefined"!=typeof window&&window===b?b:"undefined"!=typeof global&&null!=global?global:b};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(b,c,d,f){if(c){d=$jscomp.global;b=b.split(".");for(f=0;f<b.length-1;f++){var g=b[f];g in d||(d[g]={});d=d[g]}b=b[b.length-1];f=d[b];c=c(f);c!=f&&null!=c&&$jscomp.defineProperty(d,b,{configurable:!0,writable:!0,value:c})}};
$jscomp.polyfill("Array.prototype.find",function(b){return b?b:function(b,d){return $jscomp.findInternal(this,b,d).v}},"es6-impl","es3");jQuery(document).ready(function(){jQuery("#jqModal").jqm({ajax:"@href",trigger:".jqmify",onLoad:centerJQM,onHide:modalHide});jQuery(".jqmify").bind("contextmenu",function(){return!1})});
var Ebaum={refreshCounter:0,container:"mediaListColumn",galleryTimer:new Date,timeout:6E4,refreshAds:!1,adTimer:null,enableAdRefresh:function(){this.refreshAds=!0;jQuery(window).bind("scroll",Ebaum.enableScrollRefresh)},enableScrollRefresh:function(){jQuery(window).unbind("scroll",Ebaum.enableScrollRefresh);Ebaum.adRefresh()},adRefresh:function(){"undefined"!=typeof adArray&&1==this.refreshAds&&"function"==typeof googletag.pubads&&(this.refreshAds=!1,"function"===typeof eBaumOnAdsRefresh&&eBaumOnAdsRefresh(),
adArray.refreshable.forEach(refreshSlot),clearTimeout(this.adTimer),this.adTimer=setTimeout(function(){Ebaum.enableAdRefresh()},this.timeout))},ajaxRefresh:function(b){0==this.refreshCounter%2&&"iPhone"!=navigator.platform&&"iPod"!=navigator.platform&&(b=(new Date).getTime(),5<=Math.round((b-this.galleryTimer.getTime())/1E3)&&(this.galleryTimer=new Date,this.refreshAds=!0,this.adRefresh(),"undefined"!=typeof adArray&&0==this.refreshCounter%4&&"function"==typeof googletag.pubads&&adArray.atfMedRect.forEach(refreshSlot)));
this.refreshCounter++},fireComscore:function(b){"undefined"!=typeof COMSCORE&&COMSCORE.beacon({c1:"2",c2:"15131799",c3:"",c4:b})},updateAnalytics:function(b){b||/:\/\/.*?(\/.*?)$/.exec(String(window.location))},changeListPage:function(b,c,d){null!=c&&(this.container=c);this.loadUri(b);"commentListHolder"==this.container&&jQuery("#commentList").html('<div class="widgetLoader"></div>');void 0!=d&&void 0!=d[2]&&"moderate-mature"==d[2]&&(EbaumScrollAd.type="mature");this.updateAnalytics(b)},loadUri:function(b){jQuery(".listingLoader").show();
"function"===typeof history.pushState?jQuery("#"+this.container).parent().load(b,function(){"commentListHolder"==Ebaum.container&&(offset=document.getElementById(Ebaum.container).offsetTop,120<offset&&(offset-=120),window.scrollTo(0,offset));jQuery(".listingLoader").hide()}):window.location=b},updateMessageCount:function(b){jQuery.getJSON("/message/getmailcount/",function(b){jQuery("#mailCount").text(b.cnt)})},setCookie:function(b,c,d){var f=new Date;f.setDate(f.getDate()+d);c=escape(c)+(null==d?
"":"; expires="+f.toUTCString());document.cookie=b+"="+c+"; path=/"},getCookie:function(b){b+="=";for(var c=document.cookie.split(";"),d=0;d<c.length;d++){for(var f=c[d];" "==f.charAt(0);)f=f.substring(1);if(0==f.indexOf(b))return f.substring(b.length,f.length)}return""},checkNewFeature:function(){jQuery.getJSON("/media/checknewfeature/",function(b){if(b.success){b=b.message;jQuery("#featureCount, #featureCountMini").html(b);jQuery("#featureCount, #featureCountMini").show();var c=document.title.split(")"),
d="",d=c[1]?c[1]:c[0],f="("+b+") "+d;document.title=f;var g=0,h=setInterval(function(){document.title=document.title!=f?f:"NEW!";g++;8==g&&clearInterval(h)},1500)}})}};Ebaum.adTimer=setTimeout(function(){Ebaum.enableAdRefresh()},Ebaum.timeout);
var EbaumTopMedia={launch:function(){jQuery(".topVideoNav li a").click(function(){jQuery("#topVideoList").html('<div id="topMediaLoader" class="topMediaLoader"></div>');var b="/media/topfive/"+jQuery(this).attr("id")+"/",c=this;jQuery("#topVideoList").load(b,function(){jQuery(".topVideoNav a.active").removeClass("active");jQuery(c).addClass("active")})})}},EbaumAllStarSubscribe=function(){jQuery(".allStarSubscribe").click(function(b){b=jQuery(this);var c=jQuery(b).attr("id").split("-");"subscribe"==
c[0]?jQuery.get("/user/subscribe/"+c[1]+"/",function(d){jQuery(b).html("undo");jQuery(b).attr("id","unsubscribe-"+c[1])}):jQuery.getJSON("/user/unsubscribe/"+c[1]+"/",function(d){jQuery(b).html("subscribe");jQuery(b).attr("id","subscribe-"+c[1])})})},EbaumMobile={mobile:!1,setHeader:function(){var b=jQuery(".headerNav").width()/2-47.5;jQuery(".mainLogo").css({left:b+"px"});jQuery(window).resize(function(){var b=jQuery(".headerNav").width()/2-47.5;jQuery(".mainLogo").css({left:b+"px"})})},setAvatars:function(){var b=
jQuery(".avatarLink").css("width");jQuery(".avatarLink, .avatarLink img").height(b);jQuery(window).resize(function(){var b=jQuery(".avatarLink img").width();jQuery(".avatarLink, .avatarLink img").height(b)})},addLoader:function(b){jQuery("#"+b).html('<div class="listLoader alignC"><img src="/img/loadingBigWhiteMatte.gif" style="width:25px; height:25px;" /></div>')},paginateAjax:function(b,c){EbaumMobile.addLoader(c);jQuery("#"+c).load(b,function(){EbaumMobile.setAvatars()})}};
function EbaumEnlarge(b){this.iPhone=b}EbaumEnlarge.prototype.enlarge=function(b){(new EbaumLightbox).launch(b,{currentIndex:1,imageCount:1});return!1};
var EbaumHistory={init:function(b){this.add(b);window.onpopstate=function(b){EbaumHistory.pop(b);EbaumListingNav.handlePop(b)}},add:function(b,c){data={url:b,extra:c};"function"===typeof history.pushState&&history.pushState(data,"",b)},pop:function(b){null!=b.state&&(url=b.state.url,Ebaum.loadUri(url))},change:function(b,c){data={url:b,extra:c};"function"===typeof history.pushState&&history.replaceState(data,"",b)}},EbaumAudio={currentPosition:null,currentState:null,autoPaused:0,sendEvent:function(b,
c){this.thisMovie("flashContainer").sendEvent(b,c)},getUpdate:function(b,c,d,f){"time"==b&&(this.currentPosition=c);"state"==b&&(this.currentState=c,0==this.currentState?jQuery("#globeAudio").attr("src","https://cdn.ebaumsworld.com/img/audiopause.png"):jQuery("#globeAudio").attr("src","https://cdn.ebaumsworld.com/img/audioplay.png"))},pauseToggle:function(){autoPaused=0==this.currentState?0:1;2==this.currentState?jQuery("#globeAudio").attr("src","https://cdn.ebaumsworld.com/img/audiopause.png"):jQuery("#globeAudio").attr("src",
"https://cdn.ebaumsworld.com/img/audioplay.png");this.sendEvent("playpause")},getCurrentPosition:function(){return 1E3*Math.round(this.currentPosition)},thisMovie:function(b){return-1!=navigator.appName.indexOf("Microsoft")?window[b]:document[b]}},EbaumVideo={isPlaying:!1,autoplayOn:!1,container:"flashContainer",suspended:!1,playerWidth:0,playerHeigh:0,playerReady:function(b,c,d){EbaumVideo.autoplayOn=EbaumVideo.thisMovie(EbaumVideo.container).getAutonext();EbaumVideo.autoplayOn?EbaumVideo.turnAutoplayOn():
EbaumVideo.turnAutoplayOff();jQuery("#autoplayToggle").show();jQuery("#autoplayToggle").click(function(){EbaumVideo.toggleAutoplay();EbaumVideo.sendEvent("autonext","js")})},thisMovie:function(b){return-1!=navigator.appName.indexOf("Microsoft")?window[b]:document.getElementById(b)},sendEvent:function(b,c){this.thisMovie(this.container).sendEvent(b,c)},getUpdate:function(b,c,d,f){"AUTONEXT"==b&&"postroll"==c&&this.toggleAutoplay();if("object"==typeof b)switch(b.newstate){case "PLAYING":this.suspended?
this.pausePlayer():this.isPlaying=!0;break;case "PAUSED":this.isPlaying=!1}},resizePlayer:function(){var b=jQuery(".mainContent").width(),c=Math.round(b/(EbaumVideo.playerWidth/EbaumVideo.playerHeight));600<c&&(c=600);EbaumVideo.playerWidth=b;EbaumVideo.playerHeight=c;EbaumVideo.thisMovie(EbaumVideo.container).width=b;EbaumVideo.thisMovie(EbaumVideo.container).height=c},pausePlayer:function(){this.sendEvent("PLAY","false");EbaumVideo.thisMovie(EbaumVideo.container).getPosition()},turnAutoplayOn:function(){jQuery("#autoplayToggle").removeClass("off");
jQuery("#autoplayToggle").html("Autoplay On");this.autoplayOn=!0},turnAutoplayOff:function(){jQuery("#autoplayToggle").addClass("off");jQuery("#autoplayToggle").html("Autoplay Off");this.autoplayOff=!1},toggleAutoplay:function(){jQuery("#autoplayToggle").hasClass("off")?this.turnAutoplayOn():this.turnAutoplayOff()}},EbaumColumnStick={initRightColumn:function(){var b=jQuery("#rightColumnStick"),c=jQuery("#rightColumnStick").offset().top,d=jQuery(".rightColumn"),f=32;d.length||(d=jQuery(".communityFeed"),
f=70);var g=jQuery(".featureFeed");g.length||(g=jQuery(".mainContent"));var h=!1,k=!1,l=!1;jQuery(document).ready(function(){});jQuery(window).bind("scroll",function(){if(!k){var m=jQuery(b).offset().top;m!=c&&(c=m);jQuery(d).height()<jQuery(g).height()-f&&jQuery(d).height(jQuery(g).height()-f)}m=jQuery(document).scrollTop();jQuery(g).height()<jQuery(d).height()||(m>c&&!1===h?(k=h=!0,m=90,jQuery(b).css({position:"fixed",top:m,"padding-top":"10px",width:jQuery(".rightColumn").width()})):(m<c&&!0===
h&&(h=!1,jQuery(b).css({position:"static","padding-top":"0px",width:jQuery(".rightColumn").width()})),1==h&&(containerTop=jQuery(g).offset().top,containerHeight=jQuery(g).height(),bottomThreshold=containerTop+containerHeight-jQuery(b).outerHeight()-f,m>bottomThreshold&&0==l&&(l=!0,jQuery(b).css({position:"absolute",bottom:0,top:"auto"})),1==l&&bottomThreshold>m&&(m=90,jQuery(b).css({position:"fixed",bottom:"auto",top:m}),l=!1))))})},initMiddleColumn:function(){var b=jQuery(".homepageFeatures"),c=
jQuery(".viralUl li"),d=jQuery(c[c.length-1]),f=jQuery(d).offset().top,g=!1,h=!1,k=!1;jQuery(window).bind("scroll",function(){if(!h){var c=jQuery(d).offset().top;c>f&&(f=c)}c=jQuery(document).scrollTop();c>f&&0==g?(h=g=!0,jQuery(d).css({position:"fixed",top:"72px",width:jQuery(".viralLi").width()})):(c<f&&1==g&&(g=!1,jQuery(d).css({position:"static"})),1==g&&(containerTop=jQuery(b).offset().top,containerHeight=jQuery(b).height(),bottomThreshold=containerTop+containerHeight-jQuery(d).height(),c>bottomThreshold&&
0==k&&(k=!0,jQuery(".viralUl").height(jQuery(b).height()),jQuery(d).css({position:"absolute",bottom:"0",top:"auto"})),1==k&&bottomThreshold>c&&(jQuery(d).css({position:"fixed",top:"72px",bottom:"auto",width:jQuery(".viralLi").width()}),k=!1)))})}},EbaumScrollAd={type:null,el:null,pos:null,rendered:!1,fixed:!1,updated:!1,init:function(b){this.type=b;window.onscroll=EbaumScrollAd.trackScroll;b=document.getElementById("mediumRectBTF");this.pos=EbaumScrollAd.getElementPos(b);EbaumScrollAd.el=document.getElementById("mediumRectBTF")},
getScrollPos:function(){return window.innerHeight?[window.innerWidth-10,window.innerHeight-10,window.pageXOffset,window.pageYOffset]:document.documentElement.clientHeight?[document.documentElement.clientWidth-10,document.documentElement.clientHeight-10,document.documentElement.scrollLeft,document.documentElement.scrollTop]:[document.body.clientWidth,document.body.clientHeight,document.body.scrollLeft,document.body.scrollTop]},trackScroll:function(){void 0==EbaumScrollAd.el&&(EbaumScrollAd.el=document.getElementById("mediumRectBTF"));
var b=EbaumScrollAd.getScrollPos();3E3<b[3]&&0==EbaumScrollAd.updated&&(EbaumScrollAd.pos=EbaumScrollAd.getElementPos(EbaumScrollAd.el),EbaumScrollAd.updated=!0);var c=EbaumScrollAd.pos;3500<b[3]&&b[3]>c&&0==EbaumScrollAd.fixed&&(EbaumScrollAd.fixed=!0,EbaumScrollAd.pos=EbaumScrollAd.getElementPos(EbaumScrollAd.el),jQuery("#mediumRectBTF").addClass("fixedRight"));b[3]<=c&&1==EbaumScrollAd.fixed&&(EbaumScrollAd.fixed=!1,jQuery("#mediumRectBTF").removeClass("fixedRight"))},getElementPos:function(b){var c=
0;if(b.offsetParent){do c+=b.offsetTop;while(b=b.offsetParent)}return c}},EbaumGAHelper={gaHelper:null,addClickContainer:function(b){null==this.gaHelper&&(this.gaHelper=new EbaumGAEvent);this.gaHelper.addClickContainer(b)}},EbaumKeyMapStack={maps:null,init:function(){null==this.maps&&(this.maps=[],obj=this,document.onkeyup=function(b){obj.handleKeyUp.call(obj,b)},document.onkeydown=function(b){obj.handleKeyDown.call(obj,b)},document.onkeypress=function(b){obj.handleKeyPress.call(obj,b)})},addMap:function(b){this.init();
if(b instanceof EmuseKeyMap)this.maps.push(b);else throw"Invalid Type: Key map must be instace of EmuseKeyMap";},removeMap:function(){null!=this.maps&&this.maps.pop()},handleKeyUp:function(b){this.maps[this.maps.length-1].handleKeyUp(b)},handleKeyDown:function(b){this.maps[this.maps.length-1].handleKeyDown(b)},handleKeyPress:function(b){this.maps[this.maps.length-1].handleKeyPress(b)}},EbaumSwipeMapStack={maps:null,init:function(){null==this.maps&&(this.maps=[],obj=this,jQuery(document).on("swipeleft",
{stack:obj},obj.handleSwipeLeft),jQuery(document).on("swiperight",{stack:obj},obj.handleSwipeRight))},addMap:function(b){this.init();if(b instanceof EmuseSwipeMap)this.maps.push(b);else throw"Invalid Type: Swipe map must be instace of EmuseSwipeMap";},removeMap:function(){null!=this.maps&&this.maps.pop()},handleSwipeLeft:function(b){var c=b.data.stack.maps.length;0<c&&b.data.stack.maps[c-1].handleSwipeLeft(b)},handleSwipeRight:function(b){b.data.stack.maps[b.data.stack.maps.length-1].handleSwipeRight(b)}},
EbaumManualShare={_ga:null,_fb:null,_thumb:null,_pingGA:function(b,c,d){null==this._ga&&(this._ga=new EbaumGAEvent);this._ga.fireGA("Media - Share - "+c,b,d)},_pingFB:function(b){null==this._fb&&(this._fb=new EbaumFBEvent);this._fb.fireFB("mediaShare",b,!0)},shareFacebook:function(b,c){FB.ui({method:"share",mobile_iframe:!0,href:b},function(b){});this._pingGA("facebook",c,b);this._pingFB("facebook");return!1},shareTwitter:function(b,c){this._pingGA("twitter",c,b);this._pingFB("twitter");var d="https://twitter.com/intent/tweet?original_referer="+
b+"&related=ebaumsworld&text="+escape(jQuery("#detailPage h1.title ").html())+"&tw_p=tweetbutton&url="+b+"&via=ebaumsworld";window.open(d,"sharer","toolbar=0,status=0,width=626,height=256,top="+(window.screen.height/2-218)+",left="+(window.screen.width/2-313));window.focus();return!1},shareStumble:function(b,c){this._pingGA("stumble",c,b);this._pingFB("stumble");var d="https://www.stumbleupon.com/submit?url="+b+"&title="+jQuery("#detailPage .description").html();window.open(d,"sharer","toolbar=0,status=0,width=626,height=256,top="+
(window.screen.height/2-218)+",left="+(window.screen.width/2-313));window.focus();return!1},shareFlipboard:function(b,c){this._pingGA("flipboard",c,b);this._pingFB("flipboard");window.open("https://share.flipboard.com/bookmarklet/popout?v=2&title="+document.title+"&url="+b+"&utm_campaign=tools&utm_medium=article-share&utm_source=www.ebaumsworld.com","sharer","toolbar=0,status=0,width=626,height=256,top="+(window.screen.height/2-218)+",left="+(window.screen.width/2-313));window.focus()},sharePinterest:function(b,
c){this._pingGA("pinterest",c,b);this._pingFB("pinterest");switch(c){case "top":case "bottom":image=jQuery("meta[property='og:image']").attr("content");break;case "lightbox":image=jQuery("#enlargedImage").attr("src");break;case "list":image=this._thumb;break;default:image=jQuery("#galleryFeatureImage").attr("src")}var d="https://pinterest.com/pin/create/bookmarklet/?url="+b+"&media="+image+"&description="+escape(jQuery("#detailPage h1.title ").html());window.open(d,"sharer","toolbar=0,status=0,width=626,height=256,top="+
(window.screen.height/2-218)+",left="+(window.screen.width/2-313));window.focus();return!1},shareEmail:function(b,c){console.log(b);this._pingGA("email",c,b);this._pingFB("email");var d="mailto:?subject="+escape(jQuery("#detailPage h1.title").html())+"&body=Check out this awesome image I found on eBaum's World! "+b;window.open(d,"sharer","toolbar=0,status=0,width=826,height=456,top="+(window.screen.height/2-418)+",left="+(window.screen.width/2-413));window.focus();return!1},shareWhatsapp:function(b,
c){this._pingGA("whatsapp",c,b);this._pingFB("whatsapp");window.open("whatsapp://send?text="+b,"sharer","toolbar=0,status=0,width=626,height=256,top="+(window.screen.height/2-218)+",left="+(window.screen.width/2-313));window.focus();return!1}},EbaumSocialOverlayDisplay={hoverTimer:!1,slideOutShown:!0,init:function(b,c){var d=this;0==c&&(this.slideOutShown=!0);jQuery(b).hover(function(){d.slideOutShown||(d.showRemixLink(),d.slideOutShown=!0);d.hoverTimer=setTimeout(function(){d.hideSocialOverlay()},
3E3);jQuery(b).mousemove(function(){jQuery("#socialOverlay").show();d.slideOutShown||(d.showRemixLink(),d.slideOutShown=!0);window.clearTimeout(d.hoverTimer);d.hoverTimer=setTimeout(function(){d.hideSocialOverlay()},3E3)})});jQuery(b).mouseleave(function(){jQuery("#remixLink span").hide();jQuery("#remixLink").width(31)})},hideSocialOverlay:function(){0==jQuery("#socialOverlay:hover").length&&jQuery("#socialOverlay").fadeOut("slow",function(){jQuery("#remixLink span").hide();jQuery("#remixLink").width(31)})},
showRemixLink:function(){256!=jQuery("#remixLink").width()&&jQuery("#remixLink").animate({width:"256px"},500,function(){jQuery("#remixLink span").fadeIn()})}};EbaumListingNav.prototype=new EmuseEvent;EbaumListingNav.constructor=EbaumListingNav;var originalState;
function EbaumListingNav(b,c){this._container=b;this._action=c.action;this._mediaType=c.mediaType;this._modType=c.modType;this._featureType=c.featureType;this._dateType=c.dateType;this._subscribeType=c.subscribeType;this._layoutType="";this._tag=c.tag;this._searchTerm=c.searchTerm;this._sortType=c.sortType;this._remixId=c.remixId;this._mediaId=c.mediaId;selectedEls=jQuery(".selected");originalState={};for(var d=0,f=selectedEls.length;d<f;d++)originalState[d]=jQuery(selectedEls[d]).attr("id");this._container.onclick=
this.bind(this.handleClick);this._container.onchange=this.bind(this.handleChange)}EbaumListingNav.handlePop=function(b){extras=(popExtras=b.state.extra)?popExtras:originalState;for(div in extras)if(jQuery("#"+extras[div]).parent().siblings().children().removeClass("selected"),jQuery("#"+extras[div]).addClass("selected"),"featured-false"==extras[div]||"featured-featured"==extras[div])string=b=extras[div].split("-")[1],"false"==b&&(string="All"),jQuery("#filterDropLabel").html(string)};
EbaumListingNav.prototype.handleClick=function(b){b=b||window.event;b=b.target||b.srcElement;var c=b.id.split("-"),d=c[0],c=c[1];-1==jQuery(b).parents().index(jQuery("#filterDropList"))&&"filterDropTrigger"!=jQuery(b).attr("id")&&-1==jQuery(b).parents().index(jQuery("#filterDropTrigger"))&&jQuery("#filterDropList").is(":visible")&&jQuery("#filterDropList").hide();switch(d){case "media":this._mediaType="all"==c?!1:c;this.setSelected(b);this.buildUrl();break;case "date":this._dateType="month"==c?!1:
c;this.setSelected(b);this.buildUrl();break;case "subscribed":this._subscribeType="false"==c?!1:c;this.setSelected(b);this.buildUrl();break;case "sort":this._sortType="false"==c?!1:"tags"!=this._action&&"categories"!=this._action&&"remixes"!=this._action||"newest"!=c?c:!1;this.setSelected(b);this.buildUrl();break;case "moderate":this._modType=c;this._featureType=!1;string="nonfeatured"==c?"Non-Featured":c;jQuery("#filterDropLabel").html(string);jQuery("#filterDropList").hide();this.setSelected(b);
this.buildUrl();break;case "featured":this._modType=!1;string=c;"false"==c?(this._featureType=!1,string="Featured"):this._featureType=c;jQuery("#filterDropLabel").html(string);jQuery("#filterDropList").hide();this.setSelected(b);this.buildUrl();break;case "layout":this._layoutType=c;this.setSelected(b);this.buildUrl();break;case "filterDropTrigger":case "filterDropLabel":jQuery("#filterDropList").toggle();break;case "search":this._searchTerm=jQuery("#searchResultInput").val();this.buildUrl();break;
case "contest":window.location="newest"==c?"/contests/":"/popular/contest/"}};
EbaumListingNav.prototype.handleChange=function(b){b=b||window.event;b=b.target||b.srcElement;var c=b.id.split("-"),c=c[0];switch(c){case "mediaSelect":c=jQuery("#"+c).val().split("-");c=c[1];this._mediaType="all"==c?!1:c;this.setSelected(b);this.buildUrl();break;case "mobileFeatureSelect":c=jQuery("#"+c+" option:selected").attr("id").split("-");c=c[1];this._featureType="false"==c?!1:c;this.setSelected(b);this.buildUrl();break;case "mobileSortSelect":c=jQuery("#"+c+" option:selected").attr("id").split("-"),
this._sortType=c=c[1],window.location="/"+this._sortType+"/"+this._mediaType+"/"}};EbaumListingNav.prototype.setSelected=function(b){jQuery(b).parent().siblings().children().removeClass("selected");jQuery(b).addClass("selected")};
EbaumListingNav.prototype.buildUrl=function(){var b="/";0<=this._action.search("user")?(b+=this._action+"/",this._mediaType&&(b+=this._mediaType+"/")):this._mediaType?(b+=this._mediaType+"/","newest"!=this._action&&"categories"!=this._action&&(b+=this._action+"/")):"categories"!=this._action&&(b+=this._action+"/");this._tag&&(b+=this._tag+"/");this._searchTerm&&(b+=this._searchTerm+"/");this._subscribeType&&(b+=this._subscribeType+"/");this._remixId?(this._mediaType&&(b+=this._mediaType+"/"),b+=this._remixId+
"/",this._sortType&&(b+=this._sortType+"/")):(this._sortType&&(b+=this._sortType+"/"),this._dateType&&(b+=this._dateType+"/"));this._modType&&(b+=this._modType+"/");this._featureType&&"featured"!=this._featureType&&(b+=this._featureType+"/");this._layoutType&&(b+="?layout="+this._layoutType);"submissions"==this._action&&"contest"==this._mediaType&&(b="/contest/view/"+this._mediaId+"/submissions/",b=this._sortType?b+(this._sortType+"/"):b+"newest/",this._layoutType&&(b+="?layout="+this._layoutType));
for(var c=jQuery(".selected"),d=0,f=c.length;d<f;d++)jQuery(c[d]).attr("id");this._layoutType?(jQuery(".listingLoader").slideDown(),jQuery("#mediaListColumn").load(b,function(){jQuery(".listingLoader").slideUp()}),this._layoutType=""):window.location=b};EbaumListingNav.prototype.page=function(b){window.location=b};EbaumListingNav.prototype._splitId=function(b){b=b.id.split("-");return{type:b[0],id:b[1]}};EbaumUserMenu.prototype=new EmuseEvent;EbaumUserMenu.constructor=EbaumUserMenu;function EbaumUserMenu(b,c){this._container=b;this._auth=c;this._container.onclick=this.bind(this.handleClick)}
EbaumUserMenu.prototype.handleClick=function(b){b=b||window.event;b=b.target||b.srcElement;switch(b.id.split("-")[0]){case "subscribe":this.checkAuth()&&this.subscribe(b);break;case "unsubscribe":this.checkAuth()&&this.unsubscribe(b);break;case "addBuddy":this.checkAuth()&&this.addBuddy(b);break;case "mobileAddBuddy":this.checkAuth()&&this.mobileAddBuddy(b);break;case "removeBuddy":this.checkAuth()&&this.removeBuddy(b);break;case "mobileRemoveBuddy":this.checkAuth()&&this.mobileRemoveBuddy(b);break;
case "block":this.checkAuth()&&this.block(b);break;case "unblock":this.checkAuth()&&this.unblock(b);break;case "favorite":this.checkAuth()&&(jQuery("#favorite").hasClass("favorited")?this.unfavorite():this.favorite());break;case "sendPM":this.checkAuth()&&this.sendPM(b);break;case "editProfile":this.checkAuth()&&this.editProfile(b)}};EbaumUserMenu.prototype.checkAuth=function(){return this._auth?!0:(jQuery("#jqModal").jqm({ajax:"/user/login/"}),jQuery("#jqModal").jqmShow(),!1)};
EbaumUserMenu.prototype.subscribe=function(b){var c=b.id.split("-");jQuery.get("/user/subscribe/"+c[1]+"/",function(d){d.success?(jQuery(b).html("unsubscribe"),jQuery(b).removeClass("subscribe").addClass("unsubscribe"),jQuery(b).attr("id","unsubscribe-"+c[1])):populateModal("<h1>Error</h1>")})};
EbaumUserMenu.prototype.unsubscribe=function(b){var c=b.id.split("-");jQuery.getJSON("/user/removesubscription/"+c[1]+"/",function(d){d.success?(jQuery(b).html("subscribe"),jQuery(b).removeClass("unsubscribe").addClass("subscribe"),jQuery(b).attr("id","subscribe-"+c[1])):populateModal("<h1>Error</h1>")})};
EbaumUserMenu.prototype.block=function(b){var c=b.id.split("-");jQuery.get("/user/blockuser/"+c[1]+"/",function(d){d.success?(jQuery(b).html("unblock"),jQuery(b).removeClass("blockUser").addClass("unblockUser"),jQuery(b).attr("id","unblock-"+c[1])):populateModal("<h1>Error</h1>")})};
EbaumUserMenu.prototype.unblock=function(b){var c=b.id.split("-");jQuery.get("/user/unblockuser/"+c[1]+"/",function(d){d.success?(jQuery(b).html("block"),jQuery(b).removeClass("unblockUser").addClass("blockUser"),jQuery(b).attr("id","block-"+c[1])):populateModal("<h1>Error</h1>")})};
EbaumUserMenu.prototype.addBuddy=function(b){var c=b.id.split("-");jQuery.get("/user/addbuddy/"+c[1]+"/",function(c){c.success?(jQuery(b).html("pending"),jQuery(b).removeClass("addBuddy").addClass("requestSent").addClass("disabled")):populateModal("<h1>Error</h1>")})};
EbaumUserMenu.prototype.removeBuddy=function(b){var c=b.id.split("-");jQuery.get("/user/removebuddy/"+c[1]+"/",function(d){d.success?(jQuery(b).html("add buddy"),jQuery(b).removeClass("removeBuddy").addClass("addBuddy"),jQuery(b).attr("id","addBuddy-"+c[1])):populateModal("<h1>Error</h1>")})};EbaumUserMenu.prototype.mobileAddBuddy=function(b){var c=b.id.split("-");jQuery.get("/user/addbuddy/"+c[1]+"/",function(c){c.success?(jQuery(b).html("Pending"),jQuery(b).attr("id","mobileBuddyAdded")):populateModal("<h1>Error</h1>")})};
EbaumUserMenu.prototype.mobileRemoveBuddy=function(b){var c=b.id.split("-");jQuery.get("/user/removebuddy/"+c[1]+"/",function(d){d.success?(jQuery(b).attr("id","mobileAddBuddy-"+c[1]),jQuery(b).html("Add Buddy")):populateModal("<h1>Error</h1>")})};EbaumUserMenu.prototype.sendPM=function(b){b=b.id.split("-");window.location.href="/message/compose/?buddy="+b[1]};EbaumUserMenu.prototype.editProfile=function(b){jQuery("#jqModal").jqm({ajax:"/user/edit/"});jQuery("#jqModal").jqmShow()};
EbaumUserMenu.prototype._splitId=function(b){b=b.id.split("-");return{type:b[0],id:b[1]}};EbaumLiveRail.constructor=EbaumLiveRail;
function EbaumLiveRail(b,c,d){this._LiveRailVPAID;this._vpaidFrame;this._vpaidLoader;this._videoSrc=d.filePath;this._videoTitle=d.title;this._videoId=d.id;this._tier=d.tier;this._autoplay=d.autoplay;this._videoWrapper=document.getElementById(b);this._videoElement=document.getElementById(c);var f=this;this._vpaidFrame=document.createElement("iframe");this._vpaidFrame.style.display="none";this._vpaidFrame.onload=function(){console.log("vpaid Frame loaded");f._vpaidLoader=f._vpaidFrame.contentWindow.document.createElement("script");
f._vpaidLoader.src="https://cdn-static.liverail.com/js/LiveRail.AdManager-1.0.js";f._vpaidLoader.onload=function(){f._LiveRailVPAID=f._vpaidFrame.contentWindow.getVPAIDAd();f._LiveRailVPAID.handshakeVersion("2.0");f.onVPAIDLoad();f._videoWrapper.onclick=function(){console.log("wrapper click");f.initing()};f._videoElement.onclick=function(){console.log("video click");return!1}};f._vpaidFrame.contentWindow.document.body.appendChild(f._vpaidLoader)};document.body.appendChild(this._vpaidFrame)}
EbaumLiveRail.prototype.initing=function(){console.log("initing");this._LiveRailVPAID.initAd(this._videoElement.offsetWidth,this._videoElement.offsetHeight,"normal",600,{},{slot:this._videoWrapper,videoSlot:this._videoElement,videoSlotCanAutoPlay:!0,LR_PUBLISHER_ID:1406,LR_TAGS:"demo",LR_VIDEO_ID:this._videoId,LR_TITLE:this._videoTitle,LR_AUTOPLAY:this._autoplay,LR_VERTICALS:"mobile,tier"+this._tier,LR_PLAYER_HANDLES_CLICK:1})};
EbaumLiveRail.prototype.playerReset=function(b){console.log("player reset");""===this._videoElement.canPlayType("video/mp4")&&""!==this._videoElement.canPlayType("video/webm")?console.log("playing webm"):(console.log("playing mp4 "+this._videoSrc),this._videoElement.src=this._videoSrc);this._videoElement.load();this._videoElement.play();this._videoWrapper.onclick=function(){};this._videoElement.onclick=function(){}};
EbaumLiveRail.prototype.onVPAIDLoad=function(b){console.log("on VPAID Load");self=this;this._LiveRailVPAID.subscribe(function(){self._LiveRailVPAID.startAd()},"AdLoaded");this._LiveRailVPAID.subscribe(function(){self.playerReset()},"AdStopped");this._LiveRailVPAID.subscribe(function(){self.playerReset()},"AdError");this._LiveRailVPAID.subscribe(function(b){console.log("AdLog: "+b)},"AdLog")};EbaumMediaDetail.prototype=new EmuseEvent;EbaumMediaDetail.constructor=EbaumMediaDetail;
function EbaumMediaDetail(b,c,d,f){this._container=b;this._id=c;this._auth=d;this._mediaType=f;this._ga=new EbaumGAEvent;this._container.onclick=this.bind(this.handleClick);this._relatedMoreClick=0;this._relatedMobilePages=3;var g=this;0<jQuery("#mobileFBShareOverlay").length&&setTimeout(function(){jQuery("#mobileFBShareOverlay").slideDown()},25E3);if(0<jQuery("#mobileFBBotOverlay").length){setTimeout(function(){jQuery("#mobileFBBotOverlay").slideDown()},25E3);var h=this;jQuery("#bot-facebook-mobileOverlay").click(function(){h._ga.fireGA("Media - Mobile - FB Bot Overlay",
"subscribe",window.location.href);window.location="https://m.me/ebaumsworld?ref=website,mobile_optin"})}jQuery("#detailNextMedia").click(function(){g._ga.fireGA("Media - Next",g._mediaType,"btf")})}
EbaumMediaDetail.prototype.handleClick=function(b){b=b||window.event;b=b.target||b.srcElement;var c=b.id.split("-"),d=c[0],f=c[1],g=c[2];"dropListTrigger"!=d&&"sortDropTrigger"!=d&&"sortDropLabel"!=d&&jQuery(".dropList").is(":visible")&&jQuery(".dropList").hide();switch(d){case "dropListTrigger":this.checkAuth()&&EbaumUser.triggerMenu(g,f);break;case "sortDropTrigger":case "sortDropLabel":jQuery("#filterDropList").toggle();break;case "subscribe":this.checkAuth()&&this.subscribe(b);break;case "unsubscribe":this.checkAuth()&&
this.unsubscribe(b);break;case "addBuddy":this.checkAuth()&&this.addBuddy(b);break;case "removeBuddy":this.checkAuth()&&this.removeBuddy(b);break;case "block":this.checkAuth()&&this.block(b);break;case "unblock":this.checkAuth()&&this.unblock(b);break;case "favorite":this.checkAuth()&&(jQuery("#favorite").hasClass("favorited")?this.unfavorite():this.favorite());break;case "flag":this.checkAuth()&&(jQuery("#flag").hasClass("flagged")||this.flag());break;case "sendPM":this.checkAuth()&&this.sendPM(b);
break;case "showcase":this.checkAuth()&&this.showcase(b);break;case "userDelete":this.checkAuth()&&this.userDelete(b);break;case "seekImage":gallery&&gallery.seekHandler(f);break;case "seekTime":ebwPlayer&&ebwPlayer.seekHandler(f);break;case "share":if(!isNaN(c[3])||"lightbox"==g)break;this.share(f,g,c[3]);break;case "comments":jQuery("html, body").animate({scrollTop:jQuery("#commentSection").offset().top},200);break;case "mobileFBLikeClose":jQuery("#mobileFBShareOverlay, #mobileFBBotOverlay").slideUp("fast");
this._ga.fireGA("Media - Mobile - Share Overlay","close",window.location.href);jQuery("#pushNotificationWrapper").show();Ebaum.setCookie("mobileShareOverlay","true",1);break;case "detailNextMedia":this._ga.fireGA("Media - Next",this._mediaType,"btf");break;case "mobileMoreMedia":this._ga.fireGA("Media - Next","mobile","btf");break;case "mobileRelatedShowMore":if(this._relatedMoreClick++,console.log("click!",this._relatedMoreClick),3>this._relatedMoreClick){this._ga.fireGA("Related - More","mobile",
this._relatedMoreClick);b=jQuery("#mobileRelatedMediaList li");c=4+4*this._relatedMoreClick;for(d=0;d<c;d++)jQuery(b[d]).show();2==this._relatedMoreClick&&jQuery("#mobileRelatedShowMore").hide()}}};
EbaumMediaDetail.prototype.share=function(b,c,d){var f=window.location.href.split("?")[0]+"?utm_source=social-share";isNaN(d)||d==this._id||(f+="&image="+d);switch(b){case "facebook":EbaumManualShare.shareFacebook(f,c);break;case "twitter":EbaumManualShare.shareTwitter(f,c);break;case "stumble":EbaumManualShare.shareStumble(f,c);break;case "flipboard":EbaumManualShare.shareFlipboard(f,c);break;case "pinterest":EbaumManualShare.sharePinterest(f,c);break;case "email":EbaumManualShare.shareEmail(f,c);
break;case "whatsapp":EbaumManualShare.shareWhatsapp(f,c)}};EbaumMediaDetail.prototype.checkAuth=function(){return this._auth?!0:(EbaumMobile.mobile?window.location="/user/login/":(jQuery("#jqModal").jqm({ajax:"/user/login/"}),jQuery("#jqModal").jqmShow()),!1)};EbaumMediaDetail.prototype.subscribe=function(b){var c=b.id.split("-");jQuery.get("/user/subscribe/"+c[1]+"/",function(c){c.success?jQuery(b).html("Success"):populateModal("oops")})};
EbaumMediaDetail.prototype.unsubscribe=function(b){var c=b.id.split("-");jQuery.getJSON("/user/removesubscription/"+c[1]+"/",function(c){c.success?jQuery(b).html("Success"):populateModal("oops")})};EbaumMediaDetail.prototype.block=function(b){var c=b.id.split("-");jQuery.get("/user/blockuser/"+c[1]+"/",function(c){c.success?jQuery(b).html("Success"):populateModal("oops")})};
EbaumMediaDetail.prototype.unblock=function(b){var c=b.id.split("-");jQuery.get("/user/unblockuser/"+c[1]+"/",function(c){c.success?jQuery(b).html("Success"):populateModal("oops")})};EbaumMediaDetail.prototype.addBuddy=function(b){var c=b.id.split("-");jQuery.get("/user/addbuddy/"+c[1]+"/",function(c){c.success?jQuery(b).html("Success"):populateModal("oops")})};
EbaumMediaDetail.prototype.removeBuddy=function(b){var c=b.id.split("-");jQuery.get("/user/removebuddy/"+c[1]+"/",function(c){c.success?jQuery(b).html("Success"):populateModal("oops")})};EbaumMediaDetail.prototype.sendPM=function(b){b=b.id.split("-");jQuery("#jqModal").jqm({ajax:"/message/compose/?buddy="+b[1]});jQuery("#jqModal").jqmShow()};
EbaumMediaDetail.prototype.favorite=function(b){jQuery.getJSON("/user/addfavorite/"+this._id+"/",function(b){return b.success?(jQuery(".favoriteStat").addClass("favorited"),b=jQuery(".favoriteCount").html(),b=parseInt(b),0<b?b++:b=1,jQuery(".favoriteCount").html(b),jQuery("#favorite").attr("title","Click to remove from your favorites!"),!0):!1})};
EbaumMediaDetail.prototype.unfavorite=function(b){jQuery.getJSON("/user/removefavorites/"+this._id+"/",function(b){return b.success?(jQuery(".favoriteStat").removeClass("favorited"),b=jQuery(".favoriteCount").html(),b=parseInt(b),0<b?b--:b=1,jQuery(".favoriteCount").html(b),jQuery("#favorite").attr("title","Click to add to your favorites!"),!0):!1})};
EbaumMediaDetail.prototype.flag=function(b){jQuery.get("/media/flag/"+this._id+"/",function(b){if(b.success)return jQuery("#flag").addClass("flagged"),!0;jQuery("#flag").addClass("flagged");return!1})};EbaumMediaDetail.prototype.showcase=function(b){jQuery.get("/user/setshowcase/"+this._id+"/",function(b){if(b.success)return window.location=b.data,!0;jQuery("#flag").hide();return!1})};
EbaumMediaDetail.prototype.userDelete=function(b){confirm("Do you really want to delete this media item?")&&jQuery.get("/user/removeuploads/"+this._id+"/",function(b){b.success?window.location="/":populateModal("<h1>ALERT</h1> Media failed to delete.")});return!1};EbaumMediaDetail.prototype._splitId=function(b){b=b.id.split("-");return{type:b[0],id:b[1]}};EbaumMediaEngage.prototype=new EmuseEvent;EbaumMediaEngage.constructor=EbaumMediaEngage;
function EbaumMediaEngage(b,c,d){this._container=b;this._mediaType=c;this._mobile=d.mobile;this._ga=new EbaumGAEvent;this._engaged=!1;this._scrollThreshold=100;this._pageHeight;this._contentOffset;this._container.addEventListener("click",this.bind(this.handleClick));window.addEventListener("scroll",this.bind(this.handleScroll));switch(c){case "video":case "audio":this._length=d.length;this._length||(this._length=60);length=Math.round(.2*this._length);var f=this;setTimeout(function(){f.fireEngaged()},
1E3*length);break;case "gallery":if(this._mobile)this._galleryView="list",images=jQuery(".mobileGalleryItem"),this._firstImage=images[0];else switch(this._galleryObj=d.gallery,this._galleryObj.addListener(GalleryEvent.IMAGE_CHANGE,this.bind(this.fireEngaged)),this._galleryObj.addListener(GalleryEvent.VIEW_CHANGE,this.bind(this.fireEngaged)),this._galleryObj.addListener(GalleryEvent.LIGHTBOX_LAUNCH,this.bind(this.fireEngaged)),this._galleryView=this._galleryObj._view,this._galleryView){case "list":images=
jQuery(".galleryListItem"),this._firstImage=images[0]}}}EbaumMediaEngage.prototype.handleClick=function(b){if(!this._engaged){b=b||window.event;switch((b.target||b.srcElement).id.split("-")[0]){case "share":this.fireEngaged();break;case "videoPlayer":case "video":this.fireEngaged()}switch(this._mediaType){case "contest":this.fireEngaged()}}};
EbaumMediaEngage.prototype.handleScroll=function(){if(!this._engaged)switch(mediaHeight=jQuery(".media").height(),screenHeight=window.innerHeight,mediaTop=jQuery(".media").offset().top,mediaBottom=mediaTop+mediaHeight,this._mediaType){case "gallery":switch(this._galleryView){case "list":jQuery(this._firstImage).offset().top+jQuery(this._firstImage).height()<=jQuery(window).scrollTop()&&this.fireEngaged();break;case "grid":jQuery(".galleryGridView").offset().top<=jQuery(window).scrollTop()&&this.fireEngaged()}break;
case "article":case "blog":case "joke":mediaHeight<screenHeight?mediaBottom<jQuery(window).scrollTop()&&this.fireEngaged():mediaTop+.2*mediaHeight<=jQuery(window).scrollTop()&&this.fireEngaged();break;case "contest":jQuery("#contestTabs").offset().top<=jQuery(window).scrollTop()&&this.fireEngaged();break;case "game":case "soundboard":case "animation":case "picture":mediaHeight<screenHeight?mediaBottom<jQuery(window).scrollTop()+screenHeight&&this.fireEngaged():mediaTop<=jQuery(window).scrollTop()&&
this.fireEngaged()}};EbaumMediaEngage.prototype.fireEngaged=function(){0==this._engaged&&(this._ga.fireGA("Media - Engaged",this._mediaType,window.location.href,!0),this._engaged=!0,window.removeEventListener("scroll",this.handleScroll),this._container.removeEventListener("click",this.handleClick))};EbaumMediaEngage.prototype._splitId=function(b){b=b.id.split("-");return{type:b[0],id:b[1]}};EbaumBinaryVote.prototype=new EmuseEvent;EbaumBinaryVote.constructor=EbaumBinaryVote;function EbaumBinaryVote(b,c){this._container=b;this._id=c.id;this._total=c.total;this._one=c.one;this._zero=c.zero;this._type=c.type;this._voted=this._busy=!1;this._container.onclick=this.bind(this.handleClick)}
EbaumBinaryVote.prototype.handleClick=function(b){b=b||window.event;b=this._splitId(b.target||b.srcElement);if(!this._busy)switch(b.type){case "voteReal":this.voteOne("realorfakevote");break;case "voteFake":this.voteZero("realorfakevote");break;case "commentVoteUp":this.voteOne("commentvote",b.id);break;case "commentVoteDown":this.voteZero("commentvote",b.id)}};
EbaumBinaryVote.prototype.voteOne=function(b,c){var d=this;this._busy=!0;switch(b){case "realorfakevote":jQuery.post("/media/"+b+"/"+this._id+"/",{vote:1},function(b){b.success&&(jQuery(".realResults .voteCount").html(d._one+1+" Votes"),jQuery(".barResults .real").css({width:(d._one+1)/(d._total+1)*100+"%"}),jQuery(".barResults .fake").css({width:d._zero/(d._total+1)*100+"%"}),jQuery("#realOrFakeVote").hide(),jQuery("#realOrFakeResults").show());d._busy=!1});break;case "commentvote":jQuery.post("/comment/vote/"+
c+"/",{vote:1},function(b){b.success&&(jQuery("#commentVoteUp-"+c).addClass("active"),jQuery("#commentVoteDown-"+c).addClass("disabled"),count=jQuery("#voteUpCount-"+c).html(),jQuery.isNumeric(count)&&jQuery("#voteUpCount-"+c).html(parseInt(count)+1),jQuery("#commentVoteUp-"+c).removeAttr("id"),jQuery("#commentVoteDown-"+c).removeAttr("id"));d._busy=!1})}};
EbaumBinaryVote.prototype.voteZero=function(b,c){var d=this;this._busy=!0;switch(b){case "realorfakevote":jQuery.post("/media/"+b+"/"+this._id+"/",{vote:0},function(b){b.success&&(jQuery(".fakeResults .voteCount").html(d._zero+1+" Votes"),jQuery(".barResults .fake").css({width:(d._zero+1)/(d._total+1)*100+"%"}),jQuery(".barResults .real").css({width:d._one/(d._total+1)*100+"%"}),jQuery("#realOrFakeVote").hide(),jQuery("#realOrFakeResults").show());d._busy=!1});break;case "commentvote":jQuery.post("/comment/vote/"+
c+"/",{vote:0},function(b){b.success&&(jQuery("#commentVoteDown-"+c).addClass("active"),jQuery("#commentVoteUp-"+c).addClass("disabled"),count=jQuery("#voteDownCount-"+c).html(),jQuery.isNumeric(count)&&jQuery("#voteDownCount-"+c).html(parseInt(count)-1),jQuery("#commentVoteDown-"+c).removeAttr("id"),jQuery("#commentVoteUp-"+c).removeAttr("id"));d._busy=!1})}};EbaumBinaryVote.prototype._splitId=function(b){b=b.id.split("-");return{type:b[0],id:b[1]}};function EmuseKeyMap(){}EmuseKeyMap.prototype.handleKeyUp=function(b){};EmuseKeyMap.prototype.handleKeyDown=function(b){};EmuseKeyMap.prototype.handleKeyPress=function(b){};function EmuseSwipeMap(){}EmuseSwipeMap.prototype.handleSwipeLeft=function(b){};EmuseSwipeMap.prototype.handleSwipeRight=function(b){};EbaumMobileNavSwipeMap.prototype=new EmuseSwipeMap;EbaumMobileNavSwipeMap.constructor=EbaumMobileNavSwipeMap;function EbaumMobileNavSwipeMap(b){this._nav=b}EbaumMobileNavSwipeMap.prototype.handleSwipeLeft=function(b){this._nav.triggerToggle()};EbaumMobileContestGallery.constructor=EbaumMobileContestGallery;
function EbaumMobileContestGallery(b,c,d){this._container=b;this._id=c.id;this._webPath=c.url;this._count=c.count;this._start=c.start;this._contest=c.contest;this._mobile=d;this._busy=!1;this._thumbImages=jQuery(".galleryThumbImage");this._fullImages=[];this._thumbImages=jQuery("li.galleryThumb img.galleryThumbImage");this._current=this._start;this._currentImageToLoad=this._start-1;this._currentThumbToLoad=0;this._carousel;b=new EbaumMobileContestGallerySwipeMap(this);EbaumSwipeMapStack.addMap(b);
var f=this;this._current=this._start;var g=jQuery("#submissionsList li"),h=g[this._start-1],k=jQuery(h).height();jQuery("#submissionViewer.jcarousel").on("jcarousel:reload jcarousel:create",function(){f._carousel=jQuery(this);k=jQuery(h).height();jQuery(".contestSubmissions.jcarousel-wrapper").css({height:k});jQuery(".jcarousel ul").css({width:jQuery("#mainContent").width()*f._count+"px !important"});jQuery(".submission").css({width:jQuery("#mainContent").width()+"px"});setTimeout(function(){k=jQuery(h).height();
jQuery(".contestSubmissions.jcarousel-wrapper").css({height:k});console.log(k)},1E3);jQuery("#nextBtn").click(function(){console.log("next");f.nextHandler()});jQuery("#prevBtn").click(function(){f.prevHandler()})}).on("jcarousel:scroll",function(b,c,d){console.log("scroll");console.log(b);b=jQuery(g[b.currentTarget-1]).height();jQuery(".contestSubmissions.jcarousel-wrapper").css({height:b+"px"});jQuery(".jcarousel ul").css({width:jQuery("#mainContent").width()*f._count+"px"});jQuery("#currentSubmissionNum").html(f._current);
f._busy=!1}).jcarousel({wrap:"circular"})}
EbaumMobileContestGallery.prototype.handleClick=function(b){b=b||window.event;b=b.target||b.srcElement;var c=b.id.split("-");if(!this._busy)switch(c[0]){case "galleryNext":this.nextHandler();break;case "galleryPrev":this.prevHandler();break;case "thumb":this.thumbHandler(b);break;case "thumbNum":this.thumbHandler(b.nextElementSibling);break;case "gridToggle":jQuery("#gridOverlay").toggle();break;case "share":jQuery("#shareOverlay").show();break;case "shareToggle":jQuery("#shareOverlay").hide();break;
case "captionReveal":jQuery("#captionReveal").hide();jQuery("#captionOverlay").slideToggle("fast");break;case "captionClose":jQuery("#captionOverlay").slideToggle("fast",function(){jQuery("#captionReveal").show()});break;case "shareFacebook":var d="https://www.facebook.com/sharer/sharer.php?s=100&p[url]=https://www.ebaumsworld.com/pictures/view/"+this._id+"/?image="+this._currentId+"&p[title]="+jQuery("#detailPage h1.title").html()+"&p[images][0]="+jQuery("#galleryFeatureImage").attr("src")+"&p[summary]="+
jQuery("#detailPage .fullDescription").html();b=window.screen.height/2-218;c=window.screen.width/2-313;window.open(d,"sharer","toolbar=0,status=0,width=626,height=256,top="+b+",left="+c);return!1;case "shareTwitter":return d="https://twitter.com/intent/tweet?original_referer=https://www.ebaumsworld.com/pictures/view/"+this._id+"/?image="+this._currentId+"&related=ebaumsworld&text="+escape(jQuery("#detailPage h1.title ").html())+"&tw_p=tweetbutton&url=https://www.ebaumsworld.com/pictures/view/"+this._id+
"/?image="+this._currentId+"&via=ebaumsworld",b=window.screen.height/2-218,c=window.screen.width/2-313,window.open(d,"sharer","toolbar=0,status=0,width=626,height=256,top="+b+",left="+c),!1;case "sharePinterest":return d="https://pinterest.com/pin/create/bookmarklet/?url=https://www.ebaumsworld.com/pictures/view/"+this._id+"?image="+this._currentId+"&media="+jQuery("#galleryFeatureImage").attr("src")+"&description="+jQuery("#detailPage h1.title ").html(),b=window.screen.height/2-218,c=window.screen.width/
2-313,window.open(d,"sharer","toolbar=0,status=0,width=626,height=256,top="+b+",left="+c),!1;case "shareLink":jQuery("#shareOverlay").show()}};EbaumMobileContestGallery.prototype.handleKeyUp=function(b){if(!this._busy)switch((b||window.event).keyCode){case 37:this.prevHandler();break;case 39:this.nextHandler()}};EbaumMobileContestGallery.prototype.handleSwipe=function(b,c,d,f,g){"left"==c?this.nextHandler():"right"==c&&this.prevHandler()};
EbaumMobileContestGallery.prototype.nextHandler=function(){this._busy||(this._busy=!0,this._current=this._current==this._count?1:this._current+1,this._carousel.jcarousel("scroll","+=1"))};EbaumMobileContestGallery.prototype.prevHandler=function(){this._busy||(this._busy=!0,this._carousel.prev(),1==this._current?this._current=this._count:--this._current);this._carousel.jcarousel("scroll","-=1")};
EbaumMobileContestGallery.prototype.seekHandler=function(b){b<=this._count&&0<b&&(this.changeImage(b),jQuery("body,html").animate({scrollTop:380},500))};EbaumMobileContestGallery.prototype.thumbHandler=function(b){b=jQuery(b);b=parseInt(jQuery(b).parent("li").attr("id").match(/([0-9]+)/)[0]);this._current!=b&&(this.loadImage(b-1),this.changeImage(b),jQuery("#gridOverlay").toggle())};
EbaumMobileContestGallery.prototype.changeImage=function(b){this._current=parseInt(b);var c=jQuery("#thumb"+this._current+" .galleryThumbImage");this.loadImage(this._current-1);this._busy=!0;b=jQuery(c).attr("id");if(void 0!=b){b=b.split("-");var d=b[0];this._currentId=b[1];jQuery(c).attr("path");b=jQuery(c).attr("title");jQuery(c).attr("avgrating");var f=jQuery(c).attr("dimwidth"),g=jQuery(c).attr("dimheight"),d=jQuery(c).attr("type"),h=this;"picture"==d?(jQuery(".twitterEmbed").hide(),jQuery(".vineEmbed").remove(),
0!=jQuery("#galleryFeature span img").length&&jQuery("#galleryFeaturedImage").is(":visible")&&jQuery("#galleryFeature span img").attr("src")==h._fullImages[h._current-1].src&&this._start!=this._current?this._busy=!1:jQuery("#galleryFeature").animate({opacity:0},250,function(){jQuery("#galleryFeature span").html(h._fullImages[h._current-1]);jQuery("#galleryFeature span img").attr("id","galleryFeatureImage");jQuery("#galleryFeatureImage").show();jQuery("#galleryFeature").fadeTo(250,1);f>g?(newWidth=
630,newHeight=newWidth*g/f,580<newHeight&&(newHeight=580,newWidth=newHeight*f/g)):(newHeight=580,newWidth=newHeight*f/g,630<newWidth&&(newWidth=630,newHeight=newWidth*g/f));jQuery("img#galleryFeatureImage").css({width:newWidth+"px"});jQuery("img#galleryFeatureImage").css({height:newHeight+"px"});jQuery("#galleryPostRoll").hide();jQuery("#galleryFeature").show();jQuery("#socialOverlayShare").css({"padding-bottom":"0"});jQuery("#socialOverlayRemix").css({display:"inline-block"});h._busy=!1})):jQuery("#galleryFeature").animate({opacity:0},
250,function(){jQuery(".twitterEmbed").hide();jQuery("#galleryFeatureImage").hide();"tweet"==d?(jQuery(".vineEmbed").remove(),jQuery("#twitterEmbed-"+h._current).length?jQuery("#twitterEmbed-"+h._current).show():jQuery("#galleryFeature").append('<div id="twitterEmbed-'+h._current+'" class="twitterEmbed" style="width:500px; margin:auto;">'+jQuery(c).attr("body")+"</div>")):"vine"==d&&(jQuery("#vineEmbed-"+h._current).length?jQuery("#vineEmbed-"+h._current).show():jQuery("#galleryFeature span").html('<div id="vineEmbed-'+
h._current+'" class="vineEmbed" style="width:600px; margin:auto;">'+jQuery(c).attr("body")+"</div>"));jQuery("#socialOverlayShare").css({"padding-bottom":"5px"});jQuery("#socialOverlayRemix").css({display:"none"});jQuery("#galleryPostRoll").hide();h._busy=!1;jQuery("#galleryFeature").fadeTo(250,1)});this.loadImage(this._current);jQuery(".currentThumb").removeClass("currentThumb");jQuery(c).addClass("currentThumb");630<f||580<g?(jQuery("#enlarge").show(),jQuery("#enlarge a").attr({href:"/pictures/enlarge/"+
this._currentId+"/"}),jQuery("#share")):jQuery("#enlarge").hide();jQuery("#remixLink a").attr({href:"/upload/?remixId="+this._currentId});jQuery("#currentThumbIndex").html(this._current);jQuery("#captionContent").html(b);""!=b?(jQuery("#captionOverlay").show(),jQuery("#captionContent").scrollTop(0)):jQuery("#captionOverlay").hide();jQuery("#captionReveal").hide();this._contest&&(b=jQuery("#contestRating div").attr("id"))&&(b=b.split("-"),b=b[1],jQuery("#ratingsWrapper-"+b).html(jQuery("#contestRating").html()),
this.loadRating(this._currentId));jQuery(c).attr("parentRemixUrl")?(jQuery("#remixesList").html("View Original"),jQuery("#remixesList").attr("href",jQuery(c).attr("parentRemixUrl"))):0<jQuery(c).attr("remixCount")?(jQuery("#remixesList").html(jQuery(c).attr("remixCount")+" Remixes"),jQuery("#remixesList").attr("href","/remixes/picture/"+this._currentId+"/")):(jQuery("#remixesList").html(""),jQuery("#remixesList").removeAttr("href"));jQuery("#shareUrl").val("https://www.ebaumsworld.com/pictures/view/"+
this._id+"/?image="+this._currentId);jQuery("#shareThumb img").attr("src",jQuery(c).attr("thumb"));Ebaum.ajaxRefresh(this._id);/:\/\/.*?(\/.*?)$/.exec(String(window.location));Ebaum.fireComscore(window.location.href+"#image="+this._currentId)}};EbaumMobileContestGallery.prototype.loadRating=function(b){jQuery("#contestRating").html(jQuery("#ratingsWrapper-"+b).html());jQuery("#ratingsWrapper-"+b).html("")};
EbaumMobileContestGallery.prototype.checkImageLoaded=function(b){return this._fullImages[b]&&this._fullImages[b].complete&&this._thumbImages[b].complete?!0:!1};
EbaumMobileContestGallery.prototype.loadImage=function(b){b>=this._count&&this._fullImages[this._count-1]?b=0:b>=this._count&&(b=this._count-1);this._fullImages[b]||(this._fullImages[b]=new Image,"picture"==jQuery(this._thumbImages[b]).attr("type")?this._fullImages[b].src=jQuery(this._thumbImages[b]).attr("path"):this._fullImages[b].src="https://cdn.ebaumsworld.com/img/blank.gif");return!0};
EbaumMobileContestGallery.prototype.loadThumbsInOrder=function(){var b=this;b._thumbImages[b._currentThumbToLoad].onload=function(){jQuery(this).prev().remove();jQuery(this).css({display:"inline"});b._currentThumbToLoad++;b._currentThumbToLoad<b._count&&!jQuery(b._thumbImages[b._currentThumbToLoad]).attr("src")&&b.loadThumbsInOrder()};b._thumbImages[b._currentThumbToLoad].src=jQuery(b._thumbImages[b._currentThumbToLoad]).attr("thumb")};
EbaumMobileContestGallery.prototype.loadImagesInOrder=function(){var b=this;this._fullImages[this._currentImageToLoad]=new Image;this._fullImages[this._currentImageToLoad].onload=function(){b._thumbImages[b._currentImageToLoad].onload=function(){jQuery(this).prev().remove();jQuery(this).css({display:"inline"});b._currentImageToLoad++;b._currentImageToLoad<b._count&&!b._fullImages[b._currentImageToLoad]?b.loadImagesInOrder():b._fullImages[0]||(b._count-b._start<b._scroll?b._currentImageToLoad==b._count?
b._currentImageToLoad=b._start-2:(b._currentImageToLoad-=2,b._currentImageToLoad<b._count-b._scroll-1&&(b._currentImageToLoad=0)):b._currentImageToLoad=0,b.loadImagesInOrder())};b._thumbImages[b._currentImageToLoad].src=jQuery(b._thumbImages[b._currentImageToLoad]).attr("thumb")};this._fullImages[this._currentImageToLoad].src=jQuery(this._thumbImages[this._currentImageToLoad]).attr("path")};EbaumMobileContestGallerySwipeMap.prototype=new EmuseSwipeMap;EbaumMobileContestGallerySwipeMap.constructor=EbaumMobileContestGallerySwipeMap;function EbaumMobileContestGallerySwipeMap(b){this._gallery=b}EbaumMobileContestGallerySwipeMap.prototype.handleSwipeLeft=function(b){this._gallery.nextHandler()};EbaumMobileContestGallerySwipeMap.prototype.handleSwipeRight=function(b){this._gallery.prevHandler()};EbaumMobileNav.prototype=new EmuseEvent;EbaumMobileNav.constructor=EbaumMobileNav;
function EbaumMobileNav(){this._swipeMap=new EbaumMobileNavSwipeMap(this);var b=this;jQuery("#mobileNavHitArea").on("click",b.triggerToggle);jQuery("#menuTrigger").toggle(function(){b.showNav();jQuery("#mainContent").on("click",b.disableClicks);jQuery("#mainContent").css({overflow:"hidden"})},function(){jQuery("#mainContent").off("click",b.disableClicks);jQuery("#mainContent").css({overflow:"auto"});b.hideNav()});jQuery("#headerSearchTrigger, #headerSearchClose").click(function(){jQuery("#searchExpanded").is(":visible")?jQuery("#searchExpanded").removeClass("opened"):
jQuery("#searchExpanded").addClass("opened")})}EbaumMobileNav.prototype.triggerToggle=function(b){jQuery("#menuTrigger").trigger("click")};
EbaumMobileNav.prototype.showNav=function(){var b=jQuery(document).scrollTop(),c=0,d=0-b,f=jQuery("#headerAppStoreLink").length;f&&jQuery("#headerAppStoreLink").offset().top;0<b&&(c=0-b,f&&(d=c));jQuery(".mainContainer, #mobileNav, .mobileNavHitArea").addClass("menuOpened");jQuery("#headerAppStoreLink").css({position:"relative",top:c+"px"});jQuery(".mainContent").css({top:d+"px"});EbaumSwipeMapStack.addMap(this._swipeMap)};
EbaumMobileNav.prototype.hideNav=function(){EbaumSwipeMapStack.removeMap();var b=jQuery("#headerAppStoreLink").length,c=jQuery(".mainContent").css("top"),d=jQuery("#headerAppStoreLink").css("top");jQuery("#mobileNav, .mainContainer, .mobileNavHitArea").removeClass("menuOpened");jQuery(".mainContent").css({top:"auto",overflow:"auto"});jQuery("#headerAppStoreLink").css({position:"relative",top:"auto"});b?window.scroll(0,-parseInt(d)):window.scroll(0,-parseInt(c))};
EbaumMobileNav.prototype.disableClicks=function(b){b.preventDefault();return!1};EbaumGalleryKeyMap.prototype=new EmuseKeyMap;EbaumGalleryKeyMap.constructor=EbaumGalleryKeyMap;function EbaumGalleryKeyMap(b){this._gallery=b}EbaumGalleryKeyMap.prototype.handleKeyUp=function(b){b=b||window.event;if(!this._gallery._busy)switch(b.keyCode){case 37:this._gallery.prevHandler();break;case 39:this._gallery.nextHandler()}};EbaumLightboxKeyMap.prototype=new EmuseKeyMap;EbaumLightboxKeyMap.constructor=EbaumLightboxKeyMap;function EbaumLightboxKeyMap(b){this._lightbox=b}EbaumLightboxKeyMap.prototype.handleKeyUp=function(b){b=b||window.event;switch(b.keyCode){case 27:jQuery("#jqEnlargeX").click();break;case 37:this._lightbox.prevHandler();break;case 39:this._lightbox.nextHandler()}};EbaumForm.prototype=new EmuseEvent;EbaumForm.constructor=EbaumForm;
function EbaumForm(b,c){this._container=b;this._ip=c.ip;this._avatar=c.avatar;this._ga=new EbaumGAEvent;this._container.onclick=this.bind(this.handleClick);var d=this;jQuery("input").focus(function(b){var c=b||window.event,c=c.target||c.srcElement;"signupBtn"!=c.id&&"forgotLoginBtn"!=c.id&&"submit"!=c.type&&"newsletterBtn"!=c.id&&d.handleClick(b)});jQuery("input").blur(function(b){b=b||window.event;b=(b.target||b.srcElement).id.split("-");jQuery("#label-"+b.id).removeClass("inputFocus")});jQuery("#register input[name=username]").blur(function(){var b=
jQuery("#register input[name=username]").val();jQuery.getJSON("/user/checkavailable/",{type:"username",value:b},function(b){b.success?jQuery("#register #usernameError").html(""):jQuery("#usernameError").html("Username already in use.  Please choose a different username.")})});jQuery("#register input[name=email]").blur(function(){var b=jQuery("#register input[name=email]").val();jQuery.getJSON("/user/checkavailable/",{type:"email",value:b},function(b){b.success?jQuery("#register #emailError").html(""):
jQuery("#emailError").html("Email already in use.  Please choose a different email address.")})})}
EbaumForm.prototype.handleClick=function(b){b=b||window.event;var c=b.target||b.srcElement,d=c.id.split("-"),f=d[0],d=d[1];jQuery(".inputFocus").removeClass("inputFocus");switch(f){case "input":jQuery("#label-"+d).addClass("inputFocus");break;case "femaleCheckBox":"f"!=jQuery("#gender").val()?(jQuery("#gender").val("f"),jQuery("#"+c.id).addClass("checked"),jQuery("#maleCheckBox").removeClass("checked")):(jQuery("#gender").attr("value",""),jQuery("#"+c.id).removeClass("checked"));break;case "maleCheckBox":"m"!=
jQuery("#gender").val()?(jQuery("#gender").val("m"),jQuery("#"+c.id).addClass("checked"),jQuery("#femaleCheckBox").removeClass("checked")):(jQuery("#gender").attr("value",""),jQuery("#maleCheckBox").removeClass("checked"));break;case "termsCheckBox":jQuery("#check-terms").val()?(jQuery("#check-terms").val(""),jQuery("#"+c.id).removeClass("checked"),jQuery("#signupBtn").attr("disabled",!0)):(jQuery("#check-terms").val(this._ip),jQuery("#"+c.id).addClass("checked"),jQuery("#signupBtn").attr("disabled",
!1));break;case "prizeTermsCheckBox":jQuery("#check-prizeTerms").val()?(jQuery("#check-prizeTerms").val(""),jQuery("#"+c.id).removeClass("checked"),jQuery("#prizeClaimSubmit").attr("disabled",!0)):(jQuery("#check-prizeTerms").val(!0),jQuery("#"+c.id).addClass("checked"),jQuery("#prizeClaimSubmit").attr("disabled",!1));break;case "newsCheckBox":jQuery("#check-news").val()?(jQuery("#check-news").val(""),jQuery("#"+c.id).removeClass("checked")):(jQuery("#check-news").val(1),jQuery("#"+c.id).addClass("checked"));
break;case "rememberCheck":jQuery("#rememberMe").val()?(jQuery("#rememberMe").val(""),jQuery("#"+c.id).removeClass("checked")):(jQuery("#rememberMe").val(1),jQuery("#"+c.id).addClass("checked"));break;case "avatarCheckBox":jQuery("#fbAvatar").val()?(jQuery("#fbAvatar").val(""),jQuery("#"+c.id).removeClass("checked")):(jQuery("#fbAvatar").val(this._avatar),jQuery("#"+c.id).addClass("checked"));break;case "fakeCheck":jQuery("#realCheck-"+d).val()?(jQuery("#realCheck-"+d).val(""),jQuery("#"+c.id).removeClass("checked")):
(jQuery("#realCheck-"+d).val(1),jQuery("#"+c.id).addClass("checked"));break;case "matureYesBox":"1"!=jQuery("#maturePref").val()?(jQuery("#maturePref").val("1"),jQuery("#"+c.id).addClass("checked"),jQuery("#matureNoBox").removeClass("checked")):(jQuery("#maturePref").attr("value",""),jQuery("#"+c.id).removeClass("checked"),jQuery("#matureNoBox").addClass("checked"));break;case "matureNoBox":""!=jQuery("#maturePref").val()?(jQuery("#maturePref").val(""),jQuery("#"+c.id).addClass("checked"),jQuery("#matureYesBox").removeClass("checked")):
(jQuery("#maturePref").attr("value","1"),jQuery("#"+c.id).removeClass("checked"),jQuery("#matureYesBox").addClass("checked"));break;case "signupBtn":this.submitSignup();break;case "forgotLoginBtn":b.preventDefault();this.forgotLogin();break;case "newsletterBtn":this.newsletterSignup();break;case "submitLoginBtn":jQuery("#loginError").html("");c="";""==jQuery("#input-username").val()&&(c="Please enter a username. ");""==jQuery("#input-password").val()&&(c+="Please enter a password");if(""!=c)return jQuery("#loginError").html(c),
b.preventDefault(),!1;break;default:jQuery(".uploadLabel").removeClass("inputFocus")}};EbaumForm.prototype.submitSignup=function(){var b=jQuery("#register").serialize();jQuery.post("/user/signup/",b,function(b){if(b.success)window.location="/";else{jQuery(".error").html("");var c=b.data.errors;if(null!=c){var f="";for(x in c)f+=c[x]+"<br />";jQuery("#submitError").html(f)}else jQuery("#submitError").html("Errors found. Please review.");b=b.data.fieldErrors;for(x in b)jQuery("#"+x+"Error").html(b[x])}})};
EbaumForm.prototype.forgotLogin=function(){var b=jQuery("#lost").serialize();jQuery.post("/user/forgotlogin/",b,function(b){if(b.success)window.location.reload();else if(jQuery("#submitError").html(""),b=b.data.errors,null!=b){var c="";for(x in b)c+=b[x]+"<br />";jQuery("#submitError").html(c)}})};
EbaumForm.prototype.newsletterSignup=function(){var b=jQuery("#input-email").val();jQuery("#newsletter-error").hide();if(0==jQuery.trim(b).length||0!=jQuery.trim(b).length&&!/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(b))return jQuery("#newsletter-error").html("Enter a valid email address.").show(),!1;var c=this._ga;jQuery.getJSON("/newsletter/issubscribed/?email="+b,function(d){d.success?jQuery("#newsletter-error").html("Already subscribed to the newsletter.").show():jQuery.post("/newsletter/signup/",
{email:b},function(b){b.success&&(jQuery("#newsletter-error").html("Subscription Success!").show(),b="Right Column",0<jQuery("#mobileNav").length&&(b="Mobile"),c.fireGA("Newsletter Signup",b,window.location.href))})})};EbaumSlider.prototype=new EmuseEvent;EbaumSlider.constructor=EbaumSlider;function EbaumSlider(b){this._container=b;this._container.onmouseover=this.bind(this.handleEnter);this._container.onmouseout=this.bind(this.handleLeave)}
EbaumSlider.prototype.handleEnter=function(b){var c=b||window.event;b=c.target||c.srcElement;var c=c.relatedTarget||c.fromElement,d=b.id.split("-"),d=d[0];if("slider"!=d){for(;"slider"!=d&&"BODY"!=b.nodeName;)b=b.parentNode,d=b.id.split("-"),d=d[0];if("slider"==d)if(void 0===c)this.enterHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&this.enterHandler(b)}}else if(void 0===c)this.enterHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&this.enterHandler(b)}};
EbaumSlider.prototype.handleLeave=function(b){var c=b||window.event;b=c.target||c.srcElement;var c=c.relatedTarget||c.toElement,d=b.id.split("-"),d=d[0];if("slider"!=d){for(;"slider"!=d&&"BODY"!=b.nodeName;)b=b.parentNode,d=b.id.split("-"),d=d[0];if("slider"==d)if(void 0===c)this.leaveHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&this.leaveHandler(b)}}else if(void 0===c)this.leaveHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&this.leaveHandler(b)}};
EbaumSlider.prototype.enterHandler=function(b){jQuery("#"+b.id+" .slider").show(100)};EbaumSlider.prototype.leaveHandler=function(b){jQuery("#"+b.id+" .slider").hide(100)};EbaumRating.constructor=EbaumRating;function EbaumRating(b){this._container=b;var c=this;this._container.onclick=function(b){c.handleClick.call(c,b)};this._container.onmouseover=function(b){c.handleEnter.call(c,b)};this._container.onmouseout=function(b){c.handleLeave.call(c,b)}}
EbaumRating.prototype.handleEnter=function(b){var c=b||window.event;b=c.target||c.srcElement;var c=c.relatedTarget||c.fromElement,d=b.id.split("-"),f=d[0],d=d[2];if("stars"!=f){for(;"stars"!=f&&"BODY"!=b.nodeName;)b=b.parentNode,d=b.id.split("-"),f=d[0];if("stars"==f)if(void 0===c)this.enterHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&this.enterHandler(b)}}else if(d)this.enterHandler(b);else if(void 0===c)this.enterHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;
c!=b&&this.enterHandler(b)}};EbaumRating.prototype.enterHandler=function(b){var c=b.id.split("-"),d=c[1];if(c[2]&&jQuery("#stars-"+d+" .mediaStars").length)for(jQuery(b).attr("cursor","pointer"),d=c[1],c=c[2],jQuery("#stars-"+d+" .userDynamic .star").removeClass("yellowOn"),jQuery("#stars-"+d+" .userDynamic .star").addClass("off");0<c;c--)jQuery("#stars-"+d+"-"+c).removeClass("off"),jQuery("#stars-"+d+"-"+c).addClass("yellowOn");jQuery("#"+b.id+" .userStars").show();jQuery("#"+b.id+" .mediaStars").hide()};
EbaumRating.prototype.handleLeave=function(b){var c=b||window.event;b=c.target||c.srcElement;var c=c.relatedTarget||c.toElement,d=b.id.split("-"),f=d[0],g=d[1],d=d[2];if("stars"!=f){for(;"stars"!=f&&"BODY"!=b.nodeName;)b=b.parentNode,d=b.id.split("-"),f=d[0];if("stars"==f)if(void 0===c)this.leaveHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&this.leaveHandler(b)}}else if(d)c.id.split("-")[2]?this.starLeaveHandler(b):jQuery("#stars-"+g+" .mediaStars").length&&(jQuery("#stars-"+
g+" .userStars").hide(),jQuery("#stars-"+g+" .mediaStars").show());else if(void 0===c)this.leaveHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&this.leaveHandler(b)}};EbaumRating.prototype.starLeaveHandler=function(b){var c=b.id.split("-"),d=c[1];if(c[2]&&jQuery("#stars-"+d+" .mediaStars").length)for(jQuery(b).attr("cursor","pointer"),d=c[1],b=c[2];0<b;b--)jQuery("#stars-"+d+"-"+b).addClass("off"),jQuery("#stars-"+d+"-"+b).removeClass("yellowOn")};
EbaumRating.prototype.leaveHandler=function(b){b.id.split("-");jQuery("#"+b.id+" .mediaStars").length&&(jQuery("#"+b.id+" .userStars").hide(),jQuery("#"+b.id+" .mediaStars").show())};EbaumRating.prototype.handleClick=function(b){b=b||window.event;b=b.target||b.srcElement;jQuery(b.parentNode).hasClass("userDynamic")&&(b.id.split("-")[2]?this.submitUserRating(b):EbaumMobile.mobile?window.location="/user/login/":(jQuery("#jqModal").jqm({ajax:"/user/login/"}),jQuery("#jqModal").jqmShow()))};
EbaumRating.prototype.submitUserRating=function(b){b=jQuery(b).attr("id").split("-");var c=b[1],d=b[2],f=this;jQuery.post("/media/rate/"+c+"/",{rating:d},function(b){b.success?f.updateVoteDisplay(d,c):populateModal('<h1>Oops!</h1><div style="padding:9px;">'+b.error+"</div>")})};
EbaumRating.prototype.updateVoteDisplay=function(b,c){jQuery("#rating-"+c+" .userDynamic").addClass("userStatic");jQuery("#rating-"+c+" .userStatic .star").unbind();jQuery("#rating-"+c+" .userStatic").removeClass("userDynamic");jQuery("#rating-"+c+" .userStatic .star").attr("title",b+" stars");for(var d=b;0<d;d--)jQuery("#stars-"+c+"-"+d).removeClass("off"),jQuery("#stars-"+c+"-"+d).addClass("yellowOn");d=jQuery("#votes-"+c).html();d=parseInt(d);0<d?d++:d=1;jQuery("#votes-"+c).html(d);jQuery("#rating-"+
c+" .mediaStars").remove();jQuery("#rating-"+c+" .userStars").show();jQuery("#voteNowLabel-"+c).html("THANK YOU!");jQuery("#voteCTA").html("THANK YOU!")};var GalleryEvent={IMAGE_CHANGE:"image_change",LIGHTBOX_LAUNCH:"lightbox_launch",VIEW_CHANGE:"view_change"};EbaumGallery.prototype=new EmuseEvent;EbaumGallery.constructor=EbaumGallery;
function EbaumGallery(b,c,d){this._container=b;this._id=c.id;this._webPath=c.url;this._count=c.count;this._start=c.start;this._mobile=d;this._busy=!1;this._contest=c.contest;this._fullImages=[];this._thumbImages=jQuery("img.galleryThumbImage");this._lightboxIndex=this._current=this._start;this._currentImageToLoad=this._start-1;this._currentThumbToLoad=0;this._enlarge=new EbaumEnlarge(d);this._lightbox=new EbaumLightbox;this._ga=new EbaumGAEvent;this._view=c.view;this._postroll=c.postroll;this._postroll||
(this._postroll=1);this._playerLoaded=!1;this._view||(this._view="player",this._playerLoaded=!0);this._ga.fireGA("Gallery - Start View",this._view,window.location,!0);this._lightbox.addListener(LightboxEvent.CLOSE,this.bind(this.lightboxCloseHandler));this._lightbox.addListener(LightboxEvent.NAV_NEXT,this.bind(this.changeLightbox));this._lightbox.addListener(LightboxEvent.NAV_PREV,this.bind(this.changeLightbox));this._lightbox.addListener(LightboxEvent.CHANGE_COMPLETE,this.bind(this.changeLightboxComplete));
this._lightbox.addListener(LightboxEvent.RESTART,this.bind(this.changeLightbox));startId=jQuery("#overlay-grid-"+this._start+" .galleryThumbImage").attr("id");info=startId.split("-");this._currentId=startId=info[2];b=new EbaumGalleryKeyMap(this);EbaumKeyMapStack.addMap(b);var f=this;"ontouchstart"in window?(this._container.ontouchstart=function(b){f.handleClick.call(f,b)},jQuery("#galleryFeature").swipe({swipe:function(b,c,d,l,m){f.handleSwipe.call(f,b,c,d,l,m)},click:!0,allowPageScroll:"vertical",
threshold:100})):this._container.onclick=function(b){f.handleClick.call(f,b)};this._mobile||EbaumSocialOverlayDisplay.init();this.loadImage(this._currentImageToLoad);this._contest?jQuery("#contestRating").html(jQuery("#ratingsWrapper-"+startId).html()):this.loadThumbsInOrder();this._current=this._start;this.changeImage(this._start);jQuery(".galleryView").hide();jQuery("#gallery-view-"+this._view).show()}
EbaumGallery.prototype.handleClick=function(b){b=b||window.event;var c=b.target||b.srcElement,d=c.id.split("-");b=d[1];if(!this._busy)switch(d[0]){case "view":jQuery(".galleryViewFilters li").removeClass("active");jQuery("#"+c.id).addClass("active");this._view=b;jQuery(".galleryView").hide();jQuery("#gallery-view-"+this._view).show();"player"==this._view&&0==this._playerLoaded&&(this.changeImage(1),this._playerLoaded=!0,jQuery("#captionContentInner").scrollTop(1));Ebaum.setCookie("galleryView",b,
100);this._ga.fireGA("Gallery - View Change",b,window.location);this.fire(GalleryEvent.VIEW_CHANGE);break;case "thumb":case "enlarge":this.handleEnlarge(c.id,!0);break;case "galleryNext":this.nextHandler();break;case "galleryPrev":this.prevHandler();break;case "thumb":this.thumbHandler(c);break;case "thumbNum":this.thumbHandler(c.nextElementSibling);break;case "galleryFeatureImage":this.handleEnlarge("galleryFeaturedImage-"+this._current+"-"+this._currentId+"-view-"+this._view,!0);break;case "gridToggle":jQuery("#gridOverlay").toggle();
break;case "share":imageId=d[3];"player"==this._view?(url="https://www.ebaumsworld.com"+this._webPath+"?image="+this._currentId,src=jQuery("#galleryFeatureImage").attr("src"),c="player"):(url="https://www.ebaumsworld.com"+this._webPath+"/?image="+imageId,src=jQuery("#overlay-list-"+imageId+" .galleryListImage").attr("src"),c="list");EbaumManualShare._thumb=src;switch(b){case "facebook":EbaumManualShare.shareFacebook(url,c);break;case "twitter":EbaumManualShare.shareTwitter(url,c);break;case "stumble":EbaumManualShare.shareStumble(url,
c);break;case "flipboard":EbaumManualShare.shareFlipboard(url,c);break;case "email":EbaumManualShare.shareEmail(url,c);break;case "pinterest":EbaumManualShare.sharePinterest(url,c);break;case "whatsapp":EbaumManualShare.shareWhatsapp(url,c)}break;case "replayGallery":jQuery(".vineEmbed").remove();jQuery("#galleryPostRoll").hide();jQuery(".pictureContainer").removeClass("postRoll");jQuery("#galleryFeature").show();jQuery(".galleryProgress").show();jQuery("#galleryControlBar").show();jQuery("#galleryPlayerShare").show();
this._ga.fireGA("Gallery - Replay","player-"+this._postroll,window.location.href);jQuery("#overlay-galleryContainer .overlay").css({opacity:"1"});ga("send","pageview");this.changeImage(1);break;case "shareToggle":jQuery("#shareOverlay").hide();break;case "shareLink":jQuery("#shareOverlay").show()}};EbaumGallery.prototype.handleKeyUp=function(b){if(!this._busy)switch((b||window.event).keyCode){case 37:this.prevHandler();break;case 39:this.nextHandler()}};
EbaumGallery.prototype.handleSwipe=function(b,c,d,f,g){"left"==c?this.nextHandler():"right"==c&&this.prevHandler()};EbaumGallery.prototype.handleEnlarge=function(b,c){if(!(0<jQuery(".mobileToggle").length)){var d=b.split("-"),f=d[1],g={currentIndex:f,currentId:this._currentId,imageCount:this._count};c&&(this._lightbox.launch("/pictures/enlarge/"+d[2]+"/",g),this._lightboxIndex=f,this._ga.fireGA("Gallery - View Change","lightbox",window.location.href),this.fire(GalleryEvent.LIGHTBOX_LAUNCH))}};
EbaumGallery.prototype.lightboxCloseHandler=function(b){"player"==this._view&&jQuery("#jqEnlargeModal").is(":visible")&&this.seekHandler(this._lightboxIndex)};
EbaumGallery.prototype.changeLightbox=function(b){if(!this._busy)if(b=b.type,current=parseInt(this._lightboxIndex),current=b==LightboxEvent.NAV_NEXT?current+1:b==LightboxEvent.NAV_PREV&&current==this._count?this._lightbox._postroll?this._count:this._count-1:current-1,b==LightboxEvent.RESTART&&(current=1),current>this._count)this._lightbox.launchPostroll(),this._busy=!1;else{0==current&&(current=this._count);this._lightboxIndex=current;b=jQuery("#overlay-grid-"+this._lightboxIndex+" .galleryThumbImage");
this.loadImage(this._lightboxIndex-1);this._busy=!0;var c=jQuery(b).attr("id");void 0!=c&&(c.split("-"),b=jQuery(b),c=b.prop("id"),c=c.split("-"),b={index:this._lightboxIndex,id:c[2],image:this._fullImages[this._lightboxIndex-1],type:b.attr("type"),origWidth:b.attr("dimwidth"),origHeight:b.attr("dimheight"),title:b.attr("title"),description:b.attr("description"),body:b.attr("body"),ratingsHTML:jQuery("#ratings-"+c[2]).html(),username:b.attr("username"),avatar:b.attr("avatar"),uploaddate:b.attr("uploaddate"),
contestrank:b.attr("contestrank")},this._lightbox.change(b),this.loadImage(current))}};EbaumGallery.prototype.changeLightboxComplete=function(b){this._busy=!1};EbaumGallery.prototype.tweetLoaded=function(b){jQuery(".galleryLoader").hide();jQuery(".tweetEnlarge").css({opacity:1});jQuery("#galleryFeature").css({opacity:1})};
EbaumGallery.prototype.nextHandler=function(){if("postroll"==this._current)jQuery("#nextGallery .thumbnail a").click(),document.location=jQuery("#nextGallery .thumbnail a").attr("href");else if(this._current<this._count)this.changeImage(this._current+1);else{jQuery("#galleryPostRoll").show();jQuery("#mainImage").addClass("postRoll");jQuery(".galleryProgress").hide();jQuery("#galleryControlBar").hide();jQuery(".vineEmbed").remove();jQuery("#galleryPlayerShare").hide();jQuery("#overlay-galleryContainer .overlay").css({opacity:"0"});
var b=jQuery("#replayGallery img").attr("src");b||(b=jQuery("#replayGalleryShare img").attr("src"));jQuery("#galleryFeatureImage").attr("src",b);jQuery("#galleryFeature").css({height:"auto","margin-top":"auto"});jQuery("#galleryFeatureImage").css({height:"auto",width:"100%"});this._ga.fireGA("Gallery - Postroll","player-"+this._postroll,window.location.href);featureHeight=jQuery("#mainImage").height();imageHeight=jQuery("#galleryFeatureImage").height();imageHeight<featureHeight&&jQuery("#galleryFeature").css({"margin-top":featureHeight-
imageHeight});this._current="postroll"}this.fire(GalleryEvent.IMAGE_CHANGE)};EbaumGallery.prototype.prevHandler=function(){"postroll"==this._current?(jQuery(".vineEmbed").remove(),jQuery("#galleryFeature").show(),jQuery("#galleryPostRoll").hide(),jQuery(".pictureContainer").removeClass("postRoll"),jQuery(".galleryProgress").show(),jQuery("#share").show(),this.changeImage(this._count)):1<this._current?this.changeImage(this._current-1):this.changeImage(this._count);this.fire(GalleryEvent.IMAGE_CHANGE)};
EbaumGallery.prototype.seekHandler=function(b){b<=this._count&&0<b&&("player"==this._view?(this.changeImage(b),jQuery("body,html").animate({scrollTop:480},500)):(b=jQuery("#listItem-"+b).offset(),jQuery("body,html").animate({scrollTop:b.top-100},500)))};EbaumGallery.prototype.thumbHandler=function(b){b=jQuery(b);b=parseInt(jQuery(b).parent("li").attr("id").match(/([0-9]+)/)[0]);this._current!=b&&(this.loadImage(b-1),this.changeImage(b),jQuery("#gridOverlay").toggle())};
EbaumGallery.prototype.changeImage=function(b){this._current=parseInt(b);if("list"!=this._view){var c=jQuery("#overlay-grid-"+this._current+" .galleryThumbImage");this.loadImage(this._current-1);this._busy=!0;b=jQuery(c).attr("id");if(void 0!=b){var d=b.split("-"),f=d[0];this._previousId=this._currentId;this._currentId=d[2];var g=jQuery(c).attr("path"),h=jQuery(c).attr("alt"),k=jQuery(c).attr("title");b=jQuery(c).attr("description");jQuery(c).attr("avgrating");var l=jQuery(c).attr("dimwidth"),d=jQuery(c).attr("dimheight"),
f=jQuery(c).attr("type"),m=this;if("picture"==f)if(jQuery(".twitterEmbed").hide(),jQuery(".vineEmbed").remove(),0!=jQuery("#galleryFeature img").length&&jQuery("#galleryFeaturedImage").is(":visible")&&jQuery("#galleryFeature img").attr("src")==m._fullImages[m._current-1].src&&this._start!=this._current)this._busy=!1;else{l>d?(newWidth=jQuery("#galleryFeature").width(),newHeight=newWidth*d/l,600<newHeight&&(newHeight=600,newWidth=newHeight*l/d)):(newHeight=600,newWidth=newHeight*l/d,newWidth>jQuery("#galleryFeature").width()&&
(newWidth=jQuery("#galleryFeature").width(),newHeight=newWidth*d/l));var n=0;500>newHeight&&(n=(500-newHeight)/2);jQuery("#galleryFeature").animate({opacity:0},250,function(){jQuery("#galleryFeature #galleryFeatureImage").remove();jQuery("#galleryFeature").append(m._fullImages[m._current-1]);jQuery("#galleryFeature img").prop("id","galleryFeatureImage");jQuery("#galleryFeature img").prop("alt",h);jQuery("#galleryFeature img").prop("title",k);jQuery("#galleryFeatureImage").attr("src",g);jQuery("#galleryFeatureImage").show();
jQuery("img#galleryFeatureImage").animate({width:newWidth+"px"},250,function(){});jQuery("img#galleryFeatureImage, #galleryFeature").animate({height:newHeight+"px","margin-top":0},250,function(){jQuery("#galleryFeature").css({"margin-top":n+"px"})});jQuery(".galleryLoader").hide();jQuery("#galleryFeature").fadeTo(250,1);jQuery("#galleryPostRoll").hide();jQuery("#galleryFeature").show();jQuery("#socialOverlayShare").css({"padding-bottom":"0"});jQuery("#socialOverlayRemix").css({display:"inline-block"});
m._busy=!1})}else jQuery("#galleryFeature").animate({opacity:0},250,function(){jQuery(".twitterEmbed").hide();jQuery("#galleryFeatureImage").hide();"tweet"==f?(jQuery(".vineEmbed").hide(),jQuery("#twitterEmbed-"+m._current).length?jQuery("#twitterEmbed-"+m._current).show():(jQuery("#galleryFeature").append('<div id="twitterEmbed-'+m._current+'" class="twitterEmbed">'+jQuery(c).attr("body")+"</div>"),jQuery("#galleryFeature").css({opacity:0}),jQuery(".galleryLoader").show())):"vine"==f&&(jQuery("#vineEmbed-"+
m._current).length?jQuery("#vineEmbed-"+m._current).show():jQuery("#galleryFeature").append('<div id="vineEmbed-'+m._current+'" class="vineEmbed">'+jQuery(c).attr("body")+"</div>"),jQuery("#vineEmbed-"+m._current).show(),jQuery(".galleryLoader").hide());jQuery("#galleryFeature").css({padding:"30px 0"});jQuery("#socialOverlayShare").css({"padding-bottom":"5px"});jQuery("#socialOverlayRemix").css({display:"none"});jQuery("#galleryPostRoll").hide();m._busy=!1;jQuery("#galleryFeature").fadeTo(250,1)});
this.loadImage(this._current);jQuery(".currentThumb").removeClass("currentThumb");jQuery(c).addClass("currentThumb");l=jQuery("#gallery-view-player .imageEnlarge").prop("id");d=l.split("-");d="enlarge-"+this._current+"-"+this._currentId+"-"+d[3];jQuery("#"+l).prop("id",d);jQuery("#remixLink a").attr({href:"/upload/?remixId="+this._currentId});jQuery("#currentThumbIndex").html(this._current);jQuery("#captionContentInner").html(k+"<br/>"+b);""!=b&&jQuery("#captionContentInner").scrollTop(0);this._contest&&
((b=jQuery("#rating-"+this._previousId).html())&&jQuery("#ratings-"+this._previousId).html(b),jQuery("#rating-"+this._previousId).html(jQuery("#ratings-"+this._currentId).html()).attr("id","rating-"+this._currentId),jQuery("#ratings-"+this._currentId).html(""),jQuery("#rating-"+this._currentId+" .userDynamic").length?jQuery(".voteCTA").html("VOTE NOW!"):jQuery(".voteCTA").html("VOTED!"),jQuery("#uploaderAvatar").attr("href","/user/profile/"+jQuery(c).attr("username")),jQuery("#uploaderUsername").attr("href",
"/user/profile/"+jQuery(c).attr("username")).html(jQuery(c).attr("username")),jQuery("#uploaderAvatar img").attr("src",jQuery(c).attr("avatar")),(b=jQuery(c).attr("contestrank"))?("finalist"==b?(jQuery("#contestRank div").addClass("finalist"),jQuery("#contestRank div").html("finalist")):(jQuery("#contestRank div").removeClass("finalist"),jQuery("#contestRank div").html("winner")),jQuery("#contestRank").show()):jQuery("#contestRank").hide());jQuery(c).attr("parentRemixUrl")?(jQuery("#remixesList").html("View Original"),
jQuery("#remixesList").attr("href",jQuery(c).attr("parentRemixUrl"))):0<jQuery(c).attr("remixCount")?(jQuery("#remixesList").html(jQuery(c).attr("remixCount")+" Remixes"),jQuery("#remixesList").attr("href","/remixes/picture/"+this._currentId+"/")):(jQuery("#remixesList").html(""),jQuery("#remixesList").removeAttr("href"));jQuery("#shareUrl").val("https://www.ebaumsworld.com"+this._webPath+"/?image="+this._currentId);jQuery("#shareThumb img").attr("src",jQuery(c).attr("thumb"));Ebaum.ajaxRefresh(this._id);
/:\/\/.*?(\/.*?)$/.exec(String(window.location));Ebaum.fireComscore(window.location.href+"#image="+this._currentId)}}};EbaumGallery.prototype.loadRating=function(b){jQuery("#ratingsContestWrapper").html(jQuery("#ratings-"+b).html());jQuery("#ratingsWrapper-"+b).html("")};EbaumGallery.prototype.checkImageLoaded=function(b){return this._fullImages[b]&&this._fullImages[b].complete&&this._thumbImages[b].complete?!0:!1};
EbaumGallery.prototype.loadImage=function(b){b>=this._count&&this._fullImages[this._count-1]?b=0:b>=this._count&&(b=this._count-1);this._fullImages[b]||(this._fullImages[b]=new Image,"picture"==jQuery(this._thumbImages[b]).attr("type")?this._fullImages[b].src=jQuery(this._thumbImages[b]).attr("path"):("tweet"==jQuery(this._thumbImages[b]).attr("type")?jQuery("#galleryFeature").append('<div id="twitterEmbed-'+(b+1)+'" class="twitterEmbed">'+jQuery(this._thumbImages[b]).attr("body")+"</div>"):jQuery("#galleryFeature").append('<div id="vineEmbed-'+
(b+1)+'" class="vineEmbed">'+jQuery(this._thumbImages[b]).attr("body")+"</div>"),this._fullImages[b].src="https://cdn.ebaumsworld.com/img/blank.gif"));return!0};
EbaumGallery.prototype.loadThumbsInOrder=function(){var b=this;b._thumbImages[b._currentThumbToLoad].onload=function(){jQuery(this).prev().remove();jQuery(this).css({display:"block"});b._currentThumbToLoad++;b._currentThumbToLoad<b._count&&!jQuery(b._thumbImages[b._currentThumbToLoad]).attr("src")&&b.loadThumbsInOrder()};jQuery(b._thumbImages[b._currentThumbToLoad]).hide();b._thumbImages[b._currentThumbToLoad].src=jQuery(b._thumbImages[b._currentThumbToLoad]).attr("thumb")};
EbaumGallery.prototype.loadImagesInOrder=function(){var b=this;this._fullImages[this._currentImageToLoad]=new Image;this._fullImages[this._currentImageToLoad].onload=function(){b._thumbImages[b._currentImageToLoad].onload=function(){jQuery(this).prev().remove();jQuery(this).css({display:"inline"});b._currentImageToLoad++;b._currentImageToLoad<b._count&&!b._fullImages[b._currentImageToLoad]?b.loadImagesInOrder():b._fullImages[0]||(b._count-b._start<b._scroll?b._currentImageToLoad==b._count?b._currentImageToLoad=
b._start-2:(b._currentImageToLoad-=2,b._currentImageToLoad<b._count-b._scroll-1&&(b._currentImageToLoad=0)):b._currentImageToLoad=0,b.loadImagesInOrder())};b._thumbImages[b._currentImageToLoad].src=jQuery(b._thumbImages[b._currentImageToLoad]).attr("thumb")};this._fullImages[this._currentImageToLoad].src=jQuery(this._thumbImages[this._currentImageToLoad]).attr("path")};EbaumMobileGallery.constructor=EbaumMobileGallery;function EbaumMobileGallery(b,c){this._container=b;this._id=c.id;this._start=c.start;this._webPath=c.url;this._fullImages=[];this._thumbImages=[];this._lastClicked;var d=this;this._container.onclick=function(b){d.handleClick.call(d,b)};if(1<this._start){var f=jQuery(".mobileGalleryItem")[this._start-1];jQuery("html, body").animate({scrollTop:jQuery(f).offset().top},500)}}
EbaumMobileGallery.prototype.handleClick=function(b){var c=b||window.event,c=c.target||c.srcElement,d=c.id.split("-"),f=d[0],g=d[1];if(!this._busy)switch(console.log(c.id),f){case "mobileGalleryShareToggle":case "mobileGalleryListImage":this.clickHandler(c);break;case "mobileGalleryGifPlay":b.stopPropagation();this.playHandler(c);break;case "share":switch(place=d[3],imageId=d[4],url="https://www.ebaumsworld.com"+this._webPath+"?image="+imageId,src=jQuery("#mobileGalleryImage-"+place+" .mobileGalleryListImage").attr("src"),
extra="list",EbaumManualShare._thumb=src,g){case "facebook":EbaumManualShare.shareFacebook(url,extra);break;case "twitter":EbaumManualShare.shareTwitter(url,extra);break;case "stumble":EbaumManualShare.shareStumble(url,extra);break;case "flipboard":EbaumManualShare.shareFlipboard(url,extra);break;case "email":EbaumManualShare.shareEmail(url,extra);break;case "pinterest":EbaumManualShare.sharePinterest(url,extra);break;case "whatsapp":EbaumManualShare.shareWhatsapp(url,extra)}}};
EbaumMobileGallery.prototype.clickHandler=function(b){b=jQuery(b).attr("id");var c=b.split("-"),d="none"==jQuery("#mobileImageShare-"+c[1]).css("display");jQuery(".mobileImageShare").css({display:"none"});if(d){var d=jQuery("#"+b).attr("gif-src"),f=jQuery("#"+b).attr("src");d&&f!=d?(jQuery(".mobileGalleryGifPlay").show(),this.playGif(d,f,b)):jQuery("#mobileImageShare-"+c[1]).show()}else jQuery(".mobileImageShare").css({display:"none"})};
EbaumMobileGallery.prototype.playHandler=function(b){b=jQuery(b).attr("id");b="mobileGalleryImage-"+b.split("-")[1];var c=jQuery("#"+b+" img").attr("gif-src"),d=jQuery("#"+b+" img").attr("src");c&&d!=c&&this.playGif(c,d,b);jQuery(".mobileImageShare").css({display:"none"})};
EbaumMobileGallery.prototype.playGif=function(b,c,d){var f=d.split("-");this._lastClicked=f[1];jQuery(".mobileGalleryGifPlay").show();jQuery("#mobileGalleryGifPlay-"+f[1]).addClass("mobileGifLoading");var g=this;jQuery(".mobileGalleryImage img").each(function(){var d=jQuery(this).attr("id").split("-"),k=jQuery(this).attr("gif-src"),l=jQuery(this).attr("src");if(k&&l==c&&d[1]==f[1])if(g._fullImages[f[1]])jQuery("#mobileGalleryGifPlay-"+f[1]).hide(),jQuery("#mobileGalleryGifPlay-"+f[1]).removeClass("mobileGifLoading"),
jQuery(m).addClass("gifPlaying"),jQuery(this).attr("src",g._fullImages[f[1]].src);else{var m=this;g._thumbImages[f[1]]=new Image;g._thumbImages[f[1]].src=c;g._fullImages[f[1]]=new Image;g._fullImages[f[1]].onload=function(){jQuery("#mobileGalleryGifPlay-"+f[1]).removeClass("mobileGifLoading");0==jQuery(".gifPlaying").length||g._lastClicked==d[1]?(jQuery("#mobileGalleryGifPlay-"+f[1]).hide(),jQuery(m).attr("src",g._fullImages[f[1]].src),jQuery(m).addClass("gifPlaying")):jQuery("#mobileGalleryGifPlay-"+
f[1]).show()};g._fullImages[f[1]].src=b}else k&&k==l&&(k=jQuery(this).attr("id").split("-"),jQuery(this).attr("src",g._thumbImages[k[1]].src),jQuery(m).removeClass("gifPlaying"))})};
EbaumMobileGallery.prototype.loadImage=function(b){b>=this._count&&this._fullImages[this._count-1]?b=0:b>=this._count&&(b=this._count-1);this._fullImages[b]||(this._fullImages[b]=new Image,"picture"==jQuery(this._thumbImages[b]).attr("type")?this._fullImages[b].src=jQuery(this._thumbImages[b]).attr("path"):this._fullImages[b].src="https://cdn.ebaumsworld.com/img/blank.gif");return!0};var LightboxEvent={LAUNCH:"launch",NAV_NEXT:"nav_next",NAV_PREV:"nav_prev",CLOSE:"close",CHANGE_COMPLETE:"change_complete",RESTART:"restart"};EbaumLightbox.prototype=new EmuseEvent;EbaumLightbox.constructor=EbaumLightbox;
function EbaumLightbox(){this._container;this._containerId="#jqEnlargeModal";this._countContainer;this._indexContainerId="#enlargeCurrentIndex";this._imageCount=0;this._images=[];this._currentIndex=0;this._currentId;this._keyMap=new EbaumLightboxKeyMap(this);this._ga=new EbaumGAEvent;this._postroll=!1;this._sizeConfig={rightColWidth:320,maxImgWidth:window.innerWidth-322,minContentHeight:window.innerHeight-2};this.addListener(LightboxEvent.LAUNCH,this.launchHandler);this.addListener(LightboxEvent.CLOSE,
this.closeHandler);var b=this;jQuery(document).ready(function(){jQuery("body").prepend('<div id="jqEnlargeModal" class="jqmWindow enlargeModal galleryLightbox"></div>');jQuery(b._container).jqm();b._container=document.getElementById("jqEnlargeModal");b._container.onclick=b.bind(b.handleClick)});jQuery(window).resize(function(){if(jQuery(b._container).is(":visible")){b._sizeConfig.maxImgWidth=window.innerWidth-b._sizeConfig.rightColWidth-2;b._sizeConfig.minContentHeight=window.innerHeight-2;var c=
jQuery("#enlargedImage").attr("dimwidth"),d=jQuery("#enlargedImage").attr("dimheight");b.resizeImage(c,d);b.resizeCaption()}})}
EbaumLightbox.prototype.handleClick=function(b){b=b||window.event;var c=(b.target||b.srcElement).id.split("-"),d=c[1];switch(c[0]){case "enlargeNav":c=jQuery("#rating-"+this._currentId).html();jQuery("#ratings-"+this._currentId).html(c);jQuery("#enlargeRatings").html(jQuery("#ratings-"+this._currentId).html());"prev"==d?this.prevHandler(b):this.nextHandler(b);break;case "share":base=window.location.href;parts=base.split("?");url=parts[0];jQuery(".enlargeNavigation").length&&(url+="?image="+this._currentId);
switch(d){case "facebook":EbaumManualShare.shareFacebook(url,"lightbox");break;case "twitter":EbaumManualShare.shareTwitter(url,"lightbox");break;case "stumble":EbaumManualShare.shareStumble(url,"lightbox");break;case "flipboard":EbaumManualShare.shareFlipboard(url,"lightbox");break;case "email":EbaumManualShare.shareEmail(url,"lightbox");break;case "whatsapp":EbaumManualShare.shareWhatsapp(url,"lightbox");break;case "pinterest":EbaumManualShare.sharePinterest(url,"lightbox")}break;case "enlargeReplayGallery":this._ga.fireGA("Gallery - Replay",
"lightbox",window.location.href),this.fire(LightboxEvent.RESTART),this.hidePostroll()}};
EbaumLightbox.prototype.launch=function(b,c){jQuery("#jqEnlargeModal").jqm({onLoad:function(b){jQuery("#mediumrect_atf").hide()},onHide:function(b){jQuery("#mediumrect_atf").show();b.w.fadeOut("2000",function(){b.o.remove()})}});this._imageCount=c.imageCount;this._currentIndex=c.currentIndex;this._currentId=c.currentId;jQuery("#ratings-"+this._currentId).html(jQuery("#rating-"+this._currentId).html());var d=this;jQuery.get(b,function(b){jQuery("body").css({overflow:"hidden"});jQuery(d._container).css({width:""});
jQuery(d._container).jqmShow();jQuery(d._container).html("");jQuery(d._container).append(b);jQuery("#enlargeGalleryCount").html(d._imageCount);jQuery(d._indexContainerId).html(d._currentIndex);jQuery("#rating-"+d._currentId).prop("id","rating-paused").html("");jQuery("#ratings-"+d._currentId).html("");jQuery("#enlargeRatings").prop("id","rating-"+d._currentId);jQuery("#rating-"+d._currentId+" .userDynamic").length?jQuery("#voteCTA").html("VOTE NOW!"):jQuery("#voteCTA").html("VOTED!");b=jQuery("#enlargedImage").attr("dimwidth");
var c=jQuery("#enlargedImage").attr("dimheight");d.resizeImage(b,c);jQuery(d._container).jqmAddClose(".jqEnlargeClose");this.iPhone&&(b=jQuery("#siteContainer").height(),c=jQuery(window).scrollTop(),jQuery(".jqmOverlay").css({height:b+"px"}),jQuery(d._container).css({top:c+50+"px"}));jQuery(".jqmOverlay, #jqEnlargeX").click(function(){d.fire(LightboxEvent.CLOSE)});EbaumKeyMapStack.addMap(d._keyMap);d.resizeCaption()})};
EbaumLightbox.prototype.center=function(b){b>screen.availWidth||b>jQuery(window).width()||jQuery(window).width()};
EbaumLightbox.prototype.resizeImage=function(b,c){newWidth=this._sizeConfig.maxImgWidth;newHeight=newWidth*c/b;newHeight>this._sizeConfig.minContentHeight&&(newHeight=this._sizeConfig.minContentHeight,newWidth=newHeight*b/c);jQuery("#enlargedImage").css({margin:"auto"});jQuery(".enlargeContent img").css({"margin-top":1});if(newHeight<this._sizeConfig.minContentHeight){var d=this._sizeConfig.minContentHeight-newHeight;jQuery(".enlargeContent img").css({"margin-top":d/2+"px"})}jQuery(".enlargeContent").css({width:this._sizeConfig.maxImgWidth+
2+"px"});jQuery("#enlargedImage").css({height:newHeight+"px",width:newWidth+"px"});jQuery("#lightboxShare").css({top:jQuery("#enlargedImage").css("margin-top"),left:jQuery("#enlargedImage").offset().left})};
EbaumLightbox.prototype.resizeCaption=function(){var b=window.innerHeight-30,c=jQuery("#enlargeCaption").offset();if(c){var d=c.top-jQuery(window).scrollTop();jQuery(window).scrollLeft();50<b-d&&!jQuery("#lightboxAd").is(":visible")&&jQuery("#lightboxAd").show();c=jQuery("#lightboxAd").offset();c=c.top-jQuery(window).scrollTop()-d-30;0<c||(jQuery("#lightboxAd").hide(),c=b-d);jQuery("#enlargeCaption, #enlargeCaptionInner").css({"max-height":c+"px"});jQuery("#enlargeCaption .ps-scrollbar-y-rail").css({height:c+
"px"})}};EbaumLightbox.prototype.closeHandler=function(b){b=jQuery("#rating-"+this._currentId).html();jQuery("#rating-"+this._currentId).html("").prop("id","enlargeRatings");jQuery("#rating-paused").html(b).prop("id","rating-"+this._currentId);jQuery("body").css({overflow:"auto"})};EbaumLightbox.prototype.prevHandler=function(b){this.fire(LightboxEvent.NAV_PREV)};EbaumLightbox.prototype.nextHandler=function(b){this.fire(LightboxEvent.NAV_NEXT)};
EbaumLightbox.prototype.change=function(b){var c=this,d=this._currentId;this._currentId=b.id;this.hidePostroll();"picture"==b.type?(jQuery(".twitterEmbed").hide(),jQuery(".vineEmbed").remove(),b.origWidth=parseInt(b.origWidth),b.origHeight=parseInt(b.origHeight),jQuery(this._containerId).animate({opacity:0},250,function(){jQuery("#enlargedImage").remove();jQuery(".enlargeContent").append(b.image);jQuery(".enlargeContent img").prop("id","enlargedImage");jQuery("#enlargedImage").attr("dimwidth",b.origWidth);
jQuery("#enlargedImage").attr("dimheight",b.origHeight);jQuery("#enlargedImage").css({"margin-top":0});c.resizeImage(b.origWidth,b.origHeight);jQuery(c._containerId).css({opacity:1});jQuery("#socialOverlayShare").css({"padding-bottom":"0"});jQuery("#socialOverlayRemix").css({display:"inline-block"});gallery&&(gallery._busy=!1)})):jQuery(this._containerId).animate({opacity:0},250,function(){jQuery(".tweetEnlarge").hide();jQuery(".vineEnlarge").hide();"tweet"==type?(jQuery("#tweetEnlarge-"+b.index).length?
jQuery("#tweetEnlarge-"+b.index).show():(jQuery(".enlargeContent").append('<div id="tweetEnlarge-'+b.index+'" class="tweetEnlarge">'+b.body+"</div>"),jQuery("#tweetEnlarge-"+b.index).css({opacity:0}),jQuery("#enlargeLoader").show()),c.centerLightbox(900)):"vine"==type&&(jQuery("#vineEmbed-"+b.index).length?jQuery("#vineEmbed-"+b.index).show():jQuery(".enlargeContent").append('<div id="vineEmbed-'+b.index+'" class="vineEmbed">'+b.body+"</div>"),this.centerLightbox(920));jQuery(this._containerId).css({opacity:1});
gallery&&(gallery._busy=!1)});jQuery("#enlargeCurrentIndex").html(b.index);jQuery("#enlargeTitle").html(b.title);jQuery("#enlargeCaptionInner").html(b.description);this.updateVoteDisplay(b,d);jQuery("#enlargeCaptionInner").perfectScrollbar("update");b.contestrank?(jQuery(".enlargeDetails").addClass("rank"),jQuery("#enlargeContestRank div").html(b.contestrank),jQuery("#enlargeContestRank").show()):(jQuery("#enlargeContestRank").hide(),jQuery(".enlargeDetails").removeClass("rank"))};
EbaumLightbox.prototype.launchPostroll=function(){jQuery("#enlargePostRoll").width(jQuery("#overlay-enlargeContent").width());jQuery("#overlay-enlargeContent").hide();jQuery("#enlargePostRoll").show();jQuery(".enlargeDetails").hide();this._ga.fireGA("Gallery - Postroll","lightbox",window.location.href);this._postroll=!0;FB.XFBML.parse()};
EbaumLightbox.prototype.hidePostroll=function(){jQuery("#overlay-enlargeContent").show();jQuery("#enlargePostRoll").hide();jQuery(".enlargeDetails").show();this._postroll=!1};
EbaumLightbox.prototype.updateVoteDisplay=function(b,c){jQuery("#ratings-"+c).html(jQuery("#rating-"+c).html());jQuery("#rating-"+c).html(b.ratingsHTML).prop("id","rating-"+this._currentId);jQuery("#ratings-"+this._currentId).html("");jQuery("#rating-"+this._currentId+" .userDynamic").length?jQuery("#voteCTA").html("VOTE NOW!"):jQuery("#voteCTA").html("VOTED!");jQuery("#enlargeUploaderAvatar").prop("href","/user/profile/"+b.username);jQuery("#enlargeUploaderUsername").prop("href","/user/profile/"+
b.username).html(b.username);jQuery("#enlargeUploaderAvatar img").prop("src",b.avatar)};EbaumLightbox.prototype._splitId=function(b){b=b.id.split("-");return{type:b[0],id:b[1]}};var EbaumFacebook={init:function(){window.fbAsyncInit=function(){FB.init({appId:"609983211267693",cookie:!0,xfbml:!0,version:"v17.0"});FB.AppEvents.logPageView()};(function(b,c,d){var f=b.getElementsByTagName(c)[0];b.getElementById(d)||(b=b.createElement(c),b.id=d,b.src="https://connect.facebook.net/en_US/sdk.js",f.parentNode.insertBefore(b,f))})(document,"script","facebook-jssdk")},login:function(){FB.login(function(b){"connected"==b.status&&(jQuery("#jqModal").hide(),jQuery("#jqModal").show(),jQuery(".jqContent").html('<h1>Facebook Connect</h1><div class="modalContentWrapper">Logging in with Facebook Connect...<br /><br /><div class="modalLoader"></div><br /></div>'),
window.location="/user/facebookconnect/")},{scope:"email"})},signup:function(){jQuery("form[name=register]").submit(function(){var b=!0;jQuery("input[class=required]").each(function(){if(0==jQuery.trim(this.value).length)return alert("Please enter all required fields."),jQuery("input[class=required]").each(function(){""==this.value&&jQuery(this).css({backgroundColor:"yellow"})}),b=!1});unstring=jQuery("input[name=username]").val();if(15<unstring.length||4>unstring.length)alert("Your username must between 4 and 15 characters long"),
b=!1;0==jQuery("input[name=gender]:checked").size()&&(alert("You must select a gender"),b=!1);0==jQuery("input[name=termsbox]:checked").size()&&(alert("You must accept the terms of use policy"),b=!1);return b?(jQuery("#jqModal").show(),jQuery(".jqContent").html('Registering your information...<br /><br /><div class="modalLoader"></div><br />'),!0):!1});jQuery("input[name=username]").blur(function(){var b=jQuery("input[name=username]").val();jQuery.getJSON("/user/checkavailable/",{type:"username",
value:b},function(b){b.success||(alert("Username already in use.  Please choose a different username."),jQuery("input[name=username]").select())})})}};EbaumInbox.prototype=new EmuseEvent;EbaumInbox.constructor=EbaumInbox;function EbaumInbox(b){this._container=b;this._listPage=1;this._sort=void 0;this._container.onclick=this.bind(this.handleClick);this._container.onchange=this.bind(this.handleChange);this._container.onsubmit=this.bind(this.handleSubmit)}EbaumInbox.prototype.handleSubmit=function(b){b=b||window.event;(b.target||b.srcElement).id.split("-")};
EbaumInbox.prototype.handleChange=function(b){b=b||window.event;b=(b.target||b.srcElement).id.split("-");b=b[0];switch(b){case "inboxCheckbox":"all"==jQuery("#"+b).val()?jQuery("input:checkbox").attr("checked",!0):"read"==jQuery("#"+b).val()?(jQuery("input:checkbox").attr("checked",!1),jQuery("input:checkbox.read").attr("checked",!0)):"unread"==jQuery("#"+b).val()?(jQuery("input:checkbox").attr("checked",!1),jQuery("input:checkbox.unread").attr("checked",!0)):"saved"==jQuery("#"+b).val()?(jQuery("input:checkbox").attr("checked",
!1),jQuery("input:checkbox.saved").attr("checked",!0)):"none"==jQuery("#"+b).val()&&jQuery("input:checkbox").attr("checked",!1);break;case "inboxSelect":b=jQuery("#"+b+" option:selected").attr("id").split("-"),b=b[1],window.location="all"==b?"/message/inbox/":"/message/inbox/"+b+"/"}};
EbaumInbox.prototype.handleClick=function(b){b=b||window.event;b=b.target||b.srcElement;var c=b.id.split("-"),d=c[1];switch(c[0]){case "viewComment":this.gotoComment(b);break;case "confirmBuddy":this.confirmBuddy(b);break;case "addBuddy":this.addBuddy(b);break;case "blockUser":this.blockUser(b);break;case "viewMedia":this.gotoMedia(b);break;case "acceptCreator":this.acceptCreator(b);break;case "reply":jQuery("#message-"+d).hasClass("unread")&&this.markRead(b);window.location="/message/reply/"+d+"/";
break;case "remove":this.remove(b);break;case "bulkMarkRead":this.bulkMarkRead(b);break;case "bulkRemove":this.bulkRemove(b);break;case "featured":"unread"==d?jQuery("#markAllRead").show():jQuery("#markAllRead").hide();break;case "markReadAll":this.markAllRead(b);break;case "markRead":this.markRead(b)}};EbaumInbox.prototype.gotoComment=function(b){b=b.id.split("viewComment-");window.location=b[1]};
EbaumInbox.prototype.gotoMedia=function(b){var c=this._splitId(b);jQuery("#message-"+c.id).hasClass("unread")&&this.markRead(b);b=b.id.split("viewMedia-");window.location=b[1]};EbaumInbox.prototype.remove=function(b){var c=this._splitId(b);jQuery.post("/message/remove/",{ids:c.id},function(b){b.success&&jQuery("#message-"+c.id).hide()})};
EbaumInbox.prototype.bulkRemove=function(b){this._splitId(b);ids="";jQuery("input:checkbox:checked").each(function(){ids+=jQuery(this).val()+","});jQuery.post("/message/remove/",{ids:ids},function(b){if(b.success){idArray=ids.split(",");b=0;for(var c=idArray.length;b<c;b++)jQuery("#message-"+idArray[b]).hide()}})};
EbaumInbox.prototype.bulkMarkRead=function(b){this._splitId(b);ids="";jQuery("input:checkbox:checked").each(function(){ids+=jQuery(this).val()+","});jQuery.post("/message/markread/",{ids:ids},function(b){b.success&&jQuery(".unread").removeClass("unread")})};EbaumInbox.prototype.markRead=function(b){var c=this._splitId(b);jQuery.get("/message/markread/?ids="+c.id,function(b){b.success&&(jQuery("#message-"+c.id).removeClass("unread"),jQuery("#message-"+c.id+" #markRead-"+c.id).hide())})};
EbaumInbox.prototype.markAllRead=function(b){this._splitId(b);jQuery.get("/message/markread/",function(b){b.success&&jQuery(".unread").removeClass("unread")})};EbaumInbox.prototype.markSpam=function(b){var c=this._splitId(b);jQuery.get("/message/markspam/"+c.id+"/",function(b){b.success&&jQuery("#message-"+c.id).hide()})};
EbaumInbox.prototype.acceptCreator=function(b){var c=b.id.split("-");jQuery("#message-"+c[1]).hasClass("unread")&&this.markRead(b);jQuery.get("/producer/confirm/",function(c){c.success?(jQuery("#"+b.id).html("Confirmed"),jQuery("#"+b.id).addClass("confirmed")):populateModal("<h1>Error</h1> Your status could not be confirmed at this time.")})};
EbaumInbox.prototype.confirmBuddy=function(b){var c=b.id.split("-"),d="/user/confirmbuddy/"+c[2]+"/";jQuery("#message-"+c[1]).hasClass("unread")&&this.markRead(b);jQuery.get(d,function(c){c.success?(jQuery("#"+b.id).html("Confirmed"),jQuery("#"+b.id).attr("id","")):(jQuery("#"+b.id).html("Error"),populateModal("<h1>Error</h1>"+c.error))})};
EbaumInbox.prototype.addBuddy=function(b){var c=this._splitId(b),d="/user/addbuddy/"+c.id+"/";jQuery("#message-"+c.id).hasClass("unread")&&this.markRead(b);jQuery.get(d,function(b){})};EbaumInbox.prototype.blockUser=function(b){b="/user/blockuser/"+this._splitId(b).id+"/";jQuery.get(b,function(b){})};EbaumInbox.prototype._splitId=function(b){b=b.id.split("-");return{type:b[0],id:b[1]}};EbaumUpload.prototype=new EmuseEvent;EbaumUpload.constructor=EbaumUpload;
function EbaumUpload(b,c){this._container=b;this._mediaType=c.mediaType;this._adminHtml=c.adminHtml;this._sid=c.sid;this._ip=c.ip;this._form=document.getElementById(c.formId);this._fileBox=document.getElementById("fileBox");this._locked=!1;this._fileUploadLimit=1;this._multipleFiles=!1;this._contentType="file";this._previousErrors=this._filesPending=this._numUploadedFiles=this._blogEditor=0;this._appErrors=[];this._legacyFiles=this._errorCount=0;this._selectedCategory=this.categoryContent="";this._uploader=
null;this._uploadUrl="";this._container.onclick=this.bind(this.handleClick);this._fileBox&&(this._fileBox.ondragenter=this.bind(this.handleDragEnter),this._fileBox.ondragleave=this.bind(this.handleDragLeave),this._fileBox.ondragover=this.bind(this.handleDragOver),this._fileBox.ondrop=this.bind(this.handleDrop));this._requestListeners={onAbort:this.bind(this.handleRequestAbort),onError:this.bind(this.handleRequestError),onLoad:this.bind(this.handleRequestLoad),onLoadStart:this.bind(this.handleRequestLoadStart),
onProgress:this.bind(this.handleRequestProgress),onStateChange:this.bind(this.handleRequestStateChange),onSuccess:this.bind(this.handleRequestSuccess)};this._requestOptions={fileName:"Filedata"};this._readerListeners={onAbort:function(){console.log("Reader: onAbort")},onError:function(){console.log("Reader: onError")},onLoad:function(){console.log("Reader: onLoad")},onLoadStart:function(){console.log("Reader: onLoadStart")},onLoadEnd:function(){console.log("Reader: onLoadEnd")},onProgress:function(){console.log("Reader: onProgress")}};
if(this._fileButton=document.getElementById("browseBtn"))this._fileButton.onchange=this.bind(this.handleFileChange);jQuery("#input-tag").blur(function(b){b=jQuery(this).val();if(""!=b){b=b.split(" ");var c=b.length,d="";if(0<c){jQuery("#tag-fake").html("");for(var h=0;h<c;h++)b[h]=b[h].replace(/[^A-Za-z0-9]/g,""),""!=b[h]&&(jQuery("#tag-fake").append('<li class="tag" id="tag-'+h+'"><div class="deleteArea" id="tag-delete-'+h+'"></div>'+b[h]+" </li>"),d+=b[h],h!=c-1&&(d+=" "));jQuery("#input-tag").val(d);
jQuery("#input-tag, #tag-fake").toggle()}}})}EbaumUpload.prototype.handleRequestAbort=function(b,c){};EbaumUpload.prototype.handleRequestLoad=function(b,c){};EbaumUpload.prototype.handleRequestLoadStart=function(b,c){this._locked||this.lockForm()};EbaumUpload.prototype.handleRequestError=function(b,c){jQuery("#errorBox").html("An error has occured. Please try again!").show()};
EbaumUpload.prototype.handleRequestProgress=function(b,c){percent=1<this._numUploadedFiles?Math.ceil((this._numUploadedFiles-this._filesPending)/this._numUploadedFiles*100):Math.ceil(b.loaded/b.total*100);100==percent?jQuery("#progressText").html("Processing..."):(this._multipleFiles||jQuery("#progressText").html(percent+"%"),jQuery(".outer_progress div.progress").css({width:percent+"%"}))};EbaumUpload.prototype.handleRequestStateChange=function(b,c,d){};
EbaumUpload.prototype.handleRequestSuccess=function(b,c,d){this._filesPending--;b=eval("("+b.currentTarget.responseText+")");0==this._filesPending?(b.success?(this._multipleFiles&&(jQuery("#uploadBox").show(),this._legacyFiles=this._numUploadedFiles),jQuery("#fileBoxWrapper").addClass("complete"),jQuery("#submitBtn").show(),jQuery(".uploadingList, .outer_progress, #progress_text").hide(),jQuery("#complete_text").show(),b=this._mediaType,this._multipleFiles?(b="gallery",jQuery("#addMoreBtn").show()):
jQuery(".uploadingList").show(),jQuery("#uploadTypeIcon").removeClass(b).addClass("complete")):(jQuery("#progress_text, .uploadingList").hide(),jQuery("#errorBox").html(b.error).show(),this._previousErrors=b.error),jQuery("#clearBtn").show()):this._multipleFiles&&this.uploadFile()};EbaumUpload.prototype.handleDragEnter=function(b){b.stopPropagation();b.preventDefault();jQuery("#fileBox").addClass("dragOver")};
EbaumUpload.prototype.handleDragLeave=function(b){b.stopPropagation();b.preventDefault();jQuery("#fileBox").removeClass("dragOver")};EbaumUpload.prototype.handleDragOver=function(b){b.stopPropagation();b.preventDefault()};EbaumUpload.prototype.handleDrop=function(b){b.stopPropagation();b.preventDefault();jQuery("#fileBox").removeClass("dragOver");this.handleHTML5UploadStart(b)};EbaumUpload.prototype.handleFileChange=function(b){b.stopPropagation();b.preventDefault();this.handleHTML5UploadStart(b)};
EbaumUpload.prototype.uploadFile=function(b){b=this._numUploadedFiles-this._legacyFiles-this._filesPending;this._goodFiles[b]&&((new EmuseXmlHttpRequest(this._requestListeners,this._requestOptions)).initUpload("/upload/sendfiles/"+this._mediaType+"/",this._goodFiles[b]),jQuery("#errorBox").html(""),jQuery("#errorBox").hide(),jQuery(".uploadingList").html('<li class="currentUpload upload_cont"><div class="outer_progress"><div class="progress"></div></div><div class="filename">'+this._goodFiles[b].name+
"</div></li>"),jQuery("#progressText").html("Uploading"),jQuery("#numUploaded").html(this._legacyFiles+b+1))};
EbaumUpload.prototype.validateFiles=function(b){var c=b.length,d={errors:[],badFiles:[],goodFiles:[]};if(c>this._fileUploadLimit)d.errors.push(" Too many files! Only "+this._fileUploadLimit+" file allowed for this type.");else for(var f=0;f<c;f++){file=b[f];var g=this._allowedTypes.replace(/[^a-z0-9;\/-]/gi,"").split(";"),h=file.type.split("/"),k=this._sizeLimit.replace(/[^0-9]/g,"");type=1<h.length?h[1]:h[0];this.inArray(g,type)?file.size>=1048576*k?(d.errors.push(" "+file.name+" is too large."),
d.badFiles.push(file)):d.goodFiles.push(file):(d.errors.push(" "+file.name+" is not the correct type."),d.badFiles.push(file))}return d};
EbaumUpload.prototype.handleHTML5UploadStart=function(b,c){c="change"==b.type?b.target.files:b.dataTransfer.files;var d=this.validateFiles(c);d.errors.length&&jQuery("#errorBox").html(d.errors.toString().replace(/[,]/g,"")).show();if(d.goodFiles.length){var f=this;f._numUploadedFiles=d.goodFiles.length;f._filesPending=d.goodFiles.length;f._goodFiles=d.goodFiles;jQuery(".uploadNotes, #uploadBox").css({opacity:"0"});jQuery("#progress_text, .uploadingList").show();jQuery("#complete_text").hide();d="+=0";
"90px"==jQuery(".fileBox").css("padding-top")&&(d="-=90",jQuery(".uploadTypeIcon").animate({"margin-top":"90px"},0,function(){}));jQuery(".fileBox").animate({"padding-top":d},0,function(){0<f._legacyFiles?(f._numUploadedFiles+=f._legacyFiles,jQuery("#fileCountProgress").show().css({"padding-left":"0"}),100<f._numUploadedFiles?jQuery("#errorBox").append("Error queueing: You are only allowed to upload 100 images to one gallery. <br />"):(jQuery(".waitForUpload").show(),jQuery("#numTotal").html("of "+
f._numUploadedFiles),jQuery("#numUploaded").html(f._legacyFiles+1),jQuery("#galleryProgress").show(),jQuery("#fileCountProgress").show)):f._multipleFiles&&(jQuery("#fileCountProgress").show().css({"padding-left":"0"}),jQuery(".waitForUpload").show(),jQuery("#numUploaded").html("1 "),jQuery("#numTotal").html("of "+f._numUploadedFiles));f.uploadFile()})}};
EbaumUpload.prototype.submit=function(b){jQuery(".error").html("");jQuery(".hasErrors").removeClass("hasErrors");b=jQuery("#uploadForm").serialize();jQuery("#submitErrors").html("");jQuery("#submitBtn").attr("disabled",!0);jQuery("#submitLoader").show();console.log("submitting upload");jQuery.post("/upload/",b,function(b){console.log("upload complete");console.log(b);if(b.success)console.log("upload success"),window.scrollTo(0,0),b.data?jQuery.get(b.data,function(b){jQuery(".jqContent").html(b)}):
jQuery("#uploadContainer").html(b.message);else if(console.log("upload fail"),console.log(b),jQuery("#submitErrors").html(b.error),jQuery("#submitBtn").attr("disabled",!1),b.data){var c=b.data.errors;if(c.length){var f="";for(x in c)f+=c[x]+"<br />";jQuery("#submitErrors").html(f)}b=b.data.fieldErrors;for(x in b)jQuery("#"+x+"Error").html(b[x]),jQuery("#"+x+"Wrapper").addClass("hasErrors")}})};
EbaumUpload.prototype.handleClick=function(b){b=b||window.event;var c=b.target||b.srcElement;b=c.id.split("-");var d=b[1],f=b[2];switch(b[0]){case "selectMedia":this._mediaType=d;this.buildForm();break;case "uploadMedia":this._locked?confirm("Are you sure you want to leave this page? Your changes will be lost.")&&("picture"==this._mediaType&&1==this._multipleFiles&&(this._multipleFiles=!1),this._mediaType=d,this.clearForm(),this.buildForm(),this._locked=!1):(this._mediaType=d,this.buildForm());break;
case "category":jQuery("#uploadCategorySelect .fakeCheck").removeClass("checked");jQuery("#categoryId").val()==d?(jQuery(c).removeClass("checked"),jQuery(c).next().removeClass("checked"),jQuery("#categoryId").val(""),this._selectedCategory="",jQuery("#input-category").removeClass("categoryChosen")):(jQuery(c).addClass("checked"),jQuery(c).next().addClass("checked"),jQuery("#categoryId").val(d),this._selectedCategory=jQuery("#category-"+d).next().html(),jQuery("#input-category").addClass("categoryChosen"));
jQuery("#categoryDropDown, .categorySelect").toggle();(b=jQuery("#categoryId").val())?jQuery("#input-category").attr("placeholder","Category: "+this._selectedCategory):jQuery("#input-category").attr("placeholder","Select a Category");break;case "tag":var g=jQuery("#input-tag");b=jQuery(g).val();var h=b.split(" "),k=h.length;if("delete"==d){d="";for(b=0;b<k;b++)h[b]=h[b].replace(/[^A-Za-z0-9]/g,""),b!=f&&""!=h[b]&&(d+=h[b],b!=k+1&&(d+=" "));h=d.split(" ");jQuery(g).val(d);1==h.length&&(jQuery("#input-tag, #tag-fake").toggle(),
jQuery("#input-tag").focus());jQuery("#"+jQuery(c).parent().attr("id")).remove();c=jQuery("#tag-fake .tag");d=c.length;for(b=0;b<d;b++)jQuery(c[b]).children().attr("id","tag-delete-"+b),jQuery(c[b]).attr("id","tag-"+b)}else if(jQuery("#input-tag, #tag-fake").toggle(),jQuery(g).is(":visible")){jQuery(g).focus();c=0;if("fake"==d)c=b.length;else for(b=0;b<=d;)c+=h[b].length,b!=d&&(c+=1),b++;g=document.getElementById("input-tag");g.createTextRange?(b=g.createTextRange(),b.move("character",c),b.select()):
null!=g.selectionStart&&(g.focus(),g.setSelectionRange(c,c))}break;case "girlCheckBox":this._locked||this.lockForm();5!=jQuery("#moderateCode").val()?(jQuery("#moderateCode").val(5),jQuery("#"+c.id).addClass("checked")):jQuery("#girlCheckBox").removeClass("checked");break;case "termsCheckBox":this._locked||this.lockForm();jQuery("#terms-check").val()?(jQuery("#terms-check").val(""),jQuery("#"+c.id).removeClass("checked"),jQuery("#submitBtn").attr("disabled",!0)):(jQuery("#terms-check").val(this._ip),
jQuery("#"+c.id).addClass("checked"));break;case "input":this._locked||this.lockForm();jQuery(".uploadLabel").removeClass("inputFocus");jQuery("#"+d+"Box .uploadLabel").addClass("inputFocus");"category"==d?jQuery("#categoryDropDown, .categorySelect").toggle():jQuery("#categoryDropDown").is(":visible")&&(jQuery("#categoryDropDown, .categorySelect").toggle(),(b=jQuery("#categoryId").val())&&jQuery("#input-category").attr("placeholder","Category: "+this._selectedCategory));break;case "categorySelectFake":jQuery("#categoryDropDown, .categorySelect").toggle();
(b=jQuery("#categoryId").val())&&jQuery("#input-category").attr("placeholder","Category: "+this._selectedCategory);break;case "clearBtn":this.clearForm();break;case "editLink":jQuery(".jqContent").load("/user/editupload/"+d);break;case "addMoreBtn":jQuery(c).hide();jQuery("#fileBoxWrapper").removeClass("complete");jQuery("#browseBtnViewable,#uploadBox, .uploadNotes").css({opacity:"1"});jQuery("#complete_text").hide();b=this._mediaType;this._multipleFiles&&(b="gallery");jQuery("#uploadTypeIcon").removeClass("complete").addClass(b);
jQuery("#errorBox").html("").hide();jQuery("#clearBtn").hide();jQuery(".filename").html("");jQuery("#fileCountProgress").show().css({"padding-left":"100px"});"60px"!=jQuery(".fileBox").css("padding-top")&&jQuery("#uploadTypeIcon").animate({"margin-top":"-=90"},0,function(){});jQuery("#fileBox").css({"padding-top":"90px"});break;default:jQuery(".uploadLabel").removeClass("inputFocus")}"blog"==this._mediaType&&jQuery(".nicEdit-main").hasClass("nicEdit-selected")&&(jQuery(".uploadLabel").removeClass("inputFocus"),
jQuery("#blogBody .uploadLabel").addClass("inputFocus"))};EbaumUpload.prototype.lockForm=function(){this._locked=!0;var b=this._mediaType;this._multipleFiles&&(b="gallery");jQuery(".mediaSelect ."+b).removeClass("disabled").addClass("selected")};
EbaumUpload.prototype.clearForm=function(){var b=this;jQuery.get("/upload/clear/",function(c){c.success&&(b._appErrors=[],jQuery("#fileBoxWrapper").removeClass("complete"),jQuery("#browseBtnViewable, .uploadNotes").css({opacity:"1"}),jQuery("#complete_text").hide(),c=b._mediaType,b._multipleFiles&&(c="gallery"),jQuery("#uploadTypeIcon").removeClass("complete").addClass(c),b._numUploadedFiles=0,b._legacyFiles=0,jQuery("#fileList ul").html(""),jQuery("#errorBox").html("").hide(),jQuery("#fileCountProgress, #addMoreBtn, #clearBtn").hide(),
jQuery(".filename").html(""),"60px"!=jQuery(".fileBox").css("padding-top")&&jQuery("#uploadTypeIcon").animate({"margin-top":"0"},0,function(){}),jQuery("#fileBox").css({"padding-top":"90px"}),b.initHTML5Uploader())})};
EbaumUpload.prototype.buildForm=function(){jQuery("#selectMediaWindows, #clearBtn, #errorBox").hide();jQuery("#uploadPageContainer").show();jQuery(".mediaSelect li").removeClass("selected");jQuery(".mediaSelect ."+this._mediaType).addClass("selected");jQuery("#multipleNote").hide();jQuery("#browseBtn").removeAttr("multiple","multiple");var b=this,c="",c="",c="flash"==this._mediaType?"Animation":this._mediaType[0].toUpperCase()+this._mediaType.slice(1);jQuery("#uploadHeader").html("Upload "+c);jQuery("#uploadTypeIcon").removeClass("video gallery picture game soundboard audio joke blog flash");
jQuery("#uploadTypeIcon").addClass(this._mediaType).css({"margin-top":"0px"});this._multipleFiles=!1;this._fileUploadLimit=1;jQuery("#browseBtn").removeAttr("multiple");switch(this._mediaType){case "audio":c="n Audio";break;case "flash":c="n Animation";break;case "gallery":c=" Gallery";jQuery("#multipleNote").show();jQuery("#imageNote").show();this._minImageWidth="1200px";this._mediaType="picture";this._multipleFiles=!0;this._fileUploadLimit=100;jQuery("#browseBtn").attr("multiple","multiple");break;
default:title=this._mediaType[0].toUpperCase()+this._mediaType.slice(1),c=" "+title}this._form.reset();jQuery("#bodyWrapper, #blogWrapper,#cke_blogBody").hide();jQuery("#youTubeWrapper, #embedWrapper").hide();jQuery("#gameEmbedWrapper, #fileBoxWrapper").hide();jQuery(".videoGameOptions").hide();jQuery("#hiddenMediaType").val(this._mediaType);jQuery("#uploadTitleType").html(c);jQuery("#uploadFormContainer").removeClass("blogJoke").show();jQuery("#uploadFormContainer").removeClass("blogJoke");jQuery("#categoryWrapper").html(this.categoryContent);
"blog"==this._mediaType?(jQuery("#blogWrapper, #cke_blogBody").show(),jQuery("#uploadFormContainer").addClass("blogJoke"),this._blogEditor||(this._adminHtml&&(this._blogEditor=1),this._blogEditor=1),jQuery(".uploadForm select").width("442px"),jQuery(".prettySelect").customSelect(),jQuery("#youTubePreview").hide()):(jQuery("#youTubePreview").hide(),"joke"!=this._mediaType&&"blog"!=this._mediaType?(this.initHTML5Uploader(),jQuery("#fileBoxWrapper").show(),jQuery("#descriptionWrapper").attr("maxlength",
350),"video"==this._mediaType?(jQuery("#fileBoxWrapper").hide(),jQuery("#youTubeWrapper, #embedWrapper").show(),0<jQuery("#embedWrapper").length||jQuery("#fileBoxWrapper").hide(),jQuery("#youTubePreview, .scrapeYouTube").show(),jQuery("#input-youTubeLink").on("paste",function(){setTimeout(function(){jQuery("#videoPreviewImg").hide();console.log("youTubeStr");var c=jQuery("#input-youTubeLink").val();console.log(c);c=b.validVideoLinks(c);jQuery("#youTubePreviewFrame").css({display:"block"}).attr("src",
c)},500)})):jQuery("#youTubePreview").hide(),"game"==this._mediaType&&jQuery("#gameEmbedWrapper").show()):(jQuery("#youTubePreview").hide(),jQuery(".uploadForm select").width("442px"),jQuery("#bodyWrapper").show(),jQuery("#uploadFormContainer").addClass("blogJoke")));jQuery(".prettySelect").customSelect()};
EbaumUpload.prototype.initHTML5Uploader=function(){switch(this._mediaType){case "audio":this._allowedDescription="MP3 Audio Files";this._allowedTypes="*.mp3; mpeg";this._sizeLimit="10 MB";break;case "game":case "flash":case "soundboard":this._allowedDescription="Flash Files";this._allowedTypes="*.swf; x-shockwave-flash";this._sizeLimit="150 MB";break;case "picture":this._allowedDescription="Image Files";this._allowedTypes="*.jpg; *.jpeg; *.gif; *.png";this._sizeLimit="3 MB";this._minImageWidth="1200px";
jQuery("#imageNote").show();break;case "video":this._allowedDescription="Video Files";this._allowedTypes="*.flv; *.avi; *.wmv; *.mpg; *.mpeg; *.mov; *.mp4; *.m4v; *quicktime; x-flv; video";this._sizeLimit="1000 MB";break;default:this._alloweDescription="None",this._allowedTypes="none",this._sizeLimit=0}jQuery("span#sizeLimit").html(this._sizeLimit);var b=this._allowedTypes.replace(/[^a-z0-9.;]/g," ");jQuery("span#fileTypes").html(b);jQuery("span#minImageWidth").html(this._minImageWidth);jQuery("#browseBtn").attr("accept",
b.replace(/;/g,", "));jQuery("#uploadBox").css({opacity:"1"})};
EbaumUpload.prototype.initUploader=function(){switch(this._mediaType){case "audio":this._allowedDescription="MP3 Audio Files";this._allowedTypes="*.mp3";this._sizeLimit="10 MB";break;case "game":case "flash":case "soundboard":this._allowedDescription="Flash Files";this._allowedTypes="*.swf";this._sizeLimit="150 MB";break;case "picture":this._allowedDescription="Image Files";this._allowedTypes="*.jpg; *.jpeg; *.gif; *.png";this._sizeLimit="3 MB";break;case "video":this._allowedDescription="Video Files";
this._allowedTypes="*.flv; *.avi; *.wmv; *.mpg; *.mpeg; *.mov; *.mp4; *.m4v";this._sizeLimit="1000 MB";break;default:this._alloweDescription="None",this._allowedTypes="none",this._sizeLimit=0}jQuery("span#sizeLimit").html(this._sizeLimit);var b=this._allowedTypes.replace(/[^a-z0-9.;]/g," ");jQuery("span#fileTypes").html(b);jQuery('object[id^="SWFUpload_"]').remove();jQuery("#uploadBox").prepend('<span id="spanButtonPlaceHolder"></span>');jQuery("#uploadBox").css({opacity:"1"});var c=this;this._uploader=
this.uploadMedia=new SWFUpload({upload_url:"/upload/sendfiles/"+this._mediaType+"/?PHPSESSID="+jQuery("#SID").html(),file_queue_error_handler:function(b,c,g){jQuery("#errorBox").show();jQuery("#progress_text").hide();b?jQuery("#errorBox").append("Error queueing: <span>"+b.name+"</span>&nbsp;"+g+"<br/ >"):jQuery("#errorBox").append("Error queueing: You are only allowed up upload 100 images to one gallery. <br />")},file_dialog_start_handler:function(){c._locked||c.lockForm();jQuery("#errorBox").html("");
jQuery("#errorBox").hide()},file_dialog_complete_handler:function(b){if(0<b&&(1>this.getStats().files_queued&&jQuery("#clearBtn").removeAttr("disabled"),c._errorCount=this.getStats().queue_errors,c._errorCount-=c._previousErrors,c._numUploadedFiles=b-c._errorCount,!(0<c._errorCount))){jQuery(".uploadNotes, #uploadBox").css({opacity:"0"});jQuery("#progress_text").show();jQuery("#complete_text").hide();var d=this;b=jQuery(".fileBox").css("padding-top");var g="+=0";"90px"==b&&(g="-=60");"90px"==b&&jQuery(".uploadTypeIcon").animate({"margin-top":"60px"},
0,function(){});jQuery(".fileBox").animate({"padding-top":g},0,function(){0<c._legacyFiles?(c._numUploadedFiles+=c._legacyFiles,100<c._numUploadedFiles?jQuery("#errorBox").append("Error queueing: You are only allowed to upload 100 images to one gallery. <br />"):(jQuery(".waitForUpload").show(),jQuery("#numTotal").html("of "+c._numUploadedFiles),jQuery("#numUploaded").html(c._legacyFiles+1),jQuery("#galleryProgress").show(),jQuery("#fileCountProgress").show)):c._multipleFiles&&(jQuery(".waitForUpload").show(),
jQuery("#numUploaded").html("1 "),jQuery("#numTotal").html("of "+c._numUploadedFiles));d.startUpload()})}},upload_progress_handler:function(b,f,g){percent=1<c._numUploadedFiles?Math.ceil(this.getStats().successful_uploads/c._numUploadedFiles*100):Math.ceil(f/b.size*100);100==percent?jQuery("#progressText").html("Processing..."):(c._multipleFiles||jQuery("#progressText").html(percent+"%"),jQuery(".outer_progress div.progress").css({width:percent+"%"}))},upload_start_handler:function(b){jQuery(".uploadingList").html('<li class="currentUpload upload_cont"><div class="outer_progress"><div class="progress"></div></div><div class="filename">'+
b.name+"</div></li>");jQuery("#progressText").html("Uploading");return!0},upload_error_handler:function(b,f,g){jQuery("#progress_text").hide();jQuery("#errorBox").html("Error uploading media file: "+g+" ("+f+")");jQuery("#errorBox").show();c._appErrors.push("Error uploading media file: "+g+" ("+f+")")},upload_success_handler:function(b,f){json=eval("("+f+")");json.error?(jQuery("li.currentUpload").remove(),c._appErrors.push(json.error),jQuery("#progress_text").hide(),jQuery("#errorBox").html(json.error),
jQuery("#errorBox").show()):c._locked=!0;jQuery(".currentUpload").removeClass("currentUpload")},upload_complete_handler:function(b,f,g){0<this.getStats().files_queued?(1==c._multipleFiles&&(jQuery("#numUploaded").html(this.getStats().successful_uploads+1+"&nbsp;"),jQuery("#numTotal").html("of "+c._numUploadedFiles)),this.startUpload()):(0<c._appErrors.length||(c._multipleFiles?(jQuery("#uploadBox").show(),c._legacyFiles=c._numUploadedFiles,c._previousErrors=this.getStats().queue_errors):(jQuery(".uploader .swfupload").hide(),
c._previousErrors=this.getStats()),jQuery("#fileBoxWrapper").addClass("complete"),jQuery("#submitBtn").show(),jQuery(".waitForUpload, .outer_progress").hide(),jQuery("#complete_text").show(),b=c._mediaType,c._multipleFiles&&(b="gallery"),jQuery("#uploadTypeIcon").removeClass(b).addClass("complete")),jQuery("#clearBtn").show(),c._multipleFiles&&jQuery("#addMoreBtn").show())},file_queued_handler:function(b){},flash_url:"/js/swfupload/swfupload_f10.swf?3433",flash9_url:"/js/swfupload/swfupload_f9.swf",
file_size_limit:this._sizeLimit,file_types:this._allowedTypes,file_types_description:this._allowedDescription,file_upload_limit:this._fileUploadLimit,file_queue_limit:this._fileUploadLimit,debug:!1,button_placeholder_id:"spanButtonPlaceHolder",button_image_url:"",button_width:170,button_height:44,button_text:"",button_text_style:".btnText { font-family: Arial; }",button_text_left_padding:0,button_text_top_padding:0,button_action:this._multipleFiles?SWFUpload.BUTTON_ACTION.SELECT_FILES:SWFUpload.BUTTON_ACTION.SELECT_FILE,
button_disable:!1,button_window_mode:"transparent",button_cursor:SWFUpload.CURSOR.HAND})};EbaumUpload.prototype.inArray=function(b,c){for(var d in b)if(b[d]==c)return!0;return!1};
EbaumUpload.prototype.validVideoLinks=function(b){console.log("validVideoLinks");console.log(b);if(b.match(/^(?:https?:\/\/)?(?:www\.)?youtube\.com\/watch\?(?=.*v=((\w|-){11}))(?:\S+)?$/))return"https://www.youtube.com/embed/"+RegExp.$1;if(b.match(/^(?:https?:\/\/)?(?:www\.)?tiktok\.com\/(?=.*\/((\w|-){19}))(?:\S+)?$/))return"https://www.tiktok.com/embed/v2/"+RegExp.$1;if(b.match(/^(?:https?:\/\/)?(?:www\.)?twitter\.com\/(?=.*\/status\/((\w|-){19}))(?:\S+)?$/))return"https://platform.twitter.com/embed/index.html?dnt=false&embedId=twitter-widget-0&frame=false&hideCard=false&hideThread=false&id="+
RegExp.$1+"&lang=en";if(b.match(/^(?:https?:\/\/)?(?:www\.|m\.|touch\.)?(?:facebook\.com|fb(?:\.me|\.com))\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*?(\/)?([^/?\s]*)(?:\S+)?$/))return"https://www.facebook.com/plugins/video.php?href="+b+"&show_text=0&width=560";if(b.match(/^(?:https?:\/\/)?(?:www\.)?instagram\.com\/p\/(?=.*((\w|-){11}))(?:\S+)?$/))return"https://www.instagram.com/reel/"+RegExp.$1+"/embed/captioned/?cr=1&v=13&wp=540";if(b.match(/^(?:https?:\/\/)?(?:www\.)?twitch\.tv\/videos\/(?=.*((\w|-){9}))(?:\S+)?$/))return"https://player.twitch.tv/?video="+
RegExp.$1+"&parent=https://cloud-dev4.ebaumsworld.com/"};function EmuseEvent(){this._listeners={}}EmuseEvent.prototype.addListener=function(b,c){"undefined"==typeof this._listeners[b]&&(this._listeners[b]=[]);this._listeners[b].push(c)};EmuseEvent.prototype.removeListener=function(b,c){if(this._listeners[b]instanceof Array)for(var d=this._listeners[b],f=0,g=d.length;f<g;f++)if(d[f]===c){d.splice(f,1);break}};
EmuseEvent.prototype.fire=function(b){"string"==typeof b&&(b={type:b});b.target||(b.target=this);if(!b.type)throw Error("Event object missing 'type' property.");if(this._listeners[b.type]instanceof Array)for(var c=this._listeners[b.type],d=0,f=c.length;d<f;d++)c[d].call(this,b)};EmuseEvent.prototype.relay=function(b,c){if(void 0==c)throw Error("No target passed to relay");"string"==typeof b&&(b={type:b});b.target=c;this.fire(b)};
EmuseEvent.prototype.bind=function(b){var c=this;return function(d){b.call(c,d)}};var EbaumUser={username:null,init:function(b){this.username=b},submissionsListInit:function(){jQuery("#profileMediaList").load("/user/uploads/"+this.username+"/all",function(){EbaumMobile.setListings()})},toggleMore:function(){jQuery("#profileMore").toggle();jQuery("button.more").hasClass("open")?(jQuery("button.more").removeClass("open"),jQuery("button.more").html("More...")):(jQuery("button.more").addClass("open"),jQuery("button.more").html("Close"))},toggleFavorites:function(){jQuery(".favoritesToggle").hasClass("active")||
(jQuery(".submissionsToggle").removeClass("active"),jQuery(".favoritesToggle").addClass("active"),EbaumMobile.addLoader("profileMediaList"),jQuery("#profileMediaList").load("/user/favorites/"+this.username+"/",function(){EbaumMobile.setListings()}))},toggleSubmissions:function(){jQuery(".submissionsToggle").hasClass("active")||(jQuery(".submissionsToggle").addClass("active"),jQuery(".favoritesToggle").removeClass("active"),EbaumMobile.addLoader("profileMediaList"),jQuery("#profileMediaList").load("/user/uploads/"+
this.username+"/all",function(){EbaumMobile.setListings()}))},toggleBuddies:function(){jQuery(".buddiesToggle").hasClass("active")||(jQuery(".subscriptionsToggle").removeClass("active"),jQuery(".buddiesToggle").addClass("active"),EbaumMobile.addLoader("profileUserList"),jQuery("#profileUserList").load("/user/buddies/"+this.username+"/",function(){EbaumMobile.setAvatars()}))},toggleSubscriptions:function(){jQuery(".subscriptionsToggle").hasClass("active")||(jQuery(".subscriptionsToggle").addClass("active"),
jQuery(".buddiesToggle").removeClass("active"),EbaumMobile.addLoader("profileUserList"),jQuery("#profileUserList").load("/user/subscriptions/"+this.username+"/",function(){EbaumMobile.setAvatars()}))},buddyListInit:function(){jQuery("#profileUserList").load("/user/buddies/"+this.username+"/")},mobileBuddyListInit:function(){jQuery("#profileUserList").load("/user/buddies/"+this.username+"/",function(){setTimeout(function(){EbaumMobile.setAvatars()},5E3)})},triggerMenu:function(b,c){jQuery("#"+c).is(":visible")?
jQuery("#"+c).hide():(jQuery("#"+c).load("/user/menu/"+b+"/"),jQuery("#"+c).show())},subscriptionListInit:function(){jQuery("#subscriptionList").load("/user/subscriptions/"+this.username+"/")},mobileSubscriptionListInit:function(){jQuery("#profileUserList").load("/user/subscriptions/"+this.username+"/",function(){EbaumMobile.setAvatars()})},editBuddies:function(){jQuery("#profileUserList img").unbind("click");jQuery("#editBuddies").slideUp("fast");jQuery("#cancelEditBuddies").slideDown("fast");jQuery("#cancelEditBuddies").css({display:"block"});
jQuery("#profileUserList").addClass("editingEnabled");jQuery("#profileUserList .userItem").click(function(){var b=jQuery(this).attr("id").split("-")[1];confirm("Do you really want to remove "+b+" from your buddy list?")&&EbaumUser.removeBuddy(b);return!1})},cancelEditBuddies:function(){jQuery("#editBuddies").slideDown("fast");jQuery("#cancelEditBuddies").slideUp("fast");jQuery("#profileUserList .userItem").unbind("click");jQuery("#profileUserList").removeClass("editingEnabled");jQuery("#profileUserList .userItem").click(function(){return!0})},
editSubscriptions:function(){jQuery("#profileUserList img").unbind("click");jQuery("#editSubscriptions").slideUp("fast");jQuery("#cancelEditSubscriptions").slideDown("fast");jQuery("#cancelEditSubscriptions").css({display:"block"});jQuery("#profileUserList").addClass("editingEnabled");jQuery("#profileUserList .userItem").click(function(){var b=jQuery(this).attr("id").split("-")[1];confirm("Do you really want to remove "+b+" from your subscription list?")&&EbaumUser.removeSubscription(b);return!1})},
cancelEditSubscriptions:function(){jQuery("#editSubscriptions").slideDown("fast");jQuery("#cancelEditSubscriptions").slideUp("fast");jQuery("#profileUserList .userItem").unbind("click");jQuery("#profileUserList").removeClass("editingEnabled");jQuery("#profileUserList .userItem").click(function(){return!0})},removeSubscription:function(b){jQuery.getJSON("/user/removesubscription/"+b+"/",function(c){c.success?(populateModal("The user was removed from your subscription list."),jQuery("#subscription-"+
b).remove()):populateModal(c.error)})},removeBuddy:function(b){jQuery.get("/user/removebuddy/"+b+"/",function(c){c.success?(populateModal("The user was removed from your buddy list."),jQuery("#buddy-"+b).remove()):populateModal(c.error)})},addBuddy:function(b){jQuery.get("/user/addbuddy/"+b+"/",function(b){b.success?populateModal("The user was added to your buddy list."):populateModal(b.error)})},confirmBuddy:function(b,c){jQuery.get("/user/confirmbuddy/"+b+"/",function(b){b.success?(populateModal("You have accepted the buddy request."),
inboxAction("markread","",c.parents("ul.msgListItem").attr("id"),location.href),jQuery(c).remove()):populateModal(b.error)})},blockUser:function(b){jQuery.get("/user/blockuser/"+b+"/",function(b){b.success?populateModal("The user was added to your blocklist. To remove a user from you block list visit the 'Edit Profile' section."):populateModal(b.error)})},subscribe:function(){this.username?jQuery.get("/user/subscribe/"+this.username+"/",function(b){b=b.success?'<img src="https://cdn.ebaumsworld.com/img/accept.png"height="16" width="16" /> <span style="color:#369;">Subscribed!</span>':
b.error;jQuery("#subscribeInfo").html(b)}):(jQuery("#jqModal").jqm({ajax:"/user/login/"}),jQuery("#jqModal").jqmShow())},unblockUser:function(b){jQuery.get("/user/unblockuser/"+b+"/",function(c){c.success?jQuery("#block-"+b).remove():populateModal(c.error)})},profileWriteMessage:function(b){if(!b)return jQuery("#jqModal").jqm({ajax:"/user/login/"}),jQuery("#jqModal").jqmShow(),!1;jQuery("#profileWriteTrigger").hide();jQuery("#writeProfileMessage").slideDown("slow")},profileShowcaseInit:function(b){jQuery("#showcasedMedia").load("/user/showcase/"+
this.username+"/")},profileMessageInit:function(){jQuery("#messageList").load("/user/message/"+this.username+"/")},profileActivityInit:function(){jQuery("#activityList").load("/user/activity/"+this.username+"/")},pageProfileMessage:function(b,c){jQuery("#messageList").load("/user/message/"+b+"/?page="+c)},removeMessage:function(b){jQuery.get("/message/remove/?ids="+b,function(c){c.success?jQuery("#message-"+b).remove():populateModal("<h1>ALERT</h1>Message failed to delete.")})},removeComment:function(b){confirm("Do you really want to remove this comment from your list?")&&
jQuery.get("/user/removecomment/"+b+"/",function(c){c.success?jQuery("#comment-"+b).remove():populateModal("<h1>ALERT</h1>Message failed to delete.")});return!1},setAvatar:function(b,c){data={userId:b,avatarId:c};jQuery.post("/user/changeavatar/",data,function(b){b.success?(jQuery(".currentAvatar img").attr("src",b.data.path),jQuery("#avatarInfo img").attr("src",b.data.path),jQuery(".historyAvatar").removeClass("selectedAvatar"),jQuery("#"+c).addClass("selectedAvatar")):(jQuery(".error").html(b.error),
jQuery(".error").show())})},removeAvatar:function(b,c){data={userId:b,avatarId:c};jQuery.post("/user/removeavatar/",data,function(b){b.success?(jQuery("#"+c).parent().hide(),b.data&&(newImg=jQuery('.historyAvatar img[src="https://cdn.ebaumsworld.com'+b.data.avatar_path+'"]'),jQuery(newImg).parent().addClass("selectedAvatar"),jQuery(".currentAvatar img").attr("src",b.data.path),jQuery("#avatarinfo img").attr("src",b.data.path),jQuery("#profileAvatar img").attr("src",b.data.path))):(jQuery(".error").html(b.error),
jQuery(".error").show())})},confirmCode:function(){if(""==jQuery("#input-code").val())return alert("Please enter a code."),!1;document.confirmcode.submit()},resendCode:function(){jQuery("#sendcode").attr("disabled","disabled");return!0},confirmEmail:function(){if(""==jQuery("#input-email").val())return alert("Please enter a new email address."),!1;document.updateemail.submit()},profileEditInit:function(b){jQuery(".jqmWindow").css({position:"absolute"});jQuery(".jqmOverlay").unbind();jQuery("input[name=user_email]").blur(function(){value=
jQuery("input[name=user_email]").val();jQuery.getJSON("/user/checkavailable/",{type:"email",value:value},function(b){b.success||(alert("Email address already in use.  Please choose a different email address"),jQuery("input[name=user_email]").select())})});this.initAvatarUpload("/user/uploadavatar/?PHPSESSID="+b,"Avatar")},profileEditSubmit:function(){data=jQuery("#editProfileForm").serialize();jQuery(".error").html("");jQuery.post(jQuery("#editProfileForm").attr("action"),data,function(b){if(b.success)jQuery("#successMessage").html(b.message).show();
else if(b.error){for(err in b.error)for(e in b.error[err])jQuery("#"+err+"Error").append(b.error[err][e]);jQuery("#"+err+"Error").show()}});return!1},initAvatarUpload:function(b,c){new RealUploader("#uploadAvatar",{accept:"image/*",allowedExtensions:["jpg","jpeg","gif"],autoStart:!0,url:b,maxFileSize:"1M",chunkSize:0,hideUploadButtom:!0,listeners:{init:function(){jQuery(".ax-main-title").hide()},startFile:function(b){jQuery("#uploadAvatar .ax-browse-c").hide();jQuery("#uploadAvatar .ax-toolbar").hide()},
finish:function(b,c){console.log("finish");jQuery("#uploadAvatar").append('<div class="uploadComplete right clear">Upload Complete!</div>')},finishFile:function(b,c){console.log("finishFile");console.log(c)},errorFile:function(b,c,g){console.log("error");jQuery("#uploadAvatar .uploadComplete").remove();jQuery("#uploadAvatar").append('<div class="uploadComplete clear">Error! Can\'t upload '+c+"</div>")}}});jQuery("#"+c+" .uploader").html("");jQuery("#"+c+" .uploader").append('<div class="uploadContainer" style="float:left;">');
jQuery("#"+c+" .uploader").append('<span class="uploadStatus"></span>');jQuery("#"+c+" .uploader").append('<div class="uploadFileList"><ul></ul></div>');jQuery("#"+c+" .uploader").append("</div>")},signupEnable:function(b){if(""==b.value)return!1;"disabled"==jQuery("uploadBtn").attr("disabled")&&jQuery("uploadBtn").attr("disabled",!1);0==jQuery("termscheck").checked&&jQuery("uploadBtn").attr("disabled","disabled");return!0},signupInit:function(){jQuery("form[name=register]").submit(function(){jQuery("input[class=required]").each(function(){if(0==
jQuery.trim(this.value).length)return jQuery("#submitError").html("Please enter all required fields."),jQuery("input[class=required]").each(function(){""==this.value&&jQuery(this).css({backgroundColor:"yellow"})}),!1})});jQuery("input[name=username]").blur(function(){var b=jQuery("input[name=username]").val();jQuery.getJSON("/user/checkavailable/",{type:"username",value:b},function(b){b.success||(alert("Username already in use.  Please choose a different username."),jQuery("input[name=username]").select())})});
jQuery("input[name=email]").blur(function(){if(""!=jQuery("input[name=email]").val()){var b=jQuery("input[name=email]").val();jQuery.getJSON("/user/checkavailable/",{type:"email",value:b},function(b){b.success||jQuery("input[name=email]").select()})}})}},EbaumProfileFlash={removeRefresh:function(){jQuery("#reloadFlash").remove()},loadFlash:function(b,c,d){jQuery("#flashContainer").html('<div id="flashObject"></div>');params={menu:!1};swfobject.embedSWF("https://cdn.ebaumsworld.com"+d,"flashObject",
b,c,"9",!1,!1,params);swfobject.addLoadEvent();jQuery(".jqmWindow").css({position:"absolute"});this.removeRefresh()},loadMedia:function(b){0!=jQuery("#iPhoneUserCol").length?populateModal("<div style='font-size:22px; font-weight:bold;'>The pageyou requested is not supported on this device.</div>"):(jQuery("#jqModal").jqm({ajax:"/user/showcaseenlarge/"+b+"/"}),jQuery("#jqModal").jqmShow())}},EbaumUserMedia={orderChange:!1,uploadNatural:!1,uploadFixed:!1,init:function(b,c){this.uploadNaturalThumbInit("/upload/sendfiles2/picture/?media="+
b+"&PHPSESSID="+c+"&thumb=natural","thumbnailUploadInfo");this.uploadFixedThumbInit("/upload/sendfiles2/picture/?media="+b+"&PHPSESSID="+c+"&thumb=fixed","thumbnailUploadInfo")},submit:function(b){if(this.orderChange){var c=[];jQuery.each(jQuery("ul#sortable li.sortableLi img"),function(b,f){id=jQuery(f).attr("id");parts=id.split("-");c[b]=parts[1]});jQuery("#galleryOrder").val(c.join(","))}"blog"!=b&&"article"!=b||jQuery("#blogBody").html(CKEDITOR.instances.blogBody.getData());return!0},remove:function(b,
c){confirm("Do you really want to remove this item for your "+c+"?")&&jQuery.get("/user/remove"+c+"/"+b+"/",function(d){d.success?jQuery("#media-"+b).remove():d.error?populateModal("<h1>ALERT</h1>"+d.error+"."):populateModal("<h1>ALERT</h1>"+c+" failed to delete.")});return!1},setNewThumb:function(){jQuery("img.gallerySelectedThumb").removeClass("gallerySelectedThumb");jQuery("a.gallerySelectedThumb").attr("class","");jQuery("a[name=clicked] img").addClass("gallerySelectedThumb");jQuery("#currentThumb").attr("src",
jQuery("a[name=clicked] img").attr("src"));jQuery("#thumb_path").attr("value",jQuery("a[name=clicked] img").attr("src"));fullId=jQuery("a[name=clicked] img").attr("id");parts=fullId.split("-");jQuery("#thumbId").attr("value",parts[1]);jQuery("a[name=clicked]").attr("name","")},uploadNaturalThumbInit:function(b,c){new RealUploader("#uploadNaturalBox",{accept:"image/*",allowedExtensions:["jpg","jpeg"],autoStart:!0,url:b,maxFileSize:"3M",chunkSize:0,hideUploadButtom:!0,listeners:{init:function(){jQuery(".ax-main-title").hide()},
startFile:function(b){jQuery("#uploadNaturalBox .ax-browse-c").hide();jQuery("#uploadNaturalBox .ax-toolbar").hide()},finish:function(b,c){console.log("finish");jQuery("#uploadNaturalBox").append("<div class=\"uploadComplete right clear\">Upload Complete! Click 'Save Changes' to complete.</div>")},finishFile:function(b,c){console.log("finishFile");console.log(c)},errorFile:function(b,c,g){console.log("error");jQuery("#uploadNaturalBox .uploadComplete").remove();jQuery("#uploadNaturalBox").append('<div class="uploadComplete clear">Error! Can\'t upload '+
c+"</div>")}}})},uploadFixedThumbInit:function(b,c){new RealUploader("#uploadFixedBox",{accept:"image/*",allowedExtensions:["jpg","jpeg"],autoStart:!0,url:b,maxFileSize:"3M",chunkSize:0,hideUploadButtom:!0,listeners:{init:function(){jQuery(".ax-main-title").hide()},startFile:function(b){jQuery("#uploadFixedBox .ax-browse-c").hide();jQuery("#uploadFixedBox .ax-toolbar").hide()},finish:function(b,c){console.log("finish");jQuery("#uploadFixedBox").append("<div class=\"uploadComplete right clear\">Upload Complete! Click 'Save Changes' to complete.</div>")},
finishFile:function(b,c){console.log("finishFile");console.log(c)},errorFile:function(b,c,g){console.log("error");jQuery("#uploadFixedBox .uploadComplete").remove();jQuery("#uploadFixedBox").append('<div class="uploadComplete clear">Error! Can\'t upload '+c+"</div>")}}})}};var CommentEvent={ADD:"add",ADD_REPLY:"add_reply",ADD_COMPLETE:"add_complete"};EbaumComment.prototype=new EmuseEvent;EbaumComment.constructor=EbaumComment;
function EbaumComment(b,c,d,f){this._authenticated=d;this._id=c;this._mediaType=f;this._container=b;this._listPage=1;this._timeoutId=void 0;this._processing=0;this._sort=void 0;this._commentId=!1;this._ga=new EbaumGAEvent;this._linkWhitelist=this._imgWhitelist=!1;this._container.onclick=this.bind(this.handleClick);this._container.onchange=this.bind(this.handleChange);this.addListener(CommentEvent.ADD,this.addHandler);this.addListener(CommentEvent.ADD_REPLY,this.addReplyHandler);this.addListener(CommentEvent.ADD_COMPLETE,
this.page);(this._commentId=this.getCommentIdFromUrl())?this._listPage=this.getCommentPage(this._commentId):this.load(this._listPage)}
EbaumComment.prototype.handleClick=function(b){b=b||window.event;b=b.target||b.srcElement;var c=b.id.split("-"),d=c[1];switch(c[0]){case "addComment":this.relay(CommentEvent.ADD,b);break;case "addReply":this.relay(CommentEvent.ADD_REPLY,b);break;case "reply":this.replyBtn(d);break;case "ban":this.banBtn(b);break;case "batch":"select"==d&&this.selectAll();"delete"==d&&this.batchDelete();break;case "confirmBan":this.confirmBan(b);break;case "delete":this.deleteBtn(b);break;case "remove":this.removeBtn(b);
break;case "feature":this.featureBtn(b);break;case "restore":this.restoreBtn(b);break;case "addCommentText":jQuery(b).val()||(jQuery(b).autosize(),jQuery(".submitComment").removeClass("disabled"));jQuery("textarea").blur(function(){jQuery(this).val()||(jQuery(this).css({height:"52px"}),jQuery(".submitComment").addClass("disabled"))});break;case "commentReplyText":jQuery(b).val()||(jQuery(b).autosize(),jQuery("#addReply-"+d).removeClass("disabled"));jQuery(b).blur(function(){jQuery(this).val()||(jQuery(this).css({height:"20px"}),
jQuery("#addReply-"+d).addClass("disabled"))});break;case "commentRefresh":this.refreshComments();break;case "rateUp":this.rateComment(d,1);break;case "rateDown":this.rateComment(d,-1);break;case "watch":this.watchComment(b);break;case "commentSortInfo":jQuery("#jqModal").jqm({ajax:"/comment/explain/"});jQuery("#jqModal").jqmShow();break;case "sort":this.sortList(d,this._page);document.getElementById("sortDropLabel").innerHTML=b.innerHTML;break;case "commentToggle":case "commentToggleAction":jQuery("#commentHolder").is(":visible")?
(jQuery("#commentHolder").hide(),jQuery("#commentToggleAction").html("Show"),jQuery("#commentToggleAction-icon").html("+").removeClass("hideComments"),this._ga.fireGA("Comments - Hide","mobile","btf")):(jQuery("#commentHolder").show(),jQuery("#commentToggleAction").html("Hide"),jQuery("#commentToggleAction-icon").html("_").addClass("hideComments"),this._ga.fireGA("Comments - Show","mobile","btf"));break;case "listRaters":this.getRaters(d)}};
EbaumComment.prototype.handleChange=function(b){b=b||window.event;b=(b.target||b.srcElement).id.split("-");b=b[0];switch(b){case "sortBySelect":this.sortList(jQuery("#sortBySelect option:selected").val(),this._page);break;case "mobileSortComments":b=jQuery("#"+b+" option:selected").attr("id").split("-"),b=b[1],this.sortList(b,this._page)}};
EbaumComment.prototype.getRaters=function(b){if(!this._authenticated)return this.promptLogin(),!1;jQuery("#ratersList-"+b).html()?jQuery("#ratersList-"+b).toggle():(jQuery("#ratersList-"+b).html('<img src="https://cdn.ebaumsworld.com/img/desktop/loaderGlobe32BlueGrey.gif" />'),jQuery.get("/comment/admin/listraters/"+b+"/",function(c){jQuery("#ratersList-"+b).html(c).show()}))};
EbaumComment.prototype.rateComment=function(b,c){if(!this._authenticated)return this.promptLogin(),!1;jQuery.post("/comment/rate/",{commentId:b,rating:c},function(d){d.success?(d=parseInt(jQuery("#commentRating-"+b).html().replace(/\s*/g,"")),1==c?(d++,0<=d&&jQuery("#commentRating-"+b).removeClass("negative"),jQuery("#rateUp-"+b).addClass("rated"),jQuery("#rateDown-"+b).fadeOut("fast")):(d--,0>d&&jQuery("#commentRating-"+b).addClass("negative"),jQuery("#rateDown-"+b).addClass("rated"),jQuery("#rateUp-"+
b).fadeOut("fast")),jQuery("#commentRating-"+b).html(" "+d)):(jQuery("#rateUp-"+b).attr("background","url('https://cdn.ebaumsworld.com/img/exclamation.png') 0 0 no-repeat"),jQuery("#rateDown-"+b).fadeOut("fast"))})};
EbaumComment.prototype.load=function(b){"number"!=typeof b&&(b=this._listPage);var c=this;jQuery("#commentListHolder").load("/comment/list/"+this._id+"/?page="+b,function(){c._commentId&&(jQuery("#comment-"+c._commentId).offset(),c._commentId&&(setTimeout(function(){var b=jQuery("#comment-"+c._commentId).offset();jQuery("html,body").animate({scrollTop:b.top-50},500)},2E3),jQuery("#comment-"+c._commentId).css({"background-color":"#e7e9ee"})));c.linkify()})};
EbaumComment.prototype.changeListPage=function(b,c,d){null!=c&&(this.container=c);var f=this,g=jQuery("#commentList").offset();jQuery("html,body").animate({scrollTop:g.top-150},500);jQuery("#commentList").html('<div class="loaderWrapper alignC"><div class="widgetLoader"><svg width="1em" height="1em"><circle cx="0.5em" cy="0.5em" r="0.45em"/></svg></div></div>');"commentListHolder"==this.container&&jQuery("#"+this.container).load(b,function(){"mediaListColumn"==Ebaum.container&&(g=document.getElementById("commentList").offsetTop,
120<g&&(g-=120));f.linkify()});void 0!=d&&void 0!=d[2]&&"moderate-mature"==d[2]&&(EbaumScrollAd.type="mature");Ebaum.updateAnalytics(b)};
EbaumComment.prototype.linkify=function(){var b=/(#([0-9]*))/gim;if(0<this._imgWhitelist.length){for(var c="((",d=0,f=this._imgWhitelist.length;d<f;d++)c+=this._imgWhitelist[d].replace("///gim","\\/").replace("/./","."),d+1<f&&(c+="|");c+=")[-A-Z0-9+&@#/%?=~_|!:,.;]*.(?:jpg|png|gif))"}var g=this;jQuery(".commentBody").each(function(){inputText=jQuery(this).html();inputText.match(/(?!.*(png|gif|jpg))((http:\/\/forum.|forum.)ebaumsworld.com([-A-Z0-9+&@#/%?=~_|!:,.;]*))/,"gim")?(console.log("match!"),
replacedText=inputText.replace(RegExp("(?!.*(png|gif|jpg))((http://forum.|forum.)ebaumsworld.com([-A-Z0-9+&@#/%?=~_|!:,.;]*))","gim"),'<a href="https://forum.ebaumsworld.com$4" target="_blank">https://forum.ebaumsworld.com$4</a>')):replacedText=inputText.replace(RegExp("(?!.*(png|gif|jpg))((http://www.|www.|http://)*ebaumsworld.com([-A-Z0-9+&@#/%?=~_|!:,.;]*))","gim"),'<a href="https://www.ebaumsworld.com$4" target="_blank">https://www.ebaumsworld.com$4</a>');jQuery(this).html(replacedText);c&&(imageText=
jQuery(this).html(),replacedText=imageText.replace(new RegExp(c,"mi"),'<img src="$1" class="commentImage" />'),jQuery(this).html(replacedText));if("gallery"==g._mediaType||"contest"==g._mediaType)inputText=jQuery(this).html(),replacedText=inputText.replace(b,'<a id="seekImage-$2">$1</a>'),jQuery(this).html(replacedText);if("video"==g._mediaType&&(inputText=jQuery(this).html(),matches=inputText.match(RegExp("((([0-9]{0,2}):)?([0-9]{0,2})?:([0-9]{2}))","gim")))){for(var d=0;d<matches.length;d++){match=
matches[d].split(":");time=0;units=match.length;for(var f=units-1;0<=f;f--)f==units-1&&(time+=1*match[f]),f==units-2&&(time+=60*match[f]),f==units-3&&(time+=3600*match[f]);inputText=replacedText=inputText.replace(new RegExp(matches[d],"gim"),'<a id="seekTime-'+time+'">'+matches[d]+"</a>")}jQuery(this).html(replacedText)}})};EbaumComment.prototype.getCommentIdFromUrl=function(){var b=location.href.match(/#comment-([0-9]+)$/i);return b&&b[1]?b[1]:!1};
EbaumComment.prototype.getCommentPage=function(b){eComment=this;jQuery.getJSON("/comment/getpage/"+b+"/",function(b){eComment._listPage=0<b.data.page?b.data.page:1;eComment.load(this._listPage)})};
EbaumComment.prototype.page=function(b){if(void 0!=this._id){isNaN(b)&&(b=1);jQuery("#commentList").html('<div class="widgetLoader"></div>');var c="/comment/list/"+this._id+"/";void 0!=this._sort&&(c+=this._sort+"/");c+="?page="+b;eComment=this;jQuery("#commentListHolder").load(c,function(){eComment.linkify()});Ebaum.ajaxRefresh(this._id);Ebaum.updateAnalytics(c)}};
EbaumComment.prototype.addHandler=function(){if(!this._authenticated)return this.promptLogin(),!1;if(!jQuery("#addComment").hasClass("disabled")&&0==this._processing){this._processing=1;var b=escape(jQuery("#addCommentText").val()).replace(/%u2019/i,"%27");eComment=this;jQuery.post("/comment/add/"+this._id+"/",{comment:b},function(b){if(b.success)clearInterval(f),clearTimeout(g),eComment.fire(CommentEvent.ADD_COMPLETE),jQuery("#addCommentText").val(""),jQuery("#commentMessage").html(b.message).show(),
b=parseInt(jQuery(".commentTitle").html()),jQuery(".commentTitle").html(b+1+" Comments"),eComment._ga.fireGA("User - Media Comment",eComment._mediaType,window.location.href);else{jQuery("#commentError").html(b.error).show();g=b.error.replace(/[^0-9]/g,"");g=b.data;if(0<g){jQuery("#commentTimer").show();jQuery("#addComment").addClass("disabled");var c=g,f=setInterval(function(){jQuery("#commentSeconds").html(--c)},1E3),g=setTimeout(function(){clearInterval(f);jQuery("#commentTimer, #commentError").hide();
jQuery("#addComment").removeClass("disabled")},1E3*g)}eComment._processing=0;return!1}eComment._processing=0;return!0})}};EbaumComment.prototype.replyBtn=function(b){jQuery("#commentReplyForm-"+b).slideDown("fast");jQuery("#commentReplyText-"+b).focus()};
EbaumComment.prototype.addReplyHandler=function(b){if(!this._authenticated)return this.promptLogin(),!1;var c=b.target.id.split("-")[1];if(0==this._processing&&c){this._processing=1;b=escape(jQuery("#commentReplyText-"+c).val()).replace(/%u2019/i,"%27");var d=this;jQuery.post("/comment/add/"+this._id+"/",{comment:b,parent:c},function(b){if(b.success)newId=b.data.id,jQuery("#replyError-"+c).hide(),d.getCommentPage(newId);else return jQuery("#replyError-"+c).html(b.error),jQuery("#replyError-"+c).show(),
d._processing=0,!1;d._ga.fireGA("User - Media Comment - Reply",d._mediaType,window.location.href);d._processing=0;return!0})}};
EbaumComment.prototype.watchComment=function(b){if(!this._authenticated)return this.promptLogin(),!1;var c=this._splitId(b);jQuery.post("/comment/watch/",{id:c.id},function(b){if(b.success)jQuery("#commentWatchButton-"+c.id+" img").attr("src","https://cdn.ebaumsworld.com/img/tick.png");else return jQuery("#commentWatchButton-"+c.id+" img").attr("src","https://cdn.ebaumsworld.com/img/exclamation.png"),!1;return!0})};
EbaumComment.prototype.refreshComments=function(){jQuery("#commentRefresh").attr("disabled")||(this._sort=void 0,this.page(1),jQuery("#commentRefresh").attr("disabled","disabled"),this._timeoutId=setTimeout(this.enableRefresh,2E3))};EbaumComment.prototype.enableRefresh=function(){jQuery("#commentRefresh").removeAttr("disabled");"undefined"!=this._timeoutId&&window.clearTimeout(this._timeoutId)};EbaumComment.prototype.sortList=function(b,c){c||(c=1);this._sort=b;this.page(c)};
EbaumComment.prototype.clearInput=function(b){jQuery(b).val("")};EbaumComment.prototype.deleteBtn=function(b){var c=this._splitId(b);"user"==b.id.split("-")[2]?jQuery.post("/comment/userdelete/",{id:c.id},function(b){b.success?(jQuery("#jqModal").jqmHide(),jQuery("#comment-"+c.id).addClass("deletedComment")):jQuery("#comment-"+c.id).before(b.message);return!0}):(jQuery("#jqModal").jqm({ajax:"/comment/admin/delete/?id="+c.id}),jQuery("#jqModal").jqmShow())};
EbaumComment.prototype.removeBtn=function(b){var c=this._splitId(b);jQuery.post("/comment/admin/removeimage/",{id:c.id},function(b){b.success?jQuery("#comment-"+c.id+" .commentBody:first").html(b.message):(jQuery("#jqModal").jqmShow(),jQuery("#jqModal .jqContent").html("<h1>Error!</h1><div class='modalContentWrapper'>"+b.error+"</div>"));return!0})};
EbaumComment.prototype.featureBtn=function(b){var c=this._splitId(b),d="";jQuery("#feature-"+c.id).attr("src","https://cdn.ebaumsworld.com/img/desktop/loaderGlobe32BlueGrey.gif");jQuery.post("/comment/admin/feature",{id:c.id},function(b){b.success?(d="Comment Featured",jQuery("#feature-"+c.id).attr("src","https://cdn.ebaumsworld.com/img/admin/yes.png")):(d="Comment Was Not Featured",jQuery("#feature-"+c.id).attr("src","https://cdn.ebaumsworld.com/img/admin/no.png"));populateModal(d)})};
EbaumComment.prototype.restoreBtn=function(b){var c=this._splitId(b);jQuery.post("/comment/admin/restore/",{id:c.id},function(b){b.success?(jQuery("#comment-"+c.id).removeClass("deletedComment"),jQuery("#comment-"+c.id+" li").removeClass("deletedComment")):jQuery("#comment-"+c.id).before(b.message);return!0})};
EbaumComment.prototype.banBtn=function(b){document.getElementById("jqModal").onclick=this.bind(this.handleClick);b=this._splitId(b);jQuery(".jqBarText").html("Comment Ban User");jQuery("#jqModal").jqm({ajax:"/comment/admin/ban/"+b.id+"/",target:".jqContent"}).jqmShow()};
EbaumComment.prototype.batchDelete=function(){var b="",c=jQuery(".batchDelete input:checked");i=0;for(len=c.length;i<len;i++)b+=jQuery(c[i]).val(),i<len-1&&(b+=",");jQuery("#jqModal").jqm({ajax:"/comment/admin/batchdelete/?id="+b});jQuery("#jqModal").jqmShow()};EbaumComment.prototype.selectAll=function(){var b=jQuery(".batchDelete input[name=batchSelect]");b.prop("checked",!b.prop("checked"))};
EbaumComment.prototype.confirmBan=function(b){if(!jQuery("#banReason").val())return jQuery("#formError").html("You must enter a reason to ban the user."),!1;var c=this._splitId(b);b=jQuery("#commentBanForm").serialize();jQuery("#formError").html('<img src="https://cdn.ebaumsworld.com/img/modalLoader.gif" />');jQuery.post("/comment/admin/ban/"+c.id+"/",b,function(b){b.success?(populateModal(b.message),jQuery("img#ban-"+c.id).attr("src","https://cdn.ebaumsworld.com/img/tick.png"),jQuery("#comment-"+
c.id).fadeTo("slow",.3)):populateModal(b.error)})};EbaumComment.prototype.promptLogin=function(){EbaumMobile.mobile?window.location="/user/login/":(jQuery("#jqModal").jqm({ajax:"/user/login/"}),jQuery("#jqModal").jqmShow())};EbaumComment.prototype._splitId=function(b){b=b.id.split("-");return{type:b[0],id:b[1]}};var EbaumRelatedMedia={prevPage:0,page:1,nextPage:2,prevButton:void 0,nextButton:void 0,totalCount:void 0,fadeSpeed:"fast",working:!1,init:function(){this.prevButton=jQuery("#prevRelatedMedia");this.nextButton=jQuery("#nextRelatedMedia");this.totalCount=1*jQuery("#relatedMediaCount").val();jQuery(".relatedMediaList"+this.page).fadeIn(this.fadeSpeed);4<this.totalCount?this.setNextActive():this.setNextInactive();this.setPrevInactive()},prev:function(){!this.working&&(this.working=!0,0<this.prevPage||
1==this.page)&&(this.fade(this.prevPage),this.setNextActive())},next:function(b){this.working||(this.working=!0,this.totalCount/4>this.page?(this.fade(this.nextPage),this.setPrevActive()):this.setNextInactive())},setPrevInactive:function(){this.prevButton.removeClass("active");this.prevButton.attr("src","https://cdn.ebaumsworld.com/img/arrowInactivePrevious.png");this.prevButton.unbind("click")},setPrevActive:function(){this.prevButton.addClass("active");this.prevButton.attr("src","https://cdn.ebaumsworld.com/img/arrowActivePrevious.png");
this.prevButton.unbind("click");this.prevButton.click(function(){EbaumRelatedMedia.prev()})},setNextInactive:function(){this.nextButton.removeClass("active");this.nextButton.attr("src","https://cdn.ebaumsworld.com/img/arrowInactiveNext.png");this.nextButton.unbind("click")},setNextActive:function(){this.nextButton.addClass("active");this.nextButton.attr("src","https://cdn.ebaumsworld.com/img/arrowActiveNext.png");this.nextButton.unbind("click");this.nextButton.click(function(){EbaumRelatedMedia.next()})},
fade:function(b){jQuery(".relatedMediaList"+this.page).fadeOut(this.fadeSpeed,function(){jQuery(".relatedMediaList"+b).fadeIn(EbaumRelatedMedia.fadeSpeed);EbaumRelatedMedia.working=!1});b>this.page?this.incrementCounts():b<this.page&&this.decrementCounts()},incrementCounts:function(){this.prevPage=this.page;this.page=this.nextPage;++this.nextPage>this.totalCount/4&&this.setNextInactive()},decrementCounts:function(){this.nextPage=this.page;this.page=this.prevPage;this.prevPage--;1==this.page&&this.setPrevInactive()}};EbaumOverlay.prototype=new EmuseEvent;EbaumOverlay.constructor=EbaumOverlay;function EbaumOverlay(b,c){this._container=b;this._authenticated=c;this._container.onclick=this.bind(this.handleClick);this._container.onmouseover=this.bind(this.handleEnter);this._container.onmouseout=this.bind(this.handleLeave)}
EbaumOverlay.prototype.handleClick=function(b){b=b||window.event;b=b.target||b.srcElement;if(b.id){b=b.id.split("-");var c=b[1];switch(b[0]){case "hl":b=document.getElementById("hla-"+c);c="_blank"==b.target?"_blank":"_self";window.open(b.href,c);break;case "rm":b=document.getElementById("rma-"+c),c="_blank"==b.target?"_blank":"_self",window.open(b.href,c)}}};
EbaumOverlay.prototype.handleEnter=function(b){var c=b||window.event;b=c.target||c.srcElement;var c=c.relatedTarget||c.fromElement,d=b.id.split("-"),d=d[0];if("overlay"!=d){for(;"overlay"!=d&&"BODY"!=b.nodeName;)b=b.parentNode,d=b.id.split("-"),d=d[0];if("overlay"==d)if(void 0===c)this.enterHandler(b);else if("HTML"!=c.nodeName){for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&this.enterHandler(b)}}else if(void 0===c)this.enterHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&
this.enterHandler(b)}};EbaumOverlay.prototype.handleLeave=function(b){var c=b||window.event;b=c.target||c.srcElement;var c=c.relatedTarget||c.toElement,d=b.id.split("-"),d=d[0];if("overlay"!=d){for(;"overlay"!=d&&"BODY"!=b.nodeName;)b=b.parentNode,d=b.id.split("-"),d=d[0];if("overlay"==d)if(void 0===c)this.leaveHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&this.leaveHandler(b)}}else if(void 0===c)this.leaveHandler(b);else{for(;c!=b&&"BODY"!=c.nodeName;)c=c.parentNode;c!=b&&this.leaveHandler(b)}};
EbaumOverlay.prototype.enterHandler=function(b){jQuery("#"+b.id+" .overlay").show()};EbaumOverlay.prototype.leaveHandler=function(b){jQuery("#"+b.id+" .overlay").hide()};
EbaumOverlay.prototype.flagHandler=function(b){var c=b.id.split("-")[1];this._authenticated?jQuery.getJSON("/media/flag/"+c+"/",function(c){0==c.success?(populateModal(c.message),jQuery(".jqBarText").html("Oops!")):c.message?jQuery("img#"+b.id).attr("src","/img/assets/overlayFlag.png"):jQuery("img#"+b.id).attr("src","/img/assets/overlayFlagged.png")}):(populateModal("Log in to flag this."),jQuery(".jqBarText").html("Login"))};
EbaumOverlay.prototype.likeHandler=function(b){var c=b.id.split("-")[1];this._authenticated?(jQuery.getJSON("/user/likemedia/"+c+"/",function(c){0==c.success?(populateModal(c.message),jQuery(".jqBarText").html("Oops!")):c.message?(jQuery("img#"+b.id).attr("src","/img/assets/overlayLike.png"),jQuery("#statLikeCount").html(1*jQuery("#statLikeCount").html()-1)):(jQuery("img#"+b.id).attr("src","/img/assets/overlayLiked.png"),jQuery("#statLikeCount").html(1*jQuery("#statLikeCount").html()+1))}),jQuery("img#"+
b.id).attr("src","/img/assets/overlayLiked.png")):(populateModal("Log in to like this."),jQuery(".jqBarText").html("Login"))};EbaumGAEvent.prototype=new EmuseEvent;EbaumGAEvent.constructor=EbaumGAEvent;function EbaumGAEvent(){this._containers=[];this._ids=[]}EbaumGAEvent.prototype.addClickContainer=function(b){b&&("undefined"==typeof this._containers[b.id]&&(this._containers[b.id]=[]),b.onclick=this.bind(this.handleClick),this._containers[b.id].push(b),this._ids.push(b.id))};
EbaumGAEvent.prototype.handleClick=function(b){b=b||window.event;var c=b.target||b.srcElement,d=c;if(0>this._ids.indexOf(c.id)){for(cont=c.id;0>this._ids.indexOf(cont)&&"BODY"!=d.nodeName;)d=d.parentNode,cont=d.id;parts=cont.split("-");cont=parts[0];"a"!=c.tagName.toLowerCase()?(children=c.getElementsByTagName("a"),0<children.length?link=children[0].href:(other=c.parentNode,"a"!=other.tagName.toLowerCase()?(children=other.getElementsByTagName("a"),0<children.length&&(link=children[0].href)):link=
other.href)):link=c.href;label=window.location.href;switch(cont){case "highlightsList":newC=c.id;for(newP=c;0>this._ids.indexOf(newC)&&"BODY"!=newP.nodeName;){if("li"==newP.tagName.toLowerCase()){divP=newP.id.split("-");page=divP[2];break}newP=newP.parentNode;newC=newP.id}category="Highlights "+page;break;case "ebaumPicks":category="Ebaums Picks";break;case "popularGames":category="Popular Games";break;case "popularGalleries":category="Popular Galleries";break;case "topVideos":category="Top Media";
break;case "topVideoList":category="Trending";break;case "bigdog":category="Bigdog "+parts[1];break;case "puppydog":category="Puppydog "+parts[1];break;case "tagPromoList":category="Tag Promo List";break;case "mobileInfiniteMediaList":category="Media - Infinite - Featured";link="mobile";label="btf";break;case "mobileRelatedMediaList":category="Media - Related";link="mobile";label="btf";break;case "relatedGalleryList":category="Gallery - Related Media";link=0<jQuery("#replayGalleryShare").length?"player-2":
"player-1";break;case "replayGallery":category="Gallery - Replay";break;case "nextGallery":category="Gallery - Next";link=0<jQuery("#replayGalleryShare").length?"player-2":"player-1";break;case "lightboxNextGallery":category="Gallery - Next";link="lightbox";break;case "lightboxNextContest":category="Contest - Next";link="lightbox";break;case "mobileMoreMedia":category="Mobile - Next";link="Show More";break;case "outbrainRelatedMedia":c=jQuery(b.target);c.parents("a")&&(category="nofollow"==c.parents("a").attr("rel")?
"Outbrain Paid Link":"Outbrain Internal Link");break;case "lightboxRelatedGalleryList":category="Gallery - Related Media";link="lightbox";break;case "exitOverlay":parts=c.id.split("-");if(!parts[0])return;version=(version=jQuery(".version1").length)?1:4;category="Exit Overlay - "+version;link=parts[1];label=parts[2];break;case "rcRelatedVideos2":b=this.getMediaType();category="Right Rail - Related Media - "+b;link="Style 2";label="Related";break;case "rcNextVideos2":b=this.getMediaType();category=
"Right Rail - Related Media - "+b;link="Style 2";label="Next";break;case "rcRelatedVideos4":b=this.getMediaType();category="Right Rail - Related Media - "+b;link="Style 1";label="Related";break;case "rcNextVideos4":b=this.getMediaType();category="Right Rail - Related Media - "+b;link="Style 1";label="Next";break;default:return}this.fireGA(category,link,label)}};
EbaumGAEvent.prototype.getMediaType=function(){var b=window.location.href.split("/")[3];switch(b){case "pictures":b="Gallery";break;case "videos":b="Video"}return b};EbaumGAEvent.prototype.fireGA=function(b,c,d,f){f=f?{nonInteraction:"true"}:{};ga("send","event",b,c,d,f)};EbaumFBEvent.prototype=new EmuseEvent;EbaumFBEvent.constructor=EbaumFBEvent;function EbaumFBEvent(){this._containers=[];this._ids=[]}EbaumFBEvent.prototype.addClickContainer=function(b){b&&("undefined"==typeof this._containers[b.id]&&(this._containers[b.id]=[]),b.onclick=this.bind(this.handleClick),this._containers[b.id].push(b),this._ids.push(b.id))};
EbaumFBEvent.prototype.handleClick=function(b){b=b||window.event;var c=b=b.target||b.srcElement;if(0>this._ids.indexOf(b.id)){for(cont=b.id;0>this._ids.indexOf(cont)&&"BODY"!=c.nodeName;)c=c.parentNode,cont=c.id;parts=cont.split("-");cont=parts[0];"a"!=b.tagName.toLowerCase()?(children=b.getElementsByTagName("a"),0<children.length?link=children[0].href:(other=b.parentNode,"a"!=other.tagName.toLowerCase()?(children=other.getElementsByTagName("a"),0<children.length&&(link=children[0].href)):link=other.href)):
link=b.href;this.fireFB(category,link,window.location.href)}};EbaumFBEvent.prototype.fireFB=function(b,c,d){d?fbq("trackCustom",b,c):fbq("track",b,c)};var XHRState={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4};EmuseXmlHttpRequest.prototype=new EmuseEvent;EmuseXmlHttpRequest.constructor=EmuseXmlHttpRequest;function EmuseXmlHttpRequest(b,c){this._request=new XMLHttpRequest;this._options={name:c.fileName};this._listeners={onAbort:b.onAbort,onError:b.onError,onLoad:b.onLoad,onLoadStart:b.onLoadStart,onProgress:b.onProgress,onStateChange:b.onStateChange,onSuccess:b.onSuccess};this.setListeners()}
EmuseXmlHttpRequest.prototype.setListeners=function(){var b=this._listeners,c=this._request,d=this;this._request.upload.onabort=function(c){if(b.onAbort)b.onAbort(c,d._file)};this._request.upload.onerror=function(c){if(b.onServerError)b.onServerError(c,d._file)};this._request.upload.onload=function(c){if(b.onServerLoad)b.onServerLoad(c,d._file)};this._request.upload.onloadstart=function(c){if(b.onLoadStart)b.onLoadStart(c,d._file)};this._request.upload.onprogress=function(c){if(b.onProgress)b.onProgress(c,
d._file)};this._request.onreadystatechange=function(f){if(b.onStateChange)b.onStateChange(f,d._file,c.readyState);if(b.onSuccess&&c.readyState==XHRState.DONE&&200==c.status)b.onSuccess(f,d._file,c.responseText)}};
EmuseXmlHttpRequest.prototype.initUpload=function(b,c){this._file=c;this._request.open("POST",b,!0);if(c.getAsBinary){var d=dashes+boundary+crlf+'Content-Disposition: form-data;name="'+settings.name+'";filename="'+unescape(encodeURIComponent(c.name))+'"'+crlf+"Content-Type: application/octet-stream"+crlf+crlf+c.getAsBinary()+crlf+dashes+boundary+dashes;this._request.setRequestHeader("Content-Type","multipart/form-data;boundary="+boundary);this._request.sendAsBinary(d)}else window.FormData&&(d=new FormData,
d.append(this._options.name,c),this._request.send(d))};EmuseXmlHttpRequest.prototype._splitId=function(b){b=b.id.split("-");return{type:b[0],id:b[1]}};var FileReaderState={EMPTY:0,LOADING:1,DONE:2};EmuseFileReader.prototype=new EmuseEvent;EmuseFileReader.constructor=EmuseFileReader;function EmuseFileReader(b,c){this._reader=new FileReader;this._file=c;this._listeners={onAbort:b.onAbort,onError:b.onError,onLoad:b.onLoad,onLoadEnd:b.onLoadEnd,onLoadStart:b.onLoadStart,onProgress:b.onProgress};this.setListeners()}
EmuseFileReader.prototype.setListeners=function(){var b=this._listeners,c=this._file;this._reader.onabort=function(d){if(b.onAbort)b.onAbort(d,c)};this._reader.onerror=function(d){if(b.onError)b.onError(d,c)};this._reader.onload=function(d){if(b.onLoad)b.onLoad(d,c)};this._reader.onloadend=function(d){if(b.onLoadEnd)b.onLoadEnd(d,c)};this._reader.onloadstart=function(d){if(b.onLoadStart)b.onLoadStart(d,c)};this._reader.onprogress=function(d){if(b.onProgress)b.onProgress(d,c)}};
EmuseFileReader.prototype.initRead=function(b){this._reader.readAsDataURL(b)};EmuseFileReader.prototype._splitId=function(b){b=b.id.split("-");return{type:b[0],id:b[1]}};var EbaumIM=window.EbaumIM||{};EbaumIM.bar=window.EbaumIM.bar||{};
(function(b){EbaumIM.bar=function(b){this.client=b;this.chats={};this.testCount=0;this.client.addListener("RESUMED",this.bind(this.initTheme));this.addListener("THEME_READY",this.bind(this.initBar));this.addListener("BAR_READY",this.bind(this.initEventListeners))};EbaumIM.bar.prototype=new EmuseEvent;EbaumIM.bar.constructor=EbaumIM.bar;EbaumIM.bar.prototype.initTheme=function(){EbaumIM.DEBUG&&console.log("[EbaumIM] Initializing Theme...");var c=this;b("<div></div>").appendTo("body").load(this.client.config.theme+
"/theme.html #imjs-bar, .imjs-tooltip",function(){c.fire("THEME_READY")})};EbaumIM.bar.prototype.initEventListeners=function(){this.refreshFriends();this.refreshMsgs();this.client.addListener("FRIEND_UPDATE",this.bind(this.refreshFriends));this.client.addListener("MSG_UPDATE",this.bind(this.refreshMsgs));this.client.addListener("MSG_NOTIFY",this.bind(this.notfiy));this.client.addListener("STATUS_UPDATE",this.bind(this.refreshStatus));this.client.addListener("RELOAD",this.bind(this.reloadPage));this.client.addListener("CLICK_FRIEND",
this.bind(this.clickFriend));this.client.addListener("CLICK_TAB",this.bind(this.clickTab));this.client.addListener("CLICK_TAB_CLOSE",this.bind(this.clickTabClose));this.client.addListener("CLICK_LEFT",this.bind(this.clickLeft));this.client.addListener("CLICK_RIGHT",this.bind(this.clickRight));(activeTab=b.jStore.store(this.client.storeKey+"activeTab"))&&"*"!=activeTab[0]&&this.activateTab.call(b("#imjs-tab-"+activeTab[0]))};EbaumIM.bar.prototype.initBar=function(){EbaumIM.DEBUG&&console.log("[EbaumIM] Theme Ready");
EbaumIM.DEBUG&&console.log("[EbaumIM] Initializing Bar...");var c=this,d=this.client.getStatus();if(d&&"offline"==d[0])this.initBarOffline();else{b("#imjs-friends").removeClass("imjs-not-connected");b("#imjs-friends").attr("class","imjs-"+c.client.status[0]);b("#imjs-friends .imjs-active-user .status").html(c.client.status[0]);b("#imjs-friends-panel .imjs-active-user .username").html(this.client.username);var f=b("#imjs-friends-panel .imjs-active-user .avatarDropDown"),d='<img src="https://cdn.ebaumsworld.com'+
this.client.avatar+'" />';f.html(f.html().replace("{avatar}",d));f=b("#imjs-tab-bar");f.html(f.html().replace("{avatar}",d));b(".imjs-chatbox").live("click",function(b){c.dropDownHitTest(b);b.preventDefault();return!1});b(".imjs-chatbox .imjs-msglog a").live("click",function(b){b.stopPropagation();return!0});b(".imjs-chatbox .imjs-minimize").live("click",function(){b(this).parents(".imjs-chatbox").data("tab").click()});b(".imjs-chatbox .imjs-input").live("keydown",function(d){var f=b(this);13!=d.keyCode||
b.browser.msie&&8>b.browser.version||c.client.send(f.parents(".imjs-chatbox").data("username"),f.val());d.stopPropagation()}).live("keyup",function(d){if(13==d.keyCode){if(b.browser.msie&&8>b.browser.version){var f=b(this);c.client.send(f.parents(".imjs-chatbox").data("username"),f.val())}f=b(this);f.val("");f.height(f.data("height"))}d.stopPropagation()}).live("keypress",function(c){var d=b(this);b.browser.msie&&b.browser.opera||d.height(0);(this.scrollHeight>d.height()||this.scrollHeight<d.height())&&
d.height(this.scrollHeight);c.stopPropagation()});b(".imjs-msglog").live("click",function(){b(this).parents(".imjs-chatbox").find(".imjs-input").focus()});b(".imjs-friend").live("click",function(){setTimeout(function(){c.client._lc.send("CLICK_FRIEND",this.id)},500);c.clickFriend({target:this.id})});b(".imjs-user-info .avatarDropDown").live("click",function(c){b(".imjs-user-info .avatarDropDown").not(this).find("ul").hide();b(this).find("ul").toggle();c.preventDefault();return!1});b(".imjs-user-info .avatarDropDown .activeUserOptions li").live("click",
function(d){b(".imjs-user-info .avatarDropDown").find("ul").hide();var f=b(this).attr("class"),g=EbaumIM.util.statuses;b(".avatarDropDown .options").hide();if(void 0!=g[f])return c.client.fire({type:"STATUS_UPDATE",target:f}),c.fire({type:"STATUS_UPDATE",target:f}),setTimeout(function(){c.client._lc.send("STATUS_UPDATE",f)},500),d.preventDefault(),!1});b(".imjs-user-info .avatarDropDown .buddyUserOptions li").live("click",function(d){b(".imjs-user-info .avatarDropDown .buddyUserOptions").hide();switch(b(this).attr("class")){case "block":var f=
b(this).attr("id"),f=f.split("-");c.fire({type:"BLOCK",target:f[1]});break;case "unblock":f=b(this).attr("id"),f=f.split("-"),c.fire({type:"UNBLOCK",target:f[1]})}d.preventDefault();return!1});b("#imjs-group-online").length||(d=b(".imjs-friend-group.imjs-default").clone().removeClass("imjs-default").attr("id","imjs-group-online").data("group","eBaum's World").appendTo("#imjs-friends-list"),d=d.find(".imjs-friend-group-header"),d.html(d.html().replace("{group}","Online")),d=b(".imjs-friend-group.imjs-default").clone().removeClass("imjs-default").attr("id",
"imjs-group-offline").data("group","eBaum's World").appendTo("#imjs-friends-list"),d=d.find(".imjs-friend-group-header"),d.html(d.html().replace("{group}","Offline")));b(document).click(function(d){c.dropDownHitTest(d);"imjs-friends"==d.target.id||b(d.target).parents("#imjs-friends").length||"active"==b("#imjs-friends").data("state")&&c.activateTab.call(b("#imjs-friends"))});b("#imjs-friends").data("state","minimized").click(function(d){b(this).hasClass("imjs-not-connected")||"imjs-friends-panel"==
d.target.id||b(d.target).parents("#imjs-friends-panel").length?b(this).hasClass("imjs-not-connected")&&(c.fire({type:"STATUS_UPDATE",target:"available"}),c.client._lc.send("RELOAD"),setTimeout(function(){location.reload()},500)):c.activateTab.call(this)}).mouseenter(function(){if(b(this).hasClass("imjs-not-connected")){b(".imjs-tooltip").css("display","block");b(".imjs-tooltip p").html(EbaumIM.util.i18n.notConnectedTip);var c=b(this).offset().left-b(".imjs-tooltip").outerWidth()+b(this).outerWidth()/
2,d=b(this).offset().top-b(".imjs-tooltip").outerHeight(!0);b(".imjs-tooltip").css({left:c,top:d})}}).mouseleave(function(){b(this).hasClass("imjs-not-connected")&&b(".imjs-tooltip").css("display","")});b("#imjs-friends-panel").data("tab",b("#imjs-friends")).css("display","none");b(".imjs-friend-group-header").live("click",function(){b(this).siblings("ul").toggle();b(this).siblings("ul").is(":visible")?b(this).find("span").removeClass("collapsed"):b(this).find("span").addClass("collapsed")});b("#imjs-search-friends").live("click",
function(){"Search Buddy List..."==b(this).val()&&b(this).val("");return!1});b("#imjs-search-friends").live("blur",function(){""==b(this).val()&&b(this).val("Search Buddy List...");return!1});b("#imjs-search-friends").live("keyup",function(){var c=b(this).val();b(".imjs-friend").each(function(){var d=0==c.length||b(this).is(":containsi("+c+")");b(this).toggle(d)});b(".imjs-default").hide();return!1});b(".imjs-tab").live("click",function(d){(d=b(this).find(".imjs-chatbox")||!1)&&(username=d.data("username"))&&
b.jStore.store(c.client.storeKey+"activeTab",[username]);c.clickTab({target:this.id});var f=this.id;setTimeout(function(){c.client._lc.send("CLICK_TAB",f)},500)});b(".imjs-tab .imjs-close").live("click",function(d){d.stopPropagation();var f=b(this).parents(".imjs-tab");c.clickTabClose({target:"li#"+f[0].id+".imjs-tab"});setTimeout(function(){c.client._lc.send("CLICK_TAB_CLOSE","li#"+f[0].id+".imjs-tab")},500);return!1});b(".imjs-scroll").css("display","none");b("#imjs-scroll-left").live("click",function(){setTimeout(function(){c.client._lc.send("CLICK_LEFT")},
500);c.clickLeft();return!1});b("#imjs-scroll-right").live("click",function(){c.clickRight();setTimeout(function(){c.client._lc.send("CLICK_RIGHT")},500);return!1});b(window).resize(function(){c._scrollers()});b("ul#imjs-bar").css({display:"block"});this.fire("BAR_READY")}};EbaumIM.bar.prototype.initBarOffline=function(){b("#imjs-friends").data("state","minimized").click(function(c){b(this).hasClass("imjs-not-connected")&&(self.fire({type:"STATUS_UPDATE",target:"available"}),self.client._lc.send("RELOAD"),
setTimeout(function(){location.reload()},500))}).mouseenter(function(){if(b(this).hasClass("imjs-not-connected")){b(".imjs-tooltip").css("display","block");b(".imjs-tooltip p").html(EbaumIM.util.i18n.notConnectedTip);var c=b(this).offset().left-b(".imjs-tooltip").outerWidth()+b(this).outerWidth()/2,d=b(this).offset().top-b(".imjs-tooltip").outerHeight(!0);b(".imjs-tooltip").css({left:c,top:d})}}).mouseleave(function(){b(this).hasClass("imjs-not-connected")&&b(".imjs-tooltip").css("display","")}).addClass("imjs-not-connected");
b(".imjs-tab").hide();b("#imjs-friends-panel").hide();b(".imjs-scroll").hide();b(".imjs-scroll").css("display","none");b("ul#imjs-bar").css({display:"block"});this.fire("BAR_READY")};EbaumIM.bar.prototype.refreshFriends=function(c){if(!this.client.status||"offline"!=this.client.status[0]){EbaumIM.DEBUG&&console.log("[EbaumIM] Refreshing Friends...");var d=this;c=this.client.getFriends();b.each(c,function(b,c){d.addFriend.apply(d,[b,c.status,c.group,c.img,c.blocked])});this._updateFriendCount()}};
EbaumIM.bar.prototype.refreshMsgs=function(c){if(!this.client.status||"offline"!=this.client.status[0]){EbaumIM.DEBUG&&console.log("[EbaumIM] Refreshing Messages...");var d=this,f=this.client.getMsgs();f&&b.each(f,function(f,h){var g=void 0==c?d.restoreChatbox(f):d._createChatbox(f);g.find(".imjs-msglog").empty();b.each(h,function(b,c){c.length&&d.addMessage(c[0],g,c[1],decodeURIComponent(c[2]),c[3])})})}};EbaumIM.bar.prototype.refreshStatus=function(c){c=c.target;b("#imjs-friends").attr("class",
"imjs-"+c);b("#imjs-friends .imjs-active-user .status").html(c);0==EbaumIM.util.statuses[c]?(b("#imjs-friends").addClass("imjs-not-connected"),b(".imjs-tab").hide(),b("#imjs-friends-panel").hide(),b(".imjs-scroll").hide(),EbaumIM.cookies.erase("resumed")):b("#imjs-friends").hasClass("imjs-not-connected")&&(b("#imjs-friends").removeClass("imjs-not-connected"),b(".imjs-tab").show(),b("#imjs-friends-panel").show(),b(".imjs-scroll").show())};EbaumIM.bar.prototype.reloadPage=function(b){location.reload()};
EbaumIM.bar.prototype.notfiy=function(c){c=b("#imjs-tab-"+c.target);"minimized"==c.data("state")&&this.notification(c)};EbaumIM.bar.prototype.clickFriend=function(c){EbaumIM.DEBUG&&console.log("[EbaumIM] Friend Clicked");id=c.target;c=this._createChatbox(b("#"+id).data("friend"));"active"!=c.data("tab").data("state")&&this.activateTab.call(c.data("tab"));c.find(".imjs-input").focus()};EbaumIM.bar.prototype.clickTab=function(c){this.testCount++;c=b("#"+c.target);this.activateTab.call(c)};EbaumIM.bar.prototype.clickTabClose=
function(c){EbaumIM.DEBUG&&console.log("[EbaumIM] Tab Close Clicked");var d=b(c.target),f=d.data("state");d.css("display","none").data("state","closed");void 0==c.type&&("active"==f&&b.jStore.store(EbaumIM.client.storeKey+"activeTab",["*"]),c=this.client.getMsgs())&&(delete c[d.find(".imjs-chatbox").data("username")],b.jStore.store(this.client.storeKey+"chat",c));d.find(".imjs-msglog").empty();this._scrollers()};EbaumIM.bar.prototype.clickLeft=function(c){b("#imjs-bar li.imjs-tab:visible").slice(-1).next("#imjs-bar li.imjs-tab:hidden").filter(function(){return"closed"!=
b("#imjs-scroll-left").data("state")}).not(".imjs-default").slice(-1).css("display","").length&&(b("#imjs-bar li.imjs-tab:visible").eq(0).css("display","none"),b("#imjs-scroll-left .count").html(parseInt(b("#imjs-scroll-left .count").html())-1),b("#imjs-scroll-right .count").html(parseInt(b("#imjs-scroll-right .count").html())+1))};EbaumIM.bar.prototype.clickRight=function(c){b("#imjs-bar li.imjs-tab:visible").eq(0).prev("#imjs-bar li.imjs-tab:hidden").filter(function(){return"closed"!=b("#imjs-scroll-right").data("state")}).not(".imjs-default").slice(-1).css("display",
"").length&&(b("#imjs-bar li.imjs-tab:visible").slice(-1).css("display","none"),b("#imjs-scroll-right .count").html(parseInt(b("#imjs-scroll-right .count").html())-1),b("#imjs-scroll-left .count").html(parseInt(b("#imjs-scroll-left .count").html())+1))};EbaumIM.bar.prototype.addFriend=function(c,d,f,g,h){f=EbaumIM.util.statuses;var k="available";b.each(f,function(b,c){if(d[0]==c)return k=b,!1});group_item=0==d[0]?b("#imjs-group-offline"):b("#imjs-group-online");f="imjs-friend-"+c;b("#"+f).length?
(d=d[0],k="available",f=EbaumIM.util.statuses,b.each(f,function(b,c){if(d==c)return k=b,!1}),1==h&&(b("#imjs-friend-"+c+" .avatarDropDown .block").removeClass("block").addClass("unblock").html("Unblock"),b("#imjs-"+c+" .avatarDropDown .block").removeClass("block").addClass("unblock").html("Unblock"),d=0,k="offline"),0==h&&(b("#imjs-friend-"+c+" .avatarDropDown .unblock").removeClass("unblock").addClass("block").html("Block"),b("#imjs-"+c+" .avatarDropDown .unblock").removeClass("unblock").addClass("block").html("Block")),
this.chats[c]&&(h=this.chats[c].data("tab"),f="imjs-tab",g=b("#imjs-"+c+" .status").html(),"active"==h.data("state")&&(f+=" imjs-selected"),h.attr("class",f+(" imjs-"+k)),h=b(".imjs-tab.imjs-default .imjs-chatbox .imjs-msglog .imjs-date").clone(),f=h.find(".imjs-msg-time"),f.length&&f.html(EbaumIM.util.dateFormat(f.html())),h.find(".imjs-date-date").html(EbaumIM.util.i18n["chat"+k[0].toUpperCase()+k.slice(1)].replace(/%s/g,c)),f=this.chats[c].find(".imjs-msglog"),g!=k&&h.appendTo(f),f[0].scrollTop=
f[0].scrollHeight),g="imjs-friend-"+c,b("#"+g).attr("class","imjs-friend imjs-user-info imjs-"+k),0==d?b("#"+g).appendTo("#imjs-group-offline ul.imjs-friends-ul"):b("#"+g).appendTo("#imjs-group-online ul.imjs-friends-ul"),b("#"+g+" .status").html(k),b("#imjs-"+c+" .status").html(k)):(f=group_item.find("ul li.imjs-default").clone().removeClass("imjs-default").addClass("imjs-"+k).attr("id",f).data("friend",c).appendTo(group_item.find("ul.imjs-friends-ul")),f.html(f.html().replace(/{username}/g,c)),
f.html(f.html().replace("{avatar}",'<img src="https://cdn.ebaumsworld.com'+g+'" />')),f.html(f.html().replace("{status}",k)),1==h&&b("#block-"+c).removeClass("block").addClass("unblock").html("Unblock"));this._updateFriendCount()};EbaumIM.bar.prototype._updateFriendCount=function(){var c=0,d;for(d in this.client.friends)0!=this.client.friends[d].status[0]&&c++;b("#imjs-friends .imjs-tab-text span span").html(c)};EbaumIM.bar.prototype.addMessage=function(c,d,f,g,h){var k=d.find(".imjs-msglog > *:last-child");
if(k.hasClass("imjs-msg-"+c)){var k=k.hasClass("imjs-msg-"+c+"-container")?k:k.find(".imjs-msg-"+c+"-container"),l=b(".imjs-tab.imjs-default .imjs-chatbox .imjs-msglog .imjs-msg-"+c+"-msg").clone().appendTo(k);l.html(l.html().replace("{username}",f))}else k.length&&k.hasClass("imjs-msg-"+c)||(k=b(".imjs-tab.imjs-default .imjs-chatbox .imjs-msg-"+c).clone().appendTo(d.find(".imjs-msglog")),k.html(k.html().replace("{username}",f)),f=k.find(".imjs-msg-time"),h||(h=new Date),"string"!=typeof h&&(h=AjaxIM.dateFormat(h,
f.html())),f.html(h),l=k.find(".imjs-msg-"+c+"-msg"));g=g.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/(^|.*)\*([^*]+)\*(.*|$)/,"$1<strong>$2</strong>$3");g=g.replace(RegExp("([A-Za-z][A-Za-z0-9+.-]{1,120}:[A-Za-z0-9/](([A-Za-z0-9$_.+!*,;/?:@&~=-])|%[A-Fa-f0-9]{2}){1,333}(#([a-zA-Z0-9][a-zA-Z0-9$_.+!*,;/?:@&~=%-]{0,1000}))?)","g"),'<a href="$1" target="_blank">$1</a>');l.html(l.html().replace("{message}",g));f=l.find(".imjs-msg-time");h||(h=new Date);"string"!=typeof h&&(h=AjaxIM.dateFormat(h,
f.html()));f.html(h);c=d.find(".imjs-msglog");c[0].scrollTop=c[0].scrollHeight;d.data("tab").data("state");return h};EbaumIM.bar.prototype.activateTab=function(){var c=b(this).find(".imjs-chatbox")||!1;console.log("state: "+b(this).data("state"));if("active"!=b(this).data("state")){"imjs-friends"!=b(this).attr("id")&&b("#imjs-bar > li").not(b(this)).not("#imjs-friends").removeClass("imjs-selected").each(function(){if("closed"!=b(this).data("state")){b(this).data("state","minimized");var c=b(this).find(".imjs-chatbox");
c.length&&c.css("display","none")}});c&&"none"==c.css("display")&&c.css("display","");var d=b(this).addClass("imjs-selected").data("state","active");d.find(".imjs-notification").css("display","none").data("count",0);c&&(username=c.data("username"))&&b.jStore.store(EbaumIM.client.storeKey+"activeTab",[username])}else d=b(this).removeClass("imjs-selected").data("state","minimized"),c&&"none"!=c.css("display")&&c.css("display","none"),"imjs-friends"!=b(this).attr("id")&&b.jStore.store(EbaumIM.client.storeKey+
"activeTab",["*"]);if(c){(input=c.find(".imjs-input")).data("height")||input.data("height",input.height());try{var f=c.find(".imjs-msglog");f[0].scrollTop=f[0].scrollHeight}catch(g){}try{c.find(".imjs-input").focus()}catch(g){}}};EbaumIM.bar.prototype.addTab=function(c,d,f){d=b(".imjs-tab.imjs-default").clone().insertAfter("#imjs-scroll-right");d.removeClass("imjs-default").attr("id","imjs-tab-"+c).html(d.html().replace("{label}",c)).data("state","minimized");c=d.find(".imjs-notification");c.css("display",
"none").data("count",0).data("default-text",c.html()).html(c.html().replace("{count}","0"));!1===f&&d.find(".imjs-close").eq(0).remove();return d};EbaumIM.bar.prototype.closeTab=function(){var c=EbaumIM.client.bar,d=b(this).parents(".imjs-tab");d.css("display","none").data("state","closed");var f=this.client.getMsgs();delete f[d.find(".imjs-chatbox").data("username")];b.jStore.store(EbaumIM.client.storeKey+"chat",f);b(c).trigger("tabToggled",["closed",d]);c._scrollers();return!1};EbaumIM.bar.prototype.notification=
function(c){var d=c.find(".imjs-notification"),f=d.data("count")+1,g=f;3<f?(b(d).addClass("highNumber"),g=f+"+"):b(d).removeClass("highNumber");this.intervalMap||(this.intervalMap={});var h=b(d).siblings(".tabUsername").html();this.intervalMap[h]&&clearInterval(this.intervalMap[h]);var k=0,l=setInterval(function(){b(c).hasClass("imjs-selected")?(b(c).removeClass("blink"),void 0!=self.intervalMap&&self.intervalMap[h]&&(self.intervalMap[h]=void 0),clearInterval(l)):(b(c).hasClass("blink")?b(c).removeClass("blink"):
b(c).addClass("blink"),k++,8==k&&void 0!=self.intervalMap&&self.intervalMap[h]&&(self.intervalMap=void 0),8==k&&clearInterval(l))},1E3);this.intervalMap[h]=l;d.data("count",f).html(d.data("default-text").replace("{count}",g)).css("display","")};EbaumIM.bar.prototype._createChatbox=function(c,d){var f="imjs-"+c,g=EbaumIM.util.statuses;if((k=b("#"+f)).size())"closed"==k.data("tab").data("state")&&(k.find(".imjs-msglog > *").addClass("imjs-msg-old"),h=k.data("tab"),k.css("display","none"),"none"==h.css("display")&&
h.css("display","").removeClass("imjs-selected"),this._scrollers(),0==b("#imjs-bar .imjs-selected").length?this.activateTab.call(h):this.notification(h));else{var h=this.addTab(c,"#"+f),k=h.find(".imjs-chatbox");k.attr("id",f);k.data("tab",h);k.find(".imjs-msglog").empty();f=k.find(".imjs-user-info");f.html(f.html().replace(/{username}/g,c));f.html(f.html().replace("{avatar}",'<img src="https://cdn.ebaumsworld.com'+this.client.friends[c].img+'" />'));this.chats[c]=k;k.data("username",c);this._scrollers();
if(c in this.client.friends){var l=this.client.friends[c].status,m="available";b.each(g,function(b,c){if(l[0]==c)return m=b,!1});h.addClass("imjs-"+m);f.html(f.html().replace("{status}",m));1==this.client.friends[c].blocked&&b("#imjs-"+c+" .block").removeClass("block").addClass("unblock").html("Unblock")}k.css("display","none");0==b("#imjs-bar .imjs-selected").length?this.activateTab.call(h):this.notification(h)}(g=this.client.getMsgs())||(g={});g[c]||(g[c]=[],g[c].push([]),b.jStore.store(this.client.storeKey+
"chat",g));return k};EbaumIM.bar.prototype.restoreChatbox=function(c,d){var f="imjs-"+c,g=EbaumIM.util.statuses,h=b.jStore.store(this.client.storeKey+"activeTab"),k=this.addTab(c,"#"+f),l=k.find(".imjs-chatbox");l.attr("id",f);l.data("tab",k);l.find(".imjs-msglog").empty();f=l.find(".imjs-user-info");f.html(f.html().replace(/{username}/g,c));f.html(f.html().replace("{avatar}",'<img src="https://cdn.ebaumsworld.com'+this.client.friends[c].img+'" />'));this.chats[c]=l;l.data("username",c);this._scrollers();
if(c in this.client.friends){var m=this.client.friends[c].status,n="available";b.each(g,function(b,c){if(m[0]==c)return n=b,!1});k.addClass("imjs-"+n);f.html(f.html().replace("{status}",n));1==this.client.friends[c].blocked&&b("#imjs-"+c+" .block").removeClass("block").addClass("unblock").html("Unblock")}h&&"*"==h[0]&&l.css("display","none");return l};EbaumIM.bar.prototype._scrollers=function(){var c=this,d=!1;b(".imjs-tab").filter(function(){return"closed"!=b(this).data("state")}).css("display",
"");b.each(this.chats,function(f,g){var h=g.data("tab");if("closed"==h.data("state"))return!0;h.position().top>b("#imjs-bar").height()&&c.client.config.checkResume?(b(".imjs-scroll").css("display",""),h.css("display","none"),d=!0):h.css("display","")});d||b(".imjs-scroll").css("display","none");"none"!=b("#imjs-scroll-left").css("display")&&b("#imjs-scroll-left").position().top>b("#imjs-bar").height()&&b("#imjs-bar li.imjs-tab:visible").slice(-1).css("display","none");var f=b("#imjs-bar li.imjs-tab:visible").slice(-1).nextAll("#imjs-bar li.imjs-tab:hidden").not(".imjs-default").filter(function(){return"closed"!=
b(this).data("state")}).length,g=b("#imjs-bar li.imjs-tab:visible").eq(0).prevAll("#imjs-bar li.imjs-tab:hidden").not(".imjs-default").filter(function(){return"closed"!=b(this).data("state")}).length;b("#imjs-scroll-left .count").html(f);b("#imjs-scroll-right .count").html(g)};EbaumIM.bar.prototype.dropDownHitTest=function(c){b(c.target).parents(".avatarDropDown").length||b(".avatarDropDown .options").hide()}})(jQuery);$.expr[":"].containsi=function(b,c,d){return 0<=jQuery(b).text().toUpperCase().indexOf(d[3].toUpperCase())};EbaumIM=window.EbaumIM||{};EbaumIM.client=window.EbaumIM.client||{};EbaumIM.init=function(){this.client=new EbaumIM.client};EbaumIM.DEBUG=!1;
(function(b){EbaumIM.client=function(b){EbaumIM.DEBUG&&console.log("[EbaumIM] Initializing Client...");this.config={pollServer:"/im",cookieName:"ebwim",theme:"/im",checkResume:!0};this.actions={poll:["jsonp",this.config.pollServer+"/poll?callback=?"],send:["ajax",this.config.pollServer+"/send"],status:["ajax",this.config.pollServer+"/status"],resume:["ajax",this.config.pollServer+"/resume"],block:["ajax",this.config.pollServer+"/block"]};this.avatar="";this.status={};this.bar={};this.friends={};this.chats=
{};this._poll=!0;this._pollTimeout=!1;this._lc={};this.init()};EbaumIM.client.prototype=new EmuseEvent;EbaumIM.client.constructor=EbaumIM.client;EbaumIM.client.prototype.init=function(){this.bar=new EbaumIM.bar(this);this._lc=new LocalConnection({name:"EbaumIM-LC"});this._lc.addCallback("NO_POLL",this.bind(this.noPoll));this._lc.addCallback("FRIEND_UPDATE",this.bind(this.tabEventRelay));this._lc.addCallback("MSG_UPDATE",this.bind(this.tabEventRelay));this._lc.addCallback("MSG_NOTIFY",this.bind(this.tabEventRelay));
this._lc.addCallback("STATUS_UPDATE",this.bind(this.tabEventRelay));this._lc.addCallback("RELOAD",this.bind(this.tabEventRelay));this._lc.addCallback("CLICK_FRIEND",this.bind(this.tabEventRelay));this._lc.addCallback("CLICK_TAB",this.bind(this.tabEventRelay));this._lc.addCallback("CLICK_TAB_CLOSE",this.bind(this.tabEventRelay));this._lc.addCallback("CLICK_LEFT",this.bind(this.tabEventRelay));this._lc.addCallback("CLICK_RIGHT",this.bind(this.tabEventRelay));this._lc.listen();this.addListener("STORAGE_READY",
this.bind(this.resume));this.addListener("RESUMED",this.bind(this.initPolling));this.addListener("FRIEND_UPDATE",this.bind(this.getFriends));this.addListener("MSG_UPDATE",this.bind(this.getMsgs));this.addListener("UPDATE_STATUS",this.bind(this.getStatus));this.bar.addListener("STATUS_UPDATE",this.bind(this.setStatus));this.bar.addListener("BLOCK",this.bind(this.block));this.bar.addListener("UNBLOCK",this.bind(this.block));EbaumIM.DEBUG&&console.log("[EbaumIM] Initializing Storage...");var c=this;
b.each(["local"],function(){if(b.jStore.Availability[this]())return!1});b.extend(b.jStore.defaults,{project:"EbaumIM",engine:"local"});b.jStore.ready(function(b){b.ready(function(){c.fire("STORAGE_READY")})});b.jStore.load()};EbaumIM.client.prototype.tabEventRelay=function(b){var c=b.event;b=b.args;EbaumIM.DEBUG&&console.log("[EbaumIM] Firing Tab Event: "+c+"...");b.length?this.relay(c,b[0]):this.fire(c)};EbaumIM.client.prototype.resume=function(){EbaumIM.DEBUG&&console.log("[EbaumIM] Resuming state...");
var c=this,d=EbaumIM.cookies.get(this.config.cookieName);if(d){var f=EbaumIM.cookies.get("resumed");f||(f=!1);this.username=d.user;this.storeKey="EbaumIM-"+this.username+"-";this.config.checkResume&&!f?(EbaumIM.DEBUG&&console.log("[EbaumIM] Active Resume"),EbaumIM.util.request(this.actions.resume,{},function(d){if("connected"==d.r){EbaumIM.DEBUG&&console.log("[EbaumIM] Connected");d.f&&c.storeFriends(d.f);d.i&&(c.avatar=d.i,b.jStore.store(c.storeKey+"avatar",c.avatar));if(d.s){switch(d.s[0]){case "0":c.status=
["offline",""];break;case "1":c.status=["available",""];break;case "2":c.status=["away",""];break;case "3":c.status=["invisible",""]}b.jStore.store(c.storeKey+"status",c.status)}c.fire("RESUMED")}else EbaumIM.DEBUG&&console.log("[EbaumIM] Resume Failed")})):(EbaumIM.DEBUG&&console.log("[EbaumIM] Passive Resume"),this.fire("RESUMED"));this.friends=b.jStore.store(this.storeKey+"friends");this.status=b.jStore.store(this.storeKey+"status");this.avatar=b.jStore.store(this.storeKey+"avatar");f||EbaumIM.cookies.set("resumed",
{resumed:1},300)}else EbaumIM.DEBUG&&console.log("[EbaumIM] Resume Failed, no session")};EbaumIM.client.prototype.initPolling=function(){if(!this.status||"offline"!=this.status[0]){EbaumIM.DEBUG&&console.log("[EbaumIM] Initializing Polling...");var c=this;b(document).ready(setTimeout(function(){c.poll()},4E3))}};EbaumIM.client.prototype.noPoll=function(){var b=this;this._poll=!1;this._pollTimeout&&clearTimeout(this._pollTimeout);this._lc.gc(!0);this._pollTimeout=setTimeout(function(){b._poll=!0;b.poll()},
3E4)};EbaumIM.client.prototype.poll=function(){var b=this;0==this._poll?EbaumIM.DEBUG&&console.log("[EbaumIM] Polling Suspended (another tab is polling)"):(this._lc.send("NO_POLL"),EbaumIM.DEBUG&&console.log("[EbaumIM] Polling..."),this.pollRequest=EbaumIM.util.request(this.actions.poll,{},function(c){b._lc.gc();c.e?EbaumIM.DEBUG&&console.log("[EbaumIM] Poll Failed"):(EbaumIM.DEBUG&&console.log("[EbaumIM] Poll Success"),c.f&&b.storeFriends(c.f),c.m.length&&b.storeMsgs(c.m),clearTimeout(b._pollTimeout),
setTimeout(function(){b.poll()},0))},function(b){EbaumIM.DEBUG&&console.log("[EbaumIM] Poll Failed")}),this._pollTimeout=setTimeout(function(){b.pollRequest&&(b.pollRequest.abort(),b.poll())},5E4))};EbaumIM.client.prototype.send=function(b,d){EbaumIM.DEBUG&&console.log("[EbaumIM] Sending Message");d&&(this.storeMsgs([{s:b,m:d}],this.username),this.sendQueue||(this.sendQueue=[]),this.sendQueue.unshift([b,d]),this.sendQueueProcessing||(this.sendQueueProcessing=1,this._send()))};EbaumIM.client.prototype._send=
function(){var b=this;if(this.sendQueue.length){var d=this.sendQueue.pop();EbaumIM.util.request(this.actions.send,{to:d[0],message:d[1]},function(c){b.sendQueue.length&&b._send();b.sendQueue.length||(b.sendQueueProcessing=0)},function(c){b.sendQueue=[];b.sendQueueProcessing=0})}};EbaumIM.client.prototype.block=function(c){var d=this,f=c.target;a="BLOCK"==c.type?1:0;EbaumIM.util.request(this.actions.block,{block:f,act:a},function(c){switch(c.r){case "ok":c=b.jStore.store(d.storeKey+"friends"),c[f]&&
(c[f].blocked=a,b.jStore.store(d.storeKey+"friends",c),d.friends=c,d.fire("FRIEND_UPDATE"),setTimeout(function(){d._lc.send("FRIEND_UPDATE")},500))}},function(b){})};EbaumIM.client.prototype.setStatus=function(c){EbaumIM.DEBUG&&console.log("[EbaumIM] Updating Client Status");var d=c.target,f=this;c=EbaumIM.util.statuses;if(c[d]||0==c[d])EbaumIM.util.request(this.actions.status,{status:c[d],message:""},function(c){switch(c.r){case "ok":b.jStore.store(f.storeKey+"status",[d,""])}},function(b){}),this.fire("UPDATE_STATUS"),
setTimeout(function(){f._lc.send("UPDATE_STATUS")},500)};EbaumIM.client.prototype.getStatus=function(){return this.status=b.jStore.store(this.storeKey+"status")};EbaumIM.client.prototype.storeFriends=function(c){EbaumIM.DEBUG&&console.log("[EbaumIM] Storing "+c.length+" Friends");var d=this,f={};b.each(c,function(b,c){f[c.u]={status:[c.s,""],group:c.g,img:c.i,blocked:c.b}});b.jStore.store(this.storeKey+"friends",f);this.fire("FRIEND_UPDATE");setTimeout(function(){d._lc.send("FRIEND_UPDATE")},500)};
EbaumIM.client.prototype.getFriends=function(){return this.friends=b.jStore.store(this.storeKey+"friends")};EbaumIM.client.prototype.storeMsgs=function(c,d){EbaumIM.DEBUG&&console.log("[EbaumIM] Storing "+c.length+" Messages");var f=this,g=b.jStore.store(this.storeKey+"chat");g||(g={});var h={};b.each(c,function(b,c){var f=c.s,k=c.m,k=k.replace(/</g,"&lt;").replace(/>/g,"&gt;");f in g?300<g[f].length&&g[f].shift():g[f]=[];var l=EbaumIM.util.dateFormat(new Date,"hh:MM TT"),q=Date.now();d?g[f].push(["a",
d,encodeURIComponent(k),l,0,q]):(g[f].push(["b",f,encodeURIComponent(k),l,0,q]),h[f]=!0)});b.jStore.store(this.storeKey+"chat",g);b.each(h,function(b,c){f._lc.send("MSG_NOTIFY",b);f.fire({type:"MSG_NOTIFY",target:b})});this.fire("MSG_UPDATE");setTimeout(function(){f._lc.send("MSG_UPDATE")},500)};EbaumIM.client.prototype.getMsgs=function(){return this.chats=b.jStore.store(this.storeKey+"chat")}})(jQuery);function LocalConnection(b){this.name="localconnection";this.id=(new Date).getTime();this.debug=this.useLocalStorage=!1;this._actions=[];this._events={};this._threshold=3E3;this.init=function(b){try{localStorage.setItem(this.id,this.id),localStorage.removeItem(this.id),this.useLocalStorage=!0}catch(f){this.useLocalStorage=!1}for(var c in b)this[c]=b[c];this.clear()};this.listen=function(){this.useLocalStorage?window.addEventListener?window.addEventListener("storage",this.bind(this,this._check),!1):
window.attachEvent("onstorage",this.bind(this,this._check)):setInterval(this.bind(this,this._check),100)};this.send=function(b){var c=Array.prototype.slice.call(arguments,1);return this._write(b,c)};this.addCallback=function(b,d,f){void 0==f&&(f=this);void 0==this._actions[b]&&(this._actions[b]=[]);this._actions[b].push({f:d,s:f})};this.removeCallback=function(b){for(var c in this._actions)if(c==b){delete this._actions[c];break}};this.gc=function(b){if(!b){b=this._getEvents();for(var c in b)Date.now()-
b[c].time>=this._threshold&&b.splice(c,1);if(this.useLocalStorage)if(this._storageLock())localStorage.setItem(this.name,JSON.stringify(b)),this._storageUnlock();else{var f=this;setTimeout(function(){f.gc()},100)}else document.cookie=this.name+"="+JSON.stringify(b)+"; path=/"}for(var g in this._events)Date.now()-parseInt(g)>=10*this._threshold&&delete this._events[g]};this._check=function(){var b=this._read();if(0<b.length)for(var d in b)this._receive(b[d].event,b[d].args)};this._receive=function(b,
d){if(void 0!=this._actions[b])for(var c in this._actions[b])if(this._actions[b].hasOwnProperty(c)){this.log('Triggering callback "'+b+'"',this._actions[b]);var g=this._actions[b][c];g.f.call(g.s,{event:b,args:d})}};this._write=function(b,d){var c=this._getEvents(),g={id:this.id,event:b,args:d,time:Date.now()};c.push(g);this.log("Sending event",g);if(this.useLocalStorage)if(this._storageLock())localStorage.setItem(this.name,JSON.stringify(c)),this._storageUnlock();else{var h=this;setTimeout(function(){h._write(b,
d)},100)}else document.cookie=this.name+"="+JSON.stringify(c)+"; path=/";return!0};this._read=function(){var b=this._getEvents();if(""==b)return!1;var d=[],f;for(f in b)b[f].id!=this.id&&Date.now()-parseInt(b[f].time)<this._threshold&&!this._events[b[f].time]&&d.push({event:b[f].event,args:b[f].args}),this._events[b[f].time]=b[f].event;d.length||(d=!1);return d};this._getEvents=function(){return this.useLocalStorage?this._getLocalStorage():this._getCookie()};this._getLocalStorage=function(){var b;
b=localStorage.getItem(this.name);return null==b?[]:JSON.parse(b)};this._getCookie=function(){for(var b=document.cookie.split(";"),d,f=0;f<b.length;f++){for(var g=b[f];" "==g.charAt(0);)g=g.substring(1,g.length);if(0==g.indexOf(this.name+"=")){d=g.substring(this.name.length+1,g.length);break}}return JSON.parse(d||"[]")};this._storageLock=function(){return this.useLocalStorage&&0==this._storageIsLocked()?(localStorage.setItem(this.name+"-lk",1),!0):!1};this._storageUnlock=function(){this.useLocalStorage&&
localStorage.removeItem(this.name+"-lk")};this._storageIsLocked=function(){var b=!1;this.useLocalStorage&&localStorage.getItem(this.name+"-lk")&&(b=!0);return b};this.clear=function(){this.useLocalStorage?localStorage.removeItem(this.name):document.cookie=this.name+"=; path=/"};this.bind=function(b,d){return function(){d.apply(b,arguments)}};this.log=function(){this.debug&&console&&console.log(Array.prototype.slice.call(arguments))};this.init(b)};EbaumIM=window.EbaumIM||{};
(function(b){EbaumIM.cookies={set:function(c,d,f){var g="";f&&(g=new Date,g.setTime(g.getTime()+1E3*f),g="; expires="+g.toGMTString());document.cookie=c+"="+b.compactJSON(d)+g+"; path=/"},get:function(c){c+="=";for(var d=document.cookie.split(";"),f=0;f<d.length;f++){for(var g=d[f];" "==g.charAt(0);)g=g.substring(1,g.length);if(0==g.indexOf(c))return c=decodeURIComponent(g.substring(c.length,g.length)),b.secureEvalJSON(c)}return null},erase:function(b){EbaumIM.cookies.set(b,"",-1)}};EbaumIM.util=
{request:function(c,d,f,g){g=function(){};d=b[c[0]]({url:c[1],data:d,dataType:"ajax"==c[0]?"json":"jsonp",type:"POST",cache:!1,timeout:6E4,callback:"jsonp"+(new Date).getTime(),success:function(b,c){f(b)},error:function(b,c){g(c)}});"jsonp"==c[0]&&b.browser.mozilla&&b.jsonp({url:"about:",timeout:0});return d},dateFormat:function(){var b=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,d=RegExp("\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]d{4})?)\b",
"g"),f=/[^-+\dA-Z]/g,g=function(b,c){b=String(b);for(c=c||2;b.length<c;)b="0"+b;return b};return function(c,k,l){var h=EbaumIM.util;1!=arguments.length||"[object String]"!=Object.prototype.toString.call(c)||/\d/.test(c)||(k=c,c=void 0);c=c?new Date(c):new Date;if(isNaN(c))throw SyntaxError("invalid date");k=String(h.dateMasks[k]||k||h.dateMasks["default"]);"UTC:"==k.slice(0,4)&&(k=k.slice(4),l=!0);var n=l?"getUTC":"get",h=c[n+"Date"](),t=c[n+"Day"](),q=c[n+"Month"](),u=c[n+"FullYear"](),p=c[n+"Hours"](),
v=c[n+"Minutes"](),w=c[n+"Seconds"](),n=c[n+"Milliseconds"](),r=l?0:c.getTimezoneOffset(),y={d:h,dd:g(h),ddd:EbaumIM.util.i18n.dayNames[t],dddd:EbaumIM.util.i18n.dayNames[t+7],m:q+1,mm:g(q+1),mmm:EbaumIM.util.i18n.monthNames[q],mmmm:EbaumIM.util.i18n.monthNames[q+12],yy:String(u).slice(2),yyyy:u,h:p%12||12,hh:g(p%12||12),H:p,HH:g(p),M:v,MM:g(v),s:w,ss:g(w),l:g(n,3),L:g(99<n?Math.round(n/10):n),t:12>p?"a":"p",tt:12>p?"am":"pm",T:12>p?"A":"P",TT:12>p?"AM":"PM",Z:l?"UTC":(String(c).match(d)||[""]).pop().replace(f,
""),o:(0<r?"-":"+")+g(100*Math.floor(Math.abs(r)/60)+Math.abs(r)%60,4),S:["th","st","nd","rd"][3<h%10?0:(10!=h%100-h%10)*h%10]};return k.replace(b,function(b){return b in y?y[b]:b.slice(1,b.length-1)})}}(),dateMasks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"},
i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" "),chatOffline:"%s signed off.",chatAvailable:"%s became available.",chatAway:"%s went away.",notConnected:"You are currently not connected or the server is not available. Please ensure that you are signed in and try again.",notConnectedTip:"You are currently signed out. Click here to sign in.",
authInvalid:"Invalid username or password.",registerPasswordLength:"Passwords must be more than 4 characters in length.",registerUsernameLength:"Usernames must be more than 2 characters in length and  contain only A-Z, a-z, 0-9, underscores (_) and periods (.).",registerPasswordMatch:"Entered passwords do not match.",registerUsernameTaken:"The chosen username is already in use; please choose another.",registerUnknown:"An unknown error occurred. Please try again."},statuses:{offline:0,available:1,
away:2,invisible:3}}})(jQuery);
    //-->
</script>
<script type="text/javascript">
    //<!--
var $jscomp={scope:{},findInternal:function(a,f,c){a instanceof String&&(a=String(a));for(var b=a.length,e=0;e<b;e++){var d=a[e];if(f.call(c,d,e,a))return{i:e,v:d}}return{i:-1,v:void 0}}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,f,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[f]=c.value)};
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,f,c,b){if(f){c=$jscomp.global;a=a.split(".");for(b=0;b<a.length-1;b++){var e=a[b];e in c||(c[e]={});c=c[e]}a=a[a.length-1];b=c[a];f=f(b);f!=b&&null!=f&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:f})}};
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6-impl","es3");$jscomp.checkStringArgs=function(a,f,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(f instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};
$jscomp.polyfill("String.prototype.includes",function(a){return a?a:function(a,c){return-1!==$jscomp.checkStringArgs(this,a,"includes").indexOf(a,c||0)}},"es6-impl","es3");
(function(a){a.fn.jqm=function(b){var e={overlay:97,overlayClass:"jqmOverlay",closeClass:"jqmClose",trigger:".jqModal",ajax:d,ajaxText:'<h1>&nbsp;</h1><div class="modalLoader"><span>Loading...<span></div>',target:d,modal:d,toTop:d,onShow:d,onHide:d,onLoad:d};return this.each(function(){if(this._jqm)return c[this._jqm].c=a.extend({},c[this._jqm].c,b);f++;this._jqm=f;c[f]={c:a.extend(e,a.jqm.params,b),a:d,w:a(this).addClass("jqmID"+f),s:f};e.trigger&&a(this).jqmAddTrigger(e.trigger)})};a.fn.jqmAddClose=
function(a){return h(this,a,"jqmHide")};a.fn.jqmAddTrigger=function(a){return h(this,a,"jqmShow")};a.fn.jqmShow=function(b){return this.each(function(){b=b||window.event;a.jqm.open(this._jqm,b)})};a.fn.jqmHide=function(b){return this.each(function(){b=b||window.event;a.jqm.close(this._jqm,b)})};a.jqm={hash:{},open:function(h,l){var g=c[h],f=g.c,r="."+f.closeClass,n=g.w.css("z-index"),n=0<n?n:1999999998,q=a("<div></div>").css({height:"100%",width:"100%",position:"fixed",left:0,top:0,"z-index":n,opacity:f.overlay/
100});if(g.a)return d;g.t=l;g.a=!0;g.w.css("z-index",n);f.modal?(b[0]||k("bind"),b.push(h)):0<f.overlay?g.w.jqmAddClose(q):q=d;g.o=q?q.addClass(f.overlayClass).prependTo("body"):d;if(e&&(a("html,body").css({height:"100%",width:"100%"}),q)){var q=q.css({position:"fixed"})[0],v;for(v in{Top:1,Left:1})q.style.setExpression(v.toLowerCase(),"(_=(document.documentElement.scroll"+v+" || document.body.scroll"+v+"))+'px'")}f.ajax?(n=f.target||g.w,q=f.ajax,n="string"==typeof n?a(n,g.w):a(n),q="@"==q.substr(0,
1)?a(l).attr(q.substring(1)):q,jQuery(".jqContent").html(f.ajaxText).load(q,function(){f.onLoad&&f.onLoad.call(this,g);r&&g.w.jqmAddClose(a(r,g.w));m(g)})):r&&g.w.jqmAddClose(a(r,g.w));f.toTop&&g.o&&g.w.before('<span id="jqmP'+g.w[0]._jqm+'"></span>').insertAfter(g.o);f.onShow?f.onShow(g):g.w.show();m(g);return d},close:function(e){e=c[e];if(!e.a)return d;e.a=d;b[0]&&(b.pop(),b[0]||k("unbind"));e.c.toTop&&e.o&&a("#jqmP"+e.w[0]._jqm).after(e.w).remove();if(e.c.onHide)e.c.onHide(e);else e.w.hide(),
e.o&&e.o.remove();"undefined"!=typeof forceauth&&(window.location="/");return d},params:{}};var f=0,c=a.jqm.hash,b=[],e=a.browser.msie&&"6.0"==a.browser.version,d=!1,l=a('<iframe src="javascript:false;document.write(\'\');" class="jqm"></iframe>').css({opacity:0}),m=function(b){e&&(b.o?b.o.html('<p style="width:100%;height:100%"/>').prepend(l):a("iframe.jqm",b.w)[0]||b.w.prepend(l));g(b)},g=function(b){try{a(":input:visible",b.w)[0].focus()}catch(q){}},k=function(b){a()[b]("keypress",n)[b]("keydown",
n)[b]("mousedown",n)},n=function(d){var e=c[b[b.length-1]];(d=!a(d.target).parents(".jqmID"+e.s)[0])&&g(e);return!d},h=function(b,e,h){return b.each(function(){var b=this._jqm;a(e).each(function(){this[h]||(this[h]=[],a(this).click(function(){for(var a in{jqmShow:1,jqmHide:1})for(var b in this[a])if(c[this[a][b]])c[this[a][b]].w[a](this);return d}));this[h].push(b)})})}})(jQuery);
function populateModal(a){jQuery("#jqModal").jqm({ajax:!1});jQuery("#jqModal").jqmShow();jQuery("#jqModal").jqmAddClose(".jqmClose");0<=a.indexOf("<h1")?jQuery(".jqContent").html(a):jQuery(".jqContent").html('<h1>&nbsp;</h1><div class="modalContentWrapper">'+a+"</div>");if(0!=jQuery("#iPhoneUserCol").length){a=jQuery("#siteContainer").height();var f=jQuery(window).scrollTop();jQuery(".jqmOverlay").css({height:a+"px"});jQuery("#jqModal").css({top:f+50+"px"})}}
var centerJQM=function(a){a.w.show();EbaumVideo.suspended=!0;if(EbaumVideo.autoplayOn||EbaumVideo.isPlaying)1==EbaumVideo.autoplayOn&&jQuery("#autoplayToggle").trigger("click"),EbaumVideo.isPlaying&&EbaumVideo.pausePlayer();EbaumKeyMapStack.addMap(new EmuseKeyMap);if(0<jQuery("body.mobile").length&&(EbaumSwipeMapStack.addMap(new EmuseSwipeMap),jQuery(".jqmOverlay").css({opacity:".67"}),jQuery("#mobileNav").is(":visible"))){a=jQuery("#mainContainer").height();var f=jQuery("#mobileNav").css("top");
jQuery(".jqmOverlay").css({height:a+"px"});jQuery("#jqModal").css({top:parseFloat(f)+50+"px"})}if(0!=jQuery("#iPhoneUserCol").length||0!=jQuery("body.mobile").length)a=jQuery("#siteContainer").height(),f=jQuery(window).scrollTop(),jQuery(".jqmOverlay").css({height:a+"px"}),jQuery("#jqModal").css({top:f+50+"px"})},positionModal=function(a){a||(a="fixed");switch(a){case "absolute":jQuery("#siteContainer").height(),a=jQuery(window).scrollTop(),jQuery("#jqModal").css({position:"absolute",top:a+50+"px"})}},
modalHide=function(a){a.w.fadeOut("2000",function(){a.o.remove();"fixed"!=jQuery(".jqmWindow").css("position")&&jQuery(".jqmWindow").css({position:"fixed"});jQuery("#jqModal").jqm({ajax:"@href",trigger:".jqmify",onLoad:centerJQM,onHide:modalHide})});EbaumKeyMapStack.removeMap();0<jQuery("body.mobile").length&&EbaumSwipeMapStack.removeMap();EbaumVideo.suspended=!1};(function(a){var f=a.jCarousel={};f.version="0.3.4";var c=/^([+\-]=)?(.+)$/;f.parseTarget=function(a){var b=!1,d="object"!==typeof a?c.exec(a):null;d?(a=parseInt(d[2],10)||0,d[1]&&(b=!0,"-="===d[1]&&(a*=-1))):"object"!==typeof a&&(a=parseInt(a,10)||0);return{target:a,relative:b}};f.detectCarousel=function(a){for(var b;0<a.length;){b=a.filter("[data-jcarousel]");if(0<b.length)return b;b=a.find("[data-jcarousel]");if(0<b.length)return b;a=a.parent()}return null};f.base=function(b){return{version:f.version,
_options:{},_element:null,_carousel:null,_init:a.noop,_create:a.noop,_destroy:a.noop,_reload:a.noop,create:function(){this._element.attr("data-"+b.toLowerCase(),!0).data(b,this);if(!1===this._trigger("create"))return this;this._create();this._trigger("createend");return this},destroy:function(){if(!1===this._trigger("destroy"))return this;this._destroy();this._trigger("destroyend");this._element.removeData(b).removeAttr("data-"+b.toLowerCase());return this},reload:function(a){if(!1===this._trigger("reload"))return this;
a&&this.options(a);this._reload();this._trigger("reloadend");return this},element:function(){return this._element},options:function(b,d){if(0===arguments.length)return a.extend({},this._options);if("string"===typeof b){if("undefined"===typeof d)return"undefined"===typeof this._options[b]?null:this._options[b];this._options[b]=d}else this._options=a.extend({},this._options,b);return this},carousel:function(){this._carousel||(this._carousel=f.detectCarousel(this.options("carousel")||this._element))||
a.error('Could not detect carousel for plugin "'+b+'"');return this._carousel},_trigger:function(e,d,l){var c,g=!1;l=[this].concat(l||[]);(d||this._element).each(function(){c=a.Event((b+":"+e).toLowerCase());a(this).trigger(c,l);c.isDefaultPrevented()&&(g=!0)});return!g}}};f.plugin=function(b,e){var d=a[b]=function(b,d){this._element=a(b);this.options(d);this._init();this.create()};d.fn=d.prototype=a.extend({},f.base(b),e);a.fn[b]=function(e){var c=Array.prototype.slice.call(arguments,1),l=this;"string"===
typeof e?this.each(function(){var d=a(this).data(b);if(!d)return a.error("Cannot call methods on "+b+' prior to initialization; attempted to call method "'+e+'"');if(!a.isFunction(d[e])||"_"===e.charAt(0))return a.error('No such method "'+e+'" for '+b+" instance");var g=d[e].apply(d,c);if(g!==d&&"undefined"!==typeof g)return l=g,!1}):this.each(function(){var c=a(this).data(b);c instanceof d?c.reload(e):new d(this,e)});return l};return d}})(jQuery);
(function(a,f){var c=function(a){return parseFloat(a)||0};a.jCarousel.plugin("jcarousel",{animating:!1,tail:0,inTail:!1,resizeTimer:null,lt:null,vertical:!1,rtl:!1,circular:!1,underflow:!1,relative:!1,_options:{list:function(){return this.element().children().eq(0)},items:function(){return this.list().children()},animation:400,transitions:!1,wrap:null,vertical:null,rtl:null,center:!1},_list:null,_items:null,_target:a(),_first:a(),_last:a(),_visible:a(),_fullyvisible:a(),_init:function(){var a=this;
this.onWindowResize=function(){a.resizeTimer&&clearTimeout(a.resizeTimer);a.resizeTimer=setTimeout(function(){a.reload()},100)};return this},_create:function(){this._reload();a(f).on("resize.jcarousel",this.onWindowResize)},_destroy:function(){a(f).off("resize.jcarousel",this.onWindowResize)},_reload:function(){this.vertical=this.options("vertical");null==this.vertical&&(this.vertical=this.list().height()>this.list().width());this.rtl=this.options("rtl");null==this.rtl&&(this.rtl=function(b){if("rtl"===
(""+b.attr("dir")).toLowerCase())return!0;var d=!1;b.parents("[dir]").each(function(){if(/rtl/i.test(a(this).attr("dir")))return d=!0,!1});return d}(this._element));this.lt=this.vertical?"top":"left";this.relative="relative"===this.list().css("position");this._items=this._list=null;var b=0<=this.index(this._target)?this._target:this.closest();this.circular="circular"===this.options("wrap");this.underflow=!1;var e={left:0,top:0};0<b.length&&(this._prepare(b),this.list().find("[data-jcarousel-clone]").remove(),
this._items=null,this.underflow=this._fullyvisible.length>=this.items().length,this.circular=this.circular&&!this.underflow,e[this.lt]=this._position(b)+"px");this.move(e);return this},list:function(){if(null===this._list){var b=this.options("list");this._list=a.isFunction(b)?b.call(this):this._element.find(b)}return this._list},items:function(){if(null===this._items){var b=this.options("items");this._items=(a.isFunction(b)?b.call(this):this.list().find(b)).not("[data-jcarousel-clone]")}return this._items},
index:function(a){return this.items().index(a)},closest:function(){var b=this,e=this.list().position()[this.lt],d=a(),l=!1,f=this.vertical?"bottom":this.rtl&&!this.relative?"left":"right",g;this.rtl&&this.relative&&!this.vertical&&(e+=this.list().width()-this.clipping());this.items().each(function(){d=a(this);if(l)return!1;var k=b.dimension(d);e+=k;if(0<=e)if(g=k-c(d.css("margin-"+f)),0>=Math.abs(e)-k+g/2)l=!0;else return!1});return d},target:function(){return this._target},first:function(){return this._first},
last:function(){return this._last},visible:function(){return this._visible},fullyvisible:function(){return this._fullyvisible},hasNext:function(){if(!1===this._trigger("hasnext"))return!0;var a=this.options("wrap"),e=this.items().length-1,d=this.options("center")?this._target:this._last;return 0<=e&&!this.underflow&&(a&&"first"!==a||this.index(d)<e||this.tail&&!this.inTail)?!0:!1},hasPrev:function(){if(!1===this._trigger("hasprev"))return!0;var a=this.options("wrap");return 0<this.items().length&&
!this.underflow&&(a&&"last"!==a||0<this.index(this._first)||this.tail&&this.inTail)?!0:!1},clipping:function(){return this._element["inner"+(this.vertical?"Height":"Width")]()},dimension:function(a){return a["outer"+(this.vertical?"Height":"Width")](!0)},scroll:function(b,e,d){if(this.animating||!1===this._trigger("scroll",null,[b,e]))return this;a.isFunction(e)&&(d=e,e=!0);var c=a.jCarousel.parseTarget(b);if(c.relative){b=this.items().length-1;var f=Math.abs(c.target),g=this.options("wrap"),k;if(0<
c.target)if(k=this.index(this._last),k>=b&&this.tail)this.inTail?"both"===g||"last"===g?this._scroll(0,e,d):a.isFunction(d)&&d.call(this,!1):this._scrollTail(e,d);else if(c=this.index(this._target),this.underflow&&c===b&&("circular"===g||"both"===g||"last"===g)||!this.underflow&&k===b&&("both"===g||"last"===g))this._scroll(0,e,d);else if(f=c+f,this.circular&&f>b){g=b;for(b=this.items().get(-1);g++<f;)b=this.items().eq(0),(c=0<=this._visible.index(b))&&b.after(b.clone(!0).attr("data-jcarousel-clone",
!0)),this.list().append(b),c||(c={},c[this.lt]=this.dimension(b),this.moveBy(c)),this._items=null;this._scroll(b,e,d)}else this._scroll(Math.min(f,b),e,d);else if(this.inTail)this._scroll(Math.max(this.index(this._first)-f+1,0),e,d);else if(k=this.index(this._first),c=this.index(this._target),c=this.underflow?c:k,f=c-f,0>=c&&(this.underflow&&"circular"===g||"both"===g||"first"===g))this._scroll(b,e,d);else if(this.circular&&0>f){g=f;for(b=this.items().get(0);0>g++;)b=this.items().eq(-1),(c=0<=this._visible.index(b))&&
b.after(b.clone(!0).attr("data-jcarousel-clone",!0)),this.list().prepend(b),this._items=null,f=this.dimension(b),c={},c[this.lt]=-f,this.moveBy(c);this._scroll(b,e,d)}else this._scroll(Math.max(f,0),e,d)}else this._scroll(c.target,e,d);this._trigger("scrollend");return this},moveBy:function(a,e){var d=this.list().position(),b=1,f=0;this.rtl&&!this.vertical&&(b=-1,this.relative&&(f=this.list().width()-this.clipping()));a.left&&(a.left=d.left+f+c(a.left)*b+"px");a.top&&(a.top=d.top+f+c(a.top)*b+"px");
return this.move(a,e)},move:function(b,e){e=e||{};var d=this.options("transitions"),c=!!d,f=!!d.transforms,g=!!d.transforms3d,k=e.duration||0,n=this.list();if(!c&&0<k)n.animate(b,e);else{var h=e.complete||a.noop,r={};if(c){var q={transitionDuration:n.css("transitionDuration"),transitionTimingFunction:n.css("transitionTimingFunction"),transitionProperty:n.css("transitionProperty")},p=h,h=function(){a(this).css(q);p.call(this)},d=d.easing||e.easing;r=0<k?f||g?"all":b.left?"left":"top":"none";r={transitionDuration:(0<
k?k/1E3:0)+"s",transitionTimingFunction:d,transitionProperty:r,transform:"none"}}g?r.transform="translate3d("+(b.left||0)+","+(b.top||0)+",0)":f?r.transform="translate("+(b.left||0)+","+(b.top||0)+")":a.extend(r,b);if(c&&0<k)n.one("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",h);n.css(r);0>=k&&n.each(function(){h.call(this)})}},_scroll:function(b,e,d){if(this.animating)return a.isFunction(d)&&d.call(this,!1),this;"object"!==typeof b?b=this.items().eq(b):"undefined"===
typeof b.jquery&&(b=a(b));if(0===b.length)return a.isFunction(d)&&d.call(this,!1),this;this.inTail=!1;this._prepare(b);b=this._position(b);var c=this.list().position()[this.lt];if(b===c)return a.isFunction(d)&&d.call(this,!1),this;c={};c[this.lt]=b+"px";this._animate(c,e,d);return this},_scrollTail:function(b,e){if(this.animating||!this.tail)return a.isFunction(e)&&e.call(this,!1),this;var d=this.list().position()[this.lt];this.rtl&&this.relative&&!this.vertical&&(d+=this.list().width()-this.clipping());
d=this.rtl&&!this.vertical?d+this.tail:d-this.tail;this.inTail=!0;var c={};c[this.lt]=d+"px";this._update({target:this._target.next(),fullyvisible:this._fullyvisible.slice(1).add(this._visible.last())});this._animate(c,b,e);return this},_animate:function(b,e,d){d=d||a.noop;if(!1===this._trigger("animate"))return d.call(this,!1),this;this.animating=!0;var c=this.options("animation"),f=a.proxy(function(){this.animating=!1;var a=this.list().find("[data-jcarousel-clone]");0<a.length&&(a.remove(),this._reload());
this._trigger("animateend");d.call(this,!0)},this),c="object"===typeof c?a.extend({},c):{duration:c},g=c.complete||a.noop;!1===e?c.duration=0:"undefined"!==typeof a.fx.speeds[c.duration]&&(c.duration=a.fx.speeds[c.duration]);c.complete=function(){f();g.call(this)};this.move(b,c);return this},_prepare:function(b){var e=this.index(b),d=e,f=this.dimension(b),m=this.clipping(),g=this.vertical?"bottom":this.rtl?"left":"right",k=this.options("center"),n={target:b,first:b,last:b,visible:b,fullyvisible:f<=
m?b:a()},h,r;k&&(f/=2,m/=2);if(f<m)for(;;){h=this.items().eq(++d);if(0===h.length){if(!this.circular)break;h=this.items().eq(0);if(b.get(0)===h.get(0))break;(r=0<=this._visible.index(h))&&h.after(h.clone(!0).attr("data-jcarousel-clone",!0));this.list().append(h);r||(r={},r[this.lt]=this.dimension(h),this.moveBy(r));this._items=null}r=this.dimension(h);if(0===r)break;f+=r;n.last=h;n.visible=n.visible.add(h);r=c(h.css("margin-"+g));f-r<=m&&(n.fullyvisible=n.fullyvisible.add(h));if(f>=m)break}if(!this.circular&&
!k&&f<m)for(d=e;!(0>--d);){h=this.items().eq(d);if(0===h.length)break;r=this.dimension(h);if(0===r)break;f+=r;n.first=h;n.visible=n.visible.add(h);r=c(h.css("margin-"+g));f-r<=m&&(n.fullyvisible=n.fullyvisible.add(h));if(f>=m)break}this._update(n);this.tail=0;k||"circular"===this.options("wrap")||"custom"===this.options("wrap")||this.index(n.last)!==this.items().length-1||(f-=c(n.last.css("margin-"+g)),f>m&&(this.tail=f-m));return this},_position:function(a){var b=this._first,d=b.position()[this.lt],
c=this.options("center"),f=c?this.clipping()/2-this.dimension(b)/2:0;this.rtl&&!this.vertical?(d=this.relative?d-(this.list().width()-this.dimension(b)):d-(this.clipping()-this.dimension(b)),d+=f):d-=f;!c&&(this.index(a)>this.index(b)||this.inTail)&&this.tail?(d=this.rtl&&!this.vertical?d-this.tail:d+this.tail,this.inTail=!0):this.inTail=!1;return-d},_update:function(b){var e=this,d={target:this._target,first:this._first,last:this._last,visible:this._visible,fullyvisible:this._fullyvisible},c=this.index(b.first||
d.first)<this.index(d.first),f,g=function(f){var g=[],h=[];b[f].each(function(){0>d[f].index(this)&&g.push(this)});d[f].each(function(){0>b[f].index(this)&&h.push(this)});c?g=g.reverse():h=h.reverse();e._trigger(f+"in",a(g));e._trigger(f+"out",a(h));e["_"+f]=b[f]};for(f in b)g(f);return this}})})(jQuery,window);
(function(a){a.jcarousel.fn.scrollIntoView=function(f,c,b){f=a.jCarousel.parseTarget(f);var e=this.index(this._fullyvisible.first()),d=this.index(this._fullyvisible.last());f=f.relative?0>f.target?Math.max(0,e+f.target):d+f.target:"object"!==typeof f.target?f.target:this.index(f.target);if(f<e)return this.scroll(f,c,b);if(f>=e&&f<=d)return a.isFunction(b)&&b.call(this,!1),this;for(var l=this.items(),e=this.clipping(),m=this.vertical?"bottom":this.rtl?"left":"right",d=0,g;;){g=l.eq(f);if(0===g.length)break;
d+=this.dimension(g);if(d>=e){l=parseFloat(g.css("margin-"+m))||0;d-l!==e&&f++;break}if(0>=f)break;f--}return this.scroll(f,c,b)}})(jQuery);
(function(a){a.jCarousel.plugin("jcarouselControl",{_options:{target:"+=1",event:"click",method:"scroll"},_active:null,_init:function(){this.onDestroy=a.proxy(function(){this._destroy();this.carousel().one("jcarousel:createend",a.proxy(this._create,this))},this);this.onReload=a.proxy(this._reload,this);this.onEvent=a.proxy(function(f){f.preventDefault();f=this.options("method");a.isFunction(f)?f.call(this):this.carousel().jcarousel(this.options("method"),this.options("target"))},this)},_create:function(){this.carousel().one("jcarousel:destroy",
this.onDestroy).on("jcarousel:reloadend jcarousel:scrollend",this.onReload);this._element.on(this.options("event")+".jcarouselcontrol",this.onEvent);this._reload()},_destroy:function(){this._element.off(".jcarouselcontrol",this.onEvent);this.carousel().off("jcarousel:destroy",this.onDestroy).off("jcarousel:reloadend jcarousel:scrollend",this.onReload)},_reload:function(){var f=a.jCarousel.parseTarget(this.options("target")),c=this.carousel();f.relative?c=c.jcarousel(0<f.target?"hasNext":"hasPrev"):
(f="object"!==typeof f.target?c.jcarousel("items").eq(f.target):f.target,c=0<=c.jcarousel("target").index(f));this._active!==c&&(this._trigger(c?"active":"inactive"),this._active=c);return this}})})(jQuery);
(function(a){a.jCarousel.plugin("jcarouselPagination",{_options:{perPage:null,item:function(a){return'<a href="#'+a+'">'+a+"</a>"},event:"click",method:"scroll"},_carouselItems:null,_pages:{},_items:{},_currentPage:null,_init:function(){this.onDestroy=a.proxy(function(){this._destroy();this.carousel().one("jcarousel:createend",a.proxy(this._create,this))},this);this.onReload=a.proxy(this._reload,this);this.onScroll=a.proxy(this._update,this)},_create:function(){this.carousel().one("jcarousel:destroy",
this.onDestroy).on("jcarousel:reloadend",this.onReload).on("jcarousel:scrollend",this.onScroll);this._reload()},_destroy:function(){this._clear();this.carousel().off("jcarousel:destroy",this.onDestroy).off("jcarousel:reloadend",this.onReload).off("jcarousel:scrollend",this.onScroll);this._carouselItems=null},_reload:function(){var f=this.options("perPage");this._pages={};this._items={};a.isFunction(f)&&(f=f.call(this));if(null==f)this._pages=this._calculatePages();else for(var f=parseInt(f,10)||0,
c=this._getCarouselItems(),b=1,e=0,d;;){d=c.eq(e++);if(0===d.length)break;this._pages[b]=this._pages[b]?this._pages[b].add(d):d;0===e%f&&b++}this._clear();var l=this,m=this.carousel().data("jcarousel"),g=this._element,k=this.options("item"),n=this._getCarouselItems().length;a.each(this._pages,function(b,d){var e=l._items[b]=a(k.call(l,b,d));e.on(l.options("event")+".jcarouselpagination",a.proxy(function(){var a=d.eq(0);if(m.circular){var e=m.index(m.target()),c=m.index(a);parseFloat(b)>parseFloat(l._currentPage)?
c<e&&(a="+="+(n-e+c)):c>e&&(a="-="+(e+(n-c)))}m[this.options("method")](a)},l));g.append(e)});this._update()},_update:function(){var f=this.carousel().jcarousel("target"),c;a.each(this._pages,function(a,e){e.each(function(){if(f.is(this))return c=a,!1});if(c)return!1});this._currentPage!==c&&(this._trigger("inactive",this._items[this._currentPage]),this._trigger("active",this._items[c]));this._currentPage=c},items:function(){return this._items},reloadCarouselItems:function(){this._carouselItems=null;
return this},_clear:function(){this._element.empty();this._currentPage=null},_calculatePages:function(){for(var a=this.carousel().data("jcarousel"),c=this._getCarouselItems(),b=a.clipping(),e=0,d=0,l=1,m={},g,k;;){g=c.eq(d++);if(0===g.length)break;k=a.dimension(g);e+k>b&&(l++,e=0);e+=k;m[l]=m[l]?m[l].add(g):g}return m},_getCarouselItems:function(){this._carouselItems||(this._carouselItems=this.carousel().jcarousel("items"));return this._carouselItems}})})(jQuery);
(function(a,f){var c,b;a.each({hidden:"visibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange",webkitHidden:"webkitvisibilitychange"},function(a,d){if("undefined"!==typeof f[a])return c=a,b=d,!1});a.jCarousel.plugin("jcarouselAutoscroll",{_options:{target:"+=1",interval:3E3,autostart:!0},_timer:null,_started:!1,_init:function(){this.onDestroy=a.proxy(function(){this._destroy();this.carousel().one("jcarousel:createend",a.proxy(this._create,this))},this);this.onAnimateEnd=a.proxy(this._start,
this);this.onVisibilityChange=a.proxy(function(){f[c]?this._stop():this._start()},this)},_create:function(){this.carousel().one("jcarousel:destroy",this.onDestroy);a(f).on(b,this.onVisibilityChange);this.options("autostart")&&this.start()},_destroy:function(){this._stop();this.carousel().off("jcarousel:destroy",this.onDestroy);a(f).off(b,this.onVisibilityChange)},_start:function(){this._stop();if(this._started)return this.carousel().one("jcarousel:animateend",this.onAnimateEnd),this._timer=setTimeout(a.proxy(function(){this.carousel().jcarousel("scroll",
this.options("target"))},this),this.options("interval")),this},_stop:function(){this._timer&&(this._timer=clearTimeout(this._timer));this.carousel().off("jcarousel:animateend",this.onAnimateEnd);return this},start:function(){this._started=!0;this._start();return this},stop:function(){this._started=!1;this._stop();return this}})})(jQuery,document);(function(a){var f,c={className:"autosizejs",id:"autosizejs",append:"\n",callback:!1,resizeDelay:10,placeholder:!0},b="fontFamily fontSize fontWeight fontStyle letterSpacing textTransform wordSpacing textIndent whiteSpace".split(" "),e=a('<textarea tabindex="-1" style="position:absolute; top:-999px; left:0; right:auto; bottom:auto; border:0; padding: 0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; overflow:hidden; transition:none; -webkit-transition:none; -moz-transition:none;"/>').data("autosize",
!0)[0];e.style.lineHeight="99px";"99px"===a(e).css("lineHeight")&&b.push("lineHeight");e.style.lineHeight="";a.fn.autosize=function(d){return this.length?(d=a.extend({},c,d||{}),e.parentNode!==document.body&&a(document.body).append(e),this.each(function(){function c(){var b,d=window.getComputedStyle?window.getComputedStyle(q,null):!1;d?(b=q.getBoundingClientRect().width,(0===b||"number"!=typeof b)&&(b=parseInt(d.width,10)),a.each(["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],
function(a,e){b-=parseInt(d[e],10)})):b=p.width();e.style.width=Math.max(b,0)+"px"}function m(){var h={};if(f=q,e.className=d.className,e.id=d.id,n=parseInt(p.css("maxHeight"),10),a.each(b,function(a,b){h[b]=p.css(b)}),a(e).css(h).attr("wrap",p.attr("wrap")),c(),window.chrome){var g=q.style.width;q.style.width="0px";q.offsetWidth;q.style.width=g}}function g(){var a,b;f!==q?m():c();e.value=!q.value&&d.placeholder?p.attr("placeholder")||"":q.value;e.value+=d.append||"";e.style.overflowY=q.style.overflowY;
b=parseInt(q.style.height,10);e.scrollTop=0;e.scrollTop=9E4;a=e.scrollTop;n&&a>n?(q.style.overflowY="scroll",a=n):(q.style.overflowY="hidden",h>a&&(a=h));a+=x;b!==a&&(q.style.height=a+"px",y&&d.callback.call(q,q),p.trigger("autosize.resized"))}function k(){clearTimeout(r);r=setTimeout(function(){var a=p.width();a!==D&&(D=a,g())},parseInt(d.resizeDelay,10))}var n,h,r,q=this,p=a(q),x=0,y=a.isFunction(d.callback),A={height:q.style.height,overflow:q.style.overflow,overflowY:q.style.overflowY,wordWrap:q.style.wordWrap,
resize:q.style.resize},D=p.width(),v=p.css("resize");p.data("autosize")||(p.data("autosize",!0),("border-box"===p.css("box-sizing")||"border-box"===p.css("-moz-box-sizing")||"border-box"===p.css("-webkit-box-sizing"))&&(x=p.outerHeight()-p.height()),h=Math.max(parseInt(p.css("minHeight"),10)-x||0,p.height()),p.css({overflow:"hidden",overflowY:"hidden",wordWrap:"break-word"}),"vertical"===v?p.css("resize","none"):"both"===v&&p.css("resize","horizontal"),"onpropertychange"in q?"oninput"in q?p.on("input.autosize keyup.autosize",
g):p.on("propertychange.autosize",function(){"value"===event.propertyName&&g()}):p.on("input.autosize",g),!1!==d.resizeDelay&&a(window).on("resize.autosize",k),p.on("autosize.resize",g),p.on("autosize.resizeIncludeStyle",function(){f=null;g()}),p.on("autosize.destroy",function(){f=null;clearTimeout(r);a(window).off("resize",k);p.off("autosize").off(".autosize").css(A).removeData("autosize")}),g())})):this}})(jQuery||$);(function(a){function f(b){!b||void 0!==b.allowPageScroll||void 0===b.swipe&&void 0===b.swipeStatus||(b.allowPageScroll="none");b||(b={});b=a.extend({},a.fn.swipe.defaults,b);return this.each(function(){var d=a(this),e=d.data("TouchSwipe");e||(e=new c(this,b),d.data("TouchSwipe",e))})}function c(e,d){function c(e){if(!0!==t.data("TouchSwipe_intouch")&&!(0<a(e.target).closest(d.excludedElements,t).length)){var c=e.originalEvent,h,f=b?c.touches[0]:c;w="start";b?z=c.touches.length:e.preventDefault();
E=0;R=G=null;J=u=B=0;N=1;pinchDistance=0;e=[];for(var g=0;5>=g;g++)e.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});F=e;T=S=0;if(!b||z===d.fingers||"all"===d.fingers||y()){if(K(0,f),V=L(),2==z&&(K(1,c.touches[1]),u=J=I(F[0].start,F[1].start)),d.swipeStatus||d.pinchStatus)h=q(c,w)}else h=!1;if(!1===h)return w="cancel",q(c,w),h;v(!0)}}function f(e){var c,h,f,g=e.originalEvent;if("end"!==w&&"cancel"!==w&&!D()){var l,k=M(b?g.touches[0]:g);U=L();b&&(z=g.touches.length);w="move";2==z&&(0==u?(K(1,g.touches[1]),
u=J=I(F[0].start,F[1].start)):(M(g.touches[1]),J=I(F[0].end,F[1].end),R=1>N?"out":"in"),N=(J/u*1).toFixed(2),pinchDistance=Math.abs(u-J));if(z===d.fingers||"all"===d.fingers||!b||y()){c=k.start;h=k.end;c=Math.round(180*Math.atan2(h.y-c.y,c.x-h.x)/Math.PI);0>c&&(c=360-Math.abs(c));c=G=45>=c&&0<=c?"left":360>=c&&315<=c?"left":135<=c&&225>=c?"right":45<c&&135>c?"down":"up";if("none"===d.allowPageScroll||y())e.preventDefault();else switch(h="auto"===d.allowPageScroll,c){case "left":(d.swipeLeft&&h||!h&&
"horizontal"!=d.allowPageScroll)&&e.preventDefault();break;case "right":(d.swipeRight&&h||!h&&"horizontal"!=d.allowPageScroll)&&e.preventDefault();break;case "up":(d.swipeUp&&h||!h&&"vertical"!=d.allowPageScroll)&&e.preventDefault();break;case "down":(d.swipeDown&&h||!h&&"vertical"!=d.allowPageScroll)&&e.preventDefault()}e=k.start;c=k.end;E=Math.round(Math.sqrt(Math.pow(c.x-e.x,2)+Math.pow(c.y-e.y,2)));B=U-V;if(d.swipeStatus||d.pinchStatus)l=q(g,w);if(!d.triggerOnTouchEnd||d.triggerOnTouchLeave){e=
!0;if(d.triggerOnTouchLeave){f=a(this);var m=f.offset();e=m.left;c=m.left+f.outerWidth();h=m.top;f=m.top+f.outerHeight();k=k.end;e=k.x>e&&k.x<c&&k.y>h&&k.y<f}!d.triggerOnTouchEnd&&e?w=r("move"):d.triggerOnTouchLeave&&!e&&(w=r("end"));"cancel"!=w&&"end"!=w||q(g,w)}}else w="cancel",q(g,w);!1===l&&(w="cancel",q(g,w))}}function g(a){var e=a.originalEvent;if(b&&0<e.touches.length)return S=L(),T=event.touches.length+1,!0;D()&&(z=T);a.preventDefault();U=L();if(d.triggerOnTouchEnd||0==d.triggerOnTouchEnd&&
"move"===w){w="end";a=0!==F[0].end.x;if(z!==d.fingers&&"all"!==d.fingers&&b||!a||!x()&&!A())w="cancel";q(e,w)}else"move"===w&&(w="cancel",q(e,w));v(!1)}function k(){J=u=V=U=z=0;N=1;T=S=0;v(!1)}function n(a){a=a.originalEvent;d.triggerOnTouchLeave&&(w=r("end"),q(a,w))}function h(){t.unbind(Q,c);t.unbind("touchcancel",k);t.unbind(C,f);t.unbind(O,g);P&&t.unbind(P,n);v(!1)}function r(a){var b=a,e=null!==d.threshold?E>=d.threshold:!0;d.maxTimeThreshold&&B>=d.maxTimeThreshold?b="cancel":!e||"move"!=a||
d.triggerOnTouchEnd&&!d.triggerOnTouchLeave?!e&&"end"==a&&d.triggerOnTouchLeave&&(b="cancel"):b="end";return b}function q(a,e){var c=void 0;(d.swipe||d.swipeStatus||d.swipeLeft||d.swipeRight||d.swipeUp||d.swipeDown)&&(c=p(a,e,"swipe"));y()&&!1!==c&&(c=p(a,e,"pinch"));d.click&&!1!==c&&(c=p(a,e,"click"));"cancel"===e&&k(a);"end"===e&&(b?0==a.touches.length&&k(a):k(a));return c}function p(a,e,c){var h=void 0;if("swipe"==c){if(d.swipeStatus&&(h=d.swipeStatus.call(t,a,e,G||null,E||0,B||0,z),!1===h))return!1;
if("end"==e&&A()){if(d.swipe&&(h=d.swipe.call(t,a,G,E,B,z),!1===h))return!1;switch(G){case "left":d.swipeLeft&&(h=d.swipeLeft.call(t,a,G,E,B,z));break;case "right":d.swipeRight&&(h=d.swipeRight.call(t,a,G,E,B,z));break;case "up":d.swipeUp&&(h=d.swipeUp.call(t,a,G,E,B,z));break;case "down":d.swipeDown&&(h=d.swipeDown.call(t,a,G,E,B,z))}}}if("pinch"==c){if(d.pinchStatus&&(h=d.pinchStatus.call(t,a,e,R||null,pinchDistance||0,B||0,z,N),!1===h))return!1;if("end"==e&&x())switch(R){case "in":d.pinchIn&&(h=
d.pinchIn.call(t,a,R||null,pinchDistance||0,B||0,z,N));break;case "out":d.pinchOut&&(h=d.pinchOut.call(t,a,R||null,pinchDistance||0,B||0,z,N))}}"click"==c&&"cancel"===e&&(!d.click||1!==z&&b||!isNaN(E)&&0!==E||(h=d.click.call(t,a,a.target)));return h}function x(){var a;a=null!==d.pinchThreshold?pinchDistance>=d.pinchThreshold:!0;return a}function y(){return!!(d.pinchStatus||d.pinchIn||d.pinchOut)}function A(){var a=d.maxTimeThreshold?B>=d.maxTimeThreshold?!1:!0:!0;return(null!==d.threshold?E>=d.threshold:
!0)&&a}function D(){var a=!1;S&&L()-S<=d.fingerReleaseThreshold&&(a=!0);return a}function v(a){!0===a?(t.bind(C,f),t.bind(O,g),P&&t.bind(P,n)):(t.unbind(C,f,!1),t.unbind(O,g,!1),P&&t.unbind(P,n,!1));t.data("TouchSwipe_intouch",!0===a)}function K(a,b){F[a].identifier=void 0!==b.identifier?b.identifier:0;F[a].start.x=F[a].end.x=b.pageX;F[a].start.y=F[a].end.y=b.pageY;return F[a]}function M(a){var b=void 0!==a.identifier?a.identifier:0;a:{for(var e=0;e<F.length;e++)if(F[e].identifier==b){b=F[e];break a}b=
void 0}b.end.x=a.pageX;b.end.y=a.pageY;return b}function I(a,b){var e=Math.abs(a.x-b.x),d=Math.abs(a.y-b.y);return Math.round(Math.sqrt(e*e+d*d))}function L(){return(new Date).getTime()}var H=b||!d.fallbackToMouseEvents,Q=H?"touchstart":"mousedown",C=H?"touchmove":"mousemove",O=H?"touchend":"mouseup",P=H?null:"mouseleave",E=0,G=null,B=0,u=0,J=0,N=1,R=0,t=a(e),w="start",z=0,F=null,V=0,U=0,S=0,T=0;try{t.bind(Q,c),t.bind("touchcancel",k)}catch(W){a.error("events not supported "+Q+",touchcancel on jQuery.swipe")}this.enable=
function(){t.bind(Q,c);t.bind("touchcancel",k);return t};this.disable=function(){h();return t};this.destroy=function(){h();t.data("TouchSwipe",null);return t}}NaN;var b="ontouchstart"in window;a.fn.swipe=function(b){var e=a(this),c=e.data("TouchSwipe");if(c&&"string"===typeof b){if(c[b])return c[b].apply(this,Array.prototype.slice.call(arguments,1));a.error("Method "+b+" does not exist on jQuery.swipe")}else if(!(c||"object"!==typeof b&&b))return f.apply(this,arguments);return e};a.fn.swipe.defaults=
{fingers:1,threshold:75,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"button, input, select, textarea, a, .noSwipe"};a.fn.swipe.phases={PHASE_START:"start",PHASE_MOVE:"move",PHASE_END:"end",PHASE_CANCEL:"cancel"};a.fn.swipe.directions=
{LEFT:"left",RIGHT:"right",UP:"up",DOWN:"down",IN:"in",OUT:"out"};a.fn.swipe.pageScroll={NONE:"none",HORIZONTAL:"horizontal",VERTICAL:"vertical",AUTO:"auto"};a.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:"all"}})(jQuery);(function(a){a.fn.extend({customSelect:function(f){if("undefined"===typeof document.body.style.maxHeight)return this;f=a.extend({customClass:"customSelect",mapClass:!0,mapStyle:!0},f);var c=f.customClass,b=function(b,d){var e=b.find(":selected"),f=d.children(":first"),g=e.html()||"&nbsp;";f.html(g);e.attr("disabled")?d.addClass(c+"DisabledOption"):d.removeClass(c+"DisabledOption");setTimeout(function(){d.removeClass(c+"Open");a(document).off("mouseup.customSelect")},60)};return this.each(function(){var e=
a(this),d=a("<span />").addClass(c+"Inner"),l=a("<span />");e.after(l.append(d));l.addClass(c);f.mapClass&&l.addClass(e.attr("class"));f.mapStyle&&l.attr("style",e.attr("style"));e.addClass("hasCustomSelect").on("render.customSelect",function(){b(e,l);e.css("width","");var a=parseInt(e.outerWidth(),10)-(parseInt(l.outerWidth(),10)-parseInt(l.width(),10));l.css({display:"inline-block"});var f=l.outerHeight();e.attr("disabled")?l.addClass(c+"Disabled"):l.removeClass(c+"Disabled");d.css({width:a,display:"inline-block"});
e.css({"-webkit-appearance":"menulist-button",width:l.outerWidth(),position:"absolute",opacity:0,height:f,fontSize:l.css("font-size")})}).on("change.customSelect",function(){l.addClass(c+"Changed");b(e,l)}).on("keyup.customSelect",function(a){l.hasClass(c+"Open")?13!=a.which&&27!=a.which||b(e,l):(e.trigger("blur.customSelect"),e.trigger("focus.customSelect"))}).on("mousedown.customSelect",function(){l.removeClass(c+"Changed")}).on("mouseup.customSelect",function(d){l.hasClass(c+"Open")||(0<a("."+
(c+"Open")).not(l).length&&"undefined"!==typeof InstallTrigger?e.trigger("focus.customSelect"):(l.addClass(c+"Open"),d.stopPropagation(),a(document).one("mouseup.customSelect",function(d){d.target!=e.get(0)&&0>a.inArray(d.target,e.find("*").get())?e.trigger("blur.customSelect"):b(e,l)})))}).on("focus.customSelect",function(){l.removeClass(c+"Changed").addClass(c+"Focus")}).on("blur.customSelect",function(){l.removeClass(c+"Focus "+(c+"Open"))}).on("mouseenter.customSelect",function(){l.addClass(c+
"Hover")}).on("mouseleave.customSelect",function(){l.removeClass(c+"Hover")}).trigger("render.customSelect")})}})})(jQuery);(function(a){a.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};a.expr[":"].uncached=function(f){if(!a(f).is('img[src!=""]'))return!1;var c=document.createElement("img");c.src=f.src;return!c.complete};a.fn.waitForImages=function(f,c,b){a.isPlainObject(f)&&(c=f.each,b=f.waitForAll,f=f.finished);f=f||a.noop;c=c||a.noop;b=!!b;if(!a.isFunction(f)||!a.isFunction(c))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var e=
a(this),d=[];if(b){var l=a.waitForImages.hasImageProperties||[],m=/url\((['"]?)(.*?)\1\)/g;e.find("*").each(function(){var b=a(this);b.is("img:uncached")&&d.push({src:b.attr("src"),element:b[0]});a.each(l,function(a,e){var c=b.css(e);if(!c)return!0;for(var h;h=m.exec(c);)d.push({src:h[2],element:b[0]})})})}else e.find("img:uncached").each(function(){d.push({src:this.src,element:this})});var g=d.length,k=0;0==g&&f.call(e[0]);a.each(d,function(b,d){var h=new Image;a(h).bind("load.waitForImages error.waitForImages",
function(a){k++;c.call(d.element,k,g,"load"==a.type);if(k==g)return f.call(e[0]),!1});h.src=d.src})})}})(jQuery);(function(a){var f={numOfCol:5,offsetX:5,offsetY:5,blockElement:"div"},c,b,e=[];Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var e=this.length>>>0,d=Number(b)||0,d=0>d?Math.ceil(d):Math.floor(d);for(0>d&&(d+=e);d<e;d++)if(d in this&&this[d]===a)return d;return-1});var d=function(){e=[];for(var a=0;a<f.numOfCol;a++)l("empty-"+a,a,0,1,-f.offsetY)},l=function(a,b,d,c,g){for(a=0;a<c;a++){var h={};h.x=b+a;h.size=c;h.endY=d+g+2*f.offsetY;e.push(h)}},m=function(a,b){for(var d=0;d<e.length;d++){var c=
e[d];if("x"==b&&c.x==a||"endY"==b&&c.endY==a)return d}},g=function(a,b){for(var d=[],c=0;c<b;c++)d.push(e[m(a+c,"x")].endY);var c=Math.min.apply(Math,d),f=Math.max.apply(Math,d);return[c,f,d.indexOf(c)]};a.fn.BlocksIt=function(k){k&&"object"===typeof k&&a.extend(f,k);c=a(this);b=c.width()/f.numOfCol;d();c.children(f.blockElement).each(function(d){d=a(this);!d.data("size")||0>d.data("size")?d.data("size",1):d.data("size")>f.numOfCol&&d.data("size",f.numOfCol);var c;var k=d.data("size");if(1<k){for(var n=
e.length-k,p=!1,x,y=0;y<e.length;y++){var A=e[y].x;if(0<=A&&A<=n){var D=g(A,k);p?D[1]<c[1]&&(c=D,x=A):(p=!0,c=D,x=A)}}c=[x,c[1]]}else c=g(0,e.length),c=[c[2],c[0]];x=b*d.data("size")-(d.outerWidth()-d.width());d.css({width:x-2*f.offsetX,left:c[0]*b,top:c[1],position:"absolute"});x=d.outerHeight();k=c[0];n=d.data("size");for(p=0;p<n;p++)y=m(k+p,"x"),e.splice(y,1);l(d.attr("id"),c[0],c[1],d.data("size"),x)});k=g(0,e.length);c.height(k[1]+f.offsetY);return this}})(jQuery);(function(a){a.fn.hoverIntent=function(f,c){var b={sensitivity:7,interval:100,timeout:0},b=a.extend(b,c?{over:f,out:c}:f),e,d,l,m,g=function(a){e=a.pageX;d=a.pageY},k=function(c,f){f.hoverIntent_t=clearTimeout(f.hoverIntent_t);if(Math.abs(l-e)+Math.abs(m-d)<b.sensitivity)return a(f).unbind("mousemove",g),f.hoverIntent_s=1,b.over.apply(f,[c]);l=e;m=d;f.hoverIntent_t=setTimeout(function(){k(c,f)},b.interval)},n=function(d){for(var c=("mouseover"==d.type?d.fromElement:d.toElement)||d.relatedTarget;c&&
c!=this;)try{c=c.parentNode}catch(x){c=this}if(c==this)return!1;var e=jQuery.extend({},d),h=this;h.hoverIntent_t&&(h.hoverIntent_t=clearTimeout(h.hoverIntent_t));"mouseover"==d.type?(l=e.pageX,m=e.pageY,a(h).bind("mousemove",g),1!=h.hoverIntent_s&&(h.hoverIntent_t=setTimeout(function(){k(e,h)},b.interval))):(a(h).unbind("mousemove",g),1==h.hoverIntent_s&&(h.hoverIntent_t=setTimeout(function(){h.hoverIntent_t=clearTimeout(h.hoverIntent_t);h.hoverIntent_s=0;b.out.apply(h,[e])},b.timeout)))};return this.mouseover(n).mouseout(n)}})(jQuery);(function(a){a.fn.unveil=function(f){function c(){g=l.filter(function(){var d=a(this),c=b.scrollTop()+b.height(),f=d.offset().top;d.height();return f<=c+e});m=g.trigger("unveil");l=l.not(m);1>l.length&&(b.off("scroll",c),b.off("resize",c),b.off("touchstart",c))}var b=a(window),e=f||0,d=1<window.devicePixelRatio?"data-src-retina":"data-src",l=this,m,g,k;this.one("unveil",function(){(k=(k=this.getAttribute(d))||this.getAttribute("data-src"))&&this.setAttribute("src",k)});if("ontouchstart"in window)b.on("touchstart",
c);b.on("scroll",c);b.on("resize",c);c();return this}})(jQuery);!function t$jscomp$0(f,c,b){function e(l,g){if(!c[l]){if(!f[l]){var k="function"==typeof require&&require;if(!g&&k)return k(l,!0);if(d)return d(l,!0);k=Error("Cannot find module '"+l+"'");throw k.code="MODULE_NOT_FOUND",k;}k=c[l]={exports:{}};f[l][0].call(k.exports,function(b){var d=f[l][1][b];return e(d?d:b)},k,k.exports,t$jscomp$0,f,c,b)}return c[l].exports}for(var d="function"==typeof require&&require,l=0;l<b.length;l++)e(b[l]);return e}({1:[function(a,f,c){function b(a){a.fn.perfectScrollbar=
function(b){return this.each(function(){"object"==typeof b||"undefined"==typeof b?d.get(this)||e.initialize(this,b):"update"===b?e.update(this):"destroy"===b&&e.destroy(this);return a(this)})}}var e=a("../main"),d=a("../plugin/instances");"function"==typeof define&&define.amd?define(["jquery"],b):(a=window.jQuery?window.jQuery:window.$,"undefined"!=typeof a&&b(a));f.exports=b},{"../main":7,"../plugin/instances":18}],2:[function(a,f,c){c.add=function(a,c){if(a.classList)a.classList.add(c);else{var b=
a.className.split(" ");0>b.indexOf(c)&&b.push(c);a.className=b.join(" ")}};c.remove=function(a,c){if(a.classList)a.classList.remove(c);else{var b=a.className.split(" "),e=b.indexOf(c);0<=e&&b.splice(e,1);a.className=b.join(" ")}};c.list=function(a){return a.classList?Array.prototype.slice.apply(a.classList):a.className.split(" ")}},{}],3:[function(a,f,c){var b={e:function(a,b){var d=document.createElement(a);return d.className=b,d},appendTo:function(a,b){return b.appendChild(a),a},css:function(a,
b,c){if("object"==typeof b)for(var d in b)c=b[d],"number"==typeof c&&(c=c.toString()+"px"),a.style[d]=c;else"undefined"==typeof c?a=window.getComputedStyle(a)[b]:(d=c,a=("number"==typeof d&&(d=d.toString()+"px"),a.style[b]=d,a));return a},matches:function(a,b){return"undefined"!=typeof a.matches?a.matches(b):"undefined"!=typeof a.matchesSelector?a.matchesSelector(b):"undefined"!=typeof a.webkitMatchesSelector?a.webkitMatchesSelector(b):"undefined"!=typeof a.mozMatchesSelector?a.mozMatchesSelector(b):
"undefined"!=typeof a.msMatchesSelector?a.msMatchesSelector(b):void 0},remove:function(a){"undefined"!=typeof a.remove?a.remove():a.parentNode&&a.parentNode.removeChild(a)},queryChildren:function(a,c){return Array.prototype.filter.call(a.childNodes,function(a){return b.matches(a,c)})}};f.exports=b},{}],4:[function(a,f,c){var b=function(a){this.element=a;this.events={}};b.prototype.bind=function(a,b){"undefined"==typeof this.events[a]&&(this.events[a]=[]);this.events[a].push(b);this.element.addEventListener(a,
b,!1)};b.prototype.unbind=function(a,b){var c="undefined"!=typeof b;this.events[a]=this.events[a].filter(function(d){return c&&d!==b?!0:(this.element.removeEventListener(a,d,!1),!1)},this)};b.prototype.unbindAll=function(){for(var a in this.events)this.unbind(a)};a=function(){this.eventElements=[]};a.prototype.eventElement=function(a){var c=this.eventElements.filter(function(b){return b.element===a})[0];return"undefined"==typeof c&&(c=new b(a),this.eventElements.push(c)),c};a.prototype.bind=function(a,
b,c){this.eventElement(a).bind(b,c)};a.prototype.unbind=function(a,b,c){this.eventElement(a).unbind(b,c)};a.prototype.unbindAll=function(){for(var a=0;a<this.eventElements.length;a++)this.eventElements[a].unbindAll()};a.prototype.once=function(a,b,c){var d=this.eventElement(a),e=function(a){d.unbind(b,e);c(a)};d.bind(b,e)};f.exports=a},{}],5:[function(a,f,c){f.exports=function(){function a(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return a()+a()+"-"+
a()+"-"+a()+"-"+a()+"-"+a()+a()+a()}}()},{}],6:[function(a,f,c){var b=a("./class"),e=a("./dom");c.toInt=function(a){return parseInt(a,10)||0};c.clone=function(a){if(null===a)return null;if("object"==typeof a){var b={},c;for(c in a)b[c]=this.clone(a[c]);return b}return a};c.extend=function(a,b){var c=this.clone(a),d;for(d in b)c[d]=this.clone(b[d]);return c};c.isEditable=function(a){return e.matches(a,"input,[contenteditable]")||e.matches(a,"select,[contenteditable]")||e.matches(a,"textarea,[contenteditable]")||
e.matches(a,"button,[contenteditable]")};c.removePsClasses=function(a){for(var c=b.list(a),d=0;d<c.length;d++){var e=c[d];0===e.indexOf("ps-")&&b.remove(a,e)}};c.outerWidth=function(a){return this.toInt(e.css(a,"width"))+this.toInt(e.css(a,"paddingLeft"))+this.toInt(e.css(a,"paddingRight"))+this.toInt(e.css(a,"borderLeftWidth"))+this.toInt(e.css(a,"borderRightWidth"))};c.startScrolling=function(a,c){b.add(a,"ps-in-scrolling");"undefined"!=typeof c?b.add(a,"ps-"+c):(b.add(a,"ps-x"),b.add(a,"ps-y"))};
c.stopScrolling=function(a,c){b.remove(a,"ps-in-scrolling");"undefined"!=typeof c?b.remove(a,"ps-"+c):(b.remove(a,"ps-x"),b.remove(a,"ps-y"))};c.env={isWebKit:"WebkitAppearance"in document.documentElement.style,supportsTouch:"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,supportsIePointer:null!==window.navigator.msMaxTouchPoints}},{"./class":2,"./dom":3}],7:[function(a,f,c){c=a("./plugin/destroy");var b=a("./plugin/initialize");a=a("./plugin/update");f.exports=
{initialize:b,update:a,destroy:c}},{"./plugin/destroy":9,"./plugin/initialize":17,"./plugin/update":21}],8:[function(a,f,c){f.exports={maxScrollbarLength:null,minScrollbarLength:null,scrollXMarginOffset:0,scrollYMarginOffset:0,stopPropagationOnClick:!0,suppressScrollX:!1,suppressScrollY:!1,swipePropagation:!0,useBothWheelAxes:!1,useKeyboard:!0,useSelectionScroll:!1,wheelPropagation:!1,wheelSpeed:1}},{}],9:[function(a,f,c){var b=a("../lib/dom"),e=a("../lib/helper"),d=a("./instances");f.exports=function(a){var c=
d.get(a);c&&(c.event.unbindAll(),b.remove(c.scrollbarX),b.remove(c.scrollbarY),b.remove(c.scrollbarXRail),b.remove(c.scrollbarYRail),e.removePsClasses(a),d.remove(a))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18}],10:[function(a,f,c){function b(a,b){var c=window.Event.prototype.stopPropagation.bind;b.settings.stopPropagationOnClick&&b.event.bind(b.scrollbarY,"click",c);b.event.bind(b.scrollbarYRail,"click",function(c){var d=e.toInt(b.scrollbarYHeight/2),d=b.railYRatio*(c.pageY-window.scrollY-
b.scrollbarYRail.getBoundingClientRect().top-d)/(b.railYRatio*(b.railYHeight-b.scrollbarYHeight));0>d?d=0:1<d&&(d=1);m(a,"top",(b.contentHeight-b.containerHeight)*d);l(a);c.stopPropagation()});b.settings.stopPropagationOnClick&&b.event.bind(b.scrollbarX,"click",c);b.event.bind(b.scrollbarXRail,"click",function(c){var d=e.toInt(b.scrollbarXWidth/2),d=b.railXRatio*(c.pageX-window.scrollX-b.scrollbarXRail.getBoundingClientRect().left-d)/(b.railXRatio*(b.railXWidth-b.scrollbarXWidth));0>d?d=0:1<d&&(d=
1);m(a,"left",(b.contentWidth-b.containerWidth)*d-b.negativeScrollAdjustment);l(a);c.stopPropagation()})}var e=a("../../lib/helper"),d=a("../instances"),l=a("../update-geometry"),m=a("../update-scroll");f.exports=function(a){var c=d.get(a);b(a,c)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],11:[function(a,f,c){function b(a,b){var c=null,e=null,f=function(d){var f=c+(d.pageX-e)*b.railXRatio,h=b.scrollbarXRail.getBoundingClientRect().left+b.railXRatio*(b.railXWidth-
b.scrollbarXWidth);0>f?b.scrollbarXLeft=0:f>h?b.scrollbarXLeft=h:b.scrollbarXLeft=f;f=l.toInt(b.scrollbarXLeft*(b.contentWidth-b.containerWidth)/(b.containerWidth-b.railXRatio*b.scrollbarXWidth))-b.negativeScrollAdjustment;k(a,"left",f);g(a);d.stopPropagation();d.preventDefault()},h=function(){l.stopScrolling(a,"x");b.event.unbind(b.ownerDocument,"mousemove",f)};b.event.bind(b.scrollbarX,"mousedown",function(g){e=g.pageX;c=l.toInt(d.css(b.scrollbarX,"left"))*b.railXRatio;l.startScrolling(a,"x");b.event.bind(b.ownerDocument,
"mousemove",f);b.event.once(b.ownerDocument,"mouseup",h);g.stopPropagation();g.preventDefault()})}function e(a,b){var c=null,e=null,f=function(d){var f=c+(d.pageY-e)*b.railYRatio,h=b.scrollbarYRail.getBoundingClientRect().top+b.railYRatio*(b.railYHeight-b.scrollbarYHeight);0>f?b.scrollbarYTop=0:f>h?b.scrollbarYTop=h:b.scrollbarYTop=f;f=l.toInt(b.scrollbarYTop*(b.contentHeight-b.containerHeight)/(b.containerHeight-b.railYRatio*b.scrollbarYHeight));k(a,"top",f);g(a);d.stopPropagation();d.preventDefault()},
h=function(){l.stopScrolling(a,"y");b.event.unbind(b.ownerDocument,"mousemove",f)};b.event.bind(b.scrollbarY,"mousedown",function(g){e=g.pageY;c=l.toInt(d.css(b.scrollbarY,"top"))*b.railYRatio;l.startScrolling(a,"y");b.event.bind(b.ownerDocument,"mousemove",f);b.event.once(b.ownerDocument,"mouseup",h);g.stopPropagation();g.preventDefault()})}var d=a("../../lib/dom"),l=a("../../lib/helper"),m=a("../instances"),g=a("../update-geometry"),k=a("../update-scroll");f.exports=function(a){var c=m.get(a);b(a,
c);e(a,c)}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],12:[function(a,f,c){function b(a,b){function c(c,d){var e=a.scrollTop;if(0===c){if(!b.scrollbarYActive)return!1;if(0===e&&0<d||e>=b.contentHeight-b.containerHeight&&0>d)return!b.settings.wheelPropagation}e=a.scrollLeft;if(0===d){if(!b.scrollbarXActive)return!1;if(0===e&&0>c||e>=b.contentWidth-b.containerWidth&&0<c)return!b.settings.wheelPropagation}return!0}var d=!1;b.event.bind(a,
"mouseenter",function(){d=!0});b.event.bind(a,"mouseleave",function(){d=!1});var f=!1;b.event.bind(b.ownerDocument,"keydown",function(h){if((!h.isDefaultPrevented||!h.isDefaultPrevented())&&d){var g=document.activeElement?document.activeElement:b.ownerDocument.activeElement;if(g){for(;g.shadowRoot;)g=g.shadowRoot.activeElement;if(e.isEditable(g))return}var k=g=0;switch(h.which){case 37:g=-30;break;case 38:k=30;break;case 39:g=30;break;case 40:k=-30;break;case 33:k=90;break;case 32:k=h.shiftKey?90:
-90;break;case 34:k=-90;break;case 35:k=h.ctrlKey?-b.contentHeight:-b.containerHeight;break;case 36:k=h.ctrlKey?a.scrollTop:b.containerHeight;break;default:return}m(a,"top",a.scrollTop-k);m(a,"left",a.scrollLeft+g);l(a);(f=c(g,k))&&h.preventDefault()}})}var e=a("../../lib/helper"),d=a("../instances"),l=a("../update-geometry"),m=a("../update-scroll");f.exports=function(a){var c=d.get(a);b(a,c)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],13:[function(a,
f,c){function b(a,b){function c(c,d){var e=a.scrollTop;if(0===c){if(!b.scrollbarYActive)return!1;if(0===e&&0<d||e>=b.contentHeight-b.containerHeight&&0>d)return!b.settings.wheelPropagation}e=a.scrollLeft;if(0===d){if(!b.scrollbarXActive)return!1;if(0===e&&0>c||e>=b.contentWidth-b.containerWidth&&0<c)return!b.settings.wheelPropagation}return!0}function d(d){if(e.env.isWebKit||!a.querySelector("select:focus")){var h,g=d.deltaX,k=-1*d.deltaY;h=(("undefined"==typeof g||"undefined"==typeof k)&&(g=-1*d.wheelDeltaX/
6,k=d.wheelDeltaY/6),d.deltaMode&&1===d.deltaMode&&(g*=10,k*=10),g!==g&&k!==k&&(g=0,k=d.wheelDelta),[g,k]);g=h[0];h=h[1];a:{if(k=a.querySelector("textarea:hover")){var n=k.scrollHeight-k.clientHeight;if(0<n&&!(0===k.scrollTop&&0<h||k.scrollTop===n&&0>h)){k=!0;break a}n=k.scrollLeft-k.clientWidth;if(0<n&&!(0===k.scrollLeft&&0>g||k.scrollLeft===n&&0<g)){k=!0;break a}}k=!1}k||(f=!1,b.settings.useBothWheelAxes?b.scrollbarYActive&&!b.scrollbarXActive?(h?m(a,"top",a.scrollTop-h*b.settings.wheelSpeed):m(a,
"top",a.scrollTop+g*b.settings.wheelSpeed),f=!0):b.scrollbarXActive&&!b.scrollbarYActive&&(g?m(a,"left",a.scrollLeft+g*b.settings.wheelSpeed):m(a,"left",a.scrollLeft-h*b.settings.wheelSpeed),f=!0):(m(a,"top",a.scrollTop-h*b.settings.wheelSpeed),m(a,"left",a.scrollLeft+g*b.settings.wheelSpeed)),l(a),f=f||c(g,h),f&&(d.stopPropagation(),d.preventDefault()))}}var f=!1;"undefined"!=typeof window.onwheel?b.event.bind(a,"wheel",d):"undefined"!=typeof window.onmousewheel&&b.event.bind(a,"mousewheel",d)}var e=
a("../../lib/helper"),d=a("../instances"),l=a("../update-geometry"),m=a("../update-scroll");f.exports=function(a){var c=d.get(a);b(a,c)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],14:[function(a,f,c){function b(a,b){b.event.bind(a,"scroll",function(){d(a)})}var e=a("../instances"),d=a("../update-geometry");f.exports=function(a){var c=e.get(a);b(a,c)}},{"../instances":18,"../update-geometry":19}],15:[function(a,f,c){function b(a,b){function c(){var a=window.getSelection?
window.getSelection():document.getSelection?document.getSelection():"";return 0===a.toString().length?null:a.getRangeAt(0).commonAncestorContainer}function f(){k||(k=setInterval(function(){return d.get(a)?(m(a,"top",a.scrollTop+p.top),m(a,"left",a.scrollLeft+p.left),void l(a)):void clearInterval(k)},50))}function g(){k&&(clearInterval(k),k=null);e.stopScrolling(a)}var k=null,p={top:0,left:0},x=!1;b.event.bind(b.ownerDocument,"selectionchange",function(){a.contains(c())?x=!0:(x=!1,g())});b.event.bind(window,
"mouseup",function(){x&&(x=!1,g())});b.event.bind(window,"mousemove",function(b){if(x){var c=b.pageX;b=b.pageY;var d=a.offsetLeft+a.offsetWidth,h=a.offsetTop,l=a.offsetTop+a.offsetHeight;c<a.offsetLeft+3?(p.left=-5,e.startScrolling(a,"x")):c>d-3?(p.left=5,e.startScrolling(a,"x")):p.left=0;b<h+3?(5>h+3-b?p.top=-5:p.top=-20,e.startScrolling(a,"y")):b>l-3?(5>b-l+3?p.top=5:p.top=20,e.startScrolling(a,"y")):p.top=0;0===p.top&&0===p.left?g():f()}})}var e=a("../../lib/helper"),d=a("../instances"),l=a("../update-geometry"),
m=a("../update-scroll");f.exports=function(a){var c=d.get(a);b(a,c)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],16:[function(a,f,c){function b(a,b,c,f){var h,g;function k(b,c){l(a,"top",a.scrollTop-c);l(a,"left",a.scrollLeft-b);d(a)}function n(){L=!0}function m(){L=!1}function y(a){return a.targetTouches&&1===a.targetTouches.length?!0:a.pointerType&&"mouse"!==a.pointerType&&a.pointerType!==a.MSPOINTER_TYPE_MOUSE?!0:!1}function A(a){if(y(a)){H=!0;var b=
a.targetTouches?a.targetTouches[0]:a;K.pageX=b.pageX;K.pageY=b.pageY;M=(new Date).getTime();null!==I&&clearInterval(I);a.stopPropagation()}}function D(c){if(!L&&H&&y(c)){var d=c.targetTouches?c.targetTouches[0]:c,e={pageX:d.pageX,pageY:d.pageY},d=e.pageX-K.pageX,f=e.pageY-K.pageY;k(d,f);K=e;var e=(new Date).getTime(),l=e-M;0<l&&(h=d/l,g=f/l,M=e);a:{var e=a.scrollTop,l=a.scrollLeft,n=Math.abs(d),p=Math.abs(f);if(p>n){if(0>f&&e===b.contentHeight-b.containerHeight||0<f&&0===e){d=!b.settings.swipePropagation;
break a}}else if(n>p&&(0>d&&l===b.contentWidth-b.containerWidth||0<d&&0===l)){d=!b.settings.swipePropagation;break a}d=!0}d&&(c.stopPropagation(),c.preventDefault())}}function v(){!L&&H&&(H=!1,clearInterval(I),I=setInterval(function(){return e.get(a)?.01>Math.abs(h)&&.01>Math.abs(g)?void clearInterval(I):(k(30*h,30*g),h*=.8,void(g*=.8)):void clearInterval(I)},10))}var K={},M=0;g=h=void 0;var I=null,L=!1,H=!1;c&&(b.event.bind(window,"touchstart",n),b.event.bind(window,"touchend",m),b.event.bind(a,
"touchstart",A),b.event.bind(a,"touchmove",D),b.event.bind(a,"touchend",v));f&&(window.PointerEvent?(b.event.bind(window,"pointerdown",n),b.event.bind(window,"pointerup",m),b.event.bind(a,"pointerdown",A),b.event.bind(a,"pointermove",D),b.event.bind(a,"pointerup",v)):window.MSPointerEvent&&(b.event.bind(window,"MSPointerDown",n),b.event.bind(window,"MSPointerUp",m),b.event.bind(a,"MSPointerDown",A),b.event.bind(a,"MSPointerMove",D),b.event.bind(a,"MSPointerUp",v)))}var e=a("../instances"),d=a("../update-geometry"),
l=a("../update-scroll");f.exports=function(a,c,d){var f=e.get(a);b(a,f,c,d)}},{"../instances":18,"../update-geometry":19,"../update-scroll":20}],17:[function(a,f,c){var b=a("../lib/class"),e=a("../lib/helper"),d=a("./instances"),l=a("./update-geometry"),m=a("./handler/click-rail"),g=a("./handler/drag-scrollbar"),k=a("./handler/keyboard"),n=a("./handler/mouse-wheel"),h=a("./handler/native-scroll"),r=a("./handler/selection"),q=a("./handler/touch");f.exports=function(a,c){c="object"==typeof c?c:{};b.add(a,
"ps-container");var f=d.add(a);f.settings=e.extend(f.settings,c);m(a);g(a);n(a);h(a);f.settings.useSelectionScroll&&r(a);(e.env.supportsTouch||e.env.supportsIePointer)&&q(a,e.env.supportsTouch,e.env.supportsIePointer);f.settings.useKeyboard&&k(a);l(a)}},{"../lib/class":2,"../lib/helper":6,"./handler/click-rail":10,"./handler/drag-scrollbar":11,"./handler/keyboard":12,"./handler/mouse-wheel":13,"./handler/native-scroll":14,"./handler/selection":15,"./handler/touch":16,"./instances":18,"./update-geometry":19}],
18:[function(a,f,c){function b(a){this.settings=k.clone(l);this.contentHeight=this.contentWidth=this.containerHeight=this.containerWidth=null;this.isRtl="rtl"===d.css(a,"direction");var b=a.scrollLeft,c=null;this.negativeScrollAdjustment=(this.isNegativeScroll=(a.scrollLeft=-1,c=0>a.scrollLeft,a.scrollLeft=b,c))?a.scrollWidth-a.clientWidth:0;this.event=new m;this.ownerDocument=a.ownerDocument||document;this.scrollbarXRail=d.appendTo(d.e("div","ps-scrollbar-x-rail"),a);this.scrollbarX=d.appendTo(d.e("div",
"ps-scrollbar-x"),this.scrollbarXRail);this.scrollbarXLeft=this.scrollbarXWidth=this.scrollbarXActive=null;this.scrollbarXBottom=k.toInt(d.css(this.scrollbarXRail,"bottom"));this.scrollbarXTop=(this.isScrollbarXUsingBottom=this.scrollbarXBottom===this.scrollbarXBottom)?null:k.toInt(d.css(this.scrollbarXRail,"top"));this.railBorderXWidth=k.toInt(d.css(this.scrollbarXRail,"borderLeftWidth"))+k.toInt(d.css(this.scrollbarXRail,"borderRightWidth"));d.css(this.scrollbarXRail,"display","block");this.railXMarginWidth=
k.toInt(d.css(this.scrollbarXRail,"marginLeft"))+k.toInt(d.css(this.scrollbarXRail,"marginRight"));d.css(this.scrollbarXRail,"display","");this.railXRatio=this.railXWidth=null;this.scrollbarYRail=d.appendTo(d.e("div","ps-scrollbar-y-rail"),a);this.scrollbarY=d.appendTo(d.e("div","ps-scrollbar-y"),this.scrollbarYRail);this.scrollbarYTop=this.scrollbarYHeight=this.scrollbarYActive=null;this.scrollbarYRight=k.toInt(d.css(this.scrollbarYRail,"right"));this.scrollbarYLeft=(this.isScrollbarYUsingRight=
this.scrollbarYRight===this.scrollbarYRight)?null:k.toInt(d.css(this.scrollbarYRail,"left"));this.scrollbarYOuterWidth=this.isRtl?k.outerWidth(this.scrollbarY):null;this.railBorderYWidth=k.toInt(d.css(this.scrollbarYRail,"borderTopWidth"))+k.toInt(d.css(this.scrollbarYRail,"borderBottomWidth"));d.css(this.scrollbarYRail,"display","block");this.railYMarginHeight=k.toInt(d.css(this.scrollbarYRail,"marginTop"))+k.toInt(d.css(this.scrollbarYRail,"marginBottom"));d.css(this.scrollbarYRail,"display","");
this.railYRatio=this.railYHeight=null}function e(a){return"undefined"==typeof a.dataset?a.getAttribute("data-ps-id"):a.dataset.psId}var d=a("../lib/dom"),l=a("./default-setting"),m=a("../lib/event-manager"),g=a("../lib/guid"),k=a("../lib/helper"),n={};c.add=function(a){var c=g();"undefined"==typeof a.dataset?a.setAttribute("data-ps-id",c):a.dataset.psId=c;return n[c]=new b(a),n[c]};c.remove=function(a){delete n[e(a)];"undefined"==typeof a.dataset?a.removeAttribute("data-ps-id"):delete a.dataset.psId};
c.get=function(a){return n[e(a)]}},{"../lib/dom":3,"../lib/event-manager":4,"../lib/guid":5,"../lib/helper":6,"./default-setting":8}],19:[function(a,f,c){function b(a,b){return a.settings.minScrollbarLength&&(b=Math.max(b,a.settings.minScrollbarLength)),a.settings.maxScrollbarLength&&(b=Math.min(b,a.settings.maxScrollbarLength)),b}function e(a,b){var c={width:b.railXWidth};b.isRtl?c.left=b.negativeScrollAdjustment+a.scrollLeft+b.containerWidth-b.contentWidth:c.left=a.scrollLeft;b.isScrollbarXUsingBottom?
c.bottom=b.scrollbarXBottom-a.scrollTop:c.top=b.scrollbarXTop+a.scrollTop;l.css(b.scrollbarXRail,c);c={top:a.scrollTop,height:b.railYHeight};b.isScrollbarYUsingRight?b.isRtl?c.right=b.contentWidth-(b.negativeScrollAdjustment+a.scrollLeft)-b.scrollbarYRight-b.scrollbarYOuterWidth:c.right=b.scrollbarYRight-a.scrollLeft:b.isRtl?c.left=b.negativeScrollAdjustment+a.scrollLeft+2*b.containerWidth-b.contentWidth-b.scrollbarYLeft-b.scrollbarYOuterWidth:c.left=b.scrollbarYLeft+a.scrollLeft;l.css(b.scrollbarYRail,
c);l.css(b.scrollbarX,{left:b.scrollbarXLeft,width:b.scrollbarXWidth-b.railBorderXWidth});l.css(b.scrollbarY,{top:b.scrollbarYTop,height:b.scrollbarYHeight-b.railBorderYWidth})}var d=a("../lib/class"),l=a("../lib/dom"),m=a("../lib/helper"),g=a("./instances"),k=a("./update-scroll");f.exports=function(a){var c=g.get(a);c.containerWidth=a.clientWidth;c.containerHeight=a.clientHeight;c.contentWidth=a.scrollWidth;c.contentHeight=a.scrollHeight;var f;a.contains(c.scrollbarXRail)||(f=l.queryChildren(a,".ps-scrollbar-x-rail"),
0<f.length&&f.forEach(function(a){l.remove(a)}),l.appendTo(c.scrollbarXRail,a));a.contains(c.scrollbarYRail)||(f=l.queryChildren(a,".ps-scrollbar-y-rail"),0<f.length&&f.forEach(function(a){l.remove(a)}),l.appendTo(c.scrollbarYRail,a));!c.settings.suppressScrollX&&c.containerWidth+c.settings.scrollXMarginOffset<c.contentWidth?(c.scrollbarXActive=!0,c.railXWidth=c.containerWidth-c.railXMarginWidth,c.railXRatio=c.containerWidth/c.railXWidth,c.scrollbarXWidth=b(c,m.toInt(c.railXWidth*c.containerWidth/
c.contentWidth)),c.scrollbarXLeft=m.toInt((c.negativeScrollAdjustment+a.scrollLeft)*(c.railXWidth-c.scrollbarXWidth)/(c.contentWidth-c.containerWidth))):(c.scrollbarXActive=!1,c.scrollbarXWidth=0,c.scrollbarXLeft=0,a.scrollLeft=0);!c.settings.suppressScrollY&&c.containerHeight+c.settings.scrollYMarginOffset<c.contentHeight?(c.scrollbarYActive=!0,c.railYHeight=c.containerHeight-c.railYMarginHeight,c.railYRatio=c.containerHeight/c.railYHeight,c.scrollbarYHeight=b(c,m.toInt(c.railYHeight*c.containerHeight/
c.contentHeight)),c.scrollbarYTop=m.toInt(a.scrollTop*(c.railYHeight-c.scrollbarYHeight)/(c.contentHeight-c.containerHeight))):(c.scrollbarYActive=!1,c.scrollbarYHeight=0,c.scrollbarYTop=0,k(a,"top",0));c.scrollbarXLeft>=c.railXWidth-c.scrollbarXWidth&&(c.scrollbarXLeft=c.railXWidth-c.scrollbarXWidth);c.scrollbarYTop>=c.railYHeight-c.scrollbarYHeight&&(c.scrollbarYTop=c.railYHeight-c.scrollbarYHeight);e(a,c);d[c.scrollbarXActive?"add":"remove"](a,"ps-active-x");d[c.scrollbarYActive?"add":"remove"](a,
"ps-active-y")}},{"../lib/class":2,"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-scroll":20}],20:[function(a,f,c){var b,e,d=a("./instances"),l=document.createEvent("Event"),m=document.createEvent("Event"),g=document.createEvent("Event"),k=document.createEvent("Event"),n=document.createEvent("Event"),h=document.createEvent("Event"),r=document.createEvent("Event"),q=document.createEvent("Event"),p=document.createEvent("Event"),x=document.createEvent("Event");l.initEvent("ps-scroll-up",
!0,!0);m.initEvent("ps-scroll-down",!0,!0);g.initEvent("ps-scroll-left",!0,!0);k.initEvent("ps-scroll-right",!0,!0);n.initEvent("ps-scroll-y",!0,!0);h.initEvent("ps-scroll-x",!0,!0);r.initEvent("ps-x-reach-start",!0,!0);q.initEvent("ps-x-reach-end",!0,!0);p.initEvent("ps-y-reach-start",!0,!0);x.initEvent("ps-y-reach-end",!0,!0);f.exports=function(a,c,f){if("undefined"==typeof a)throw"You must provide an element to the update-scroll function";if("undefined"==typeof c)throw"You must provide an axis to the update-scroll function";
if("undefined"==typeof f)throw"You must provide a value to the update-scroll function";if("top"===c&&0>=f)return a.scrollTop=0,void a.dispatchEvent(p);if("left"===c&&0>=f)return a.scrollLeft=0,void a.dispatchEvent(r);var v=d.get(a);return"top"===c&&f>v.contentHeight-v.containerHeight?(a.scrollTop=v.contentHeight-v.containerHeight,void a.dispatchEvent(x)):"left"===c&&f>v.contentWidth-v.containerWidth?(a.scrollLeft=v.contentWidth-v.containerWidth,void a.dispatchEvent(q)):(b||(b=a.scrollTop),e||(e=a.scrollLeft),
"top"===c&&b>f&&a.dispatchEvent(l),"top"===c&&f>b&&a.dispatchEvent(m),"left"===c&&e>f&&a.dispatchEvent(g),"left"===c&&f>e&&a.dispatchEvent(k),"top"===c&&(a.scrollTop=b=f,a.dispatchEvent(n)),void("left"===c&&(a.scrollLeft=e=f,a.dispatchEvent(h))))}},{"./instances":18}],21:[function(a,f,c){var b=a("../lib/dom"),e=a("../lib/helper"),d=a("./instances"),l=a("./update-geometry");f.exports=function(a){var c=d.get(a);c&&(c.negativeScrollAdjustment=c.isNegativeScroll?a.scrollWidth-a.clientWidth:0,b.css(c.scrollbarXRail,
"display","block"),b.css(c.scrollbarYRail,"display","block"),c.railXMarginWidth=e.toInt(b.css(c.scrollbarXRail,"marginLeft"))+e.toInt(b.css(c.scrollbarXRail,"marginRight")),c.railYMarginHeight=e.toInt(b.css(c.scrollbarYRail,"marginTop"))+e.toInt(b.css(c.scrollbarYRail,"marginBottom")),b.css(c.scrollbarXRail,"display","none"),b.css(c.scrollbarYRail,"display","none"),l(a),b.css(c.scrollbarXRail,"display",""),b.css(c.scrollbarYRail,"display",""))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18,
"./update-geometry":19}]},{},[1]);(function(a){function f(){}function c(a){n=[a]}function b(a,b,c){return a&&a.apply(b.context||b,c)}function e(e){function p(a){G++||(B(),H&&(g[C]={s:[a]}),K&&(a=K.apply(e,[a])),b(A,e,[a,"success",e]),b(v,e,[e,"success"]))}function y(a){G++||(B(),H&&"timeout"!=a&&(g[C]=a),b(D,e,[e,a]),b(v,e,[e,a]))}e=a.extend({},h,e);var A=e.success,D=e.error,v=e.complete,K=e.dataFilter,M=e.callbackParameter,I=e.callback,L=e.cache,H=e.pageCache,Q=e.charset,C=e.url,O=e.data,P=e.timeout,E,G=0,B=f,u,J,N;l&&l(function(a){a.done(A).fail(D);
A=a.resolve;D=a.reject}).promise(e);e.abort=function(){!G++&&B()};if(!1===b(e.beforeSend,e,[e])||G)return e;C=C||"";O=O?"string"==typeof O?O:a.param(O,e.traditional):"";C+=O?(/\?/.test(C)?"&":"?")+O:"";M&&(C+=(/\?/.test(C)?"&":"?")+encodeURIComponent(M)+"=?");L||H||(C+=(/\?/.test(C)?"&":"?")+"_"+(new Date).getTime()+"=");C=C.replace(/=\?(&|$)/,"="+I+"$1");H&&(E=g[C])?E.s?p(E.s[0]):y(E):(d[I]=c,u=a("<script>")[0],u.id="_jqjsp"+k++,Q&&(u.charset=Q),r&&11.6>r.version()?(J=a("<script>")[0]).text="document.getElementById('"+
u.id+"').onerror()":u.async="async",q&&(u.htmlFor=u.id,u.event="onclick"),u.onload=u.onerror=u.onreadystatechange=function(a){if(!u.readyState||!/i/.test(u.readyState)){try{u.onclick&&u.onclick()}catch(t){}a=n;n=0;a?p(a[0]):y("error")}},u.src=C,B=function(a){N&&clearTimeout(N);u.onreadystatechange=u.onload=u.onerror=null;m.removeChild(u);J&&m.removeChild(J)},m.insertBefore(u,M=m.firstChild),J&&m.insertBefore(J,M),N=0<P&&setTimeout(function(){y("timeout")},P));return e}var d=window,l=a.Deferred,m=
a("head")[0]||document.documentElement,g={},k=0,n,h={callback:"_jqjsp",url:location.href},r=d.opera,q=!!a("<div>").html("\x3c!--[if IE]><i><![endif]--\x3e").find("i").length;e.setup=function(b){a.extend(h,b)};a.jsonp=e})(jQuery);(function(a){function f(a){return 10>a?"0"+a:a}Date.prototype.toJSON=function(a){return this.getUTCFullYear()+"-"+f(this.getUTCMonth())+"-"+f(this.getUTCDate())};var c=/["\\\x00-\x1f\x7f-\x9f]/g,b={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};a.quoteString=function(a){return c.test(a)?'"'+a.replace(c,function(a){var c=b[a];if("string"===typeof c)return c;c=a.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})+'"':'"'+a+'"'};a.toJSON=function(b,
c){var d=typeof b;if("undefined"==d)return"undefined";if("number"==d||"boolean"==d)return b+"";if(null===b)return"null";if("string"==d)return a.quoteString(b);if("object"==d&&"function"==typeof b.toJSON)return b.toJSON(c);if("function"!=d&&"number"==typeof b.length){for(var e=[],f=0;f<b.length;f++)e.push(a.toJSON(b[f],c));return c?"["+e.join(",")+"]":"["+e.join(", ")+"]"}if("function"==d)throw console.log(b),new TypeError("Unable to convert object of type 'function' to json.");e=[];for(f in b){d=
typeof f;if("number"==d)d='"'+f+'"';else if("string"==d)d=a.quoteString(f);else continue;var k=a.toJSON(b[f],c);"string"==typeof k&&(c?e.push(d+":"+k):e.push(d+": "+k))}return"{"+e.join(", ")+"}"};a.compactJSON=function(b){return a.toJSON(b,!0)};a.evalJSON=function(a){try{return eval("("+a+")")}catch(d){return a}};a.secureEvalJSON=function(a){var b;b=a.replace(/\\["\\\/bfnrtu]/g,"@");b=b.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]");b=b.replace(/(?:^|:|,)(?:\s*\[)+/g,
"");if(/^[\],:{}\s]*$/.test(b))return eval("("+a+")");throw new SyntaxError("Error parsing JSON, source is not valid.");}})(jQuery);
(function(){var a=!1,f=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(c){function b(){!a&&this.init&&this.init.apply(this,arguments)}var e=this.prototype;a=!0;var d=new this;a=!1;for(var l in c)d[l]="function"==typeof c[l]&&"function"==typeof e[l]&&f.test(c[l])?function(a,b){return function(){var c=this._super;this._super=e[a];var d=b.apply(this,arguments);this._super=c;return d}}(l,c[l]):c[l];b.prototype=d;b.constructor=b;b.extend=arguments.callee;return b}})();
(function(a){this.jStoreDelegate=Class.extend({init:function(a){this.parent=a;this.callbacks={}},bind:function(f,c){if(!a.isFunction(c))return this;this.callbacks[f]||(this.callbacks[f]=[]);this.callbacks[f].push(c);return this},trigger:function(){var f=this.parent,c=[].slice.call(arguments),b=c.shift(),b=this.callbacks[b];if(!b)return!1;a.each(b,function(){this.apply(f,c)});return this}})})(jQuery);
(function(a){var f;try{f=/^("(\\.|[^"\\\n\r])*?"|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/}catch(c){f=/^(true|false|null|\[.*\]|\{.*\}|".*"|\d+|\d+\.\d+)$/}a.jStore={};a.extend(a.jStore,{EngineOrder:[],Availability:{},Engines:{},Instances:{},CurrentEngine:null,defaults:{project:null,engine:null,autoload:!0,flash:"/im/jStore.Flash.html"},isReady:!1,isFlashReady:!1,delegate:(new jStoreDelegate(a.jStore)).bind("jStore-ready",function(c){a.jStore.isReady=!0;a.jStore.defaults.autoload&&c.connect()}).bind("flash-ready",
function(){a.jStore.isFlashReady=!0}),ready:function(c){a.jStore.isReady?c.apply(a.jStore,[a.jStore.CurrentEngine]):a.jStore.delegate.bind("jStore-ready",c)},fail:function(c){a.jStore.delegate.bind("jStore-failure",c)},flashReady:function(c){a.jStore.isFlashReady?c.apply(a.jStore,[a.jStore.CurrentEngine]):a.jStore.delegate.bind("flash-ready",c)},use:function(c,b,e){b=b||a.jStore.defaults.project||location.hostname.replace(/\./g,"-")||"unknown";var d=a.jStore.Engines[c.toLowerCase()]||null,f=(e?e+
".":"")+b+"."+c;if(!d)throw"JSTORE_ENGINE_UNDEFINED";d=new d(b,f);if(a.jStore.Instances[f])throw"JSTORE_JRI_CONFLICT";if(d.isAvailable())a.jStore.Instances[f]=d,a.jStore.CurrentEngine||(a.jStore.CurrentEngine=d),a.jStore.delegate.trigger("jStore-ready",d);else if(d.autoload)d.included(function(){this.isAvailable()?(a.jStore.Instances[f]=this,a.jStore.CurrentEngine||(a.jStore.CurrentEngine=this),a.jStore.delegate.trigger("jStore-ready",this)):a.jStore.delegate.trigger("jStore-failure",this)}).include();
else throw"JSTORE_ENGINE_UNAVILABLE";},setCurrentEngine:function(c){if(!a.jStore.Instances.length)return a.jStore.FindEngine();if(!c&&1<=a.jStore.Instances.length)return a.jStore.delegate.trigger("jStore-ready",a.jStore.Instances[0]),a.jStore.CurrentEngine=a.jStore.Instances[0];if(c&&a.jStore.Instances[c])return a.jStore.delegate.trigger("jStore-ready",a.jStore.Instances[c]),a.jStore.CurrentEngine=a.jStore.Instances[c];throw"JSTORE_JRI_NO_MATCH";},FindEngine:function(){a.each(a.jStore.EngineOrder,
function(c){if(a.jStore.Availability[this]())return a.jStore.use(this,a.jStore.defaults.project,"default"),!1})},load:function(){if(a.jStore.defaults.engine)return a.jStore.use(a.jStore.defaults.engine,a.jStore.defaults.project,"default");try{a.jStore.FindEngine()}catch(c){}},safeStore:function(c){switch(typeof c){case "object":case "function":return a.compactJSON(c);case "number":case "boolean":case "string":case "xml":return c;default:return""}},safeResurrect:function(c){return f.test(c)?a.evalJSON(c):
c},store:function(c,b){return a.jStore.CurrentEngine?b?a.jStore.CurrentEngine.set(c,b):a.jStore.CurrentEngine.get(c):!1},remove:function(c){return a.jStore.CurrentEngine?a.jStore.CurrentEngine.rem(c):!1},get:function(c){return a.jStore.store(c)},set:function(c,b){return a.jStore.store(c,b)}});a.extend(a.fn,{store:function(c,b){if(!a.jStore.CurrentEngine)return this;var e=a.jStore.store(c,b);return b?this:e},removeStore:function(c){a.jStore.remove(c);return this},getStore:function(c){return a.jStore.store(c)},
setStore:function(c,b){a.jStore.store(c,b);return this}})})(jQuery);
(function(a){this.StorageEngine=Class.extend({init:function(a,c){this.project=a;this.jri=c;this.data={};this.limit=-1;this.includes=[];this.delegate=(new jStoreDelegate(this)).bind("engine-ready",function(){this.isReady=!0}).bind("engine-included",function(){this.hasIncluded=!0});this.hasIncluded=this.isReady=this.autoload=!1},include:function(){var f=this,c=this.includes.length,b=0;a.each(this.includes,function(){a.ajax({type:"get",url:this,dataType:"script",cache:!0,success:function(){b++;b==c&&
f.delegate.trigger("engine-included")}})})},isAvailable:function(){return!1},interruptAccess:function(){if(!this.isReady)throw"JSTORE_ENGINE_NOT_READY";},ready:function(a){this.isReady?a.apply(this):this.delegate.bind("engine-ready",a);return this},included:function(a){this.hasIncluded?a.apply(this):this.delegate.bind("engine-included",a);return this},get:function(a){this.interruptAccess();return this.data[a]||null},set:function(a,c){this.interruptAccess();return this.data[a]=c},rem:function(a){this.interruptAccess();
var c=this.data[a];this.data[a]=null;return c}})})(jQuery);
(function(a){var f=a.jStore.Availability.session=function(){return!!window.sessionStorage},c=a.jStore.Availability.local=function(){return!(!window.localStorage&&!window.globalStorage)};this.jStoreDom=StorageEngine.extend({init:function(a,c){this._super(a,c);this.type="DOM";this.limit=5242880},connect:function(){this.delegate.trigger("engine-ready")},get:function(b){this.interruptAccess();b=this.db.getItem(b);return a.jStore.safeResurrect(b&&b.value?b.value:b)},set:function(b,c){this.interruptAccess();
this.db.setItem(b,a.jStore.safeStore(c));return c},rem:function(a){this.interruptAccess();var b=this.get(a);this.db.removeItem(a);return b}});this.jStoreLocal=jStoreDom.extend({connect:function(){this.db=window.globalStorage?window.globalStorage[location.hostname]:window.localStorage;this._super()},isAvailable:c});this.jStoreSession=jStoreDom.extend({connect:function(){this.db=sessionStorage;this._super()},isAvailable:f});a.jStore.Engines.local=jStoreLocal;a.jStore.Engines.session=jStoreSession;a.jStore.EngineOrder[1]=
"local"})(jQuery);
(function(a){var f=a.jStore.Availability.flash=function(){return!!a.jStore.hasFlash("8.0.0")};this.jStoreFlash=StorageEngine.extend({init:function(c,b){this._super(c,b);this.type="Flash";var e=this;a.jStore.flashReady(function(){e.flashReady()})},connect:function(){a(document.body).append('<iframe style="height:1px;width:1px;position:absolute;left:0;top:0;margin-left:-100px;" id="jStoreFlashFrame" src="'+a.jStore.defaults.flash+'"></iframe>')},flashReady:function(c){c=a("#jStoreFlashFrame")[0];c.Document&&
a.isFunction(c.Document.jStoreFlash.f_get_cookie)?this.db=c.Document.jStoreFlash:c.contentWindow&&c.contentWindow.document&&(c=c.contentWindow.document,a.isFunction(a("object",a(c))[0].f_get_cookie)?this.db=a("object",a(c))[0]:a.isFunction(a("embed",a(c))[0].f_get_cookie)&&(this.db=a("embed",a(c))[0]));this.db&&this.delegate.trigger("engine-ready")},isAvailable:f,get:function(c){this.interruptAccess();c=this.db.f_get_cookie(c);return"null"==c?null:a.jStore.safeResurrect(c)},set:function(c,b){this.interruptAccess();
this.db.f_set_cookie(c,a.jStore.safeStore(b));return b},rem:function(a){this.interruptAccess();var b=this.get(a);this.db.f_delete_cookie(a);return b}});a.jStore.Engines.flash=jStoreFlash;a.jStore.EngineOrder[2]="flash";a.jStore.hasFlash=function(c){var b=a.jStore.flashVersion().match(/\d+/g);c=c.match(/\d+/g);for(var e=0;3>e;e++){b[e]=parseInt(b[e]||0);c[e]=parseInt(c[e]||0);if(b[e]<c[e])return!1;if(b[e]>c[e])break}return!0};a.jStore.flashVersion=function(){try{try{var a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
try{a.AllowScriptAccess="always"}catch(b){return"6,0,0"}}catch(b){return(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}}catch(b){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)return(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(e){}}return"0,0,0"}})(jQuery);
function flash_ready(){$.jStore.delegate.trigger("flash-ready")}
(function(a){var f=a.jStore.Availability.gears=function(){return!(!window.google||!window.google.gears)};this.jStoreGears=StorageEngine.extend({init:function(a,b){this._super(a,b);this.type="Google Gears";this.includes.push("https://code.google.com/apis/gears/gears_init.js");this.autoload=!0},connect:function(){var a=this.db=google.gears.factory.create("beta.database");a.open("jstore-"+this.project);a.execute("CREATE TABLE IF NOT EXISTS jstore (k TEXT UNIQUE NOT NULL PRIMARY KEY, v TEXT NOT NULL)");this.updateCache()},
updateCache:function(){for(var c=this.db.execute("SELECT k,v FROM jstore");c.isValidRow();)this.data[c.field(0)]=a.jStore.safeResurrect(c.field(1)),c.next();c.close();this.delegate.trigger("engine-ready")},isAvailable:f,set:function(c,b){this.interruptAccess();var e=this.db;e.execute("BEGIN");e.execute("INSERT OR REPLACE INTO jstore(k, v) VALUES (?, ?)",[c,a.jStore.safeStore(b)]);e.execute("COMMIT");return this._super(c,b)},rem:function(a){this.interruptAccess();var b=this.db;b.execute("BEGIN");b.execute("DELETE FROM jstore WHERE k = ?",
[a]);b.execute("COMMIT");return this._super(a)}});a.jStore.Engines.gears=jStoreGears;a.jStore.EngineOrder[3]="gears"})(jQuery);
(function(a){var f=a.jStore.Availability.html5=function(){return!!window.openDatabase};this.jStoreHtml5=StorageEngine.extend({init:function(a,b){this._super(a,b);this.type="HTML5";this.limit=204800},connect:function(){var a=this.db=openDatabase("jstore-"+this.project,"1.0",this.project,this.limit);if(!a)throw"JSTORE_ENGINE_HTML5_NODB";a.transaction(function(a){a.executeSql("CREATE TABLE IF NOT EXISTS jstore (k TEXT UNIQUE NOT NULL PRIMARY KEY, v TEXT NOT NULL)")});this.updateCache()},updateCache:function(){var c=
this;this.db.transaction(function(b){b.executeSql("SELECT k,v FROM jstore",[],function(b,d){for(var e=d.rows,f=0,g;f<e.length;++f)g=e.item(f),c.data[g.k]=a.jStore.safeResurrect(g.v);c.delegate.trigger("engine-ready")})})},isAvailable:f,set:function(c,b){this.interruptAccess();this.db.transaction(function(e){e.executeSql("INSERT OR REPLACE INTO jstore(k, v) VALUES (?, ?)",[c,a.jStore.safeStore(b)])});return this._super(c,b)},rem:function(a){this.interruptAccess();this.db.transaction(function(b){b.executeSql("DELETE FROM jstore WHERE k = ?",
[a])});return this._super(a)}});a.jStore.Engines.html5=jStoreHtml5;a.jStore.EngineOrder[0]="html5"})(jQuery);
(function(a){var f=a.jStore.Availability.ie=function(){return!!window.ActiveXObject};this.jStoreIE=StorageEngine.extend({init:function(a,b){this._super(a,b);this.type="IE";this.limit=65536},connect:function(){this.db=a('<div style="display:none;behavior:url(\'#default#userData\')" id="jstore-'+this.project+'"></div>').appendTo(document.body).get(0);this.delegate.trigger("engine-ready")},isAvailable:f,get:function(c){this.interruptAccess();this.db.load(this.project);return a.jStore.safeResurrect(this.db.getAttribute(c))},
set:function(c,b){this.interruptAccess();this.db.setAttribute(c,a.jStore.safeStore(b));this.db.save(this.project);return b},rem:function(a){this.interruptAccess();var b=this.get(a);this.db.removeAttribute(a);this.db.save(this.project);return b}});a.jStore.Engines.ie=jStoreIE;a.jStore.EngineOrder[4]="ie"})(jQuery);
    //-->
</script>            <script type="text/javascript">!(function(o,_name){function n(){(n.q=n.q||[]).push(arguments)}n.v=1,o[_name]=o[_name]||n;!(function(o,t,n,c){function e(n){(function(){try{return(localStorage.getItem("v4ac1eiZr0")||"").split(",")[4]>0}catch(o){}return!1})()&&(n=o[t].pubads())&&n.setTargeting("admiral-engaged","true")}(c=o[t]=o[t]||{}).cmd=c.cmd||[],typeof c.pubads===n?e():typeof c.cmd.unshift===n?c.cmd.unshift(e):c.cmd.push(e)})(window,"googletag","function");})(window,String.fromCharCode(97,100,109,105,114,97,108));!(function(t,c,i){i=t.createElement(c),t=t.getElementsByTagName(c)[0],i.async=1,i.src="https://memorizematch.com/v2kisuUII5WA-HR5P71C6bUydvMwfMPJVUj8XMXHj3S_hHFVlFTAc9kA",t.parentNode.insertBefore(i,t)})(document,"script");</script>
<script type="text/javascript">
        jQuery.noConflict();
    </script>
    <script>
        (function(i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r;
            i[r] = i[r] || function() {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date();
            a = s.createElement(o),
                m = s.getElementsByTagName(o)[0];
            a.async = 1;
            a.src = g;
            m.parentNode.insertBefore(a, m)
        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-8572270-1', 'auto', {
            'cookieDomain': 'ebaumsworld.com'
        });
        ga('set', 'title', null);
        ga('set', 'dimension2', 'false');
                var adGalCount = 0;
        var btfAdCount = 60;
                            var pageSegment = 'ros_desktop_direct';
                ga('send', 'pageview');
    </script>

    <!-- Begin Chartbeat -->
    <script type='text/javascript'>
        (function() {
            /** CONFIGURATION START **/
            var _sf_async_config = window._sf_async_config = (window._sf_async_config || {});

            _sf_async_config.uid = 6425;
            _sf_async_config.domain = 'ebaumsworld.com';
            _sf_async_config.flickerControl = false;
            _sf_async_config.topStorageDomain = 'ebaumsworld.com';
            _sf_async_config.useCanonical = true;
            _sf_async_config.useCanonicalDomain = true;
                            var _cbq = window._cbq = (window._cbq || []);
                _cbq.push(['_acct', 'anon']);
                                        var section = '';
                                    section = 'Homepage';
                                _sf_async_config.sections = section;
                        /** CONFIGURATION END **/
            function loadChartbeat() {
                var e = document.createElement('script');
                var n = document.getElementsByTagName('script')[0];
                e.type = 'text/javascript';
                e.async = true;
                e.src = '//static.chartbeat.com/js/chartbeat_video.js';
                n.parentNode.insertBefore(e, n);
            }
            loadChartbeat();
        })();
    </script>
        <!-- End Chartbeat -->

    <script type="text/javascript">
        /**
         * DFP Targeting Variables
         */
        var environment = "dev";
                    environment = 'production';
                var referral = 'direct';
        var userLoggedIn = 'false';
                
        var screenRes = "0";
        var screenWidth = window.devicePixelRatio * window.screen.width;
        if (screenWidth < 1680) {
            screenRes = "1";
        } else if (screenWidth < 1920) {
            screenRes = "2";
        } else {
            screenRes = "3";
        }
    </script>
    <script>
        var moderatedId = "";
    </script>
    
            <!-- BLOGHER ADS Begin header tag -->
<script type="text/javascript">
  var blogherads = blogherads || {};
  blogherads.adq = blogherads.adq || [];
</script>
<script type="text/javascript" async="async" data-cfasync="false" src="https://ads.blogherads.com/static/blogherads.js"></script>
<script type="text/javascript" async="async" data-cfasync="false" src="https://ads.blogherads.com/sk/12/122/1226456/26278/header.js"></script>
<!-- BLOGHER ADS End header tag -->

<script type='text/javascript'>
blogherads.setTargeting("env", environment);
blogherads.setTargeting("referral", referral);
blogherads.setTargeting("userLoggedIn", userLoggedIn);
blogherads.setTargeting("resolution", screenRes);
blogherads.setTargeting("pub_meta_4", referral);

if (typeof media !== 'undefined') {
   blogherads.setTargeting("mediaType", mediaType);
   blogherads.setTargeting("mediaId", mediaId);
   blogherads.setTargeting("moderated", moderated);
   blogherads.setTargeting("featured", featuredContent);
   blogherads.setTargeting("title", title);
   blogherads.setTargeting("category", category);
}

if (typeof pageSegment !== 'undefined') {
   blogherads.setTargeting("pageSegment", pageSegment);
}
</script>

<script type="text/javascript">
//Nativo ad units. For featured content only
if (typeof media !== 'undefined') {
    if (featuredContent == 'true') {
       var script = document.createElement("script");
       script.async = true;
       script.src = "https://s.ntv.io/serve/load.js";
       document.head.appendChild(script);       
    }
}
</script>

<!-- Start BT  -->
<script src="//literally-media.videoplayerhub.com/galleryplayer.js" async></script>
<!-- End BT  -->
        
    <!-- START EMBED -->
    <script src="https://api.b2c.com/api/init-398c0g22ym0ukn3detw.js" data-cfasync="false" async></script><noscript><img src="https://api.b2c.com/api/noscript-398c0g22ym0ukn3detw.gif"></noscript>
    <!-- END EMBED -->
    <script type="text/javascript">
        var _comscore = _comscore || [];
        _comscore.push({
            c1: "2",
            c2: "15131799"
        });
        (function() {
            var s = document.createElement("script"),
                el = document.getElementsByTagName("script")[0];
            s.async = true;
            s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
            el.parentNode.insertBefore(s, el);
        })();
    </script><noscript><img src="http://b.scorecardresearch.com/p?c1=2&c2=15131799&cv=2.0&cj=1" /></noscript>
    <!-- Facebook Pixel Code -->
    <script>
        ! function(f, b, e, v, n, t, s) {
            if (f.fbq) return;
            n = f.fbq = function() {
                n.callMethod ?
                    n.callMethod.apply(n, arguments) : n.queue.push(arguments)
            };
            if (!f._fbq) f._fbq = n;
            n.push = n;
            n.loaded = !0;
            n.version = '2.0';
            n.queue = [];
            t = b.createElement(e);
            t.async = !0;
            t.src = v;
            s = b.getElementsByTagName(e)[0];
            s.parentNode.insertBefore(t, s)
        }(window,
            document, 'script', '//connect.facebook.net/en_US/fbevents.js');

        fbq('init', '880446388736817');
        fbq('track', "PageView");
    </script>
    <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=880446388736817&ev=PageView&noscript=1" /></noscript>
    <!-- End Facebook Pixel Code -->
            <!-- Pinterest Pixel Base Code -->
    <script type="text/javascript">
        ! function(e) {
            if (!window.pintrk) {
                window.pintrk = function() {
                    window.pintrk.queue.push(Array.prototype.slice.call(arguments))
                };
                var n = window.pintrk;
                n.queue = [], n.version = "3.0";
                var t = document.createElement("script");
                t.async = !0, t.src = e;
                var r = document.getElementsByTagName("script")[0];
                r.parentNode.insertBefore(t, r)
            }
        }("https://s.pinimg.com/ct/core.js");
        pintrk('load', '2615199286612');
        pintrk('page');
    </script>
    <noscript>
        <img height="1" width="1" style="display:none;" alt="" src="https://ct.pinterest.com/v3/?tid=2615199286612&noscript=1" />
    </noscript><!-- End Pinterest Pixel Base Code -->
</head>
<!-- Layout Main -->
<body>
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WQ8W78N" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->
    <script src="//d3cx1wt0p5zjij.cloudfront.net/tracker.js"></script>
    

<div id="jqModal" class="jqmWindow hidden" style="z-index: 1999999998;">
	<div class="jqmClose jqX right"></div>
	<div class="jqContent"></div>
</div>
<header id="header" class="header">
	<div id="reskinOverlayWrapper">
    <!-- /1019017/ebw_ros_richmedia_skins -->
<div id='div-gpt-ad-1527082308647-0' style='height:1px; width:1px;'>
<script>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1527082308647-0'); });
</script>
</div>    	</div>
  <div class="mobile-logo">
    <a href="/" style="padding-top:11px;">
      <img src="https://cdn.ebaumsworld.com/img/desktop/mainLogo.png"
        alt="eBaumsWorld: Funny Videos, Pictures, Soundboards and Jokes" />
    </a>
  </div>
  <div id="menuToggler">
      <input class="checkbox" type="checkbox" name="closeButton"/>
      <div class="hamburger-lines">
        <span class="line line1"></span>
        <span class="line line2"></span>
        <span class="line line3"></span>
      </div>
    <div class="menuContainer">
      <div class="menuItems">
                <nav>
          <ul class="mainNavigation">
            <li class="logo">
              <a href="/" style="padding-top:11px;">
                <img src="https://cdn.ebaumsworld.com/img/desktop/mainLogo.png"
                  alt="eBaumsWorld: Funny Videos, Pictures, Soundboards and Jokes" />
              </a>
              <span class="notificationBubble" id="featureCount"
                        >
                                              </span>
            </li>
            <li class="videos">
              <a href="/videos/" class="navLink">
                <!-- <span class="icon"></span> -->
                <span class="navLabel">Videos</span>
              </a>
            </li>
            <li class="galleries">
              <a href="/pictures/" class="navLink">
                <!-- <span class="icon"></span> -->
                <span class="navLabel">Galleries</span>
              </a>
            </li>
            <li class="newest">
              <a href="/newest/all/" class="navLink">
                <!-- <span class="icon"></span> -->
                <span class="navLabel">Newest</span>
              </a>
            </li>
            <li class="trending">
              <a href="https://trending.ebaumsworld.com/trending/" class="navLink">
                <!-- <span class="trendingIcon"></span> -->
                <span class="navLabel">Trending</span>
              </a>
            </li>
            <li class="articles">
              <a href="/articles/" class="navLink">
                <!-- <span class="icon"></span> -->
                <span class="navLabel">Articles</span>
              </a>
            </li>
            <li class="spicy">
              <a href="/newest/spicy/" class="navLink">
                <!-- <span class="icon"></span> -->
                <span class="navLabel">Spicy</span>
              </a>
            </li>
            <li class="more">
                  <a href="#" class="navLink">
                <!-- <span class="icon"></span> -->
                <span class="navLabel dropdown">More</span>

              </a>
              <div class="moreMenu">
                <div class="moreArrowOutter"></div>
                <div class="moreArrowInner"></div>

                  <ul class="moreMenuMedia">
                    <li class="popular">
                      <a href="/popular/">
                        <span class="icon"></span>
                        <span class="navLabel">Popular</span>
                      </a>
                    </li>

                    <li class="contests">
                      <a href="/contests/">
                        <span class="icon"></span>
                        <span class="navLabel">Contests</span>
                      </a>
                    </li>
                    <li class="pictures">
                      <a href="/images/">
                        <span class="icon"></span>
                        <span class="navLabel">Pictures</span>
                      </a>
                    </li>
                    <li class="games">
                      <a href="/games/">
                        <span class="icon"></span>
                        <span class="navLabel">Games</span>
                      </a>
                    </li>
                  </ul>

                  <ul class="moreMenuMedia last">
                    <li class="gaming">
                      <a href="https://gaming.ebaumsworld.com/gaming/">
                        <span class="icon"></span>
                        <span class="navLabel">Gaming</span>
                      </a>
                    </li>
                    <li class="audio">
                      <a href="/audio/">
                        <span class="icon"></span>
                        <span class="navLabel">Audio</span>
                      </a>
                    </li>
                    <li class="jokes">
                      <a href="/jokes/">
                        <span class="icon"></span>
                        <span class="navLabel">Jokes</span>
                      </a>
                    </li>
                    <li class="blogs">
                      <a href="/blogs/">
                        <span class="icon"></span>
                        <span class="navLabel">Blogs</span>
                      </a>
                    </li>
                  </ul>
                  
                  <ul class="moreMenuCategory">
                        <li class="creepy">
                            <a href="/creepy/"><span>Creepy</span></a>
                        </li>
                        <li class="wtf">
                          <a href="/wtf/"><span>Wtf</span></a>
                        </li>
                        <li class="eww">
                          <a href="/eww/"><span>Eww</span></a>
                        </li>
                        <li class="facepalm">
                          <a href="/facepalm/"><span>Facepalm</span></a>
                        </li>
                        <li class="ouch">
                          <a href="/ouch/"><span>Ouch</span></a>
                        </li>
                  </ul>
                  <ul class="moreMenuCategory">
                        <li class="funny">
                          <a href="/funny/"><span>Funny</span></a>
                        </li>
                        <li class="feels">
                          <a href="/feels/"><span>Feels</span></a>
                        </li>
                        <li class="ftw">
                          <a href="/ftw/"><span>Ftw</span></a>
                        </li>
                        <li class="wow">
                          <a href="/wow/"><span>Wow</span></a>
                        </li>
                        <li class="all">
                          <a href="/categories/"><span>Categories</span></a>
                        </li>
                  </ul>
              </div>
            </li>
                      <li class="user">
              <a href="/user/login/" class="signIn jqmify"><span class="navLabel">Sign In</span></a>
              <a href="/user/signup/" class="signUp jqmify"><span class="navLabel">Sign Up</span></a>
            </li>
                                        <li class="upload">
                <a href="/user/login/" class="jqmify">
                  <span class="icon"></span>
                  <span class="navLabel">Upload</span>
                </a>
              </li>
                          <li class="search">
            <a href="#" onclick="jQuery('#searchBar').toggle();">
              <span class="icon"></span>
              <span class="navLabel">Search</span>
            </a>
            <div class="searchBar" id="searchBar">
              <input type="text" id="criteria" placeholder="What are you looking for?" />
              <button class="searchBtn"
                    onclick="window.location='/search/' + jQuery('#criteria').val() + '/newest/'">Search</button>
            </div>
            <script type="text/javascript">
                      jQuery("#criteria").keyup(function(event){
                          if (event.keyCode == 13 && jQuery('#criteria').val()){
                              jQuery('.searchBtn').addClass('searchActive');
                              window.location='/search/' + jQuery('#criteria').val() + '/newest/';
                          }
                      });
                  </script>
              </li>
            </ul>
        </nav>
      </div>
    </div>
  </div>
</header>
<!-- Ad Code doesn't exist in CMS -->
	<!-- <div style="width:970px; margin:auto; padding:10px; text-align:center;height:auto;"> -->
		<!-- </div> -->
<div id="backToTop" class="backToTop" >
	<span class="backToTopArrow"></span>
	<span class="backToTopText">Top</span>
</div>
<script type="text/javascript">
// var amountScrolled = jQuery(window).height();
// var miniMenuScroll = 80;
// jQuery(window).scroll(function() {
//     if (jQuery(window).scrollTop() > miniMenuScroll) {
//         jQuery('#miniMenu').addClass('slideDown');
//     } else {
//         jQuery('#miniMenu').removeClass('slideDown');
//     }
// 	if (jQuery(window).scrollTop() > 1 ) {
// 		jQuery('#backToTop').fadeIn('slow');
// 		jQuery('.sticky-container').fadeOut('fast');
// 	} else {
// 		jQuery('#backToTop').fadeOut('slow');
// 		jQuery('.sticky-container').fadeIn('fast');
// 	}
// });
jQuery('#backToTop').click(function() {
    var backGA = new EbaumGAEvent();
    backGA.fireGA('Back To Top', 'desktop', window.location.href);
	jQuery('html, body').animate({
		scrollTop: 0
	}, 700);
	return false;
});
</script>      <div class="sticky-container">
        <ul class="sticky-social">
          <!-- <li rel="noreferrer" class="followLabel hidden">Follow Us</li> -->
          <li class="facebook"><a rel="noreferrer" href="http://ebaum.it/fORhkj" target="_blank"></a></li>
          <li class="twitter"><a rel="noreferrer" href="https://twitter.com/ebaumsworld" target="_blank"></a></li>
          <li class="pinterest"><a rel="noreferrer" href="http://ebaum.it/JaFN2r" target="_blank"></a></li>
          <li class="instagram"><a rel="noreferrer" href="http://ebaum.it/IG_eBaumsWorld" target="_blank"></a></li>
          <li class="rss"><a rel="noreferrer" href="http://ebaum.it/KsevDL" target="_blank"></a></li>
        </ul>
      </div>
      <div style="overflow:hidden">

        <div id="siteContainer" class="siteContainer">
                            <div class="divider" style="width:60%;border-bottom:1px solid #e3e3e3;height:1px;margin:15px auto;text-align:center;padding-top:5px;">
                  <span style="font-size:12px;background-color:#f4f4f4;position:relative; top:-13px;">Advertisement</span>
                </div>
                <div id="subheader_atf_wrapper" class="subheader emc_header">
                    <!-- <div class="followUs emc_sideblock">
                      <ul>
                        <li class="followLabel hidden">Follow Us</li>
                        <li class="facebook"><a href="http://ebaum.it/fORhkj" target="_blank"></a></li>
                        <li class="twitter"><a href="http://ebaum.it/fv2MX5" target="_blank"></a></li>
                        <li class="pinterest"><a href="http://ebaum.it/JaFN2r" target="_blank"></a></li>
                        <li class="instagram"><a href="http://ebaum.it/IG_eBaumsWorld" target="_blank"></a></li>
                        <li class="rss"><a href="http://ebaum.it/KsevDL" target="_blank"></a></li>
                      </ul>
                  </div> -->
    
                                        <div id="subheader_atf" class="leaderboard728 rosLeaderboard emc_lb">
                        <!-- ebw_ros_atf_leaderboard -->
<!-- BLOGHER ADS Begin 728x90 ad -->
<div id="skm-ad-banner-1"></div>
<script type="text/javascript">
  blogherads.adq.push(['banner', 'skm-ad-banner-1']);
</script>
<!-- BLOGHER ADS End 728x90 ad -->
                    </div>
                        
                </div>
                        
            <div id="mainContainer" class="mainContainer">
                <h1>                                        </h1>
    
                                <div class="flex-parent">
                  <section id="mainContent" class="mainContent">
                      <div class="error404">
    <h1>Uh Oh!</h1>
    <h2>Looks like Pepper Peanut ate that page...</h2>
</div>
<div class="error404Media">
<!--
	    <h3>Why not try one of these instead?</h3>
    <ul class="curated404" style="margin-left: 25px;">
                <li class="topMedia " id="topThumb-82673339">
            <div class="topMediaThumb">
                <a href="/videos/the-most-awesome-machine-ever/82673339/">
                    <img src="https://cdn.ebaumsworld.com/thumbs/2012/07/20/053538/82673339/pickup.jpg" />
                </a>
            </div>
            <ul class="topMediaDetails">
           	    <li class="topMediaViews"><a href="/videos/the-most-awesome-machine-ever/82673339/">
           	        156,278</a></li>
                <li class="topMediaTitle">
                   <a href="/videos/the-most-awesome-machine-ever/82673339/">The Most Awesome Machine Ever!</a>
                </li>
            </ul>
        </li>
                <li class="topMedia " id="topThumb-85437049">
            <div class="topMediaThumb">
                <a href="/pictures/18-funny-game-of-thrones-memes/85437049/">
                    <img src="https://cdn.ebaumsworld.com/thumbs/2017/08/14/042516/85437049/got3.jpg" />
                </a>
            </div>
            <ul class="topMediaDetails">
           	    <li class="topMediaViews"><a href="/pictures/18-funny-game-of-thrones-memes/85437049/">
           	        42,342</a></li>
                <li class="topMediaTitle">
                   <a href="/pictures/18-funny-game-of-thrones-memes/85437049/">18 Funny Game Of Thrones Memes</a>
                </li>
            </ul>
        </li>
                <li class="topMedia " id="topThumb-81690395">
            <div class="topMediaThumb">
                <a href="/videos/win-compilation-july-2011/81690395/">
                    <img src="https://cdn.ebaumsworld.com/2011/07/81690395/car-win.jpg" />
                </a>
            </div>
            <ul class="topMediaDetails">
           	    <li class="topMediaViews"><a href="/videos/win-compilation-july-2011/81690395/">
           	        134,930</a></li>
                <li class="topMediaTitle">
                   <a href="/videos/win-compilation-july-2011/81690395/">Win Compilation July 2011</a>
                </li>
            </ul>
        </li>
                <li class="topMedia " id="topThumb-81588574">
            <div class="topMediaThumb">
                <a href="/videos/first-person-view-of-tsunami/81588574/">
                    <img src="https://cdn.ebaumsworld.com/2011/06/81588574/tsunami.jpg" />
                </a>
            </div>
            <ul class="topMediaDetails">
           	    <li class="topMediaViews"><a href="/videos/first-person-view-of-tsunami/81588574/">
           	        182,206</a></li>
                <li class="topMediaTitle">
                   <a href="/videos/first-person-view-of-tsunami/81588574/">First Person View of Tsunami</a>
                </li>
            </ul>
        </li>
            </ul>
    -->
</div>                  </section>
                  <section class="rightColumn">
<ul id="rightColumn">
          		<!--
	    <li>
		<div class="fb-page" data-href="https://www.facebook.com/ebaumsworldgaming/"
			 data-small-header="false" data-adapt-container-width="true" data-hide-cover="false"
			 data-show-facepile="true"><blockquote cite="https://www.facebook.com/ebaumsworldgaming/"
			 class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/ebaumsworldgaming/">EBaum&#039;s World Gaming</a>
			 </blockquote></div>
  	</li>
  	<li class="breakLine"></li>
 	-->
	    <div class="divider" style="width:60%;border-bottom:1px solid #e3e3e3;height:1px;margin:15px auto;text-align:center;padding-top:5px;">
    <span style="font-size:12px;background-color:#f4f4f4;position:relative; top:-13px;">Advertisement</span>
  </div>
	<!-- No SHE Ads Conditional -->
			<li>
			<div id="mediumrect_atf" class="mediumRect">
				<!-- ebw_ros_atf_mediumrect -->
<!-- BLOGHER ADS Begin 300x600 ad -->
<div id="skm-ad-flexrec-1"></div>
<script type="text/javascript">
  blogherads.adq.push(['flexrec', 'skm-ad-flexrec-1']);
</script>
<!-- BLOGHER ADS End 300x600 ad -->
			</div>
		</li>
		<!-- End No SHE Ads Conditional -->

  
  <li class="breakLine"></li>

  
    
      <li class="mediaWidget grid2x2"
        id="ebaumPicks"data-vr-zone="eBaum's Picks">
        <h3 class="homepageH3">eBaum's Picks</h3>
                  <div id="overlay-ebp86098784" data-vr-contentbox=""
            class="widgetItem imageOverlay clear">
            <div class="widgetThumbSmall">
              <a class="thumbLink" 
              href="                      /videos/genius-boy-trolling-the-dance-cam-is-a-wholesome-inspiration/86098784/                    ">
                <img src="https://cdn.ebaumsworld.com/img/blank.gif" data-src="https://cdn.ebaumsworld.com/thumbs/2019/10/23/112735/86098784/dsmol.jpg"
                    alt="Kid trolls NBA dance cam" /></a>
                                <a class="titleLink" 
              href="                        /videos/genius-boy-trolling-the-dance-cam-is-a-wholesome-inspiration/86098784/                    ">Genius Kid Baits NBA Dance Cam into Showing a Pro-Hong Kong Message</a>
              </div>
          </div>
          