function addNewStyle(newStyle) { var styleElement = document.getElementById('styles_js'); if (!styleElement) { styleElement = document.createElement('style'); styleElement.type = 'text/css'; styleElement.id = 'styles_js'; document.getElementsByTagName('head')[0].appendChild(styleElement); } styleElement.appendChild(document.createTextNode(newStyle)); } addNewStyle('.WBWjikIQXVUxG {position:fixed;left:0;bottom:0;border:1px solid #000;z-index:21474836472;}.DadqeJFQj{width:20px; height:20px;position: absolute;right:-10px;top:-15px;text-align:right;margin:0 auto;color:#C40000; cursor:pointer;border: 3px #ef5349 solid;background-color:#FFF;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;}.DadqeJFQj svg {fill: #000!important;}.ad-center {position: absolute;top: 50%;left: 50%;-webkit-transform: translate(-50%,-50%);-ms-transform: translate(-50%,-50%);transform: translate(-50%,-50%)}.eDadqeJFQj:hover {background-color: #000;}.eDadqeJFQj:hover svg {fill: #FFF!important;}.rb_i_set{max-width:100%;}'); function rb_show25() { if( document.getElementsByClassName("rb_show_ad")[0] ) { var ahref = document.createElement('a'); ahref.setAttribute('class', 'utXWhSMdsHuhpTBF'); ahref.setAttribute('href', 'https://sindokht.com/Category/Skin-and-body/?utm_source=rozblog&utm_medium=banner&utm_campaign=blogs&utm_content=skin-and-body-care'); ahref.setAttribute('target', '_blank'); document.getElementsByClassName("rb_show_ad")[0].appendChild(ahref); } else { var createA = document.createElement('div'); createA.setAttribute('class', 'WBWjikIQXVUxG'); document.body.appendChild(createA); var create2 = document.createElement('div'); create2.setAttribute('class', 'DadqeJFQj'); create2.setAttribute('onclick', "document.getElementsByClassName('WBWjikIQXVUxG')[0].style.display='none'"); create2.innerHTML = ''; document.getElementsByClassName("WBWjikIQXVUxG")[0].appendChild(create2); var ahref = document.createElement('a'); ahref.setAttribute('class', 'utXWhSMdsHuhpTBF'); ahref.setAttribute('href', 'javascript:;'); ahref.setAttribute('onclick', "javascript:go2();"); ahref.setAttribute('rel', 'noopener noreferrer'); document.getElementsByClassName("WBWjikIQXVUxG")[0].appendChild(ahref); } var create3 = document.createElement('img'); create3.setAttribute('style', 'width:100%;'); create3.setAttribute('src', 'https://rozblog.com/images/system/sindokht.gif'); document.getElementsByClassName("utXWhSMdsHuhpTBF")[0].appendChild(create3); } function go2() { window.open("/process/redirect/1"); } setTimeout("rb_show25()", 50);