      $(".more.text-center.channel").remove();

      $(".alt-view.channel").append('    <div class=\"slider-wrapper\">\n      <div class=\"slider-text channel-slider\">\n        <h6>\n	  <a href=\"/channels/life-insurance/channel?sort=title\">Life Insurance<\/a>\n        <\/h6>\n        <p class=\"comment moredesc\"> We insure all sorts of things we think are important like our house or car but what could be more important than your life? This channel focus on Life Insurance and the associated issues.<\/p>\n	<a href=\"/channels/life-insurance/channel?sort=title\" class=\"btn btn-subs pull-left\">view channel<\/a>\n\n	<a href=\"/users/sign_in\" class=\"btn btn-subs pull-left\">subscribe<\/a>\n      <\/div>\n    <\/div>\n    <div class=\"slider-wrapper\">\n      <div class=\"slider-text channel-slider\">\n        <h6>\n	  <a href=\"/channels/estate-planning/channel?sort=title\">Estate Planning<\/a>\n        <\/h6>\n        <p class=\"comment moredesc\"> No one wants to think about death in the prime of life or asset protection. But it&rsquo;s important to decide what will happen to your assets when you die or if something goes wrong.&nbsp; This channel explains what are the major components of Estate Planning.<\/p>\n	<a href=\"/channels/estate-planning/channel?sort=title\" class=\"btn btn-subs pull-left\">view channel<\/a>\n\n	<a href=\"/users/sign_in\" class=\"btn btn-subs pull-left\">subscribe<\/a>\n      <\/div>\n    <\/div>\n    <div class=\"slider-wrapper\">\n      <div class=\"slider-text channel-slider\">\n        <h6>\n	  <a href=\"/channels/borrowing-credit/channel?sort=title\">Borrowing &amp; Credit<\/a>\n        <\/h6>\n        <p class=\"comment moredesc\"> This channel looks at borrowing and credit. &nbsp;There are pitfalls of borrowing and how getting into debt is a lot easier than getting out of it. Your borrowing decision is not solely about what, why, and how much, timing can be as crucial a factor as well.<\/p>\n	<a href=\"/channels/borrowing-credit/channel?sort=title\" class=\"btn btn-subs pull-left\">view channel<\/a>\n\n	<a href=\"/users/sign_in\" class=\"btn btn-subs pull-left\">subscribe<\/a>\n      <\/div>\n    <\/div>\n    <div class=\"slider-wrapper\">\n      <div class=\"slider-text channel-slider\">\n        <h6>\n	  <a href=\"/channels/glossary/channel?sort=title\">Glossary<\/a>\n        <\/h6>\n        <p class=\"comment moredesc\"> Our glossary of financial terms helps explain concepts in the financial services and product industry with quick easy to follow animated videos.&nbsp; We will continue to build out this glossary over the next coming months.<\/p>\n	<a href=\"/channels/glossary/channel?sort=title\" class=\"btn btn-subs pull-left\">view channel<\/a>\n\n	<a href=\"/users/sign_in\" class=\"btn btn-subs pull-left\">subscribe<\/a>\n      <\/div>\n    <\/div>\n');

      $(".more_channel").attr("href", "/ajax/search?per_page=9&amp;section=channel&amp;title=channels");

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);
    }
  }
});