se.Directs.length; i++) {
                            directDiv.append(RenderPersonView(response.Directs[i]));
                        }
                        directDiv.show();
                    }

                    // Dynamically determine and style each image with the appropriate CSS class
                    // to display image in the corresponding orientation.
                    $('#mainContent img').each(function () {
                        $(this).addClass(this.width > this.height ? 'landscape