!function () { function GetProducts(top) { var productArray = [{"pid":118016132,"name":"Razer Basilisk V3 (RZ0104000100R3M1)","price":227.1200,"sprice":"227,12","url":"https://www.ceneo.pl/118016132;basket#pid=18504&crid=221927&cid=31040","imgurl":"//image.ceneostatic.pl/data/products/118016132/f-razer-basilisk-v3-rz0104000100r3m1.jpg","newpage":false,"format":"custom","rating":4.75,"drawchance":1,"urltype":0,"position":1},{"pid":100911747,"name":"Logitech G Pro X Superlight Czarny (910005880)","price":499.0000,"sprice":"499,00","url":"https://www.ceneo.pl/100911747;basket#pid=18504&crid=221927&cid=31040","imgurl":"//image.ceneostatic.pl/data/products/100911747/f-logitech-g-pro-x-superlight-czarny-910005880.jpg","newpage":false,"format":"custom","rating":5.0,"drawchance":1,"urltype":0,"position":2},{"pid":76667905,"name":"Logitech MX Vertical czarny (910005448)","price":366.0000,"sprice":"366,00","url":"https://www.ceneo.pl/76667905;basket#pid=18504&crid=221927&cid=31040","imgurl":"//image.ceneostatic.pl/data/products/76667905/f-logitech-mx-vertical-czarny-910005448.jpg","newpage":false,"format":"custom","rating":4.77,"drawchance":1,"urltype":0,"position":3},{"pid":134359874,"name":"Razer Barracuda X (2022) Black (RZ0404430100R3M1)","price":349.0000,"sprice":"349,00","url":"https://www.ceneo.pl/134359874;basket#pid=18504&crid=221927&cid=31040","imgurl":"//image.ceneostatic.pl/data/products/134359874/f-razer-barracuda-x-2022-black-rz0404430100r3m1.jpg","newpage":false,"format":"custom","rating":4.71,"drawchance":1,"urltype":0,"position":4},{"pid":99146328,"name":"Apple MacBook Air 13,3\"/M1/16GB/256GB/macOS (MGN63ZEAR1)","price":5073.9900,"sprice":"5073,99","url":"https://www.ceneo.pl/99146328;basket#pid=18504&crid=221927&cid=31040","imgurl":"//image.ceneostatic.pl/data/products/99146328/f-apple-macbook-air-13-3-m1-16gb-256gb-macos-mgn63zear1.jpg","newpage":false,"format":"custom","rating":4.92,"drawchance":1,"urltype":0,"position":5},{"pid":151200403,"name":"Asus ProArt Studiobook H7604 H7604JI-MY106X 16\"/i9/64GB/2TB/Win11 (90NB0ZD2M004H0)","price":14299.0000,"sprice":"14299,00","url":"https://www.ceneo.pl/151200403#pid=18504&crid=221927&cid=31040","imgurl":"//image.ceneostatic.pl/data/products/151200403/f-asus-proart-studiobook-h7604-h7604ji-my106x-16-i9-64gb-2tb-win11-90nb0zd2m004h0.jpg","newpage":false,"format":"custom","rating":0.0,"drawchance":1,"urltype":0,"position":6},{"pid":156662697,"name":"Lenovo IdeaPad Duet 3 11Q727 10,95\"/Snapdragon7c/8GB/128GB/ChromeOS (82T6002JPB)","price":2099.9900,"sprice":"2099,99","url":"https://www.ceneo.pl/156662697;basket#pid=18504&crid=221927&cid=31040","imgurl":"//image.ceneostatic.pl/data/products/156662697/f-lenovo-ideapad-duet-3-11q727-10-95-snapdragon7c-8gb-128gb-chromeos-82t6002jpb.jpg","newpage":false,"format":"custom","rating":0.0,"drawchance":1,"urltype":0,"position":7},{"pid":156613146,"name":"Lenovo LOQ 15IRH8 15,6\"/i5/16GB/512GB/NoOS (82XV009UPB)","price":3777.0000,"sprice":"3777,00","url":"https://www.ceneo.pl/156613146;basket#pid=18504&crid=221927&cid=31040","imgurl":"//image.ceneostatic.pl/data/products/156613146/f-lenovo-loq-15irh8-15-6-i5-16gb-512gb-noos-82xv009upb.jpg","newpage":false,"format":"custom","rating":0.0,"drawchance":1,"urltype":0,"position":8}]; var sum = 8; var result = []; var i = 0, n = 0; for (var n = 0; n < top; n++) { var r = Math.floor(Math.random() * sum); var lsum = 0; for (i = 0; i < productArray.length; i++) { var prod = productArray[i]; lsum += prod.drawchance; if (r < lsum) { sum -= prod.drawchance; result.push(prod); productArray.splice(i, 1); break; } } } return result; } function htmlEncode(value){ var div = document.createElement('div'); var text = document.createTextNode(value); div.appendChild(text); return div.innerHTML; } var html = ''; var products = GetProducts(8); var rows = 2, columns = 4, r = 0, c = 0; html += '
'; for (r = 0; r < rows; r++) { html += '
'; for (c = 0; c < columns; c++) { var idx = (r * columns) + c; var product = products[idx]; if(product){ var rating = Math.round(product.rating * 20); html += '
'; html += '
' html += ''; html += '' + product.name + ''; html += ''; html += product.name + ''; if(product.urltype == 0){ html += ''; html += 'Od ' + product.sprice + ''; } html += '
'; if(product.urltype == 1){ html += ''; html += 'Sprawdź'; } } html += '
'; } html += '
'; } html += '
'; html += ''; html += 'Więcej na Ceneo - Komputery »'; html += ''; html += ''; html += '
'; html += '
'; try { var _logo = document.getElementById('ceneoaff-logo'); if (_logo != null) { _logo.parentNode.removeChild(_logo); } } catch (err) { } if($CeneoAP.options.ad_onAfterRender != null) $CeneoAP.options.ad_onAfterRender(); document.getElementById('ceneoaffcontainer221927').innerHTML = html; if(false === true){ var hrefs = document.getElementById('ceneoaffcontainer221927').querySelectorAll(".ceneoaff-items a"); for (i = 0; i < hrefs.length; i++) { var href = hrefs[i]; (function(href) { href.addEventListener('click', function(event){ var pid = href.closest('div.ceneoaff-item').getAttribute('data-pid'); var request = '' + "?productId=" + pid + "&creationId=" + $CeneoAP.options.ad_creation + "&referrerUrl=" + encodeURIComponent(window.location); var img = new Image(); img.src = request; }, false); })(href); } var percentage = 0; var trackView = false; if(percentage === 100){ trackView = true; } else{ var rotatorRandomVal = Math.floor((Math.random() * 100) + 1); if(rotatorRandomVal < percentage){ trackView = true; } } if(trackView){ var stamp = parseInt(new Date().getTime()/86400, 10); var img = new Image(); var imgSrc = location.protocol + '' + '&_=' + (new Date).getTime(); img.src = imgSrc.replace(/&/g, '&'); } } }();