"); $(".liPhotos").hide(); } else { $(".liPhotos").show(); var clinicPictureList = data.getClinicPictureResultDTOs; var clinicPictureHtml = ""; var clinicVideoHtml = ""; $.each(clinicPictureList, function (index, value) { var titleValue = value.Title; if (value.Title && value.Title.length > 25) { value.Title = value.Title.substring(0, 22) + "..."; } if (value.Tags == "video") { clinicVideoHtml += '