if(/constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window["safari"] || (typeof safari !== "undefined" && safari.pushNotification))){ location.href= "https://www.dirtdoctor.com/application/eml/scripts/safari_fix.php?return="}var originUrl= "https://www.dirtdoctor.com/embed"; var http = location.protocol;var slashes = http.concat("//");var host = slashes.concat(window.location.hostname); function sendFrameMessage (receiver) { receiver.contentWindow.postMessage("includeURL__" + host, "https://www.dirtdoctor.com/embed"); document.getElementById('eml_loader_d0f5200151ff26ec52a3').innerHTML = ""; } var addFun = function(){ if (!document.getElementById('eweb_embed_lists_d0f5200151ff26ec52a3')) { var element = document.createElement('div'); element.id = 'eweb_embed_lists_d0f5200151ff26ec52a3'; var child = document.getElementById('ewl_embed_script_d0f5200151ff26ec52a3'); var parent = child.parentNode; parent.insertBefore(element, child); } document.getElementById('eweb_embed_lists_d0f5200151ff26ec52a3').innerHTML = "
\ "; }; if (window.addEventListener) { window.addEventListener("load", addFun); } else if (window.attachEvent) { window.attachEvent("onload", addFun); } function receiveSize(e){ eOrigin = e.origin; var strRegExPattern = "\\b"+eOrigin+"\\b"; if (originUrl.match(new RegExp(strRegExPattern,"g"))) { var frame = document.getElementById("eml_job_frame_d0f5200151ff26ec52a3"); if (frame) { var message = e.data.toString(); ; if (message.match(/offset/)) { var parts = message.split("_"); var addToTop = frame.offsetParent.offsetTop + frame.offsetTop; window.scrollTo(parts[1], parseInt(parts[2]) + addToTop); } else { frame.style.height = e.data + "px"; } } } } if (window.addEventListener){ window.addEventListener("message", receiveSize,false); } else { window.attachEvent("onmessage", receiveSize); }