function getElementsByClassName(node,classname){if(node.getElementsByClassName){return node.getElementsByClassName(classname);}else{return(function getElementsByClass(searchClass,node){if(node==null)node=document; var classElements = [], els = node.getElementsByTagName("*"), elsLen = els.length, pattern = new RegExp("(^|\\s)"+searchClass+"(\\s|$)"), i, j; for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; })(classname, node);}} function processAnchors(prefix, hashTmp) { var anchors = getElementsByClassName(document, prefix + '-' + hashTmp); if (anchors && anchors.length > 0) { var a0 = 0; for (var ii = 0; ii < anchors.length; ii++) { var a = anchors[ii]; if (a.href && a.href.indexOf('an=') < 0) { a.href = a.href + '&an=' + a0; a0 = a0 + 1; } } } } function addClassCreationPool(id, cssClassNew) { var divPool = document.getElementById(id); if (divPool) { if (divPool.className.indexOf(cssClassNew) < 0) { divPool.className += ' ' + cssClassNew; } } } function addStyle(styleText, idStyle) { var createStyle = true; if (idStyle) { var styleExist = document.getElementById(idStyle); if (styleExist) { createStyle = false; } } if (createStyle && styleText) { var cssstyle = document.createElement("style"); if (cssstyle) { if (idStyle) { cssstyle.setAttribute('id', idStyle); } cssstyle.setAttribute('type', 'text/css'); var styles = document.createTextNode(styleText); if (cssstyle.styleSheet) { cssstyle.styleSheet.cssText = styles.nodeValue; } else { cssstyle.appendChild(styles); } var head = document.getElementsByTagName('head')[0]; if (head) { head.appendChild(cssstyle); } } } } function ofeOnLoad() { } function addScript(scriptHref, idScript) { var createScript = true; if (idScript) { var scriptExist = document.getElementById(idScript); if (scriptExist) { createScript = false; } } if (createScript && scriptHref) { var script = document.createElement("script"); if (script) { if (idScript) { script.setAttribute('id', idScript); } script.setAttribute('type', 'text/javascript'); script.setAttribute('src', scriptHref); script.onload=ofeOnLoad; var head = document.getElementsByTagName('head')[0]; if (head) { head.appendChild(script); } } } } function includejQueryUI() { var script = document.createElement('script'); script.setAttribute('id', 'ofe-jquery-ui'); script.src = 'https://www.oferteo.pl/scripts/jquery/jquery-ui-1.10.3.custom.min.js'; document.getElementsByTagName('head')[0].appendChild(script); } function includejQuery(callback) { if(window.jQuery) { if (callback) { setTimeout(function() { callback(jQuery); }, 1000); } } else { var script = document.createElement('script'); script.onload = function() { jQuery.noConflict(); if (callback) { callback(jQuery); } }; script.setAttribute('id', 'ofe-jquery'); script.src = 'https://www.oferteo.pl/scripts/jquery/jquery-1.9.1.min.js'; document.getElementsByTagName('head')[0].appendChild(script); } } function creationframe(id, node, styleText, idStyle, idDiv, classDiv) { var content = '

Panele fotowoltaiczne - znajdź wykonawcę

Wybierz miasto, wypełnij formularz i znajdź Specjalistów od Fotowoltaiki:

'; iframe = document.createElement('iframe'); iframe.setAttribute("frameborder","0"); iframe.setAttribute("scrolling","no"); iframe.setAttribute("allowTransparency","true"); iframe.setAttribute("width","650px"); iframe.setAttribute("height","310px"); src = 'data:text/html;charset=utf-8'; iframe.setAttribute("src", src ); //node.parentNode.insertBefore(iframe, node.nextSibling); node.appendChild(iframe); iframe.onload = function() { var y = (iframe.contentWindow || iframe.contentDocument); if (y.document)y = y.document; var createStyle = true; if (idStyle) { var styleExist = y.getElementById(idStyle); if (styleExist) { createStyle = false; } } if (createStyle) { if (styleText) { var cssstyle = document.createElement("style"); if (cssstyle) { if (idStyle) { cssstyle.setAttribute('id', idStyle); } cssstyle.setAttribute('type', 'text/css'); var styles = document.createTextNode(styleText); if (cssstyle.styleSheet) { cssstyle.styleSheet.cssText = styles.nodeValue; } else { cssstyle.appendChild(styles); } var iHead = y.getElementsByTagName('head')[0]; if (iHead) { iHead.appendChild(cssstyle); } } } } y.body.innerHTML = y.body.innerHTML = '
' + content + '
'; } } var hash570 = ''; var _id570 = ''; hash570 = 'ofe-4722405-570'; _id570 = 'ofe-4722405-570'; var elements570 = getElementsByClassName(document, hash570); if (elements570 == null || elements570.length == 0) { hash570 = '4722405-54181'; elements570 = getElementsByClassName(document, hash570); } if (elements570 == null || elements570.length == 0) { hash570 = 'ofe-4722405-54181'; elements570 = getElementsByClassName(document, hash570); } if (elements570 == null || elements570.length == 0) { hash570 = '54181'; elements570 = getElementsByClassName(document, hash570); } if (elements570 == null || elements570.length == 0) { hash570 = '570'; elements570 = getElementsByClassName(document, hash570); } if (elements570 && elements570.length > 0) { for (var i = 0; i < elements570.length; i++) { var e570 = elements570[i]; var id570 = 'ofe_' + i + '_' + hash570; e570.id = id570; addStyle('#ofe-4722405-54181 .ofeWidgetCities { font-family: "IBM Plex Sans"; /* krój czcionki na całym widgecie (zastępowany przez krój innych elementów) */ font-size: 18px; /* rozmiar czcionki na całym widgecie (zastępowany przez rozmiar innych elementów) */ line-height: 1.5; /* odstęp między wierszami tekstu na całym widgecie (zastępowany przez odstęp innych elementów) */}#ofe-4722405-54181 .ofeWidgetCities__heading { font-family: "Merriweather", Arial, sans-serif; /* krój czcionki nagłówka */ font-size: 2.2rem; /* rozmiar czcionki nagłówka */ font-weight: 700; /* grubość czcionki nagłówka */ line-height: 3rem; /* odstęp między wierszami tekstu nagłówka */}#ofe-4722405-54181 .ofeWidgetCities__text { font-family: "IBM Plex Sans", Arial, sans-serif; /* krój czcionki paragrafu */ font-size: 1.6rem; /* rozmiar czcionki paragrafu */ font-weight: 400; /* grubość czcionki paragrafu */ line-height: 2.4rem; /* odstęp między wierszami tekstu paragrafu */}#ofe-4722405-54181 .ofeWidgetCities__urlImg { display: none; /* wyświtlanie zdjęcia: block - wyświetlamy, none - nie wyświetlamy */}#ofe-4722405-54181 .ofeWidgetCities__item { "Source Sans Pro", Arial, sans-serif; /* krój czcionki elementu listy (miasto, województwo) */ font-size: 14px !important; /* rozmiar czcionki elementu listy (miasto, województwo) */ line-height: 1.8; /* odstęp między wierszami tekstu elementu listy (miasto, województwo, liczba firm) */}#ofe-4722405-54181 a.ofeWidgetCities__itemUrl { text-decoration: none; /* ozdobienie tekstu linku w elemencie listy, np. underline - podkreślenie, none - brak dekoracji */}#ofe-4722405-54181 .ofeWidgetCities__city { color: #005EB8; /* kolor czcionki elementu listy (miasto, województwo) */ font-weight: 700; /* grubość czcionki nazwy miasta, województwa */}#ofe-4722405-54181 .ofeWidgetCities__count { color: #000000; /* kolor czcionki liczby firm */ font-size: 14px; /* rozmiar czcionki liczby firm */ font-weight: 400; /* grubość czcionki liczby firm */}#ofe-4722405-54181 .ofeWidgetCities__raquo { color: #000000; /* kolor czcionki raquo */ font-size: 14px; /* rozmiar raquo */ font-weight: 400; /* grubość czcionki raquo */}#ofe-4722405-54181 .ofeWidgetCities__itemUrl:hover .ofeWidgetCities__city { color: #005EB8; /* kolor czcionki elementu listy po najechaniu na niego */ text-decoration: underline; /* ozdobienie tekstu linku w elemencie listy po najechaniu na niego */}#ofe-4722405-54181 a.ofeWidgetCities__btn { background: #005EB8; /* kolor tła buttonu */ color: #fff; /* kolor tekstu buttonu */ border-radius: 0px; /* zaokrąglenie rogów tła buttonu */ font-family: "IBM Plex Sans"; /* krój czcionki buttonu */ font-size: 1.6rem; /* rozmiar czcionki buttonu */ font-weight: 700; /* grubość czcionki buttonu */ line-height: 2.4rem; /* odstęp między wierszami w tekście buttonu */ text-decoration: none; /* ozdobienie tekstu buttonu */}/* NIE ZMIENIAĆ */#ofe-4722405-54181 .ofeWidgetCities { background: #fff; padding-bottom: 1em; text-align: left;}#ofe-4722405-54181 .ofeWidgetCities__heading { margin: 0.8em 0;}#ofe-4722405-54181 .ofeWidgetCities__container { display: flex;}#ofe-4722405-54181 .ofeWidgetCities__text { margin: 1em 0 0.5em;}#ofe-4722405-54181 .ofeWidgetCities__urlImg { margin-right: 1em; width: 100%; max-width: 135px;}#ofe-4722405-54181 img.ofeWidgetCities__img { margin-bottom: 0; margin-right: 1em; width: 166px; height: 177px; object-fit: cover;}#ofe-4722405-54181 .ofeWidgetCities__listContainer { width: 100%; font-size: 16px; }#ofe-4722405-54181 .ofeWidgetCities__list { margin: 0 0 0.8em !important; padding: 0; list-style: none; display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, 3fr);}#ofe-4722405-54181 .ofeWidgetCities__item { margin: 0;}#ofe-4722405-54181 .ofeWidgetCities__city { padding-right: 0.1em;}#ofe-4722405-54181 .ofeWidgetCities__count, .ofeWidgetCities__raquo { padding-right: 0.3em;}#ofe-4722405-54181 a.ofeWidgetCities__btn { display: block; padding: 8px 20px; text-align: center;}@media (max-width: 1280px) { #ofe-4722405-54181 .ofeWidgetCities__text { } #ofe-4722405-54181 .ofeWidgetCities__container { display: flex; } #ofe-4722405-54181 .ofeWidgetCities__urlImg { display: none; } #ofe-4722405-54181 .ofeWidgetCities__list { padding-left: 0; }}@media (max-width: 840px) { #ofe-4722405-54181 .ofeWidgetCities { line-height: 1.5; padding-left: 12px; } #ofe-4722405-54181 .ofeWidgetCities__heading { line-height: 1; } }@media (max-width: 480px) { #ofe-4722405-54181 .ofeWidgetCities { padding-left: 12px; padding-right: 12px; } #ofe-4722405-54181 .ofeWidgetCities__list { display: flex; flex-direction: column; } #ofe-4722405-54181 .ofeWidgetCities__urlImg { display: none; /* wyświtlanie zdjęcia: block - wyświetlamy, none - nie wyświetlamy */ } #ofe-4722405-54181 .hideItemOnMobile { display: none; }#ofe-4722405-54181 .hideCityOnMobile { display: none; }#ofe-4722405-54181 .ofeWidgetCities__text { font-size: 16px; }#ofe-4722405-54181 .ofeWidgetCities__listContainer { width: 100%; padding-left: 0px; }}', 's_ofe-4722405-54181'); addClassCreationPool(id570, 'ofe-4722405-54181'); var creationDiv = document.getElementById(id570); creationDiv.innerHTML = '

Panele fotowoltaiczne - znajdź wykonawcę

Wybierz miasto, wypełnij formularz i znajdź Specjalistów od Fotowoltaiki:

'; } } processAnchors('a0', hash570); processAnchors('a1', hash570); processAnchors('a2', hash570); processAnchors('a3', hash570);