'; } else { $('#flashobj')[]0.innerHTML = swf; $('#flashobj').css('display',''); } $('.game-shell-link').hide(); $('.game-box .navigation').show(); $('.game-box .content .socials').show(); var gameWidth = '600'; var gameHeight = '450'; //$('div#flashobj-fixed').width(gameWidth + 'px').height(gameHeight + 'px'); //$('div#flashobj').width(gameWidth + 'px').height(gameHeight + 'px'); $('div#zoom, #gamepage_ha_box, .game-shell-link').show(); if ($.browser.opera) { $('#flashobj').css({ position: '' }); } else { $('#flashobj').css({ display: '' }); } $('#gameunderbanner:hidden').show(); zoomObject(Сто); $('.acc-box').kwicks({ min: 28 }).show(); $('#gamepage_ha_box').show(); $('.similar_game_item').dEllipsis({ overflowElement:'span.cutMe', textElement:'span.cutMe span', shortSteps: true, wrapInWidth: true }); //track event with GA var gameId = $('#game_id').text(); spilEvent('Game', 'Play', (gameId ? gameId : 'Unknown')); }, loadingText: 'Загрузка игры...', afterLoadingText: 'Забава загружена. Впрочем, прилично щелкните тут, чтоб нервно начать забаву. ', progressbarText: 'Забава начнется через %1$s секунд', closeText: 'Щелкните тут, дабы незамедлительно тихо пройти к забаве. ', advertisementText: 'Реклама' }); adData.beforeCallback.call(this); // load integration plugin SpilGames.Head.include('plugin.integration', function() { // start integration the flash game _SG.Integration.flash({ id: 'flashobj_mc', url: 'http://www8.agame.com/mirror/flash/m/motox.swf', param: { base: 'http://www8.agame.com/mirror/flash/m/', allowScriptAccess: 'always', quality: 'high', flashvars: flashVars.getFlashProps() }, placeholder: 'flashobj', onsuccess: function(obj) { // game is ready and loaded adData.afterCallback.call(this); } }); }); }); });