var items = {"grp91":[{"vare":"Refurbished 14\" HP EliteBook 840 G5 - Intel i5 8250U 1,6GHz, 256GB NVMe, 8GB, Win11 Pro - Grade B","pris":2600,"img":"elitebook840g5","stock":2},{"vare":"Refurbished 14\" Lenovo ThinkPad T14 Gen 2 - AMD Ryzen 5 Pro 5650U 2,3GHz, 256GB NVMe, 16GB, Win11 Pro - Grade A","pris":3700,"img":"t14","stock":2},{"vare":"Refurbished 14\" Lenovo ThinkPad T495 - AMD Ryzen 5 Pro 3500U 2,1GHz, 256GB NVMe, 8GB, Win11 Pro - Grade A","pris":3000,"img":"t14","stock":2},{"vare":"Refurbished Lenovo ThinkCentre M920q Tiny - Intel i7 8700T 2,4GHz, 512GB SSD, 32GB, UHD Graphics 630 - GigE - Win11 Pro - Grade A","pris":3800,"img":"M920Q","stock":1}],"grp97":[{"vare":"Doro Leva L31 4G, Graphite \/ White","pris":1400,"img":"leval31","stock":1}],"grp98":[{"vare":"Samsung Galaxy Tab A9 Plus 11'' (2023), 64GB, Graphite","pris":1800,"img":"taba9plus","stock":1},{"vare":"Samsung Galaxy Tab A9 Plus 11'' (2023), 128GB, Graphite","pris":2100,"img":"taba9plus","stock":1}],"grp90":[{"vare":"Refurbished Apple iPhone 13 Mini, 128GB, B-Grade","pris":3500,"img":"ip13mini","stock":1},{"vare":"Refurbished Apple iPhone SE 3 (2022), 64GB, B-Grade","pris":2400,"img":"ipse3","stock":1}],"grp92":[{"vare":"Refurbished Apple iPad 6 (2018), 32GB, B-Grade","pris":1300,"img":"ipad6","stock":1},{"vare":"Refurbished Apple iPad 9 (2021), 64GB, B-Grade","pris":2500,"img":"ipad9","stock":2}]}; var kats = ["91"]; document.write('
'); function formatnum(nStr) { nStr += ''; var x = nStr.split('.'); var x1 = x[0]; var x2 = x.length > 1 ? ',' + x[1] : ''; var rgx = /(\d+)(\d{3})/; while (rgx.test(x1)) { x1 = x1.replace(rgx, '$1' + '.' + '$2'); } return x1 + x2; } if (kats.includes('90') && items.grp90) { document.write('

Telefoner på lager:

'); document.write(''); } if (kats.includes('91') && items.grp91) { document.write('

Computere på lager:

'); document.write(''); } if (kats.includes('92') && items.grp92) { document.write('

Tablets på lager:

'); document.write(''); } if (kats.includes('97') && items.grp97) { document.write('

Telefoner på lager:

'); document.write(''); } if (kats.includes('98') && items.grp98) { document.write('

Tablets på lager:

'); document.write(''); } if (kats.includes('99') && items.grp99) { document.write('

Computere på lager:

'); document.write(''); } document.write('
');