function hover(x) { var c = x.children; c[1].style.color = "#000"; c[0].style.border = "1px solid #db3c3e"; var cc = c[0].children; cc[0].style.backgroundColor = "#db3c3e"; cc[0].style.transition = "all 500ms"; } function leave(x) { var c = x.children; c[1].style.color = "#333"; c[0].style.border = "1px solid #A2A6BB"; var cc = c[0].children; cc[0].style.backgroundColor = "transparent"; cc[0].style.transition = "all 500ms"; } function kapatAts(x) { document.getElementById("overlayAtsBackground").style.display = "none"; } function sitelerigoster() { document.getElementById("overlayAtsBackground").style.display = "flex"; } var prolinkler; if(window.innerWidth > 1199){ prolinkler = `
`; var atsSitelerYcHTML = document.getElementById("atsSitelerYc"); function search() { var inputAts, filterAts, ulAts, liAts, aAts, iAts, txtValueAts; inputAts = document.getElementById("atsSiteAraYc"); filterAts = inputAts.value.toUpperCase(); ulAts = document.getElementById("atsSitelerYc"); liAts = ulAts.getElementsByTagName("li"); for (i = 0; i < liAts.length; i++) { aAts = liAts[i].getElementsByTagName("a")[0]; txtValueAts = aAts.textContent.toUpperCase() || aAts.innerText.toUpperCase(); if (txtValueAts.toUpperCase().indexOf(filterAts) > -1) { liAts[i].style.display = ""; } else { liAts[i].style.display = "none"; } } } } else{ prolinkler = ` `; var atsSitelerYcHTML = document.getElementById("atsSitelerYc"); function search() { var inputAts, filterAts, ulAts, liAts, aAts, iAts, txtValueAts; inputAts = document.getElementById("atsSiteAraYc"); filterAts = inputAts.value.toUpperCase(); ulAts = document.getElementById("atsSitelerYc"); liAts = ulAts.getElementsByTagName("li"); for (i = 0; i < liAts.length; i++) { aAts = liAts[i].getElementsByTagName("a")[0]; txtValueAts = aAts.textContent.toUpperCase() || aAts.innerText.toUpperCase(); if (txtValueAts.toUpperCase().indexOf(filterAts) > -1) { liAts[i].style.display = ""; } else { liAts[i].style.display = "none"; } } } }