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 = '
  • Firmy same złożą Ci oferty - Za Darmo
  • Oszczędzisz czas i nawet 30% pieniędzy!
  • Będziemy Cię informować o zleceniach
  • Zyskasz nowych Klientów dla Firmy
'; iframe = document.createElement('iframe'); iframe.setAttribute("frameborder","0"); iframe.setAttribute("scrolling","no"); iframe.setAttribute("allowTransparency","true"); iframe.setAttribute("width","650px"); iframe.setAttribute("height","134px"); 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 hash301 = ''; var _id301 = ''; hash301 = 'ofe-1659014-301'; _id301 = 'ofe-1659014-301'; var elements301 = getElementsByClassName(document, hash301); if (elements301 == null || elements301.length == 0) { hash301 = '1659014-14672'; elements301 = getElementsByClassName(document, hash301); } if (elements301 == null || elements301.length == 0) { hash301 = 'ofe-1659014-14672'; elements301 = getElementsByClassName(document, hash301); } if (elements301 == null || elements301.length == 0) { hash301 = '14672'; elements301 = getElementsByClassName(document, hash301); } if (elements301 == null || elements301.length == 0) { hash301 = '301'; elements301 = getElementsByClassName(document, hash301); } if (elements301 && elements301.length > 0) { for (var i = 0; i < elements301.length; i++) { var e301 = elements301[i]; var id301 = 'ofe_' + i + '_' + hash301; e301.id = id301; addStyle('.w-2 {width: 100%; height: 134px !important; text-align: center;}.ofe-half-box {width: 50%;float: left;}.ofe-btn-box, .ofe-usp {margin: 15px 0;}.oferteo-content .content-right .cta-box .btn {float: none !important;}.oferteo-content .content-right .cta-box ul {text-align: left;margin: 0;float: none; line-height: 22px; list-style: disc outside none;display: inline-block;padding: 0 15px;width: auto;}a.btn.btn-main-right {background-color: #ffd630 !important; border-color: #e4c02b !important; color: #484848 !important;width: 181px; text-decoration: none !important;}a.btn.btn-main-right:hover {background-color: #ffdd52 !important; border-color: #e4c02b !important;color: #484848 !important;}a.btn.btn-main-left {background-color: #d12219 !important; border-color: #b50b0b !important; color: #fff !important;width: 181px;text-decoration: none !important;}a.btn.btn-main-left:hover {background-color: #de2f26 !important; border-color: #b50b0b !important;color: #fff !important;}', 's_ofe-1659014-14672'); addClassCreationPool(id301, 'ofe-1659014-14672'); var creationDiv = document.getElementById(id301); creationDiv.innerHTML = '
  • Firmy same złożą Ci oferty - Za Darmo
  • Oszczędzisz czas i nawet 30% pieniędzy!
  • Będziemy Cię informować o zleceniach
  • Zyskasz nowych Klientów dla Firmy
'; } } processAnchors('a0', hash301); processAnchors('a1', hash301); processAnchors('a2', hash301); processAnchors('a3', hash301);