(function() { var dA = document.getElementsByTagName("div"); var LcomdA; for (var i = 0; i < dA.length; i++){ if ("Lcom"==dA[i].id){ LcomdA = 0; var linksUrl = ""; var imgUrl = ""; var filetype = ""; var links = dA[i].getElementsByTagName("a"); for (var j = 0; j < links.length; j++){ linksUrl = links[j].getAttribute("href")+""; linksUrl = linksUrl.replace("..html", ".html"); } var imgs = dA[i].getElementsByTagName("img"); for (var j = 0; j < imgs.length; j++){ imgUrl = imgs[j].getAttribute("src"); } if (imgUrl.length>5){ filetype = imgUrl.substr((imgUrl.length-5)).toLowerCase(); if (filetype=='i.png'){ if(linksUrl.includes("jamison-mark")){ dA[i].innerHTML= '

Chat

'; }else{ dA[i].innerHTML= '
'; } }else if(filetype=='p.png'){ dA[i].innerHTML= '
'; }else if(filetype=='k.png'){ dA[i].innerHTML= '
'; } } } else if ("Lcomres"==dA[i].id){ LcomdA = 1; var linksUrl = ""; var imgUrl = ""; var filetype = ""; var links = dA[i].getElementsByTagName("a"); for (var j = 0; j < links.length; j++){ linksUrl = links[j].getAttribute("href")+""; linksUrl = linksUrl.replace("..html", ".html"); } var imgs = dA[i].getElementsByTagName("img"); for (var j = 0; j < imgs.length; j++){ imgUrl = imgs[j].getAttribute("src"); } if (imgUrl.length>5){ filetype = imgUrl.substr((imgUrl.length-5)).toLowerCase(); if (filetype=='i.png'){ if(linksUrl.includes("jamison-mark")){ dA[i].innerHTML= '

Chat

'; }else{ dA[i].innerHTML= '
'; } }else if(filetype=='p.png'){ dA[i].innerHTML= '
'; }else if(filetype=='k.png'){ dA[i].innerHTML= '
'; } } } } var little = document.createElement("img"); little.src = "https://www.lawyer.com/seal/track.php?"+encodeURIComponent(document.referrer); little.setAttribute("height", "1"); little.setAttribute("width", "1"); little.setAttribute("style", "border: none; box-shadow: none;"); if (LcomdA==0){ document.getElementById("Lcom").appendChild(little); } else if (LcomdA==1){ document.getElementById("Lcomres").appendChild(little); } })();