$(".alt-view.desktop.video").append('\n\n    <div class=\"slider-wrapper \">\n      <div class=\"slider-btn\">\n      <\/div>\n      <div class=\"text-center image-wrapper\">\n        <div class=\"timestamp\">\n	<span>\n	  <img alt=\"Logo-timestamp\" src=\"/assets/logo-timestamp.png\" />\n	<\/span>\n	<span>02:52<\/span>\n        <\/div>\n        <a href=\"/videos/estate-planning-testamentary-trusts\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1405831954icon_3-3\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1405831954Icon_3-3.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/estate-planning-testamentary-trusts\">Testamentary trusts<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Announcer Group <\/a>\n	  in\n	      <a href=\"/channels/estate-planning/channel?sort=title\">Estate Planning, <\/a>\n\n		<a href=\"/channels/estate-planning/subchannel/thumb?id=estate-planning-estate-planning\">Estate Planning<\/a>\n\n	<\/p>\n	<p>The Testamentary trust is usually established to protect assets but it&rsquo;s important to go beyond the motivation to understand the reasons why you might consider this to be a good idea that suits you. We also explain how it may insulate you and your beneficiaries from a variety of circumstances.<\/p>			\n      <\/div>\n    <\/div>  \n');
$(".thumb-view.mobile.video").append('\n\n    <div class=\"slider-wrapper \">\n      <div class=\"slider-btn\">\n      <\/div>\n      <div class=\"text-center image-wrapper\">\n        <div class=\"timestamp\">\n	<span>\n	  <img alt=\"Logo-timestamp\" src=\"/assets/logo-timestamp.png\" />\n	<\/span>\n	<span>02:52<\/span>\n        <\/div>\n        <a href=\"/videos/estate-planning-testamentary-trusts\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1405831954icon_3-3\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1405831954Icon_3-3.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/estate-planning-testamentary-trusts\">Testamentary trusts<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Announcer Group <\/a>\n	  in\n	      <a href=\"/channels/estate-planning/channel?sort=title\">Estate Planning, <\/a>\n\n		<a href=\"/channels/estate-planning/subchannel/thumb?id=estate-planning-estate-planning\">Estate Planning<\/a>\n\n	<\/p>\n	<p>The Testamentary trust is usually established to protect assets but it&rsquo;s important to go beyond the motivation to understand the reasons why you might consider this to be a good idea that suits you. We also explain how it may insulate you and your beneficiaries from a variety of circumstances.<\/p>			\n      <\/div>\n    <\/div>  \n');
$(".thumb-view.video").append('\n\n    <div class=\"slider-wrapper \">\n      <div class=\"slider-btn\">\n      <\/div>\n      <div class=\"text-center image-wrapper\">\n        <div class=\"timestamp\">\n	<span>\n	  <img alt=\"Logo-timestamp\" src=\"/assets/logo-timestamp.png\" />\n	<\/span>\n	<span>02:52<\/span>\n        <\/div>\n        <a href=\"/videos/estate-planning-testamentary-trusts\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1405831954icon_3-3\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1405831954Icon_3-3.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/estate-planning-testamentary-trusts\">Testamentary trusts<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Announcer Group <\/a>\n	  in\n	      <a href=\"/channels/estate-planning/channel?sort=title\">Estate Planning, <\/a>\n\n		<a href=\"/channels/estate-planning/subchannel/thumb?id=estate-planning-estate-planning\">Estate Planning<\/a>\n\n	<\/p>\n	<p>The Testamentary trust is usually established to protect assets but it&rsquo;s important to go beyond the motivation to understand the reasons why you might consider this to be a good idea that suits you. We also explain how it may insulate you and your beneficiaries from a variety of circumstances.<\/p>			\n      <\/div>\n    <\/div>  \n');
$(".thumb-view.mobile.subscription-46").append('\n\n    <div class=\"slider-wrapper \">\n      <div class=\"slider-btn\">\n      <\/div>\n      <div class=\"text-center image-wrapper\">\n        <div class=\"timestamp\">\n	<span>\n	  <img alt=\"Logo-timestamp\" src=\"/assets/logo-timestamp.png\" />\n	<\/span>\n	<span>02:52<\/span>\n        <\/div>\n        <a href=\"/videos/estate-planning-testamentary-trusts\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1405831954icon_3-3\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1405831954Icon_3-3.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/estate-planning-testamentary-trusts\">Testamentary trusts<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Announcer Group <\/a>\n	  in\n	      <a href=\"/channels/estate-planning/channel?sort=title\">Estate Planning, <\/a>\n\n		<a href=\"/channels/estate-planning/subchannel/thumb?id=estate-planning-estate-planning\">Estate Planning<\/a>\n\n	<\/p>\n	<p>The Testamentary trust is usually established to protect assets but it&rsquo;s important to go beyond the motivation to understand the reasons why you might consider this to be a good idea that suits you. We also explain how it may insulate you and your beneficiaries from a variety of circumstances.<\/p>			\n      <\/div>\n    <\/div>  \n');
$(".channel-mobile.channel-homepage-46").append('\n\n    <div class=\"slider-wrapper \">\n      <div class=\"slider-btn\">\n      <\/div>\n      <div class=\"text-center image-wrapper\">\n        <div class=\"timestamp\">\n	<span>\n	  <img alt=\"Logo-timestamp\" src=\"/assets/logo-timestamp.png\" />\n	<\/span>\n	<span>02:52<\/span>\n        <\/div>\n        <a href=\"/videos/estate-planning-testamentary-trusts\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1405831954icon_3-3\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1405831954Icon_3-3.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/estate-planning-testamentary-trusts\">Testamentary trusts<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Announcer Group <\/a>\n	  in\n	      <a href=\"/channels/estate-planning/channel?sort=title\">Estate Planning, <\/a>\n\n		<a href=\"/channels/estate-planning/subchannel/thumb?id=estate-planning-estate-planning\">Estate Planning<\/a>\n\n	<\/p>\n	<p>The Testamentary trust is usually established to protect assets but it&rsquo;s important to go beyond the motivation to understand the reasons why you might consider this to be a good idea that suits you. We also explain how it may insulate you and your beneficiaries from a variety of circumstances.<\/p>			\n      <\/div>\n    <\/div>  \n');
$(".channel-mobile.unregister-channel-homepage-46").append('\n\n    <div class=\"slider-wrapper \">\n      <div class=\"slider-btn\">\n      <\/div>\n      <div class=\"text-center image-wrapper\">\n        <div class=\"timestamp\">\n	<span>\n	  <img alt=\"Logo-timestamp\" src=\"/assets/logo-timestamp.png\" />\n	<\/span>\n	<span>02:52<\/span>\n        <\/div>\n        <a href=\"/videos/estate-planning-testamentary-trusts\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1405831954icon_3-3\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1405831954Icon_3-3.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/estate-planning-testamentary-trusts\">Testamentary trusts<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Announcer Group <\/a>\n	  in\n	      <a href=\"/channels/estate-planning/channel?sort=title\">Estate Planning, <\/a>\n\n		<a href=\"/channels/estate-planning/subchannel/thumb?id=estate-planning-estate-planning\">Estate Planning<\/a>\n\n	<\/p>\n	<p>The Testamentary trust is usually established to protect assets but it&rsquo;s important to go beyond the motivation to understand the reasons why you might consider this to be a good idea that suits you. We also explain how it may insulate you and your beneficiaries from a variety of circumstances.<\/p>			\n      <\/div>\n    <\/div>  \n');

    $(".more.text-center.video.desktop").remove();
    $(".more.text-center.video.mobile").remove();
    $(".more.text-center.subscription-46.mobile").remove();
    $(".more.text-center.channel-homepage-46").remove();
    $(".more.text-center.unregister-channel-homepage-46.mobile").remove();

var baseShowChar = 300;
var ellipsestext = "...";
var moretext = "<br />More +" ;
var lesstext = "<br />Less";
var isTag = false;
$('.moredesc').each(function() {
  if ($(this).has(".morecontent").has("a.morelink").length == 0){
    var content = $(this).html();
    content = $(this).html().replace(/&nbsp;/g,"");
    var showChar = setNewShowChar(content, baseShowChar);
    
    if(content.length > showChar) {

      var c = content.substr(0, showChar);
      var h = content.substr(showChar-1, content.length - showChar);

      var html = c + '<span class="moreellipses">' + ellipsestext+ '&nbsp;</span><span class="morecontent"><span>' + h + '</span>&nbsp;&nbsp;<a href="" class="morelink">' + moretext + '</a></span>';

      $(this).html(html);
    }
  }
});