‘; for (i = $ allParagraphs.length-1; i > 0; i–) { if (i > 4) { afterParagraphFour = true; } $ currentParagraph = $ ($ allParagraphs[i]); heights += $ currentParagraph.height(); if (heights > limit && afterParagraphFour) { console.log($ currentParagraph.text()); $ currentParagraph.after(smartAssetDiv); heights = -9999; // reset the heights variable $ (‘#smartasset-article’).css(‘float’,’left’); // allows module to have text float to right $ (‘#smartasset-article’).css(‘margin-right’,’20px’); $ (‘#smartasset-article’).css(‘margin-bottom’,’25px’); } } } } SMARTASSET.getModulePositionLimit = function() { /* returns integer position of where we should insert the module 1. if paragraph height is at least 2000, we will insert at middle 2. else we wait for 1000 pixels. */ var positionLimit; var i; var total = 0; $ allParagraphs = $ (‘#storytext’).find(‘> p’) // makes sure $ allparagraphs doesn’t include the story-table (only direct children) $ (‘#storytext figure’).hide(); for (i = 0; i 2000) { positionLimit = total * 2 / 3; } else if (total

“We have not finalized any plans in terms of the scope, nature and details of the renovation project or the exact timing and duration of the hotel’s closure,” said a U.S. spokesman for the insurer.

Soon after Anbang bought the hotel, its CEO signaled plans for luxury apartments, which he said was a key to it being profitable for the company.

“We expect a good return with our Waldorf investment. To achieve the high value-creation, we plan to renovate the two towers into luxury residential apartments with world class amenities and finishes to reflect its culture and social status,” he said at a speech at Harvard University in January 2015. “A potential buyer needs to have more than money to qualify for our apartments.”

Related: Chinese investment in U.S. to hit $ 30 million

The Park Avenue hotel opened 85 years ago, at the time the world’s tallest hotel at 47 floors, as well as the largest. Celebrities who have called it home for long periods include Cole Porter, Frank Sinatra, generals Douglas MacArthur and Omar Bradley, and presidents Herbert Hoover and Dwight Eisenhower. In fact every president since Harry Truman has stayed at the hotel as a guest in its presidential suites.

Related: This Chinese dealmaker wants to buy some of the world’s top hotels

This is not the first landmark New York hotel to be mostly converted from hotel rooms to condominiums. The Plaza Hotel on Central Park South was converted a decade ago.