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 = '
Instalatorstwo energetyczne
Otrzymaj
Najlepsze Oferty na Rynku
Sprawdź
Za Darmo
»
Oferteo
.pl
'; iframe = document.createElement('iframe'); iframe.setAttribute("frameborder","0"); iframe.setAttribute("scrolling","no"); iframe.setAttribute("allowTransparency","true"); iframe.setAttribute("width","300px"); iframe.setAttribute("height","250px"); 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 hash197 = ''; var _id197 = ''; hash197 = 'ofe-1640645-197'; _id197 = 'ofe-1640645-197'; var elements197 = getElementsByClassName(document, hash197); if (elements197 == null || elements197.length == 0) { hash197 = '1640645-8337'; elements197 = getElementsByClassName(document, hash197); } if (elements197 == null || elements197.length == 0) { hash197 = 'ofe-1640645-8337'; elements197 = getElementsByClassName(document, hash197); } if (elements197 == null || elements197.length == 0) { hash197 = '8337'; elements197 = getElementsByClassName(document, hash197); } if (elements197 == null || elements197.length == 0) { hash197 = '197'; elements197 = getElementsByClassName(document, hash197); } if (elements197 && elements197.length > 0) { for (var i = 0; i < elements197.length; i++) { var e197 = elements197[i]; var id197 = 'ofe_' + i + '_' + hash197; e197.id = id197; addStyle('#ofe-1640645-8337 * { margin: 0; padding: 0; box-sizing: border-box;}#ofe-1640645-8337 .ofe-container { background-color: #ffffff; border: 1px solid #dddddd; box-sizing: border-box; clear: both; cursor: pointer; font-family: Arial; height: 250px; position: relative; width: 300px;}#ofe-1640645-8337 div.ofe-background { background: #fff none no-repeat scroll 0 0; bottom: 23%; left: 0; position: absolute; right: 0; top: 0; z-index: 1;}#ofe-1640645-8337 div.ofe-box { position: relative; z-index: 2;}#ofe-1640645-8337 div.ofe-title { color: #f07d13; display: table-cell; height: 80px; margin: 0; text-align: center; vertical-align: middle; width: 300px;}#ofe-1640645-8337 div.ofe-title.ofe-title-size-6 { font-size: 40px; line-height: 45px;}#ofe-1640645-8337 div.ofe-title.ofe-title-size-13 { font-size: 36px; line-height: 41px;}#ofe-1640645-8337 div.ofe-title h1.ofe-title-size-17 { font-size: 30px; line-height: 35px;}#ofe-1640645-8337 div.ofe-title.ofe-title-size-inf { font-size: 22px; line-height: 27px;}#ofe-1640645-8337 div.ofe-photo { float: left; text-align: left;}#ofe-1640645-8337 div.ofe-photo img { border-bottom-right-radius: 6px; border-top-right-radius: 6px; height: 130px; width: 122px; margin: 0; padding:0;}#ofe-1640645-8337 div.ofe-usp-btn { float: left; width: 176px;}#ofe-1640645-8337 div.ofe-usp { color: #333; font-size: 17px; line-height: 21px; margin: 6px 0 17px; text-align: center;}#ofe-1640645-8337 div.ofe-btn-box { text-align: center;}#ofe-1640645-8337 a.ofe-btn { -moz-user-select: none; background-image: none; border-radius: 6px; cursor: pointer; display: inline-block; font-size: 14px; font-weight: normal; line-height: 18px; margin: 0; padding: 3px 14px 3px 20px; text-decoration: none; vertical-align: middle; white-space: nowrap;}#ofe-1640645-8337 a.ofe-btn-color { animation-iteration-count: infinite; background-color: #f07d13 ; color: #fff; overflow: hidden; text-align: center;}#ofe-1640645-8337 a.ofe-btn-color:hover, #ofe-1640645-8337 a.ofe-btn-color:focus, #ofe-1640645-8337 a.ofe-btn-color:active { background-color: #f06406; color: #fff; text-decoration: none;}#ofe-1640645-8337 span.ofe-btn-text { display: inline-block; vertical-align: -4px;}#ofe-1640645-8337 span.ofe-btn-raquo { display: inline-block; font-size: 40px; line-height: 18px; margin-left: 4px;}#ofe-1640645-8337 div.ofe-logo { color: #808080; font-size: 13px; margin: 12px 0; text-align: center;}#ofe-1640645-8337 div.ofe-logo span {font-weight: bold;}#ofe-1640645-8337 div.clear { clear: both;}#ofe-1640645-8337 .ofe-animated { animation-duration: 8s; animation-fill-mode: both;}@keyframes shake {0%, 60%, 70%, 80%, 90%, 100% { transform: translateX(0px); }10%, 30%, 50% { transform: translateX(-10px); }20%, 40% { transform: translateX(10px); }}#ofe-1640645-8337 .ofe-shake { animation-name: shake;}#ofe-1640645-8337 .ofe-clear { clear: both; font-size: 0; height: 0; line-height: 0;}', 's_ofe-1640645-8337'); addClassCreationPool(id197, 'ofe-1640645-8337'); var creationDiv = document.getElementById(id197); creationDiv.innerHTML = '
Instalatorstwo energetyczne
Otrzymaj
Najlepsze Oferty na Rynku
Sprawdź
Za Darmo
»
Oferteo
.pl
'; } } processAnchors('a0', hash197); processAnchors('a1', hash197); processAnchors('a2', hash197); processAnchors('a3', hash197);