0) {
f = f + "," + jQuery(this).data('text');
} else {
f = jQuery(this).data('text');
}
});
jQuery(".site_search_filter").val(f);
jQuery(".m31-search--filter-checkbox__all input").prop("checked", false);
}
jQuery("#site_search").focus();
}
function setall(e) {
jQuery(".site_search_filter").val("All");
jQuery(document).find(".desktop--searchcategory input:checkbox").prop('checked', this.checked);
jQuery("#site_search").focus();
}
function setcatm() {
var filter = getParameterByName("filter");
var term = getParameterByName("term");
jQuery(".site_search_filter").val(filter);
if (term != null) {
jQuery("#site_search").val(term);
}
if (filter == null || filter == "" || filter == "All") {
jQuery(".site_search_filter").val("All");
jQuery(".m31-search--filter-checkbox__all input").prop("checked", true);
jQuery(document).find(".mobile--searchcategory input:checkbox").prop('checked', true);
} else {
fq = filter.split(',');
jQuery.each(fq, function (i, v) {
var f = "";
jQuery(document).find(".mobile--searchcategory input:checkbox").each(function (index) {
f = jQuery(this).data('text');
if (f == fq[i]) {
jQuery(this).attr("checked", "checked");
}
});
});
jQuery(".m31-search--filter-checkbox__all input").prop("checked", false);
}
//jQuery("#site_search").focus();
}
function setcategorym(e) {
//debugger;
var f = "";
if (jQuery('.mobile--searchcategory input:checked').length == jQuery('.searchcategory input:checkbox').length) {
jQuery(".site_search_filter").val("All");
jQuery(".m31-search--filter-checkbox__all input").prop("checked", true);
} else {
jQuery(document).find(".mobile--searchcategory input:checked").each(function (index) {
if (index > 0) {
f = f + "," + jQuery(this).data('text');
} else {
f = jQuery(this).data('text');
}
// console.log(f);
});
jQuery(".site_search_filter").val(f);
jQuery(".m31-search--filter-checkbox__all input").prop("checked", false);
}
jQuery("#site_search").focus();
}
function setallm(e) {
jQuery(".site_search_filter").val("All");
jQuery(document).find(".mobile--searchcategory input:checkbox").prop('checked', this.checked);
jQuery("#site_search").focus();
}
function getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
When purchasing a new electrical appliance, consider purchasing one with a high ESMA energy efficiency rating (5 or 4 stars).
Wash your car with a bucket of soapy water instead of using a hose or pipe.
Clean your outer courtyard with a broom instead of the water hose.
Cover your swimming pool to reduce water losses due to evaporation.
Conduct a leak test two times a year by switching off all water devices and checking the water meter. If the meter is still running, this indicates a water leak in the pipes or system.
Your privacy is important to us. We will only interact with the DEWA webpage you will share with us.
Are you sure you want to reinitiate the Hayak chat?