roomrevealer.com Ads.txt file
<!doctype html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-84276550-1"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-84276550-1');
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-84276550-1', 'auto');
</script>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<title>Hotwire & Priceline Revealed near ads.txt | RoomRevealer.com</title><!--<link href="//fonts.googleapis.com/css?family=Lato:400,700" rel="stylesheet" type="text/css" /> -->
<link href="/includes/styleu.min.css" rel="stylesheet" type="text/css" />
<link href="/includes/stylez2.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="description" content="Reveal Hotwire and Priceline Express hotels in ads.txt. Compare mystery hotel deals with retail prices.">
<meta name="robots" content="max-image-preview:large">
</head>
<body>
<section class="main">
<section class="header">
<div class="container">
<div>
<a href="/" class="logoz">
<img src="/images/roomrevealer-logo.png" alt="Room Revealer logo">
<span style="padding-top:2px;">RoomRevealer.com</span>
</a>
</div>
<ul class="navlist">
<li><a class="loclink" href="/aboutus">About</a></li>
<li><a class="loclink" href="/faq">FAQ</a></li>
<li><a class="loclink" href="/">Search</a></li>
<li><button id="burgerlick" class="burgerclicker">
<img src="/images/burger_128.png"></button></li>
</ul>
</div>
<div class="sidemenu" id="idsidemenu">
<div class="sideinfo">
<div class="sideinfotitle">
<span>Room Revealer</span>
</div>
<a title="About Us" href="/aboutus">
<div class="inforow">
<span>About</span>
</div>
</a>
<a title="FAQ" href="/faq">
<div class="inforow">
<span>FAQ</span>
</div>
</a>
<a title="Search" href="/">
<div class="inforow">
<span><b>Search</b></span>
</div>
</a>
</div>
<div class="sideinfo">
<div class="sideinfotitle">
<span>Legal</span>
</div>
<a title="Terms of Service" href="/tos.html">
<div class="inforow">
<span>Terms of Service</span>
</div>
</a>
<a title="Privacy Policy" href="/pp.html">
<div class="inforow">
<span>Privacy Policy</span>
</div>
</a>
<a title="contact" href="/contact/">
<div class="inforow">
<span><b>Contact</b></span>
</div>
</a>
</div>
</div>
</section>
<div class="columns-container">
<main id="main" class="site-main" role="main">
<article id="post" class="post type-post status-publish format-standard has-post-thumbnail hentry">
<div id="hotelshere"></div>
<div id="aboutz2" style="display:none;"></div>
<div id="loading" style="display:none;text-align:center">
<img src="/images/loading.gif" alt="loading"/>
</div>
<div class="searchheaderbox">
<div class="headerboxfirst">
<h1>Reveal Hotwire & Priceline Hotels</h1>
<h2>RoomRevealer is the only site that identifies the name of mystery hotels and let's you compare prices with retail rates. All with a single search.</h2>
</div>
<div class="poobar-hotels--l searchbox" style="position: relative;" id="subz"><div class="poobar-widget poobar-widget--"><section class="poobar-hotels poobar-hotels--virgin poobar-tabs-container"><h4 style="display:block">Revealed Hotel Search</h4><div class="poobar-hotels-container" role="hotels"><!--if--><form role="hotels-form" accept-charset="utf-8" id="hotelsform" action="" target="_blank"><div></div><div class="poobar-hotels-city poobar-hotels-city--new poobar-stand-out"><input type="text" role="place" name="destination" data-label="City name" placeholder="Orlando, FL" required="" id="hotelsdestination"><label for="hoteldestination" class="poobar-placeholder-label">City name</label></div><div class="poobar-hotels-dates poobar-hotels-dates--new"><div class="poobar-hotels-dates-checkin "><input type="text" placeholder="Check In" data-label="Check In" id="hotelscheckin" role="hotels-dates-checkin" data-popup-max-height="245" data-popup-min-height="184" data-linked-id="hotels-dates-checkin-prepop-" class="poobar-datepicker-trigger poobar-filled" readonly="true"><label for="hotelscheckin" class="poobar-placeholder-label">Check In</label><!--if--></div><!--DatepickerInput--><div class="poobar-hotels-dates-checkout "><input type="text" placeholder="Check Out" data-label="Check Out" id="hotelscheckout" role="hotels-dates-checkout" data-popup-max-height="245" data-popup-min-height="184" data-linked-id="hotels-dates-checkin-prepop-" class="poobar-datepicker-trigger poobar-filled" readonly="true"><label for="hotelscheckout" class="poobar-placeholder-label">Check Out</label><!--if--></div><!--DatepickerInput--></div>
<div class="poobar-hotels-dates poobar-hotels-dates--new poobar-roomadultsout">
<div class="poobar-hotels-dates-checkin poobar-roomadults">
<input placeholder="Rooms" data-label="Rooms" id="hotelsrooms" role="hotels-rooms" data-popup-max-height="245" data-popup-min-height="184" data-linked-id="hotels-rooms" class="poobar-numbers poobar-datepicker-trigger poobar-filled" type="text" pattern="[0-9]*" inputmode="numeric">
<label for="hotelsrooms" class="poobar-placeholder-label">Rooms</label>
</div>
<div class="poobar-hotels-dates-checkout poobar-roomadults">
<input placeholder="Adults" data-label="Adults" id="hotelsadults" role="hotels-adults" data-popup-max-height="245" data-popup-min-height="184" data-linked-id="hotels-adults" class="poobar-numbers poobar-datepicker-trigger poobar-filled" type="text" pattern="[0-9]*" inputmode="numeric">
<label for="hotelsadults" class="poobar-placeholder-label">Adults</label>
</div>
</div>
<div class="poobar-hotels-submit_button poobar-hotels-submit_button--new"><button role="hotels_submit" type="submit">Search</button></div><!--if--><!--if--></form></div></section></div><div class="resize-sensor" style="position: absolute; inset: 0px; overflow: scroll; z-index: -1; visibility: hidden;"><div class="resize-sensor-expand" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;"><div style="position: absolute; left: 0px; top: 0px; width: 905px; height: 155px;"></div></div></div></div>
</div> <!--searchheaderbox-->
<div id="aboutz"> <script>
var m = document.createElement('meta');
m.name = 'robots';
m.content = 'noindex';
document.head.appendChild(m);
</script>
<h2> Can't Find Any Revealed Hotwire or Priceline Hotels Here.</h2>
</div> </article>
</main>
</div>
<section class="footer">
<div class="container">
<div class="footnavbar">
<ul>
<li> <a href="/tos.html" rel="nofollow">Terms of Service</a>
<li> <a href="/pp.html" rel="nofollow">Privacy Policy</a>
<li> <a href="/contact" rel="nofollow">Contact</a>
</ul>
<div class="copyright">© RoomRevealer.com 2022</div>
</div>
</div>
</section>
</body>
</html>
<script>
function burgertoggle() {
var x = document.getElementById("idsidemenu");
console.log(x.style.display);
if (x.style.display !== "block") {
x.style.display = "block";
ga('send', 'event', { eventCategory: 'BURGER', eventAction: 'OPEN:'+ window.innerWidth, eventLabel: 'OPEN', eventValue: 1});
} else {
x.style.display = "none";
}
}
var expclicks = new Array();
function clickurl(rawhref) {
/* var hrefnew = rawhref.replace("expedia","orbitz");
var win = window.open(hrefnew, '_blank');
ga('send', 'event', { eventCategory: 'affil', eventAction: 'CLICKEXPEDIAORBITZ:'+ window.innerWidth, eventLabel: 'CLICKEXPEDIAORBITZ', eventValue: 1});
return false;
*/
var subvalue = rawhref.substring(61,67);
if (rawhref.includes("booking.com")) {
// var win = window.open(rawhref, '_blank');
var win = window.open(rawhref, '_blank', 'noopener,noreferrer');
/* var win = window.open("", '_blank');
win.document.open();
var replacetxt = "<head><meta name=\"referrer\" content=\"no-referrer\" /></head><a id=\"idtest\" href=\"" + rawhref + "\" rel=\"noreferrer noopener nofollow\" target=\"_self\">_</a><script type=\"text/javascript\">document.getElementById(\"idtest\").click();<spoptart>";
replacetxt =replacetxt.replace('spoptart','/script');
win.document.writeln(replacetxt);
win.document.close();*/
//win.location.href=rawhref;
ga('send', 'event', { eventCategory: 'affil', eventAction: 'BOOKING.COM:'+ window.innerWidth, eventLabel: 'BOOKING.COM', eventValue: 1});
} else if (expclicks.indexOf("orbitz") === -1) {
expclicks.push("orbitz");
var hrefnew = rawhref.replace("expedia","orbitz");
var win = window.open(hrefnew, '_blank');
ga('send', 'event', { eventCategory: 'affil', eventAction: 'BSORBITZ:'+ window.innerWidth, eventLabel: 'BSORBITZ', eventValue: 1});
} else if (expclicks.indexOf("cheapt") === -1) {
expclicks.push("cheapt");
var hrefnew = rawhref.replace("expedia","cheaptickets");
var win = window.open(hrefnew, '_blank');
ga('send', 'event', { eventCategory: 'affil', eventAction: 'BSCHEAPTICKETS:'+ window.innerWidth, eventLabel: 'BSCHEAPTICKETS', eventValue: 1});
} else if (expclicks.indexOf("travel") === -1) {
expclicks.push("travel");
var hrefnew = rawhref.replace("expedia","travelocity");
var win = window.open(hrefnew, '_blank');
ga('send', 'event', { eventCategory: 'affil', eventAction: 'BSTRAVEL:'+ window.innerWidth, eventLabel: 'BSTRAVEL', eventValue: 1});
} else if (expclicks.indexOf(subvalue) === -1) {
expclicks.push(subvalue);
var win = window.open(rawhref, '_blank');
ga('send', 'event', { eventCategory: 'affil', eventAction: 'BSEXPEDIAtrue:'+ window.innerWidth, eventLabel: 'BSEXPEDIA', eventValue: 1});
} else {
var hrefnew = rawhref.replace("expedia","orbitz");
// var hrefnew = rawhref.substring(48);
//if (e.preventDefault) e.preventDefault();
var win = window.open(hrefnew, '_blank');
ga('send', 'event', { eventCategory: 'affil', eventAction: 'BSEXPEDIAfalse:'+ window.innerWidth, eventLabel: 'BSEXPEDIA', eventValue: 1});
}
return false;
}
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*60*60*1000));//now its hours
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
jQuery.loadScript = function (url, callback) {
jQuery.ajax({
url: url,
dataType: 'script',
success: callback,
async: true
});
}
function pad(num, size) {
var s = num+"";
while (s.length < size) s = "0" + s;
return s;
}
var attempts = 0;
var dhash;
var startDate;
function timeoutfunc() {
if (attempts > 90) {
$("#aboutz").html("<h2>Can't finish your search right now, try again later or use a different city name</h2>");
$("#subz").show();
$("#aboutz").show();
$("#loading").hide();
ga('send', 'event', { eventCategory: 'ui', eventAction: 'SEARCHFAIL '+ dhash +" :" + window.innerWidth, eventLabel: 'SEARCHFAIL', eventValue: 1});
} else {
$("#aboutz").load("/php/fetch.php?x="+dhash, function() {
var checkz = document.getElementById("hotelcount");
var checkz3 = document.getElementById("hotredirect");
if (checkz3 != null) {
var olddhash = dhash;
dhash = parseInt(checkz3.innerHTML,10);
timeoutfunc();
ga('send', 'event', { eventCategory: 'ui', eventAction: 'SEARCH REDIRECT'+olddhash+'->'+checkz3.innerHTML+':'+ window.innerWidth, eventLabel: 'SEARCH FINISHED', eventValue: 1});
}else if (checkz == null) {
attempts++;
setTimeout(function(){
timeoutfunc();
}, 1000);
} else {
var endDate = new Date();
var seconds = (endDate.getTime() - startDate.getTime()) / 1000;
ga('send', 'event', { eventCategory: 'ui', eventAction: 'SEARCH FINISHED('+seconds+'sec):'+ window.innerWidth, eventLabel: 'SEARCH FINISHED', eventValue: 1});
$("#subz").show();
$("#loading").hide();
window.location.href="/?id="+dhash;
}
});
}
}
function processFormSmoke(e) {
if (e.preventDefault) e.preventDefault();
var shotstring = $("#hotelsdestination").val();
if (shotstring.length < 1)
shotstring = "Las Vegas, NV";
shotstring = shotstring.replace("\'", "");
shotstring = shotstring.replace("\'", "");
shotstring = shotstring.toLowerCase();
var selectedDate1 = $('#hotelscheckin').datepicker('getDate');
var selectedDate2 = $('#hotelscheckout').datepicker('getDate');
var date1 = selectedDate1.getDate();
var date2 = selectedDate2.getDate();
var month1 = selectedDate1.getMonth() +1;
var month2 = selectedDate2.getMonth() +1;
var year1 = selectedDate1.getFullYear();
var year2 = selectedDate2.getFullYear();
var peoplez = 20;
var dz = new Date();
dhash = Math.floor(Math.random()*(9876543+dz.getSeconds())) + year1+year2+month1+month2+date1+date2+dz.getSeconds()+dz.getMinutes()+window.innerWidth;
console.log(dhash);
console.log(shotstring);
$("#aboutz").load("/php/run.php", {
city:shotstring,
checkin:pad(month1.toString(),2)+pad(date1.toString(),2)+year1.toString(),
checkout:pad(month2.toString(),2)+pad(date2.toString(),2)+year2.toString(),
people:peoplez,
hash:dhash
});
$("#loading").show();
var loaderz = document.getElementById("loading");
if (loaderz) {
loaderz.innerHTML = "<img style=\"max-width:100%\" src=\"/images/progress-bar_slow.gif\">";
}
$("#subz").hide();
document.getElementById('loading').scrollIntoView();
window.scrollBy(0, -30);
attempts = 0;
$("#aboutz").hide();
startDate = new Date();
setTimeout(function(){
timeoutfunc();
}, 3000);
createCookie("dest",shotstring,0);
createCookie("date1",pad(month1.toString(),2)+"/"+pad(date1.toString(),2)+"/"+year1.toString(),0);
createCookie("date2",pad(month2.toString(),2)+"/"+pad(date2.toString(),2)+"/"+year2.toString(),0);
ga('send', 'event', { eventCategory: 'ui', eventAction: 'SEARCH '+ shotstring+ " " + pad(month1.toString(),2)+pad(date1.toString(),2)+year1.toString() + " " + pad(month2.toString(),2)+pad(date2.toString(),2)+year2.toString() +" "+peoplez +" " + dhash +" :" + window.innerWidth, eventLabel: 'SEARCH', eventValue: 1});
}
function setdate()
{
var form = document.getElementById('hotelsform');
if (form == null)
return;
if (form.attachEvent) {
form.attachEvent("submit", processFormSmoke);
} else {
form.addEventListener("submit", processFormSmoke);
}
$("#hotelscheckout").datepicker({
ignoreReadonly: true,
allowInputToggle: true,
changeMonth: true,
dateFormat: "mm/dd/yy",
minDate: "+1",
});
$("#hotelscheckin").datepicker({
ignoreReadonly: true,
allowInputToggle: true,
defaultDate: "+0",
changeMonth: true,
dateFormat: "mm/dd/yy",
minDate: "+0",
onSelect: function (dateText, inst) {
var d = $.datepicker.parseDate(inst.settings.dateFormat, dateText);
d.setDate(d.getDate() + 1);
$("#hotelscheckout").val($.datepicker.formatDate(inst.settings.dateFormat, d));
},
onClose: function (selectedDate) {
$("#hotelscheckout").datepicker("option", "minDate", selectedDate);
}
});
var date = new Date();
var day = date.getDate();
var month = date.getMonth() + 1;
var year = date.getFullYear();
if (month < 10) month = "0" + month;
if (day < 10) day = "0" + day;
var today = month+ "/" + day + "/" + year;
if($("#hotelscheckin").val().length < 2)
document.getElementById('hotelscheckin').value = today;
date.setDate(date.getDate() + 1);
day = date.getDate();
month = date.getMonth() + 1;
year = date.getFullYear();
if (month < 10) month = "0" + month;
if (day < 10) day = "0" + day;
var today = month+ "/" + day + "/" + year;
if($("#hotelscheckout").val().length < 2)
document.getElementById('hotelscheckout').value = today;
var destination = readCookie("dest");
if (destination != null) {
var date1 = readCookie("date1");
var date2 = readCookie("date2");
document.getElementById('hotelscheckin').value = date1;
document.getElementById('hotelscheckout').value = date2;
document.getElementById('hotelsdestination').value = destination;
}
document.getElementById('hotelsrooms').value = 1;
document.getElementById('hotelsadults').value = 2;
}
function loaderz() {
var canzz = document.getElementById('cannonzz');
if ( canzz) {
var link = document.createElement('link'); link.setAttribute('rel', 'canonical'); link.setAttribute('href', "https://hotelages.com/"+canzz.innerHTML+"/"); document.head.appendChild(link);
}
var rediz = document.getElementById('norez');
if (rediz) {
var newurl = "https://hotelages.com/" + rediz.innerHTML +"/";
window.location.replace(newurl);
window.location = newurl;
}
var button = document.querySelector("#burgerlick");
button.addEventListener("click", function onclick(event) {
burgertoggle();
});
}
document.body.onclick = function(e){
if (e.target.id == "affilz" || $(e.target).parents("#affilz").length){
var rawhref = $(e.target).parents("#affilz").attr("href");
if (e.preventDefault) e.preventDefault();
return clickurl(rawhref);
}
if (e.target.id == "nhotclk" || $(e.target).parents("#nhotclk").length){
if (readCookie("hotwireco") == null){
createCookie("hotwireco","1",0);
e.preventDefault();
var wsite = window.open("", "_blank");
wsite.document.open();
var surl = $(e.target).parents("#nhotclk").attr('href');
var kurl = "https://go.skimresources.com?id=118355X1578098&xs=1&url=" +surl;
surl = surl.replace('amp;', '');surl = surl.replace('amp;', '');
var replacetxt = "taz id=\'idtest\' href=\'"+kurl+"\' rel=\'noreferrer noopener\' target=\'_self\'>hotwire stzz> poptart type=\'text/javascript\'>document.getElementById(\'idtest\').click();<spoptart>";
replacetxt =replacetxt.replace('poptart','<script');
replacetxt =replacetxt.replace('spoptart','/script');
replacetxt =replacetxt.replace('taz','<a');
replacetxt =replacetxt.replace('stzz','</a');
wsite.document.writeln(replacetxt);
wsite.document.close();
isaffil = "true";
ga('send', 'event', { eventCategory: 'affil', eventAction: 'CLICKHOTWIREW' + isaffil+':'+ window.innerWidth, eventLabel: 'CLICKHOTWIRE', eventValue: 1});
return false;
}
return true;
}
else if (e.target.id == "npriclk" || $(e.target).parents("#npriclk").length){
if (readCookie("priceco") == null){
createCookie("priceco","1",0);
e.preventDefault();
var wsite = window.open("", "_blank");
wsite.document.open();
var surl = $(e.target).parents("#npriclk").attr('href');
var kurl = "https://go.skimresources.com?id=118355X1578098&xs=1&url=" +surl;
surl = surl.replace('amp;', '');surl = surl.replace('amp;', '');
var replacetxt = "taz id=\'idtest\' href=\'"+kurl+"\' rel=\'noreferrer noopener\' target=\'_self\'>priceline stzz> poptart type=\'text/javascript\'>document.getElementById(\'idtest\').click();<spoptart>";
replacetxt =replacetxt.replace('poptart','<script');
replacetxt =replacetxt.replace('spoptart','/script');
replacetxt =replacetxt.replace('taz','<a');
replacetxt =replacetxt.replace('stzz','</a');
wsite.document.writeln(replacetxt);
wsite.document.close();
isaffil = "true";
ga('send', 'event', { eventCategory: 'affil', eventAction: 'CLICKPRICEW' + isaffil+':'+ window.innerWidth, eventLabel: 'CLICKPRICE', eventValue: 1});
return false;
}
return true;
} else if (e.target.id == "nagoclk" || $(e.target).parents("#nagoclk").length){
ga('send', 'event', { eventCategory: 'affil', eventAction: 'CLICKHC:' + window.innerWidth, eventLabel: 'CLICKHC', eventValue: 1});
return true;
} else if (e.target.id == "nexpclk" || $(e.target).parents("#nexpclk").length){
ga('send', 'event', { eventCategory: 'affil', eventAction: 'CLICKEXP:' + window.innerWidth, eventLabel: 'CLICKEXP', eventValue: 1});
return true;
}
}
function processFormUpdate(e) {
if (e.preventDefault) e.preventDefault();
var dhash = ads.txt;
ga('send', 'event', { eventCategory: 'ui', eventAction: 'CLICKFILT:' + window.innerWidth + $("#idareaz").val() + $("#idsortz").val() + $("#idstarz").val(), eventLabel: 'CLICKFILT', eventValue: 1});
$("#aboutz").load("/fetch_results.php?x="+dhash, {
stars:$("#idstarz").val(),
sorts:$("#idsortz").val(),
areaz:$("#idareaz").val(),
updatez:1,
hash:dhash,
}, function() {
var form = document.getElementById('allupdate');
if (form) {
if (form.attachEvent) {
form.attachEvent("submit", processFormUpdate);
} else {
form.addEventListener("submit", processFormUpdate);
}
}
var coll = document.getElementById("filtz");
if (coll) {
coll.addEventListener("click", function() {
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.maxHeight){
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + "px";
}
});
}
});
}
var loadedjs = 0;
//$(document).load(function() {
//$(window).on('load',function() {
$(document).ready(function() {
if (loadedjs == 0) {
loadedjs = 1;
setTimeout(function(){
// setdate();
}, 500);
$.loadScript('https://code.jquery.com/ui/1.12.0/jquery-ui.min.js', function(){
uijs_loaded = true;
$("#hotelsdestination").autocomplete({
maxResults:5,
source: function(request, response) {
$.loadScript('//d.hotelages.com/cities.js', function(){
results = $.ui.autocomplete.filter(autoCities, request.term);
response(results.slice(0, 5));
});
}
});
setdate();
});
var lazyloadImages;
if ("IntersectionObserver" in window) {
lazyloadImages = document.querySelectorAll(".lazy");
const config = {
root: null, // avoiding 'root' or setting it to 'null' sets it to default viewport
rootMargin: '200px',
threshold: 0.1
};
var imageObserver = new IntersectionObserver(function(entries, observer) {
entries.forEach(function(entry) {
if (entry.isIntersecting) {
var image = entry.target;
var newsrc = image.dataset.src.replace("images/imglrelay.php?hid=","imgz/");
if (!newsrc.includes(".jpg"))
newsrc = newsrc + ".jpg";
// image.src = image.dataset.src;
image.src = newsrc;
image.classList.remove("lazy");
imageObserver.unobserve(image);
}
});
}, config);
lazyloadImages.forEach(function(image) {
imageObserver.observe(image);
});
}
}
//FILTERS
var coll = document.getElementById("filtz");
if (coll) {
coll.addEventListener("click", function() {
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.maxHeight){
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + "px";
}
});
}
var form = document.getElementById('allupdate');
if (form) {
if (form.attachEvent) {
form.attachEvent("submit", processFormUpdate);
} else {
form.addEventListener("submit", processFormUpdate);
}
}
});
loaderz();
</script>