skip to main content

© 2024 Paul, Weiss, Rifkind, Wharton & Garrison LLP

Privacy Policy

"; } for (var i = 0; i < professionalsLength; i++) { var professionalsOrderValue = new Array(); var professionsSplit = professionals[i][0].split(""); var name, position, location, image; if (professionsSplit[0] != "" && professionsSplit[0] != null) { name = professionsSplit[0]; professionalsOrderValue[0] = name; } if (professionsSplit[1] != "" && professionsSplit[1] != null) { position = professionsSplit[1]; professionalsOrderValue[1] = position; } if (professionsSplit[2] != null) { location = professionsSplit[2]; professionalsOrderValue[2] = location; } if (professionsSplit[3] != "" && professionsSplit[3] != null) { image = professionsSplit[3]; professionalsOrderValue[3] = image; } professionalsOrder.push(professionalsOrderValue); } for (var i = 0; i < professionalsOrder.length; i++) { professionalStr += "
professional Image
"; professionalStr += "
" + professionalsOrder[i][0] + "

" + professionalsOrder[i][1] + "" + professionalsOrder[i][2] + "

"; } if (professionals.length > 0) { professionalStr += "
"; } if (resources.length > 0) { var resourceStr = ""; } else { var resourceStr = "

No Results

"; } for (var i = 0; i < resourceLength; i++) { resourceStr += "

" + resources[i][0] + "

"; } if (practices.length > 0) { var practiceStr = "
"; } else { var practiceStr = "

No Results

"; } for (var i = 0; i < practiceLength; i++) { practiceStr += "

" + practices[i][0] + "

"; } if (practices.length > 0) { practiceStr += "
"; } if (locations.length > 0) { var locationStr = "
"; } else { var locationStr = "

No Results

"; } for (var i = 0; i < locationLength; i++) { locationStr += "

" + locations[i][0] + "

"; } if (locations.length > 0) { locationStr += "
"; } var viewAllStr = ""; if (practiceLength > 0 || professionalsLength > 0 || resourceLength > 0 || locationLength > 0) { if ($(window).width() < 768) { viewAllStr = "
View All Results
"; } else { viewAllStr = "
View All Results
"; } } $(".smartSearch").css({ display: "block" }); $('.header-search, .smartSearch').addClass('active') $(".smartSearch").html("
" + viewAllStr + "
"); var options = {}; $(".smartSearch").unmark({ done: function () { $(".smartSearch").mark(keyword, { "separateWordSearch": false, "exclude": [["h3", ".byline *"], ["p", ".noResult *"],["h5",".excludeLaywerMarks *"],["p",".excludepracticeMarks *"],["p",".excludeaboutMarks *"],[".viewAll *"]] }); } }); } else { $(".smartSearch").css({ display: "none" }); console.log(textStatus, errorThrown); } }, error: function (jqXHR, textStatus, errorThrown) { $(".smartSearch").css({ display: "none" }); console.log(textStatus, errorThrown); } }); }