aaa
Autor: Troll | Publicado: 2012-04-05T10:48:00-07:00

 Play CS Portable, a free online game on Kongregate //<![CDATA[ var _lts=+new Date();parent.frames.length&&function(){var d=document.location;top.location.replace(d.search.match('fb_sig')?d.href.split('?')[0]:d)}(); //]]>   <!---–[if IE 6]--><!--[endif]-–-->  <!--[if lte IE 7]>      <![endif]--> //<![CDATA[ function LoadCss(c){function e(f,a,i){f.setAttribute(a,i)}function j(f){var a=g.createElement("link");e(a,"href",f);e(a,"media","screen");e(a,"rel","stylesheet");e(a,"type","text/css");return a}var g=document,k=g.getElementsByTagName("head")[0],b,h,d=parseFloat((navigator.userAgent.match(/MSIE ([^;]+)/)||[])[1],10);b=location.protocol=="https:";b=d?"ie"+(d<8?7:8)+(b?"ssl":""):"other";d=c[b];d=c[b];c=0;for(b=d.length;c   //<![CDATA[ var active_user = new ActiveUser({"domain":"kongregate.com","kong_user_data":{"id":7538421,"username":"XiNJiA","chat_password":"7538421_6c2bfeb8499946a3d5990eca2f8b95921d8bab4d","age":21,"level":1,"points":15,"points_away":35,"points_for_last_level":0,"avatar_url":"http://cdn3.kongregate.com/assets/avatars/defaults/frog.jpg?1291674651","levelbug_url":"http://cdn4.kongregate.com/images/presentation/levelbug/levelbug1.gif?1295399767","chat_avatar_url":"http://cdn3.kongregate.com/assets/avatars/defaults_chat_sized/frog.jpg?1291674651","friends_online_names":"","friends_online_count":0,"unread_shouts_count":0,"unread_whispers_count":0,"kreds_balance":0,"curator":false,"developer":false,"moderator":false,"forum_moderator":false,"gamestop_employee":false,"admin":false,"premium":false,"show_premium_icon":false,"silenced_until":null,"banned":false,"gender":null,"powerup_rewards_user":null,"powerup_rewards_bonus":null,"special_chat_vars":{},"sender_name_or_email":"tkd.dodo@gmail.com","mobile_user_agent":false,"form_authenticity_token":"t0wPl9COaJFgfQ+sbzvW9xJFjRLoqkfjcLjAv/hyT+U=","generated_at":1333647639000,"version":1,"country_code":"BR","gameplays_count":1,"ratings_count":0,"last_levelup_at":null,"first_visit_date":"2012-04-05","kong_source":null,"split_treatments":{"feature_roll":{"dream_world_3-29":"featuredcontents-190"}},"kred_buyer_type":"non-buyer","current_challenge_tiny_image":"/assets/items/0004/7806/sidekongh-icon.png","current_challenge_uri":"http://www.kongregate.com/games/FlyAnvil/decision","current_challenge_id":2371,"current_challenge_name":"The Decider Challenge","current_challenge_description":"Complete 10% of Decision to unlock the Cool Kong Hat in Fantasy Online!","botd_badge_id":1266,"botd_name":"Deck the Balls","botd_description":"Complete all 16 levels","botd_icon_uri":"http://cdn1.kongregate.com/badge_icons/0000/2531/Factor_Balls_Christmas.png?1292357407","botd_game_uri":"http://www.kongregate.com/games/bontegames/factory-balls-the-christmas-edition","botd_game_name":"Factory Balls, the Christmas edition","botd_reward_points":15,"nhtsa_award":false,"nexon_award":false,"need_for_speed_number_completed":0},"load_toolbar":true,"game_page":true}); //]]> var vag, vgen;active_user.addRunWhenAuthenticatedObserver(function(user) {  vag = user.age();  vgen = user.videoEggGender();});  //<![CDATA[   var post_message_handler = new PostMessageHandler();    function clickAdSkin(click_url){      if(global_skin_lock){       global_skin_lock = false;       window.open(click_url);        setTimeout(function(){ global_skin_lock = true }, 1000);     }   }    post_message_handler.addCallback(function(ad_payload) {     if ('primary_wrap_skin' != ad_payload.content_type) { return; }      return function() {       var p=$('primarywrap');        p.setStyle(ad_payload.skin_style);       global_skin_lock = true;       if(ad_payload.url && !active_user.isPremium()){         var click_url = ad_payload.url;         $('skin_left_of_game').setStyle("cursor: pointer; cursor: hand;");         $('skin_left_of_game').observe('click', clickAdSkin.curry(click_url));         $('skin_right_of_game').setStyle("cursor: pointer; cursor: hand;");         $('skin_right_of_game').observe('click', clickAdSkin.curry(click_url));       }     };   });    post_message_handler.addCallback(function(ad_payload) {     if ('body_class' != ad_payload.content_type) { return; }      return function() {       var b = $$('body')[0];       b.addClassName(ad_payload.body_class_name);     };   });      post_message_handler.addCallback(function(ad_payload) {     if ('insert_node' != ad_payload.content_type) { return; }     if(ad_payload.from && ad_payload.to){       if($(ad_payload.from) && $(ad_payload.to)){         $(ad_payload.to).update($(ad_payload.from));       }     }   });    post_message_handler.addCallback(function(ad_payload) {     if ('hide_elements' != ad_payload.content_type) { return; }     return function() {       $$(ad_payload.selector).each(Element.hide);     }   });    post_message_handler.addCallback(function(ad_payload) {     if ('show_elements' != ad_payload.content_type) { return; }     return function() {       $$(ad_payload.selector).each(Element.show);     }   });    var googletag = { cmd: [function(){googletag.pending=false;}], pending: true }, renderingMode = "enableAsyncRendering";  //]]><!--[if lt IE 8]>  //<![CDATA[     renderingMode = "enableSyncRendering";  //]]><![endif]-->//<![CDATA[   videoegg = false;   kong_url_host = "www.kongregate.com";      var ka = new KongDFPAds({     networkId: "1019038",     publisherId: "ca-pub-2543721856801245",     renderingMode: renderingMode   });    ka.setTargeting({"norollover":"false","production":"true","gameplays":"0","videoegg":"false","game":"counter-st","game_id":"131665","category":"multiplaye","gamegroup":["unity"],"tags":["Army","Tactical","Zombie","Fighting","War","Gun","Action","Team","Shooter","Multiplaye","3D"],"shootorial":"false","top-rated":"1","wotc":"1"});   if (window.active_user !== undefined) {     ka.setTargeting('registered', active_user.isAuthenticated() ? 'true' : 'false').       setTargeting('premium', active_user.isPremium() ? 'true' : 'false').       setTargeting('nhtsa_awar', active_user.getAttributes()['nhtsa_award'] ? 'true' : 'false').       setTargeting('nexon', active_user.getAttributes()['nexon_award'] ? 'true' : 'false');      active_user.addRunWhenAuthenticatedObserver(function(user) {       if (user.googleGender()) { ka.setGenderTargeting(user.googleGender()); }       if (user.googleAgeBracket()) { ka.setAgeTargeting(user.googleAgeBracket()); }        ka.setTargeting('kred_type', active_user.kredBuyerType());     });   }      if (!active_user.isPremium()) { 	ka.defineAd("kong_bumper_preroll_600x400", 600, 400); } if (!active_user.isPremium()) { 	ka.defineAd("kong_game_af_728x90", 728, 90); } if (!active_user.isPremium()) { 	ka.defineAd("kong_game_bf_300x250", 300, 250); } ka.defineAd("kong_game_bf_284x90_1", 281, 90); ka.defineAd("kong_game_bf_284x90_2", 281, 90); ka.defineAd("kong_game_bf_284x90_3", 281, 90); ka.defineAd("kong_game_bf_284x90_4", 281, 90); if (!active_user.isPremium()) { 	ka.defineAd("kong_tracking_pixel", 1, 1); } if (!active_user.isPremium()) { 	ka.defineAd("kong_gamepage_body_class_pixel", 1, 1); }   //]]> //<![CDATA[ swfobject.switchOffAutoHideShow(); active_user.setGame(131665, "/games/IgorLevochkin/counter-strike-web-browser-based-port-v2"); var channel_id = new Date().getTime(); if (Prototype.Browser.Opera) {   lightbox.prototype.hideGameInIFrame=function(){top.kongOldPageYOffset=window.pageYOffset;window.scrollTo(0,10000);}   lightbox.prototype.showGameInIFrame=function(){window.scrollTo(0,top.kongOldPageYOffset);}   }  function konduitToHolodeck() {   var arg = arguments[0];   if( 'undefined' == typeof(holodeck)) {     setTimeout(function() { konduitToHolodeck(arg); }, 500);   } else {     setTimeout(function() { holodeck.konduitEvent(arg) }, 0);   } }  function konduitToCanvas() {   $('chat_api_canvas').dispatchJSONEvent(Object.toJSON(arguments[0])); }  function dispatchToKonduit() {   holodeck.konduit().dispatchEvent(arguments[0]); }   //]]>                                                              //<![CDATA[       if (active_user.isPremium()) {         document.observe('dom:loaded', function() {             var recently_played_games_container = new Element('div', {id: 'recently_played_games_container'});    recently_played_games_container.insert(     new Element('h2').update('Recently Played Games')   );   recently_played_games_container.insert(     new Element('span', {       id: 'recently_played_games_spinner',       'class': 'spinner spinner_big'     }).update('loading&hellip;')   );   $('rightcontainer').insert({top: recently_played_games_container});    new Ajax.Request('/accounts/' + active_user.username() + '/gamepage_recently_played_games', {     method: 'GET',     parameters: {       current_game_id: active_user.gameId()     },     onSuccess: function(response) {       $('recently_played_games_spinner').remove();       $('recently_played_games_container').insert(response.responseText);     },     onFailure: function(response) {       $('recently_played_games_spinner').remove();       $('recently_played_games_container').insert(new Element('p').update('Your recently played games are unavailable at this time.'));     }   });          });       }        ka.requestAds();        active_user.runIfAdBlockerDetected(function() {   var selector = '.ad, .adspacer',       insertionPoint = $('kong_game_af_728x90-ad-slot').up(selector),       replacementWrapper = new Element('div', {style: 'width: 728px; margin: auto; float: right;'}),       t;    while(t = insertionPoint.up(selector)) {     insertionPoint = t;   }    insertionPoint.insert({before: replacementWrapper});   replacementWrapper.insert(new Element('img', {src: 'http://cdn2.kongregate.com/images/help_devs_leaderboard.png?1328596105'})); }); active_user.runIfAdBlockerDetected(function() {   var selector = '.ad, .adspacer',       insertionPoint = $('kong_game_bf_300x250-ad-slot').up(selector),       replacementWrapper = new Element('div', {style: 'width: 300px; margin: auto; '}),       t;    while(t = insertionPoint.up(selector)) {     insertionPoint = t;   }    insertionPoint.insert({before: replacementWrapper});   replacementWrapper.insert(new Element('img', {src: 'http://cdn2.kongregate.com/images/help_devs_square.png?1328590671'})); });   //]]>  //<![CDATA[ try{document.execCommand('BackgroundImageCache', false, true);}catch(e){} //]]>  <!-- host web04.sjc.kongregate.com - pid 9921 -->//<![CDATA[     var _gaq = _gaq || [],         MAX_EVENT_TIME = 60000; // one minute     _gaq.push(['_setAccount', 'UA-211785-2'],               ['_setDomainName', 'none']);          // dom:loaded added for 10/25 deploy but patching commented out to check if it affected gamereferral landings     //document.observe('dom:loaded', function(){       _gaq.push(['_trackPageview']);     //});      (function() {       var ga = document.createElement('script');        ga.type = 'text/javascript'; ga.async = true;       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';       var s = document.getElementsByTagName('script')[0];       s.parentNode.insertBefore(ga, s);     })();      var pageTracker = {       // we're not using _setVar at the 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 <> <!-- Begin comScore Tag -->  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;amp;lt;br&amp;amp;amp;amp;amp;gt;  &amp;amp;amp;amp;amp;lt;img src="http://b.scorecardresearch.com/p?c1=2&amp;amp;amp;amp;amp;amp;c2=8108451&amp;amp;amp;amp;amp;amp;cv=2.0&amp;amp;amp;amp;amp;amp;cj=1" /&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;br&amp;amp;amp;amp;amp;gt;<!-- End comScore Tag --> //<![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');     }  //]]>   <!-- #headerwrap -->    <!--============ #header ============-->         …    Kongregate      <!-- old school -->                                                                     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   <!--[if IE 7]>         <![endif]-->               Points needed for next level:        Total points:                Level                                Level          Points              Whoah, you’re at our level cap. Good job, you rock! Here, have some cake.                                             Sign in           Register         or Sign In:                                 Username or email                                Password                       ​       <!--[if lte IE 7]>                  <![endif]-->                 Remember me                       Forgot password?              <!-- /#welcome -->  For Developers  <!--[if IE 7]>     <![endif]-->  Developer Center  My Games  Upload a Game  Documentation  My Revenue Summary  Contests     Games    Featured   Top Rated   Hot New Games   Tower Defense   MMO   My Recommendations   My Favorites   Categories   Action   Strategy &amp; Defense   Multiplayer   Puzzle   Shooter   Music &amp; More   Adventure &amp; RPG   Tutorials   Beta Testing   MMO   New   All Categories   Developers   Upload a Game   Developer Center   Mobile   Kongregate Arcade for Android   Download App    Achievements Current Challenge                     Challenge              Play now »          Badge of the Day                                       <!-- Updated with BOTD image, gets alt/title "Badge#" -->       <!-- Gets alt/title "Badge#" -->                Badge of the Day              <!-- Gets alt/title Badge#, JS adds class "botd_badge_id_#" -->                Badge of the Day                        <!-- Link/text is updated in JS -->       Badge of the Day                 in               <!-- Link/text is updated in JS -->       Play now »          Badges &amp; Cards All Badges All Challenges Quests Points What are Points? Point Leaders Score PowerUp Rewards   Community Featured   Kongregate News   Arts &amp; Sounds   Kong Plus  Forums Mod Forum GameStop Employees Kongregate Technical Support General Gaming Serious Discussion Forum Games Off-topic Programming Collaborations The Arts All Forums   <!-- #search -->         //<![CDATA[ var game_title_auto_completer=new Ajax.CachedAutocompleter("game_title","game_title_auto_complete","/games/search?scope=published%2Cnot_under_judgement%2Cexclude_mobile\u0026site_search=true",{"paramName":"search","method":"get","onShow":function(element,update){update.show();},"onHide":function(element,update){update.hide();},"minChars":3,"noAutoDefault":false,"forceActivation":true,"frequency":0.25,"callback":function(element,value){return game_indicator(element,value)},"afterUpdateElement":function(element,value){(function(m) { $("nav_search_submit_button").onclick(); document.location = m.url; })(eval('(' + value.down('.metadata').innerHTML + ')'));}});$('game_title').up('form').observe('submit', function() { if ('' == $('game_title').value) { $('search_game_id').value = ''; }}); //]]>   ​ //<![CDATA[      game_title_auto_completer.hide = game_title_auto_completer.hide.wrap(       function(hide) {         Shim.showIframe();         hide();         $$('.hide_ad_always').invoke('show');       });      game_title_auto_completer.show = game_title_auto_completer.show.wrap(       function(show) {         show();         $$('.hide_ad_always').invoke('hide');         Shim.shimElement(this.update);       });        function game_indicator(element,value) {         if (!game_title_auto_completer.active) {           $$('.game_chooser').first().update($('game_chooser_loading').innerHTML);           $$('.game_chooser').first().show();           $$('.game_chooser li.all').first().observe('click', function(e) { $('#search').submit(); });           $$('.hide_ad_always').invoke('hide');         }         return value;       }    //]]>   ​     see more results »       {"url":"/search"}           <!-- /#search -->    <!--============ /#header ============--> <!-- /#headerwrap --> <!-- #primarywrap -->                                                      //<![CDATA[ bumper.requestAd(); //]]> //<![CDATA[ swfobject.embedSWF("http://internal.kongregate.com/flash/konduit_f393820c41d31a2796148424a3108ea3.swf","konduit","1","1","9",null,{"chat_ip":"75.98.92.206","chat_host":"of1.kongregate.com","chat_port":"5222","chat_bosh_host":"bosh1.kongregate.com","chat_bosh_port":"80","chat_username":encodeURIComponent(active_user.chatUsername()),"chat_password":encodeURIComponent(active_user.chatPassword()),"api_host":"http%3A%2F%2Fapi.kongregate.com","base_domain":"kongregate.com","connect":"true","enable_bosh":encodeURIComponent(active_user.boshEnabled()),"enable_compression":encodeURIComponent(active_user.compressionEnabled()),"game_id":"131665","game_permalink":"counter-strike-web-browser-based-port-v2","game_title":"CS%20Portable","game_url":"http%3A%2F%2Fwww.kongregate.com%2Fgames%2FIgorLevochkin%2Fcounter-strike-web-browser-based-port-v2","javascript_listener":"konduitToHolodeck","channel_id":encodeURIComponent(channel_id),"debug_level":encodeURIComponent(active_user.debugLevel()),"game_auth_token":encodeURIComponent(active_user.gameAuthToken()),"user_id":encodeURIComponent(active_user.id()),"permission_slk":"false","permission_mtx_api":"false","permission_chat_api":"false","permission_sc_api":"true","user_vars":encodeURIComponent(active_user.userVars()),"user_vars_sig":encodeURIComponent(active_user.userVarsSig()),"special_chat_vars":encodeURIComponent(Object.toJSON(active_user.specialChatVars()))},{"allowscriptaccess":"always","allownetworking":"all","wmode":"opaque"},{}); //]]> <!-- load Facebook API -->      <!-- google_ad_section_start -->            Play:       CS Portable               Multiplayer          <!-- google_ad_section_end -->     //<![CDATA[ if (!active_user.isPremium()) { 	ka.displayAd("kong_game_af_728x90");}  //]]>  <!--============ #feature ============-->      <!-- #maingame -->          <!-- #maingamecontent -->                                                                                                                     ()                      Connected                      Limited connection                      Disconnected                                          Instructions           Add to Favorites​//<![CDATA[       active_user.addCapturedSelector('#quicklinks_favorite_block', true);  //]]>               //<![CDATA[ (function() {   var q = {"url":"http://kon.gg/vA03hf","counturl":"http://www.kongregate.com/games/IgorLevochkin/counter-strike-web-browser-based-port-v2","count":"horizontal","related":"Kongregate:Play free games online!"},   o = ["I'm playing #{title}! Check it out on Kongregate: ","Playing #{title} on Kongregate. ","Workin' towards my next level on Kongregate with #{title}: ","I'm playing #{title} on Kongregate, and you could be too! ","Playing #{title} on Kongregate, saving the world. All in a day's work."],   t = o && new Template(o[Math.floor(Math.random() * o.length)] || '').evaluate({"shorturl":"http://kon.gg/vA03hf","url":"http://www.kongregate.com/games/IgorLevochkin/counter-strike-web-browser-based-port-v2","title":"CS Portable"});    if (t) q.text = t;       $('quicklinks_twitter').     insert(new Element('a', { href: 'http://twitter.com/share?' + Object.toQueryString(q), className: 'twitter-share-button' })).     insert(new Element('script', { type: 'text/javascript', src: 'http://platform.twitter.com/widgets.js' })); }());  //]]>                                                                       //<![CDATA[                       if(pageTracker) {                         var now = new Date().getTime(),                             time = (now > 0 && _lts && _lts > 0) ? (now - _lts) : -1;                        pageTracker._recordTimeEvent('BeforeGameEmbed', "CS Portable", time);                      }//]]>                                                  //<![CDATA[ function activateGame() { function createGameIframeElement() {   $('gameiframe').replace(new Element('iframe', {"id":"gameiframe","name":"gameiframe","style":"border:none;position:relative;z-index:1;","scrolling":"auto","border":0,"frameborder":0,"width":800,"height":600,"class":""})); }  function getGameIframeUrl(){   var iframe_url = "http://a.kongregate.com/games/IgorLevochkin/counter-strike-web-browser-based-port-v2/frame/" + channel_id + "/";   if(false){     iframe_url = null;   }      var iframe_options = {"DO_NOT_SHARE_THIS_LINK":1,"kongregate_username":active_user.username(),"kongregate_user_id":active_user.id(),"kongregate_game_auth_token":active_user.gameAuthToken(),"kongregate_game_id":131665,"kongregate_host":"http://www.kongregate.com","kongregate_game_url":"http://www.kongregate.com/games/IgorLevochkin/counter-strike-web-browser-based-port-v2","kongregate_api_host":"http://api.kongregate.com","kongregate_channel_id":channel_id,"kongregate_api_path":"http://chat.kongregate.com/flash/API_AS3_875a4cce8af804b49b3e68ab72c2d8ab.swf","kongregate_ansible_path":"chat.kongregate.com/flash/ansible_9f4034cf409c752878ce29f99984b38c.swf","kongregate_preview":false,"kongregate":true,"KEEP_THIS_DATA_PRIVATE":1};      var query_params = location.search.toQueryParams();   for( var key in query_params ){     if( key.indexOf("guest_access_key") == 0 || key.indexOf("kv_") == 0 ){       iframe_options[key] = query_params[key];     }   }   if(false){iframe_options.preview = true;}      iframe_url += iframe_url.indexOf("?") <>                                      &amp;amp;amp;amp;amp;lt;br&amp;amp;amp;amp;amp;gt;  &amp;amp;amp;amp;amp;lt;div class="noscript"&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;br&amp;amp;amp;amp;amp;gt;    &amp;amp;amp;amp;amp;lt;p&amp;amp;amp;amp;amp;gt;To play games on Kongregate, you must have Javascript enabled and be using a current version of Adobe's Flash Player.&amp;amp;amp;amp;amp;lt;/p&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;br&amp;amp;amp;amp;amp;gt;    &amp;amp;amp;amp;amp;lt;p&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;a href="http://www.adobe.com/go/getflashplayer"&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;br&amp;amp;amp;amp;amp;gt;      &amp;amp;amp;amp;amp;lt;img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" style="margin: 12px; border: none;" width="112" height="33" /&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;/p&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;br&amp;amp;amp;amp;amp;gt;  &amp;amp;amp;amp;amp;lt;/div&amp;amp;amp;amp;amp;gt;&amp;amp;amp;amp;amp;lt;br&amp;amp;amp;amp;amp;gt; To play games on Kongregate, you must have Javascript enabled and be using a current version of Adobe's Flash Player.      if (!swfobject.getFlashPlayerVersion().major) {    $('game').hide();    $('noflash').show();  }                                                                              Chat   Game               More Games                         Sign Up       Close                           Welcome         Close                         Alert       Close                           Award         Close                             Award         Close                             Share         Close                             Award         Close                         User Content       Close                           Alert         Close                     Other great games on Kongregate!        Anti-Idle: The Game                 In Anti-Idle: The Game, you don’t gain money automatically unless you turn Idle Mode on....                Currently 4.3/5 Stars.              Play now »                     Sanctioned Renegades - Multiplayer FPS                 Multiplayer first-person shooter featuring: 10 unlockable weapons (rifles, scopes, grenades and...                Currently 4.2/5 Stars.              Play now »                     Kongai                 Complete weekly challenges on Kongregate to build up your card collection, then construct 3- and...                Currently 4.2/5 Stars.              Play now »                     Dragons of Atlantis                 Welcome to the lost world of Atlantis. Dark fate looms on the horizon as the four tribes are at...                Currently 3.9/5 Stars.              Play now »                       <!-- #game_info -->Info    CS Portable          Created by:          IgorLevochkin                    Rate this game:                             <!--[if lte IE 7]>.<![endif]-->​ <!-- leave inline for IE --> Currently 0.0/5 Stars. 1 2 3 4 5              //<![CDATA[       active_user.addCapturedSelector('#user_star_rating', true);  //]]>                plays                             Share game                         Add to Favorites//<![CDATA[       active_user.addCapturedSelector('#favorite_game', true);  //]]> <!--[if lte IE 7]>.<![endif]-->​            Favorited                                   Report a bug                         Flag this game         ​         //<![CDATA[       active_user.addCapturedSelector('#flag_game_holder', true);  //]]>                    <!-- #game_description -->Description    Please leave bug reports in comments1. when it happens?3. on what map?2. on what server?http://c…show morePlease leave bug reports in comments1. when it happens?3. on what map?2. on what server?http://cs-portable.com/Raw gameplay footage from the cs port which was developed with the awesome Unity engine.Youtubedownload PC versionshow less <!-- #game_updates -->  Updates        igorlevochkin2 is my second account on macNext UpdatesChangeLog    <!-- #game_instructions -->Instructions    1. Rate 5 star2. Add to favorites3. Press like Facebook buttonjoke)To download all maps: settin…show more1. Rate 5 star2. Add to favorites3. Press like Facebook buttonjoke)To download all maps: settings→load extra mapsSwitch Camera: CScoreBoard: TabMovement: WASDShoot: Left Mouse ButtonReload Weapon: RJump: SpacebarChat: YSelect Team: MSelect bomb: 5Select Gun: 1,2Detonate bomb: hold ePlant bomb: hold lmbif all maps won’t load try use Opera Browsershow less		 <!-- #game_tipjar -->Tip Jar            					Support your favorite games with tips. All proceeds will go to the developer.		                                                 Donate:                                                                                                                                    25 kreds                                                                                      25 kreds                                                                                      50 kreds                                                                                      50 kreds                                                                                                                                      100 kreds                                                                                      100 kreds                                                                                                                                                                                                                                                                                                                    //<![CDATA[                                       function checkTipAmount(ele) {                                         setTimeout(function() {                                           tip_button = $('tip_checkout_submit');                                           if (ele.value >= 1 && tip_button.disabled) { tip_button.enable(); ele.focus(); }                                          else if (ele.value <>                                                                                                                                                                           other                                                                                                                                                                          donate anonymously                                                                               Last Tip: Cao_ (see all)    //<![CDATA[       active_user.addCapturedSelector('.donate .donate_kreds', true);  //]]>   //<![CDATA[       active_user.addCapturedSelector('#other_t', true);  //]]>   Learn more about kreds and tips.    //<![CDATA[   $$('.collapsible_panel').each(function(e) { new CollapsiblePanel(e, function() { holodeck.recordMappedEventAnalytic(e.id); } ); });    document.observe("dom:loaded", function() {     var opened_panel;      var panel_mappings = {       'info'            : 'game_info_panel',       'desc'            : 'game_description_panel',       'upds'            : 'game_updates_panel',       'inst'            : 'game_instructions_panel',       'tip'             : 'game_tipjar_panel',       'shared_content'  : 'game_shared_contents_panel'     };     opened_panel = Cookie.get('kong_opened_panel');     opened_panel = panel_mappings[opened_panel];      if(opened_panel && opened_panel !== ''){       var panel_element = $(opened_panel);       var opened_a_panel = false;       if(panel_element){         panel_element.panel.open();         opened_a_panel = true;       }     }      if (!opened_a_panel){       $$('#game_info_panel, #game_description_panel, #game_updates_panel, #game_instructions_panel, #game_tipjar_panel, #game_shared_contents_panel').each(         function(owner) { owner.panel.open(); }       );     }   });     //]]>          Game info loaded     loading            <!-- This template is extracted from the DOM and cloned for each room a user joins -->                                                          Enter text for chat here                     Register               or           Sign in       to chat now, earn points, level up and track your progress!                 You have been silenced for .  Click here to read about silences.              <!-- chat error message templates -->                     Kongregate Notice: Part of your message was cut off because it exceeded the 250 character maximum.                       Kongregate Notice: To prevent spamming, we've limited how fast you can submit messages. Please try again.                       Kongregate Notice: You can make your very own private chat room by joining Kong+. Now you know!                 <!-- end chat error message templates -->                           #{username}:                     Want to join my private chat room? Join/Ignore                                                 #{username}        #{extraIconType}        Kongregate Plus        #{extraIconTags}        Friend                               #{content}                    <!-- End chat room template -->        « Return to      Choose a room from the list below:            Room Name       # of Users                        <!-- This template is extracted and cloned for each group of rooms a user may choose from -->                                                                                                                              <!-- End chat rooms list template -->           <!-- template for user rollover -->                                   playing:                              View Profile                             loading                                        Private message                                          Invite Private             Invited (retry)                                                     Remove User                                        loading           Mute                     <!-- /.user_rollover -->      <!-- end template for user rollover -->   <!-- user profile placeholder -->        « Return to                 <!-- friends online placeholder -->        « Return to                 <!-- room info placeholder -->        « Return to                      loading                  Room:  ()                RoomUnread         PrivateUnread         GameUnread                                                 Chat actions              Leave private chat              Change chat rooms              See friends online              View room details              Favorite this room              Set status: Away                                                              Become a Kongregate member for free!    Sign up now to save your badges, points and progress. You'll also be eligible for free video games and prizes!!!   (Already a member?)     We encountered a problem. Please try again.                                       Username     (min. 4 characters)            Checking availability…     Username available     Username unavailable                        Password     (min. 5 characters)                          Date of Birth   JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember1234567891011121314151617181920212223242526272829303120092008200720062005200420032002200120001999199819971996199519941993199219911990198919881987198619851984198319821981198019791978197719761975197419731972197119701969196819671966196519641963196219611960195919581957195619551954195319521951195019491948194719461945194419431942194119401939193819371936193519341933193219311930192919281927192619251924192319221921192019191918191719161915191419131912                             Email address                    Please send me occasional email updates on new features, games &amp; other news                       Enter image text            Fetching captcha...     Loading        //<![CDATA[       function loadCaptchaObserver(event) {         $('captcha_holder').show();         new Ajax.Updater('signup_tab_captcha_holder', "/captchas/new",                            { method: 'get',                              onLoading: function() { $('captcha_loading_message').show(); },                             onSuccess: function() { ($('signup_tab_form') || $('signup_pod_form')).stopObserving('click'); }                           });       }       if (!active_user.solvedCaptcha()) {         ($('signup_tab_form') || $('signup_pod_form')).observe('click', loadCaptchaObserver);       }  //]]>              ​                      By clicking “Sign Up”, you agree to adhere to our Terms of Service    //<![CDATA[   new RegistrationFormValidator($('new_user'), { fieldIdPrefix: 'signup_form' });  //]]>              Welcome !    Your registration is complete. Here are a few tips to get you started on Kongregate:     * Complete your profile, earn 15 pts *   Now that you are a member, we'd love to have you become a part of our community.Tell us a bit about yourself to   earn 15 points »        * Score your first badge *   Badges are a great way to track your accomplishments in Kongregate's best games. You can find some of our favorites in the Newbie Badge Quest      Earn your first badge »                                 Earn points when you share CS Portable You'll get 15 points for each user that signs up through the share tools below, and a bonus every time they level up. Post a game link on your favorite website         Facebook     MySpace     StumbleUpon           Twitter     Digg     Reddit      Game URL with referral code        Email an Invitation to play this game        Import contacts from Yahoo/Gmail/Hotmail                          To                                From                                Message                              ​                //<![CDATA[ active_user.addRunWhenAuthenticatedObserver(function(user) {   $('plug_sender_name_or_email').value = user.senderNameOrEmail();   $('share_tab_pane_game_url').value = active_user.referrerUrl("http://www.kongregate.com/games/IgorLevochkin/counter-strike-web-browser-based-port-v2?sfa=permalink"); });  //]]>                 You set a high score in CS Portable                                         CS Portable has sent a replacement avatar.                                             Would you like to use this image as your Kongregate avatar?         Change Avatar         ​         No Thanks                       Register             or         Sign in         to save this avatar.                     <!-- alert tab contents --> You have been disconnected from Kongregate's chat &amp; score submission servers.         Check the hints below to get connected with the community and track achievements in thousands of games.           Check your connection Please check your internet connection and refresh the page if chat     does not reconnect on its own. Note that you may lose unsaved game progress if you refresh the page.           Try again in a few minutes Sometimes the internet is just not happy. We might have     restarted our chat server, or there might be a temporary problem that will resolve itself soon. You     can try refreshing the page in a couple minutes - or     contact our support team     for more help if the problem continues.           Did you lose an achievement? Take a screenshot first and     report the missing achievement.      loading  You have been disconnected from Kongregate's chat &amp; score submission servers due to a session conflict.          Check the hints below to get connected with the community and save your progress in thousands of games.           Are you logged into Kongregate in another tab or window? Kongregate only allows one chat connection per user.     Please close other tabs and windows where you are logged in, then hit the 'reconnect' button below.           Did you lose an achievement? Take a screenshot first and     report the missing achievement.                loading     To reconnect to chat or submit statistics, you must refresh your page.          Check the hints below to get connected with the community and save your progress in thousands of games.           Did you log into Kongregate in another browser? That would make the session in this browser stale.           Did you lose an achievement? Take a screenshot first and     report the missing achievement.     You are not yet connected to Kongregate's chat &amp; score submission servers.         Check the hints below to get connected with the community and track achievements in thousands of games.           Check your security settings Connection issues are typically caused by security settings     on your network or computer. Check that your firewall or router has port 5222 open and allowing traffic.     If you are on a school or office network, you may need to contact your network administrator to make the     necessary changes.           Is your version of Flash current? Some old versions of Flash don't work well with our new     chat application. You can go to http://get.adobe.com/flashplayer/ to get the newest version.           Ad blockers and browser plug ins Ad blocker programs like AdBlock Plus, proxy software and a     variety of other browser add-ons can prevent users from connecting to chat. Please try disabling any third     party browser plugins you have have, then refresh the page.           Try again in a few minutes Sometimes the internet is just not happy. We might have     restarted our chat server, or there might be a temporary problem that will resolve itself soon. You     can try refreshing the page in a couple minutes - or     contact our support team     for more help if the problem continues.           Did you lose an achievement? Take a screenshot first and     report the missing achievement.      loading <!-- kong_game_ui -->    Register now to claim your ! Kongregate members can take advantage of over 10,000 games and much more – all for free!    Save your badges, points, &amp; progress   Score PowerUp Rewards points   Keep track of your high scores   Participate in chat &amp; forums     Log in       //<![CDATA[  document.observe('dom:loaded', function() {   setTimeout(function() {     [ 'maingameholder', 'maingameholder1', 'maingameholder2', 'maingame', 'maingamecontent', 'flashframecontent', 'gameholder', 'chat_container_cell', 'chat_container' ].each(     function(e) {       var ele = $(e);       if (ele) { ele.scrollTop = 0; }     });   }, 101); });  //]]>                                                                                       <!-- flashframecontent -->         //<![CDATA[ bumper.attemptBumperEmbed(); //]]>                             Tired of ads on Kongregate? You can now be Ad-Free! Learn more about KONG PLUS &raquo;                 <!-- /#maingamecontent -->   <!-- /#maingame --> <!-- /#floating_game_holder -->                           <!-- /#primarywrap --><!--============ #subwrap ============-->   <!-- #secondary -->         <!-- #gameinfo -->                     CS Portable                                         <!-- google_ad_section_start -->                        Created by:                                           IgorLevochkin                                 <!-- google_ad_section_end -->                    Rating:                          <!--[if lte IE 7]>.<![endif]-->​ <!-- leave inline for IE --> Currently 0.0/5 Stars. 1 2 3 4 5                      //<![CDATA[       active_user.addCapturedSelector('#below_game_star_ratings_block', true);  //]]>                        4.3             (9519 ratings)                                   Click star to add your rating.                                          Published:           2011-12-06                       Game Plays:                                                 Add to Favorites//<![CDATA[       active_user.addCapturedSelector('#below_game_favorite_game', true);  //]]> <!--[if lte IE 7]>.<![endif]-->​                                       Report a bug                                     Flag game             ​             //<![CDATA[       active_user.addCapturedSelector('#game_flag', true);  //]]>                                                        <!-- end #game_details -->                    Tags                      3D,Multiplayer,Shooter,Team                      Add and Vote on Tags »                              <!-- google_ad_section_start -->                    Description                                Please leave bug reports in comments1. when it happens?3. on what map?2. on what server?http://cs-portable.com/Raw gameplay footage from the cs port which was developed with the awesome Unity engine.Youtubedownload PC version                                                                                                 Updates             igorlevochkin2 is my second account on macNext UpdatesChangeLog             Instructions             1. Rate 5 star2. Add to favorites3. Press like Facebook buttonjoke)To download all maps: settings→load extra mapsSwitch Camera: CScoreBoard: TabMovement: WASDShoot: Left Mouse ButtonReload Weapon: RJump: SpacebarChat: YSelect Team: MSelect bomb: 5Select Gun: 1,2Detonate bomb: hold ePlant bomb: hold lmbif all maps won’t load try use Opera Browser                            <!-- google_ad_section_end -->     <!-- /#gameinfo -->                         Top Comments                        Best (see all) This game does not have any comments yet. Be the first person to share your thoughts!      darnyoujagex   Feb. 23, 2012          Under rating threshold (hideshow)      Can you please stop letting spectators vote to kick? They keep ruining the games.               remove          |         hide spam        |                          reply                          +      -      !       <!--[if lte IE 7]>.<![endif]-->   ​        F     (79)     //<![CDATA[       active_user.addCapturedSelector('#comment_rating_area_6967062', true);  //]]>       george90867   Apr. 03, 2012          Under rating threshold (hideshow)      who knows what this need ??....................5/5 and shop and knife !!! plz rate 5/5 so we can get the awsome updates for this awsome game               remove          |         hide spam        |                          reply                          +      -      !       <!--[if lte IE 7]>.<![endif]-->   ​        F     (28)     //<![CDATA[       active_user.addCapturedSelector('#comment_rating_area_7083955', true);  //]]>       dantogunner   Dec. 10, 2011          Under rating threshold (hideshow)      Guys,Its Goddamn BETA..Thats why it's Buggy. It's NEW and he will fix it.               remove          |         hide spam        |                          reply                          +      -      !       <!--[if lte IE 7]>.<![endif]-->   ​        F     (989)     //<![CDATA[       active_user.addCapturedSelector('#comment_rating_area_6723061', true);  //]]>        Developer response   from IgorLevochkin  you're damn right!    edit    |   delete        IgorLevochkin   Dec. 06, 2011          Under rating threshold (hideshow)      Big update is coming in next week, many bug fixes, shop system and new maps. :)               remove          |         hide spam        |                          reply                          +      -      !       <!--[if lte IE 7]>.<![endif]-->   ​        F     (1164)     //<![CDATA[       active_user.addCapturedSelector('#comment_rating_area_6707160', true);  //]]>        Developer response   from IgorLevochkin  Due many hackers, i have to get rid of them, i will make protection and account system before i publish shop system.    edit    |   delete        jacobr514   Dec. 10, 2011          Under rating threshold (hideshow)      i gave it 5 out of 5 so make the game better pls :D               remove          |         hide spam        |                          reply                          +      -      !       <!--[if lte IE 7]>.<![endif]-->   ​        F     (903)     //<![CDATA[       active_user.addCapturedSelector('#comment_rating_area_6722812', true);  //]]>        Developer response   from IgorLevochkin  great over 600! and over 2000 facebook likes! i will make updates! Facebook likes grow fast i think i need to move whole project there from kg)    edit    |   delete  //<![CDATA[   var comments_controller = new CommentsController({"comments_path":"/games/IgorLevochkin/counter-strike-web-browser-based-port-v2/comments","hidden_threshold":-3,"active_user":active_user,"comment_ids":[6967062,7083955,6723061,6707160,6722812],"top_comments":true});      active_user.addRunWhenAuthenticatedObserver(comments_controller.checkUserRatingStatus.bind(comments_controller));  //]]>    Most Recent (see all) //<![CDATA[   new Ajax.Request('/games/IgorLevochkin/counter-strike-web-browser-based-port-v2/comments.js', {     parameters: { top_comment_ids: Object.toJSON([6967062,7083955,6723061,6707160,6722812]) },     method: 'GET',     on200: function(transport) {       $('recent_comments_separator').show();       $('recent_comments').insert(transport.responseText);     },     onComplete: function(transport) {       comments_controller.showAdminControls();     }   })  //]]>see all comments    add a comment   //<![CDATA[       active_user.addCapturedSelector('#comment_add_a_comment', true);  //]]>  //<![CDATA[   comments_controller.checkUserSilenced();  //]]>  Write a comment                 ​ //<![CDATA[   comments_controller.checkUserSilenced();  //]]>     Write a reply:                  ​                    <!-- end #game_discussion -->     <!-- /#leftcolumn -->    <!-- #game page square ad -->   //<![CDATA[ if (!active_user.isPremium()) { 	ka.displayAd("kong_game_bf_300x250");}  //]]>     <!-- #game spotlight -->        Game Spotlight            Sponsored Listings       //<![CDATA[ ka.displayAd("kong_game_bf_284x90_1"); //]]>       //<![CDATA[ ka.displayAd("kong_game_bf_284x90_2"); //]]>       //<![CDATA[ ka.displayAd("kong_game_bf_284x90_3"); //]]>       //<![CDATA[ ka.displayAd("kong_game_bf_284x90_4"); //]]>           <!-- /#game spotlight -->   <!-- #recommended games -->      Recommended for You!   Loading... //<![CDATA[ document.observe('dom:loaded', function() {   new Ajax.Updater('recommendedgameslist', "/recommended_games?game_id=131665", { method: 'get' }); });  //]]>   <!-- #recommended games --> <!-- /#rightcolumn -->  //<![CDATA[ if (!active_user.isPremium()) { 	ka.displayAd("kong_tracking_pixel");}  //]]> //<![CDATA[ if (!active_user.isPremium()) { 	ka.displayAd("kong_gamepage_body_class_pixel");}  //]]> <!-- /#secondary --> <!--============ #footer ============-->    Kongregate         About Us     Hey, do you like games? So do we — that’s what makes Kongregate the best source of free games online. We have thousands upon thousands of free online games, from both one-man indies and large studios, rated and filtered so you can play the best of the best. Read more »                                Be a Facebook Fan            Follow Us on Twitter           About Us           Contact Us                                           Games for Your Site           Link to Kongregate           Job Opportunities           Merch Store                                           Help/FAQ           Conduct Guidelines           Terms of Service           Privacy Policy                                  Developer Center            Developer Center       Are you a game developer? Visit our Developer Center where you can find documentation on our APIs and more information about marketing opportunities to further promote your game. Upload your game »          Kong Plus            Kong Plus       Get more out of your Kongregate experience.  Take advantage of ad-free gaming, cool profile skins, automatic beta access, and private chat with Kong Plus. Learn more »          Score PowerUp Rewards® on Kongregate            Score PowerUp Rewards® on Kongregate       Did you know you can now score GameStop PowerUp Rewards® Points on Kongregate? Find out how »          The GameStop Network GameStop.com Game Informer Impulse Kongregate      <!--============ /#footer ============--><!--============ /#subwrap ============-->         X           Loading ​    //<![CDATA[   try{     window.lightboxSecureProtocol = "https://";   }catch(e){}  //]]>      Kongregate    close &#215;    loading        Kongregate    close &#215;    loading  <!--[if lt IE 7]>//<![CDATA[ document.observe('dom:loaded', function() {   if (!Cookie.get('sevenUpQuitBuggingMe')) {     new Ajax.Request('/ie6_upgrade/upgrade.html', {       method: 'get',       onSuccess: function(t) {         if (!t.responseText) { return; }         var dls = [{"dl":"http://microsoft.com/windows/internet-explorer","di":"http://cdn2.kongregate.com/images/browser_logos/ie8.png?1295399770"},{"dl":"http://getfirefox.com","di":"http://cdn3.kongregate.com/images/browser_logos/firefox.png?1295399770"}];         var os_supports_upgrade = /(Windows NT 5.1|Windows NT 6.0|Windows NT 6.1|)/i.test(navigator.userAgent);         lightbox.prototype.staticContent = new Template(t.responseText).evaluate(os_supports_upgrade ? dls[0] : dls[1]);;         lightbox.prototype.activate();       }     });   } });  //]]><![endif]-->//<![CDATA[   var flash_messages = new FlashMessages(),       tracking_code_service = new TrackingCodeService({dataProvider: flash_messages.data.bind(flash_messages), pageTracker: pageTracker});      if(pageTracker) {     pageTracker._setCustomVar(1, 'Registered', String(active_user.isAuthenticated()), 2);     active_user.recordTreatments(pageTracker);   }  //]]>//<![CDATA[ LoadCss({"ie7":["http://cdn3.kongregate.com/stylesheets/compiled/zrixib5M-F7fkx3hqkk6Lg-resources.css?1333158112"],"ie7ssl":["http://cdn3.kongregate.com/stylesheets/compiled/zrixib5M-F7fkx3hqkk6Lg-resources.css?1333158112"],"ie8":["http://cdn1.kongregate.com/stylesheets/compiled/L2TJ1CDi4KFvjcidCZGrVg-resources.css?1333158112"],"ie8ssl":["http://cdn1.kongregate.com/stylesheets/compiled/L2TJ1CDi4KFvjcidCZGrVg-resources.css?1333158112"],"other":["http://cdn1.kongregate.com/stylesheets/compiled/zUSa2tP5oV3HgDd_h6vK2A-resources.css?1333158112"]}) //]]>//<![CDATA[     document.observe('dom:loaded', function() {       holodeck.recordAnalyticsEvent('GamePage', 'Load');       holodeck.recordMappedEventAnalytic(holodeck._tab_from_cookie);       var share_param = Cookie.get('kong_shared_from');       if (share_param && !share_param.blank()) {         pageTracker._trackPageview(share_param); // TODO change to event?       }       if (pageTracker) {         var dl_now = new Date().getTime(),             dl_time = (dl_now > 0 && _lts && _lts > 0) ? (dl_now - _lts) : -1;        pageTracker._recordTimeEvent('GameDomLoaded', "CS Portable", dl_time);       }    });//]]> <!-- metrics updater writes favorites update js into here -->//<![CDATA[   var holodeck = new Holodeck({"active_user":active_user,"game_id":131665,"statistics":[],"achievements":[],"challenges":[],"chat_bootstrap_url":"/games/IgorLevochkin/counter-strike-web-browser-based-port-v2/chat.js","accomplishments_bootstrap_url":"/games/IgorLevochkin/counter-strike-web-browser-based-port-v2/chat_achievements","game_path":"/games/IgorLevochkin/counter-strike-web-browser-based-port-v2","html_dimensions":{"game_width":800,"game_height":600,"game_left":0,"game_top":0,"chat_width":300,"chat_height":600,"flash_frame_width":1103,"flash_frame_height":626,"game_frame_width":800,"game_frame_height":600,"min_chat_width":300,"min_chat_height":425,"divider_width":3,"quicklinks_height":26,"chat_window_non_content_height":234,"avatar_image_gutter_height":120,"chat_pane_tab_height":41},"lightbox":lightbox.prototype,"login_url":"/accounts/new/behind_login.js?game_id=131665","shared_content_type_permalinks":[],"shared_content_type_names":[],"permissions":{"authenticated_users_only":false,"chat_api":false,"dont_hide_iframe":true,"hide_comments":false,"microtransaction_api":false,"no_file_size_limit":true,"premium_game":false,"save_external_shared_content":true,"save_shared_content":true,"served_from_internal":false,"session_lookup_key":false,"shout_api":false},"has_game_specific_forum":false,"multiplayer_game":true,"authenticated_only_shared_content_sorts":["by_own","by_friends"],"extra_interpolation":false});   if (document && document.location && document.location.search && document.location.search.match(/watch_stats/)) { holodeck.startWatchingStats(); }    holodeck.setPageTracker(pageTracker);         if(!active_user.isAuthenticated() && active_user.showPowerupRewardsUpsell()) {     $$('.benefit_powerup').each(Element.show);   }   holodeck.loadAdminControls();   holodeck.loadDeveloperControls();   holodeck.loadDiscussions();   GameMetricsUpdater.update();      active_user.occasionallyShowRegistrationLightbox();     //]]>//<![CDATA[   function activateCloudspongeChooser(element_id) {     var ele = $(element_id);     ele.value = '';     ele.removeClassName('hinted_value');     cloudsponge.init({       domain_key: "SQRCDUVTMR37TSPHRSTZ",       textarea_id: element_id,       floatbox:{         zIndex:1000005       }     });     cloudsponge.launch();     return false;   }  //]]><!-- game tracking pixels --><!-- google duration pixel rendered in iframe -->document.observe('dom:loaded', function() {  var _kong_gdc_val = Cookie.get('kong_gdc'),      _gdc_start = new Date().getTime();  if (!_kong_gdc_val) {    _kong_gdc_val = 0;   }   if (_kong_gdc_val != 'complete') {    _kong_gdc_val = parseInt(_kong_gdc_val,10);    if (_kong_gdc_val > 1200000) {      Cookie.set('kong_gdc','complete',10000,'/');      try {         $('google_duration_tracking_iframe_target').update(new Template($('google_duration_tracking_iframe').innerHTML).evaluate());       } catch(_) {};      if(pageTracker) {        pageTracker._trackEvent('KongGameDurationTotalMet', 'true');      }    } else {      window.onbeforeunload = function() {        var _gdc_end = new Date().getTime(),            _gdc_tot = _kong_gdc_val + (_gdc_end - _gdc_start);        Cookie.set('kong_gdc',_gdc_tot,10000,'/');      };    }  }});function decemberDonkey(){  var now = new Date();   var now_utc = new Date(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate(),  now.getUTCHours(), now.getUTCMinutes(), now.getUTCSeconds());  var pacific = new Date(now_utc - (1000 * 60 * 60 * 7))  return (pacific.getMonth() == 3 && pacific.getDate() == 1)}Event.observe(document, 'dom:loaded', function(){  if(decemberDonkey()){    if(Cookie.get('threedee') != undefined){      $$('body').first().addClassName('kong3D')    }  }})<!--[if gte IE 8]><![endif]--><!--[if !IE]><!--><!--<![endif]-->//<![CDATA[   PremiumOnlyLinks.attachHandlers();   SiteStatsUpdater.update();   document.observe('dom:loaded', function() { FacebookApiLoader.populate("218282488189771", window.location.protocol + "//www.kongregate.com/channel.html"); });      Hoptoad.setKey('c1c291905762af7757f51930830138fd');   Hoptoad.setEnvironment('production');      // new nav; eventually will be combined/replace site_navigation.js   var navigation = new Navigation(active_user);  //]]>  var ce2_reg_string = active_user.isAuthenticated() ? 'Signed in' : 'Guest';  document.write(unescape('%3Cscript type="text/javascript" src="'+document.location.protocol+'//dnn506yrbagrg.cloudfront.net/pages/scripts/0009/7470.js"%3E%3C%2Fscript%3E'));  document.observe('dom:loaded', function() { if(typeof(CE2) != "undefined") { CE2.set(2,  ce2_reg_string); } });  // preserve old test, just in case...  // document.observe('dom:loaded', function() { if(CE2) { CE2.set(1, ce2_reg_string); } });<!-- adroll retargeting without conversion -->adroll_adv_id = "WT26QJGCSRCB3DTS6L4C54";adroll_pix_id = "K4TGNDGRN5BBLEIDMF2Q6O";(function () {var oldonload = window.onload;window.onload = function(){   __adroll_loaded=true;   var scr = document.createElement("script");   var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");   scr.setAttribute('async', 'true');   scr.type = "text/javascript";   scr.src = host + "/j/roundtrip.js";   ((document.getElementsByTagName('head') || [null])[0] ||    document.getElementsByTagName('script')[0].parentNode).appendChild(scr);   if(oldonload){oldonload()}};}());<!-- dynamic iframe for atdmt conversion -->  if(Cookie.get('_kong_acct_created')) {    active_user.invokeConversionIframe();  }