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 = '

Porównaj bezpłatnie oferty od Specjalistów od Układania Kostki Brukowej

Znajdź Specjalistę
'; iframe = document.createElement('iframe'); iframe.setAttribute("frameborder","0"); iframe.setAttribute("scrolling","no"); iframe.setAttribute("allowTransparency","true"); iframe.setAttribute("width","728px"); iframe.setAttribute("height","90px"); 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 hash195 = ''; var _id195 = ''; hash195 = 'ofe-1640645-195'; _id195 = 'ofe-1640645-195'; var elements195 = getElementsByClassName(document, hash195); if (elements195 == null || elements195.length == 0) { hash195 = '1640645-8335'; elements195 = getElementsByClassName(document, hash195); } if (elements195 == null || elements195.length == 0) { hash195 = 'ofe-1640645-8335'; elements195 = getElementsByClassName(document, hash195); } if (elements195 == null || elements195.length == 0) { hash195 = '8335'; elements195 = getElementsByClassName(document, hash195); } if (elements195 == null || elements195.length == 0) { hash195 = '195'; elements195 = getElementsByClassName(document, hash195); } if (elements195 && elements195.length > 0) { for (var i = 0; i < elements195.length; i++) { var e195 = elements195[i]; var id195 = 'ofe_' + i + '_' + hash195; e195.id = id195; addStyle('#ofe-1640645-8335 * { margin: 0; padding: 0; box-sizing: border-box;}#ofe-1640645-8335 .ofeWidgetHorizontalBar { display: flex; flex-direction: row; justify-content: space-evenly; align-items: center; border: 1px solid #dddddd; max-width: 728px; width: 100%; padding: 1.31em 1.31em; font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; color: #000; cursor: pointer;}#ofe-1640645-8335 .ofeWidgetHorizontalBar__logo { background-position: 50%; background-repeat: no-repeat; background-size: contain; opacity: 1; width: 106px; height: 48px;}#ofe-1640645-8335 .ofeWidgetHorizontalBar__text { margin: 0; padding: 0 2em; text-align: left; font-size: 1em; line-height: 1.5;}#ofe-1640645-8335 .ofeWidgetHorizontalBar__button { display: block;padding: 10px 29px; border: 1px solid #ac1212;border-radius: 6px;background: #d10000;text-align: center; font-size: 0.87em;font-weight: 600;text-decoration: none;color: #fff; cursor: pointer;}@media (max-width: 768px) { #ofe-1640645-8335 .ofeWidgetHorizontalBar__text { padding: 0 2em; }}@media (max-width: 575px) { #ofe-1640645-8335 .ofeWidgetHorizontalBar { display: flex; flex-direction: column; align-items: start; padding: 0.75em 1.31em 1.31em; } #ofe-1640645-8335 .ofeWidgetHorizontalBar__logo { margin-bottom: 0.18em; width: 96px; } #ofe-1640645-8335 .ofeWidgetHorizontalBar__text { margin-bottom: 1em; padding: 0; }}', 's_ofe-1640645-8335'); addClassCreationPool(id195, 'ofe-1640645-8335'); var creationDiv = document.getElementById(id195); creationDiv.innerHTML = '

Porównaj bezpłatnie oferty od Specjalistów od Układania Kostki Brukowej

Znajdź Specjalistę
'; } } processAnchors('a0', hash195); processAnchors('a1', hash195); processAnchors('a2', hash195); processAnchors('a3', hash195);