<!doctypehtml><html class="js flexbox no-touch rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio"crossriderapp2258=true dir=ltr lang=en><head id=ctl00_Head1><title>
   Efetuar login – Jogo Como Treinar o seu Dragão – School of Dragons
  </title><meta content=width=device-width,initial-scale=1,maximum-scale=1 name=viewport><link href=favicon.ico id=ctl00_Link1 rel=icon type=image/ico><meta content="text/html; charset=utf-8"http-equiv=content-type><meta charset=utf-8><meta content=GRCyfnTEYhYfwcgg99_aE2yXBsOP5YgR7l1oyDwNgzk name=google-site-verification><meta content=yes name=apple-mobile-web-app-capable><meta content=black name=apple-mobile-web-app-status-bar-style><link href=//media.jumpstart.com/SODWebsite/Css/pt-br/Default/MasterStyles.css rel=stylesheet><link href=//media.jumpstart.com/SODWebsite/Css/pt-br/Default/navigation.css rel=stylesheet><link href=//media.jumpstart.com/SODWebsite/Css/pt-br/Default/styles.css rel=stylesheet><link href=//media.jumpstart.com/SODWebsite/Css/common/Default/MasterStyles.css rel=stylesheet><link href=//media.jumpstart.com/SODWebsite/Css/common/Default/navigation.css rel=stylesheet><link href=//media.jumpstart.com/SODWebsite/Css/common/Default/styles.css rel=stylesheet><meta content="Efetuar login – Jogo Como Treinar o seu Dragão – School of Dragons"name=title><meta content="Login, school of dragons, train your dragon, how to train your dragon, dragon game, dragon games, online dragon games, play dragon games"name=keywords><meta content="Login and join the School of dragons. Raise and train your very own dragon in this exciting online game for kids!"name=description><meta content=app-id=622944658 name=apple-itunes-app><link href=//media.jumpstart.com/SODWebsite/Css/pt-br/Default/Login/log-in.css?v=121013 rel=Stylesheet><link href=//media.jumpstart.com/SODWebsite/Css/common/Default/Login/log-in.css?v=121013 rel=Stylesheet><body><div class=background><img alt border=0 src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/dragon-background3.jpg></div><link href=https://www.schoolofdragons.com/login.aspx?lang=pt rel=canonical><link href=https://www.schoolofdragons.com/login.aspx?lang=en hreflang=en-US rel=alternate><link href=https://www.schoolofdragons.com/login.aspx?lang=es hreflang=es-MX rel=alternate><link href=https://www.schoolofdragons.com/login.aspx?lang=pt hreflang=pt-BR rel=alternate><link href=https://www.schoolofdragons.com/login.aspx?lang=zh hreflang=zh-CN rel=alternate><link href=https://www.schoolofdragons.com/login.aspx?lang=fr hreflang=fr-CA rel=alternate><link href=https://www.schoolofdragons.com/login.aspx?lang=ru hreflang=ru-RU rel=alternate><link href=https://www.schoolofdragons.com/login.aspx?lang=de hreflang=de-DE rel=alternate><link href=https://www.schoolofdragons.com/login.aspx?lang=ko hreflang=ko-KR rel=alternate><link href=https://www.schoolofdragons.com/login.aspx?lang=th hreflang=th-TH rel=alternate><script src=https://media.jumpstart.com/SODWebsite/Script/Js/s_code.js></script><noscript><iframe height=0 src=//www.googletagmanager.com/ns.html?id=GTM-5MZB style=display:none;visibility:hidden width=0></iframe></noscript><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=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5MZB');</script><link href=https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,600italic,600,400,700 rel=stylesheet><link href=https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css rel=stylesheet><script src=https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js></script><script src=https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js></script><script src=https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js></script><script src=//media.jumpstart.com/SODWebsite/Script/Js/ka.js></script><form action=./login.aspx?lang=pt id=aspnetForm method=post name=aspnetForm><input id=__VIEWSTATE name=__VIEWSTATE type=hidden value=/wEPDwULLTE0OTkxNzU2NzgPZBYCZg9kFgICAg9kFgQCAQ9kFgYCAw8PFgIeDEVycm9yTWVzc2FnZQUjTyBub21lIGRvIHVzdcOhcmlvIMOpIG9icmlnYXTDs3Jpby5kZAIGDw8WAh8ABRhBIHNlbmhhIMOpIG9icmlnYXTDs3JpYS5kZAIJD2QWBGYPDxYCHgRUZXh0BXdVbSBlLW1haWwgZm9pIGVudmlhZG8gcGFyYSBzZXUgcGFpIG91IHJlc3BvbnPDoXZlbC4gSm9ndWUgYWdvcmEgZW5xdWFudG8gc2V1IHBhaSBvdSByZXNwb25zw6F2ZWwgdGVybWluYSBhIGluc2NyacOnw6NvLmRkAgEPDxYCHwEFU1VtIGUtbWFpbCBmb2kgZW52aWFkbyBwYXJhIHN1YSBjb250YS4gQXRpdmUgc3VhIGNvbnRhIHBhcmEgYWNlc3NvIGNvbXBsZXRvIGFvIHNpdGUuZGQCAw9kFgICAQ9kFgpmDxYCHglpbm5lcmh0bWwFjAJTdWEgY29udGEgYWluZGEgbiYjMjI3O28gZm9pIGF0aXZhZGEuIEluZm9ybWUgbm92YW1lbnRlIG8gZS1tYWlsIGRhIHN1YSBjb250YSBwYXJhIHF1ZSBvIGUtbWFpbCBkZSBjb25maXJtYSYjMjMxOyYjMjI3O28gc2VqYSByZWVudmlhZG8uIFNlIHZvYyYjMjM0OyBuJiMyMjc7byBhdGl2YXIgc3VhIGNvbnRhLCBlbGEgc2VyJiMyMjU7IGV4Y2x1JiMyMzc7ZGEgZW0gMCBkaWFzIGUgdm9jJiMyMzQ7IHBlcmRlciYjMjI1OyB0dWRvIHF1ZSBmZXogYXQmIzIzMzsgYWdvcmEuZAIBDxYEHwIFmgJTdWEgY29udGEgYWluZGEgbiYjMjI3O28gZm9pIGF0aXZhZGEuIEluZm9ybWUgbm92YW1lbnRlIG8gZS1tYWlsIGRvIHBhaSBvdSByZXNwb25zJiMyMjU7dmVsIHBhcmEgcXVlIG8gZS1tYWlsIGRlIGNvbmZpcm1hJiMyMzE7JiMyMjc7byBzZWphIHJlZW52aWFkby4gU2UgbyBzZXUgcGFpIG4mIzIyNztvIGF0aXZhciBzdWEgY29udGEsIGVsYSBzZXImIzIyNTsgZXhjbHUmIzIzNztkYSBlbSAwIGRpYXMgZSB2b2MmIzIzNDsgcGVyZGVyJiMyMjU7IHR1ZG8gcXVlIGZleiBhdCYjMjMzOyBhZ29yYS4eB1Zpc2libGVoZAICDxYCHwIFD0UtbWFpbCBkYSBjb250YWQCAw8WBB8CBQ9FLW1haWwgZGEgY29udGEfA2hkAgQPDxYCHwNnZBYCAgEPFgIfAgUQU2VuaGEgZGEgY29udGEgOmQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFEmN0bDAwJG1jcCRjaFBlcmlzdITSTE6RXi8CogRSI5FhepEDdvFj><input id=__VIEWSTATEGENERATOR name=__VIEWSTATEGENERATOR type=hidden value=C2EE9ABB><div class=background><ul class=rslides id=slider2 style=overflow:visible;><li><a href=#> <img alt border=0 src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/dragon-background1.jpg> </a><li><a href=#> <img alt border=0 src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/dragon-background2.jpg> </a><li><a href=#> <img alt border=0 src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/dragon-background3.jpg> </a><li><a href=#> <img alt border=0 src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/dragon-background4.jpg> </a><li><a href=#> <img alt border=0 src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/dragon-background5.jpg> </a><li><a href=#> <img alt border=0 src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/dragon-background6.jpg> </a><li><a href=#> <img alt border=0 src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/dragon-background7.jpg> </a></ul></div><link href=//media.jumpstart.com/SODWebsite/Css/common/Default/header-menu.css rel=stylesheet><div class=container></div><div class=overlay-mobile data-toggle=mobile-offmenu></div><nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark"><div class=container><a class="navbar-brand logo"href=/> <img alt="SoD Logo"src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/sod-top-nav-logo.png> </a><button class="navbar-toggler sod p-0 border-0"data-toggle=mobile-offmenu type=button><span class=navbar-toggler-icon> </span></button><div class="navbar-collapse mobile-offmenu-collapse"id=navbarsDefault><button class="navbar-toggler p-0 border-0"data-toggle=mobile-offmenu type=button><span class=menu-close> X </span></button><ul class="navbar-nav mr-auto"><a class="navbar-brand logo-mob"href=/> <img alt="SoD Logo"src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/sod-top-nav-logo.png> </a><li class=nav-item><a class=nav-link href=# link=/how-to-train-your-dragon/updates> Notícia </a><li class=nav-item><a class=nav-link href=# link=/how-to-train-your-dragon/community> Comunidade </a><li class=nav-item><a class=nav-link href=/Membership/Membership.aspx> Assinatura </a><li class=nav-item><a class=nav-link href=http://forum.schoolofdragons.com/> Fórum </a><li class="nav-item login btn-group"><a class="nav-link dropdown-toggle lg"aria-expanded=false aria-haspopup=true data-toggle=dropdown href=# id=dropdown-login> <img alt=Login src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/login-icon.png> <span> Entrar </span> </a> <a class="nav-link dropdown-toggle md"aria-expanded=false aria-haspopup=true data-toggle=dropdown href=# id=dropdown-login> <img alt=Login src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/mob-user.png> </a> <div aria-labelledby=dropdown-login class=dropdown-menu><a class="dropdown-item ddl-login-text"href=/login.aspx> Entrar </a></div><li class="nav-item language dropdown"><a class="nav-link dropdown-toggle"aria-expanded=false aria-haspopup=true data-toggle=dropdown href=# id=dropdown-language> <img alt=selectedLocale class=flag height=24 id=selectedLocale src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/locale/pt.svg width=24> </a> <div aria-labelledby=dropdown-language class=dropdown-menu><a class=dropdown-item href=# onclick=ChangeLocale('en');> <img alt=EN class=flag height=24 src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/locale/us.svg width=24> EN </a><a class=dropdown-item href=# onclick=ChangeLocale('es');> <img alt=ES class=flag height=24 src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/locale/es.svg width=24> ES </a><a class=dropdown-item href=# onclick=ChangeLocale('pt');> <img alt=PT class=flag height=24 src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/locale/pt.svg width=24> PT </a><a class=dropdown-item href=# onclick=ChangeLocale('de');> <img alt=DE class=flag height=24 src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/locale/de.svg width=24> DE </a><a class=dropdown-item href=# onclick=ChangeLocale('fr');> <img alt=FR class=flag height=24 src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/locale/fr.svg width=24> FR </a><a class=dropdown-item href=# onclick=ChangeLocale('ko');> <img alt=KO class=flag height=24 src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/locale/ko.svg width=24> KO </a><a class=dropdown-item href=# onclick=ChangeLocale('ru');> <img alt=RU class=flag height=24 src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/locale/ru.svg width=24> RU </a><a class=dropdown-item href=# onclick=ChangeLocale('zh');> <img alt=CH class=flag height=24 src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/locale/zh.svg width=24> CH </a></div><li><a class="btn btn-sod-playnow my-2 my-sm-0"href=# id=btnDownloadGame onclick=ShowDownloadablePopup();> Jogar agora </a></ul></div><div class=dropdown-mob><a aria-expanded=false aria-haspopup=true class=login-mob data-toggle=dropdown href=# id=dropdown-mob-login> <img alt=Login src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/mob-user.png> </a><div class="dropdown-menu mob-login"aria-labelledby=dropdown-mob-login><a class="dropdown-item ddl-login-text"href=/login.aspx> Entrar </a></div></div></div></nav><div class=popup-container><div id=gameLaunchOptions><div><a class="close-btn close"href=# id=close-btn onclick=closeDownloadablePopup()> </a></div><div style=width:100%;><div class=sodframeborderbg02><strong> Downloading School of Dragons on your <br> computer is the BEST option <br> for a number of reasons! </strong><br> 1. Faster Gameplay <br> 2. Highest visual quality! <br> 3. Increased stability! <br> 4. The most optimized dragons gaming <br>     experience yet! <br><span onclick="DownloadGameByOS(); return false;"class=sod-download> </span></div></div><div id=GTMbox></div></div></div><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-5MZB');</script><noscript><iframe height=0 src=https://www.googletagmanager.com/ns.html?id=GTM-5MZB style=display:none;visibility:hidden width=0></iframe></noscript><script>function ShowDownloadablePopup() {
        

        if (navigator.userAgent.match(/Mac/) && navigator.maxTouchPoints && navigator.maxTouchPoints > 2)  // For iPads where user-agent dont have ipad word in them
        {
            location.href = 'https://itunes.apple.com/us/app/school-of-dragons/id622944658?ls=1';
        }
        else
        {
            document.body.scrollTop = 0; // For Safari
            document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
            $('.popup-container').css('height', window.innerHeight);
            $('.popup-container').show();           
        }

        
        setTimeout(function () { addGoogleTags(); }, 2000);  // 2 Seconds delay for Google tag fire event
    }

    function DownloadGameByOS() {
        DownloadStandaloneGame('SOD');
        closeDownloadablePopup();
    }

    function closeDownloadablePopup()
    {
        $('.popup-container').hide();
    }

    $('.popup-container').click(function (e) {
        if (document.getElementById('gameLaunchOptions').contains(e.target) == false) {
            closeDownloadablePopup();
        }
    });

    function PlayGameInBrowser() {
        location.href = '/Game';
    }

    $(document).keyup(function (e) {
        if (e.key === "Escape") { // escape key maps to keycode `27`
            closeDownloadablePopup();
        }
    });

    $(document).ready(function () {
        var vars = getUrlVars();
        if (vars != null && vars.length > 0) {
            if (vars["downloadpopup"] == 'true') {
                ShowDownloadablePopup();
            }
        }

        
    });

    $('[data-toggle="mobile-offmenu"]').bind('click', function () {
        $('.mobile-offmenu-collapse').toggleClass('open');
        $('.overlay-mobile').toggleClass('open');
    });

    $('.nav-link.dropdown-toggle').click(function () {
        var selectedLocaleImg = $('#selectedLocale').attr('src');

        $('.dropdown-menu a.dropdown-item').each(function (index, value) {
            $(this).css('display', 'block');
            if (this.children[0] != undefined && $(this.children[0]).attr('src') == selectedLocaleImg) {
                $(this).css('display', 'none');
            }
        });
    });

    $(window).scroll(function () {
        $('.navbar-collapse.open').css('height', window.innerHeight);
    });

    $('.nav-item a').each(function (index, value) {
        var rel_url = $(value).attr('link');
        if (rel_url != undefined) {
            rel_url = 'http://' + location.host + rel_url;
            $(value).attr('href', rel_url)
            $(value).removeAttr('link');
        }
    });

    function getUrlVars() {
        var vars = [], hash;
        var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
        for (var i = 0; i < hashes.length; i++) {
            hash = hashes[i].split('=');
            vars.push(hash[0]);
            vars[hash[0]] = hash[1];
        }
        return vars;
    }

    function addGoogleTags() {
        var GTMScriptLocation = "https://media.jumpstart.com/SODWebsite/Script/Js/GTM_SOD.js";
        $.getScript(GTMScriptLocation, function () { var dummyVal = 1; });
    }

    function ChangeLocale(newLocale) {
        var currentURL = location.origin + location.pathname;
        location.href = currentURL + '?lang='+newLocale;
    }</script><div class="container container-mcp"><div class=border4><div id=error-container><div id=ctl00_mcp_ucMessenger_ms></div></div><div class=content style=min-height:480px><div class=login-box><h1 class=LoginHeaders><img alt=Login src=//media.jumpstart.com/SODWebsite/Css/pt-br/Default/Images/login-title.png></h1><div style="color: Red; width: 480px; font-size: 11px; padding: 0;"class=message><span id=ctl00_mcp_lblMsg> </span></div><div><label>Nome de Usuário <br> <input style="width: 300px;"class=user-name id=ctl00_mcp_tbUserName maxlength=48 name=ctl00$mcp$tbUserName></label></div><div><label>Senha <br> <input style="width: 300px;"id=ctl00_mcp_tbPassword name=ctl00$mcp$tbPassword type=password></label></div><div><label><input id=ctl00_mcp_chPerist name=ctl00$mcp$chPerist type=checkbox> Lembrar de Mim</label><a class=SODLinkForgotPassword href=# id=forgot-password> Esqueci a senha </a></div><br><div style="padding-top: 10px;"><input alt="Log in"onclick='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$mcp$btnLogin", "", true, "", "", false, false))'style="border: 0pt none;"class=SOD-Login-Btn id=ctl00_mcp_btnLogin name=ctl00$mcp$btnLogin type=submit><div class=FB-login><div id=fb-root></div><fb:login-button perms=email size=large v=2.2> Log In </fb:login-button></div></div></div><div class=LoginDragon></div><div class=overlay id=confirmation-form><div class=SOD-DIV-POPUP><h1 class=padding-top-10>Estamos quase lá!</h1><h4 class="red padding-top-20"></h4><div class=JS-Coppa-play-btn><a class=SOD-Login-Btn id=btnLogin style=cursor:pointer;> <div class=SOD-Login-Btn onclick=RedirectToGamePage()></div> </a></div></div><script>function RedirectToMobilePage() {
          goog_report_conversion(window.location.toString());
          window.location.href = 'http://www.schoolofdragons.com/lang/pt/how-to-train-your-dragon/mobile';
      }
      function RedirectToGamePage()
      {
          goog_report_conversion(window.location.toString());

          if ((window.location.pathname.indexOf("SpilGames") != -1)) {
              window.location.href = "http://" + window.location.hostname + "/Game/Default.aspx";
          }
          else if (window.location.search.indexOf("GameCard") != -1) {
              var urlRear = "/GameCard/Default.aspx";
              window.location.href = GetURL(urlRear);
          }
          else {
              var gameURL = '/Launch.aspx';
              if (window != window.top)
                  window.parent.window.location.href = gameURL;
              else
                  window.location.href = gameURL;
           }          
      }

      function GetURL(urlRear) {
          if (urlRear == undefined || urlRear == '') {
              urlRear = '/Game/Default.aspx';
          }
          var urlFront = window.location.protocol + "//" + window.location.hostname;
          if (!!window.location.port) {
              return urlFront + ':' + window.location.port + urlRear;
          } else {
              return urlFront + urlRear;
          }
      }</script><script>/* <![CDATA[ */
    goog_snippet_vars = function () {
        var w = window;
        w.google_conversion_id = 984068497;
        w.google_conversion_label = "vUsmCK7K6l8QkeOe1QM";
        w.google_remarketing_only = false;
    }
    // DO NOT CHANGE THE CODE BELOW.
    goog_report_conversion = function (url) {
        goog_snippet_vars();
        window.google_conversion_format = "3";
        window.google_is_call = true;
        var opt = new Object();
        opt.onload_callback = function () {
            if (typeof (url) != 'undefined') {
                window.location = url;
            }
        }
        var conv_handler = window['google_trackConversion'];
        if (typeof (conv_handler) == 'function') {
            conv_handler(opt);
        }
    }
    /* ]]> */</script><script src=//www.googleadservices.com/pagead/conversion_async.js></script></div></div><div id=page></div></div></div><footer class="sod-footer text-center"><div class=social-media-icon><a href=http://www.facebook.com/SchoolOfDragons> <i class="fab fa-facebook-f"> </i> </a><a href=https://www.instagram.com/schoolofdragons/> <i class="fab fa-instagram"> </i> </a><a href=https://twitter.com/SchoolOfDragons> <i class="fab fa-twitter"> </i> </a><a href=http://www.youtube.com/user/SchoolOfDragons> <i class="fab fa-youtube"> </i> </a></div><div class=container><div class=footer-nav><a class=footer-brand href=/> <img alt="SoD Logo"src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/footer-sod-logo.png> </a><div class=footer-navbar><nav class=nav><a class="nav-link loot-crate"href=# link=/help/loot-crates> Loot Crates </a><img class=support-divider src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/divider.png><a class=nav-link href=https://www.jumpstart.com/support/sod/> Suporte </a><img class=support-divider src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/divider.png><a class=nav-link href=# link=/help/contactus> Contato </a><img class=contact-divider src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/divider.png><a class=nav-link href=# link=/resources/> Recursos </a><img class=resources-divider src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/divider.png><a class=nav-link href=https://www.jumpstart.com target=_blank> JumpStart.com </a><img class=resources-divider src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/divider.png><a class=nav-link href=# link=/help/privacypolicy> Privacidade </a><img src=https://media.jumpstart.com/SODWebsite/Css/common/Default/Images/divider.png><a class=nav-link href=# link=/help/siteterms> Termos e condições </a></nav></div><div class=nav-divider></div><p>Como Treinar Seu Dragão © 2020 DreamWorks Animation LLC. Todos os direitos reservados. © 2020 JumpStart Games, LLC. Todos os direitos reservados.<div class=nav-divider></div><a class=footer-brand href=https://www.esrb.org/ratings/> <img alt=Everyone src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/How-to-train-your-dragon-ESRB-Icon.png> </a></div></div></footer><link href=https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,600italic,600,400,700|Berkshire+Swash&display=swap rel=stylesheet><link href=https://use.fontawesome.com/releases/v5.8.2/css/all.css rel=stylesheet><script>$('nav a').each(function (index, value) {
        var rel_url = $(value).attr('link');
        if (rel_url != undefined) {
            rel_url = 'http://' + location.host + rel_url;
            $(value).attr('href', rel_url)
            $(value).removeAttr('link');
        }
    });</script><div id=password-recovery><div class=popup-layout-bg id=content-box><a class=close href=# id=close-btn> </a><h1>Recuperação de senha</h1><span id=ctl00_bcp_ucPwdRecovery_lblMsg> <font color=Red> </font> </span><p><div><label>Nome de Usuário <br> <input style="width: 100%;"class=pwd-username id=ctl00_bcp_ucPwdRecovery_tbUsername maxlength=50 name=ctl00$bcp$ucPwdRecovery$tbUsername></label><label>Endereço de e-mail <br> <input style="width: 100%;"id=ctl00_bcp_ucPwdRecovery_tbEmail maxlength=150 name=ctl00$bcp$ucPwdRecovery$tbEmail></label></div><a class=request-password href=javascript:__doPostBack('ctl00$bcp$ucPwdRecovery$btnRequestPassword','') id=ctl00_bcp_ucPwdRecovery_btnRequestPassword> Solicitar senha </a></div><script>function ClearPwdField()
    {
        $('#ctl00_bcp_ucPwdRecovery_tbUsername').val("");
        $('#ctl00_bcp_ucPwdRecovery_tbEmail').val("");
    }

    $('#close-btn').click(function () {
        $('#ctl00_bcp_ucPwdRecovery_lblMsg').html("");
    });</script></div><script>var showPwd = false;
        var showUnAuthUser = false;
        
        $(function() {
            $('.user-name').focus();
            $('#forgot-password').click(function() {
                ClearPwdField();
                openDialog2($('#password-recovery'));
               
            });
            if(showPwd){
                ClearPwdField();
                openDialog2($('#password-recovery'));
                $('.pwd-username').focus();
            }     
            if(showUnAuthUser)
            {
                openDialog2($('#popUpUnAuthorized'));
            }
        });</script><div id=popUpUnAuthorized style=display:none;><div class="unauthorized-popup body-color"id=unauthorized-popup><img class="sad-pegasus d-none d-md-block"height=232 src=//media.jumpstart.com/SODWebsite/Css/common/Default/Images/night-fury.png width=133><div style="overflow: hidden; margin: 10px 10px 10px 10px"><p class=unauthorized-text><label id=accountUnAuthorizedLabel>Sua conta ainda não foi ativada. Informe novamente o e-mail da sua conta para que o e-mail de confirmação seja reenviado. Se você não ativar sua conta, ela será excluída em 0 dias e você perderá tudo que fez até agora.</label></p><a class=ok-btn href=# onclick=RedirectUnAuthorizedUser()> OK </a><div><span style="color: Red;"id=lblErrorMsg> </span><br><label><label id=accountEmailLabel>E-mail da conta</label> <br> <input style="width: 200px;"id=tbEmail> <div id=pnPwd><label id=accPassword>Senha da conta :</label><br><input style="width: 200px;"id=tbPwd type=password></div></label></div><span onclick="return ResendEmail()"class=resend-authorization> </span></div></div><div style="overflow: hidden;"class=confirmation-popup id=confirmation-popup><p class=deletion-text>O e-mail foi enviado para você</p><a class=close-btn href=# onclick=RedirectUnAuthorizedUser()> Close </a></div><script>$('#tbEmail').keydown(function (event) {
        if (event.keyCode == '32') {
            event.preventDefault();
        }
    });
    function IsEmail(email) {
        var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
        if (!regex.test(email)) {
            return false;
        } else {
            return true;
        }
    }
    
    function ResendEmail() {
        var validate = true;
        $("#lblErrorMsg").text("");
        $("#lblErrorMsg").display = 'none';
        var email = $("#tbEmail").val();
        if (email.replace(/\s/g, "").length == 0)
        {
            $("#lblErrorMsg").display = 'block';
            $("#lblErrorMsg").text('O endereço de e-mail é obrigatório.');
            validate = false;
        }
        else if (IsEmail(email) == false)
        {
            $("#lblErrorMsg").display = 'block';
            $("#lblErrorMsg").text('O formato de endereço de e-mail é inválido.'); 
            validate = false;
        }

        if ($("#pnPwd").length > 0 )
        {
            var pwd = $("#tbPwd").val();
            if (pwd.replace(/\s/g, "").length == 0) {
                $("#lblErrorMsg").display = 'block';
                $("#lblErrorMsg").append('<br/>' + 'A senha é obrigatória'); 
                validate = false;
            }
        }
        if (validate) {
            var JasonObject = new Object();
            JasonObject.email = $('#tbEmail').val();
            if ($("#pnPwd").length > 0)
            {
                JasonObject.password = $("#tbPwd").val();
            }
            $.ajax({
                type: "POST",
                async: false,
                url: GetURL('/ProcessDetails.aspx?Action=ResendActivation'),
                data: JasonObject,
                contentType: "application/json; charset=utf-8",
                crossDomain: true,
                dataType: "jsonp",
                jsonpCallback: "jsonCallback",
                success: function (msg) {
                    if (!msg.Success) {
                        $('#lblErrorMsg').show();
                        for (var c in msg.Errors) {
                            if (msg.Errors.hasOwnProperty(c)) {
                                $('#lblErrorMsg').text(msg.Errors[c]);
                            }
                        }
                    } else {
                        $('#confirmation-popup').show();
                        $('#unauthorized-popup').hide();
                    }
                },
                error: function (xhr, status, error) {
                    alert('error');
                }
            });
        }
    }

    function RedirectUnAuthorizedUser() {

        var isMobile = 'False';
        var mobileRedirectionUrl = 'http://www.schoolofdragons.com/lang/pt/how-to-train-your-dragon/mobile'; 

        if ((window.location.pathname.indexOf("SpilGames") != -1)) {
            location.reload(true);
        }
        else if (isMobile == 'True')
        {
            location.href = mobileRedirectionUrl;
        }
        else if (window.location.href.toLowerCase().indexOf("gamecard") != -1)
        {
            var urlRear = "/GameCard/Default.aspx";
            window.location.href = GetURL(urlRear);
        }
        else
        {       
            var redirectUrl = '';
            var url = '';
            if (url != null && url != "") {
                redirectUrl = url.replace("~", "");
            }
            if (window != window.top)
                window.parent.window.location.href = GetURL(redirectUrl);
            else
                window.location.href = GetURL(redirectUrl);
        }
    }

    function GetURL(urlRear) {
        
        var urlFront = window.location.protocol + "//" + window.location.hostname;
        if (!!window.location.port) {
            return urlFront + ':' + window.location.port + urlRear;
        } else {
            return urlFront + urlRear;
        }
    }</script></div><style>#popUpUnAuthorized {
            width: 100% !important;        
        }</style><script>$('input').keydown(function (event) {
            if (event.keyCode == '32') {
                event.preventDefault();
            }        
        });</script><script>var uid = "";
        var accessToken = "";
        var sdkPath = "//connect.facebook.net/en_US/sdk.js";

        var actionVal = getQueryStringParameterValueByName('action');
        window.fbAsyncInit = function() {
            FB.init({
                appId: "357704261026079",
                status: false,
                cookie: true,
                xfbml: true,
                version: "v3.2"
            });
            FB.Event.subscribe('auth.authResponseChange', function(response) {
                if(actionVal === 'signout')
                {
                    FB.logout();
                    window.location.href='/login.aspx';
                }
                else{
                    if (response.status === 'connected' && actionVal != 'fblogin') {
                        uid = response.authResponse.userID;
                        accessToken = response.authResponse.accessToken;
                        getFBEmail(setFacebookData);
                        } else if (response.status === 'not_authorized') {
                        } else {
                        }
                }
           });
        };

        (function(d){
            var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
            if (d.getElementById(id)) {return;}
            js = d.createElement('script'); js.id = id; js.async = true;
            js.src =  sdkPath;
            ref.parentNode.insertBefore(js, ref);
        }(document));


        function getFBEmail(callbackFunc) {
            FB.api('/me', function(response) {
                var email = "";
                if (!response || response.error) {
                } else {
                    email = response.email;
                }
                callbackFunc(email);
                window.location.href='/login.aspx?action=fblogin';
            });
        }

        function setFacebookData(email) {
            //console.log(uid);
            //console.log(email);
            if ((parseFloat(uid) == parseInt(uid)) && !isNaN(uid)) {
                $.ajax({
                    type: "POST",
                    async: false,
                    url: '../Service/account.asmx/SetFacebookDataWithEmail',
                    data: '{"uid":"' + uid + '","email":"' + email + '","accessToken":"' + accessToken + '"}',
                    contentType: "application/json",
                    dataType: "json",
                    success: function (msg) {
                        //
                    },
                    error: function () {
                    }
                });
            }
        }

        function getQueryStringParameterValueByName(name) {
            name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
            var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
                results = regex.exec(location.search);
            return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
        }</script><style>.login-box {
        margin-left:0px;
        }</style></form><script src=//media.jumpstart.com/SODWebsite/Script/Js/jquery/plugins/tools/jquery.tools.1.2.6.min.js></script><script src=//media.jumpstart.com/SODWebsite/Script/Js/jquery/plugins/tools/jquery.tools.expose.js></script><script src=//media.jumpstart.com/SODWebsite/Script/Js/dragons/responsiveslides.js></script><script>$(window).load(function () {                
            $("#slider1").responsiveSlides({ maxwidth: 800, speed: 800 });
            $("#slider2").responsiveSlides({ auto: true, pager: true, speed: 300, maxwidth: 540 });               
        });

        function centerIt(elem) {
            var parent = $(window);
            elem.css("position", "absolute");
            elem.css("top", ((parent.height() - elem.outerHeight()) / 2) + parent.scrollTop() + "px");
            elem.css("left", ((parent.width() - elem.outerWidth()) / 2) + parent.scrollLeft() + "px");
            if (elem.position().top < 0) {
                elem.css("top", "10px");
            }
        }

        function openDialog2(popupcontainer) {
            document.body.scrollTop = 0; // For Safari
            document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
            $(popupcontainer).css({ 'height': window.innerHeight, 'width': window.innerWidth, 'top': 0, 'left': 0, 'background-color': 'rgba(0,0,0,0.7)', 'position': 'absolute', 'z-index': 100 });
            $(popupcontainer).show();
            var popup = $(popupcontainer).find('div')[0];
            var dialog_max_width = GetDialogWidth(window.innerWidth);
            $(popup).css({ 'max-width': dialog_max_width, 'opacity': 1, 'z-index': 101 });
            centerIt($(popup));

            $(popupcontainer).click(function (e) {
                if (popup.contains(e.target) == false) {
                    closePopup(popupcontainer);
                }
            });
        }

        function closePopup(container) {
            $(container).hide();
        }

        function GetDialogWidth(parent_width)
        {
            var width_master = [
                [0, 767, '100%'],
                [768, 1023, '75%'],
                [1024, 2047, '50%'],
                [2048, 4096, '25%']
            ];

            // [min-width, max-width, result-percent]
            
            for (var i = 0; i < width_master.length; i++)
            {
                var current_range = width_master[i];
                if (parent_width > current_range[0] && parent_width < current_range[1]) {
                    return current_range[2];
                }
            }
        }</script><script src=https://media.jumpstart.com/Standalone/downloadStandalone.js?v=></script>