'; return html; } function _genelecsitedealermap_predicateBy(prop) { return function(a,b){ if(a[prop] > b[prop]){ return 1; }else if( a[prop] < b[prop] ){ return -1; } return 0; } } function _genelecsitedealermap_predicateByBoolean(prop) { return function(a,b){ // true values first return (a[prop] === b[prop])? 0 : a[prop]? -1 : 1; } } function _genelecsitedealermap_hideModal() { _genelecsitedealermap_deleteUrl("diaId"); $("div").removeClass("selectedColor"); $("#_genelecsitedealermap_storeInformation").addClass("modal-hidden"); for(var i=0; i= 992) { $("#_genelecsitedealermap_storeInformation").removeClass("modal-hidden"); } if(!hideAddress){ map.setZoom(14); } for(var i=0; i< 992) { var index = $('#' + id).parent().index(); var carousel = $(".map-carousel"); carousel.trigger('to.owl.carousel', index); }else{ var eventResultHeight = $('#_genelecsitedealermap_eventResult').height(); var position = ($('#' + id).position().top) + eventResultHeight; $('#_genelecsitedealermap_list').animate({scrollTop: position},1000); } _genelecsitedealermap_updateUrl("diaId", id); } function _genelecsitedealermap_getDialogueHtml(name, address, distance, city, country, zipcode, state, hideAddress, marketSegment, email, phone, samCertified, accountType, website, techService, showRoom, smartIPCertified) { var html = '