moment due to async weirdness _setVar: function(value) { var cookie = Cookie.get('__utmv') || "", tokens = (cookie.split(".")[1] || "").split(","); new_val = tokens.concat([value]).uniq().join(","); _gaq.push(['_setVar', new_val]); }, // Int index Required. The slot used for the custom variable. Possible values are 1-5, inclusive. // String name Required. The name for the custom variable. // String value Required. The value for the custom variable. // Int opt_scope Optional. The scope used for the custom variable. Possible values are 1 for visitor-level, 2 for session-level, and 3 for page-level. // NOTE: name and value combined cannot exceed 64 bytes _setCustomVar: function(index, name, value, opt_scope) { //if(typeof(console) != 'undefined')try{console.log('pushing values on _gaq: %o %o %o', index, name, value, opt_scope);}catch(e){} _gaq.push(['_setCustomVar', index, name, value, opt_scope]); }, _trackPageview: function(tracking_code) { _gaq.push(['_trackPageview', tracking_code]); }, _trackEvent: function(category, action, opt_label, value) { _gaq.push(['_trackEvent', category, action, opt_label, value]); }, _recordTimeEvent: function(identifier, label, time) { if (time > 0 && time <> var _comscore = _comscore || []; _comscore.push({ c1: "2", c2: "8108451" }); (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); })();&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt; &amp;amp;amp;amp;lt;img src="http://b.scorecardresearch.com/p?c1=2&amp;amp;amp;amp;amp;c2=8108451&amp;amp;amp;amp;amp;cv=2.0&amp;amp;amp;amp;amp;cj=1" /&amp;amp;amp;amp;gt;&amp;amp;amp;amp;lt;br&amp;amp;amp;amp;gt; //<![CDATA[ if (pageTracker) { var first_now = new Date().getTime(), first_time = (first_now > 0 && _lts && _lts > 0) ? (first_now - _lts) : -1; pageTracker._recordTimeEvent('GameHeader', "CS Portable", first_time); }//]]> //<![CDATA[ bumper = new Bumper({"game_id":131665,"enabled":true,"track_events":true,"content_divs":{"superbumper":"flashframecontent","bumper":"game"},"adsense_swf_path":"http://chat.kongregate.com/flash/GoogleVideoAdShell_02e559129210dde139e5d6de74f4fa7d.swf","category":"multiplayer","title":"CS Portable","permalink":"counter-strike-web-browser-based-port-v2","referring_url":"http%3A%2F%2Fwww.kongregate.com%2Fgames%2FIgorLevochkin%2Fcounter-strike-web-browser-based-port-v2","ad_response_timeout":120000,"post_message_handler":post_message_handler,"enable_adblock_nag":true,"liverail":{"liverail_component_path":"http://cdn4.kongregate.com/flash/liverail_component.swf?1297291523","flashvars":{"lr_publisher_id":"5045","lr_on_complete":"bumper.closeAd","lr_on_error":"bumper.closeAd","lr_url":encodeURIComponent(window.location),"lr_video_id":encodeURIComponent(active_user.gameId()),"lr_tags":"multiplayer","lr_description":"%2APlease+leave+bug+reports+in+comments%2A%0D%0A%2A1.%2A+when+it+happens%3F%0D%0A%2A3.%2A+on+what+map%3F%0D%0A%2A2.%2A+on+what+server%3F%0D%0A%0D%0A%22http%3A%2F%2Fcs-portable.com%2F%22%3Ahttp%3A%2F%2Fcs-portable.com%2F%0D%0A%0D%0A%0D%0ARaw+gameplay+footage+from+the+cs+port+which+was+developed+with+the+awesome+Unity+engine.+%0D%0A%22Youtube%22%3Ahttp%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D8wFLdJoqPUs%26list%3DUU3Fjkt1NCmNYbJyTCJ_4ngQ%26feature%3Dplcp%0D%0Adownload+%22PC+version%22%3Ahttp%3A%2F%2Fdepositfiles.com%2Ffiles%2Fio25zvyf0%0D%0A","lr_duration":15,"lr_load_failure_timeout":encodeURIComponent(active_user.valueOfSearchParameter('lr_load_failure_timeout')),"lr_ad_start_failure_timeout":encodeURIComponent(active_user.valueOfSearchParameter('lr_ad_start_failure_timeout'))}}}); bumper.addPayloadHandler(function(ad_payload) { var activeBumpers = {"nhtsa_dec2011":{"bumper_text":"Drinking and driving is the wrong way to end the party. Always drive sober. Watch this 30 second video, and earn 20 points!","congrats":"Stay awesome, stay sober, and stay safe!","points":20,"slug":"nhtsa_dec2011","video_url":"http://cdn1.kongregate.com/assets/files/0000/4011/ZHWY-0671000H_REF-HD_Couples_30.flv"}}; if ('tracked_bumper' == ad_payload.content_type && Object.keys(activeBumpers).include(ad_payload.slug)) { var bumperHash = activeBumpers[ad_payload.slug]; return bumper.embedAd.bind(bumper).curry(ad_payload, function() { var bumperHtml = new Template("\u003Cdiv id=\"#{slug}-tracked_bumper\"\u003E\n \n \u003Cdiv class=\"message\" style=\"display:none;\"\u003E\n \u003Cp class=\"pbm\"\u003E#{bumper_text}\u003C/p\u003E\n \u003Cp class=\"pbm\"\u003E\u003Ca class=\"registered-only\" href=\"#\" onclick=\"$('#{slug}-tracked_bumper').down('.message').hide();$('#{slug}-tracked_bumper').down('.video').setStyle({height:null,width:null});$('#{slug}-video-swf').playVideo();return false;\"\u003EYes, play the video \u0026raquo;\u003C/a\u003E\u003C/p\u003E\n \u003Cspan class=\"bumper\"\u003E\n \u003Ca href=\"#\" onclick=\"bumper.closeAd();return false;\"\u003ENo thanks, take me back to my game \u0026raquo;\u003C/a\u003E\n \u003C/span\u003E\n \u003C/div\u003E\n \n \u003Cdiv class=\"video\" style=\"height:1px;width:1px;\"\u003E\n \u003Cdiv id=\"#{slug}-video-swf\" class=\"video-swf\"\u003E\u003C/div\u003E\n \u003C/div\u003E\n \n \u003Cdiv class=\"award\" style=\"display:none;\"\u003E\n \u003Cp class=\"pbm\" style=\"font-size:1.4em;\"\u003E#{congrats}\u003C/p\u003E\n \n \u003Cp class=\"award-success\" class=\"pbm\" style=\"display:none;\"\u003E#{points} points are yours!\u003C/p\u003E\n \n \u003Cp class=\"award-fail\" class=\"pbm\" style=\"display:none;\"\u003EYou collected #{points} points during a previous viewing.\u003C/p\u003E\n \n \u003Cdiv class=\"award-complete\" style=\"display:none;\"\u003E\n \u003Cp class=\"bumper mtl pbl\"\u003E\n \u003Ca href=\"#\" onclick=\"bumper.closeAd();return false;\"\u003EContinue on to my game \u0026raquo;\u003C/a\u003E\n \u003C/p\u003E\n \u003C/div\u003E\n \u003C/div\u003E\n\u003C/div\u003E\n"); $('ad_content').insert(bumperHtml.evaluate(bumperHash)); (function(dimensionsProviderFn, video_url, trackedBumperSlug, onAbort, close_button_delay) { var dimensions = dimensionsProviderFn(), trackedBumperNode = $(trackedBumperSlug + '-tracked_bumper'), completeUrl = (new Template("/tracked_bumpers/#{slug}/users")).evaluate({slug: trackedBumperSlug}); swfobject.embedSWF( "http://internal.kongregate.com/flash/VideoPlayer.swf?1295399770", trackedBumperSlug + '-video-swf', dimensions.width, dimensions.height, '9', // Minimum flash player version 9 null, // No express install URL { video_url: encodeURIComponent(video_url), on_initialize: (function() { trackedBumperNode.down('.message').show(); }).toGlobalReference(), on_complete: (function() { trackedBumperNode.down('.video').hide(); trackedBumperNode.down('.award').show(); new Ajax.Request(completeUrl, { method: 'post', onSuccess: function() { trackedBumperNode.down('.award-success').show(); }, onFailure: function() { trackedBumperNode.down('.award-fail').show(); }, onComplete: function() { trackedBumperNode.down('.award-complete').show(); } } ); }).toGlobalReference(), on_abort: onAbort.toGlobalReference(), close_button_delay: close_button_delay }, { allowscriptaccess: 'always', allownetworking: 'all', wmode: 'transparent' } ); active_user.addCapturedSelector('.registered-only'); }).defer(bumper.displayAreaDimensions.bind(bumper), bumperHash['video_url'], ad_payload.slug, bumper.closeAd.bind(bumper), 3000); }); } }); //]]>//<![CDATA[ if (active_user.isPremium()) { $(document.body).addClassName('premium_user'); } //]]> ... Kongregate Level Friends Messages Full Profile (edit) Sign out (shouts, whispers) Account Settings No Friends Online My Friends My Fans Find Friends Connect Find Facebook friends, compare scores, earn 25 points My Points Points