function read_Cookie_val(name) {
const value = '; '+document.cookie;
const parts = value.split('; '+name+'=');
if (parts.length === 2) return parts.pop().split(';').shift();
}
$(function(){
let loginsignupWidget = $('[data-component-loginsignup]');
if (read_Cookie_val('app_u_token')) {
loginsignupWidget.find('.loginWidg').hide();
loginsignupWidget.find('.signupWidg').hide();
loginsignupWidget.find('.dashboardWidg').show();
loginsignupWidget.find('.logoutWidg').show();
}else{
loginsignupWidget.find('.dashboardWidg').hide();
loginsignupWidget.find('.logoutWidg').hide();
loginsignupWidget.find('.loginWidg').show();
loginsignupWidget.find('.signupWidg').show();
}
});
$(function () { setTimeout(function() { fillFormBasicInfoFields(); }, 2000);});
Log In As
First Responder
Contents will be displayed here...
$(function(){setTimeout(function (){makeUSStatesCitiesDropdown('[data-component-dynamicsearch]');},2000);})
$(function() {
console.log( "ready!" );$(".carousel-item").first().addClass('active');
});