`;
for (i = 0; i 4) {
afterParagraphFour = true;
}
currentParagraph = storytext.childNodes[i];
heights += currentParagraph.clientHeight;
if (heights >= limit && insertAfterThisParagraphIndex === -1) {
insertAfterThisParagraphIndex = SMARTASSET.setDivIndex(i);
console.log("insert after paragraph number " + i);
console.log("HEIGHTS = " + heights);
console.log("LIMIT = " + limit);
}
}
/* div with id="ie_column" */
else if (storytext.childNodes[i].nodeName.toLowerCase() === `div` &&
storytext.childNodes[i].id !== "undefined" &&
storytext.childNodes[i].id ==="ie_column") {
heights = 0;
limit = 80;
insertAfterThisParagraphIndex = -1
}
/* embeds from twitter, facebook, youtube */
else if (storytext.childNodes[i].nodeName.toLowerCase() === `div` &&
storytext.childNodes[i].classList.contains(`embed`)) {
heights = 0;
limit = 80;
insertAfterThisParagraphIndex = -1
}
/* cnn video player */
else if (storytext.childNodes[i].nodeName.toLowerCase() === `div` &&
storytext.childNodes[i].classList.contains(`cnnplayer`)) {
heights = 0;
limit = 80;
insertAfterThisParagraphIndex = -1
}
/* images */
else if (storytext.childNodes[i].nodeName.toLowerCase() === `img`) {
heights = 0;
limit = 80;
}
/* images stored in figure tags */
else if (storytext.childNodes[i].nodeName.toLowerCase() === `figure`) {
heights = 0;
limit = 80;
}
}
if (heights >= 875 && afterParagraphFour) {
storytext.childNodes[insertAfterThisParagraphIndex].insertAdjacentHTML(`afterend`, smartAssetDiv);
smartasset = document.getElementById(`smartasset-article`);
smartasset.style.float = `left`; // allows module to have text float to right
smartasset.style.marginRight =`20px`;
smartasset.style.marginBottom =`25px`;
}
}
SMARTASSET.setSmartAssetScript = function() {
console.log(`starting setSmartAssetScript`);
SA = document.SA || [];
SA.push({
embedUrl: "https://smartasset.com",
container: "#smartasset-article",
version: 1.1,
data:
{ key: "bdknf2rinbhwvdksm6zbmhf3twrv4oih" }
/*{ key: "CNNe038d38a57032085441e7fe7010b0" }*/
});
console.log(`finished in setSmartAssetScript push() call`);
var smscript = document.createElement("script");
smscript.type = "text/javascript";
smscript.async = true;
smscript.src = ("https:" == document.location.protocol ? "https://" : "http://") + "smartasset.com/embed.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(smscript, s);
console.log("finished entire function of setSmartAssetFunction()");
};
SMARTASSET.setSmartAssetDiv();
SMARTASSET.setSmartAssetScript();
But his lawyers filed an emergency petition on Wednesday asking that all potential evidence from the episode be preserved. Dao`s legal team and his family members will hold a press conference on Thursday.
If he does file suit, either against United (UAL) or the Chicago authorities who manhandled him, he has a good case, legal experts say.
As everyone now knows, Dao was pulled off a plane, bloodied and screaming, at Chicago O`Hare International Airport. He had refused to give up his seat on a flight to Louisville, Kentucky. United needed to free up seats for commuting crew members.
Trial lawyer Aaron Podhurst, who represents plaintiffs in aviation cases, said he believes Dao can make a strong civil case based on the assault and battery that appears to have occurred. United could be liable, and Dao could also sue Chicago authorities for use of excessive force, Podhurst said.
"This case is a very strong case for the passenger," Podhurst said. He added that he expects Dao would be able to secure a settlement.
Passengers agree to a litany of terms in any airline`s "contract of carriage," which they agree to when purchasing a ticket. But the agreement doesn`t sign away the right to sue if the airline treats a passenger in a manner that breaches the law.
"If you`re injured, or dragged off the airplane, or falsely arrested, you can sue," said Andrew Harakas, head of the aviation law group at Clyde & Co.
United declined to comment. Dao`s lawyer, Stephen Golan, also did not respond to a request for comment.
Related: How United could have avoided this fiasco
Airlines do have legal protection if they act in a reasonable way when refusing to transport a passenger that is a threat to himself or other passengers, Harakas said.
David Katzman, an aviation lawyer with Katzman Lampert & McClune, said that standard doesn`t likely apply in the United case.
"You could give this to a group of first-year lawyers and they could list all the claims this guy has," he said, naming intentional infliction of emotional distress in addition to assault and battery.
United CEO Oscar Munoz initially said that Dao was "disruptive and belligerent." But on Wednesday, Munoz walked back such language, saying he did not blame Dao for what happened. He told ABC that United did not give its managers "the proper tools, policies, procedures."
Dramelin
DeveloperCras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
0 comments:
Post a Comment