$(".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>01:46<\/span>\n        <\/div>\n        <a href=\"/videos/managing-an-investment-property\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1427325985prop4\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1427325985Prop4.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/managing-an-investment-property\">Managing an investment property<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Wealth Know How <\/a>\n	  in\n	      <a href=\"/channels/property/channel?sort=title\">Property, <\/a>\n\n		<a href=\"/channels/property/subchannel/thumb?id=property-investing\">Investing<\/a>\n\n	<\/p>\n	<p>You have two options when it comes to managing your property: you can do it yourself, or engage a managing agent to do it for you. If you manage the property, you can avoid paying management costs &ndash; but for that saving, you will have to do everything, from showing the property to tenants to collecting rent and organising repairs. You also need to comply with landlord regulations. Work out objectively just how much that trade-off between being your own manager, and not paying management fees, costs in terms of the added hassle. Perhaps it costs more than the actual management fees. Remember, if your tenant complains that the oven is not working or the shower starts leaking, you need to fix it straight away<\/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>01:46<\/span>\n        <\/div>\n        <a href=\"/videos/managing-an-investment-property\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1427325985prop4\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1427325985Prop4.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/managing-an-investment-property\">Managing an investment property<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Wealth Know How <\/a>\n	  in\n	      <a href=\"/channels/property/channel?sort=title\">Property, <\/a>\n\n		<a href=\"/channels/property/subchannel/thumb?id=property-investing\">Investing<\/a>\n\n	<\/p>\n	<p>You have two options when it comes to managing your property: you can do it yourself, or engage a managing agent to do it for you. If you manage the property, you can avoid paying management costs &ndash; but for that saving, you will have to do everything, from showing the property to tenants to collecting rent and organising repairs. You also need to comply with landlord regulations. Work out objectively just how much that trade-off between being your own manager, and not paying management fees, costs in terms of the added hassle. Perhaps it costs more than the actual management fees. Remember, if your tenant complains that the oven is not working or the shower starts leaking, you need to fix it straight away<\/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>01:46<\/span>\n        <\/div>\n        <a href=\"/videos/managing-an-investment-property\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1427325985prop4\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1427325985Prop4.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/managing-an-investment-property\">Managing an investment property<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Wealth Know How <\/a>\n	  in\n	      <a href=\"/channels/property/channel?sort=title\">Property, <\/a>\n\n		<a href=\"/channels/property/subchannel/thumb?id=property-investing\">Investing<\/a>\n\n	<\/p>\n	<p>You have two options when it comes to managing your property: you can do it yourself, or engage a managing agent to do it for you. If you manage the property, you can avoid paying management costs &ndash; but for that saving, you will have to do everything, from showing the property to tenants to collecting rent and organising repairs. You also need to comply with landlord regulations. Work out objectively just how much that trade-off between being your own manager, and not paying management fees, costs in terms of the added hassle. Perhaps it costs more than the actual management fees. Remember, if your tenant complains that the oven is not working or the shower starts leaking, you need to fix it straight away<\/p>			\n      <\/div>\n    <\/div>  \n');
$(".thumb-view.mobile.subscription-54").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>01:46<\/span>\n        <\/div>\n        <a href=\"/videos/managing-an-investment-property\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1427325985prop4\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1427325985Prop4.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/managing-an-investment-property\">Managing an investment property<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Wealth Know How <\/a>\n	  in\n	      <a href=\"/channels/property/channel?sort=title\">Property, <\/a>\n\n		<a href=\"/channels/property/subchannel/thumb?id=property-investing\">Investing<\/a>\n\n	<\/p>\n	<p>You have two options when it comes to managing your property: you can do it yourself, or engage a managing agent to do it for you. If you manage the property, you can avoid paying management costs &ndash; but for that saving, you will have to do everything, from showing the property to tenants to collecting rent and organising repairs. You also need to comply with landlord regulations. Work out objectively just how much that trade-off between being your own manager, and not paying management fees, costs in terms of the added hassle. Perhaps it costs more than the actual management fees. Remember, if your tenant complains that the oven is not working or the shower starts leaking, you need to fix it straight away<\/p>			\n      <\/div>\n    <\/div>  \n');
$(".channel-mobile.channel-homepage-54").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>01:46<\/span>\n        <\/div>\n        <a href=\"/videos/managing-an-investment-property\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1427325985prop4\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1427325985Prop4.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/managing-an-investment-property\">Managing an investment property<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Wealth Know How <\/a>\n	  in\n	      <a href=\"/channels/property/channel?sort=title\">Property, <\/a>\n\n		<a href=\"/channels/property/subchannel/thumb?id=property-investing\">Investing<\/a>\n\n	<\/p>\n	<p>You have two options when it comes to managing your property: you can do it yourself, or engage a managing agent to do it for you. If you manage the property, you can avoid paying management costs &ndash; but for that saving, you will have to do everything, from showing the property to tenants to collecting rent and organising repairs. You also need to comply with landlord regulations. Work out objectively just how much that trade-off between being your own manager, and not paying management fees, costs in terms of the added hassle. Perhaps it costs more than the actual management fees. Remember, if your tenant complains that the oven is not working or the shower starts leaking, you need to fix it straight away<\/p>			\n      <\/div>\n    <\/div>  \n');
$(".channel-mobile.unregister-channel-homepage-54").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>01:46<\/span>\n        <\/div>\n        <a href=\"/videos/managing-an-investment-property\">\n	<span class=\"tinyplay\"><\/span>\n	  <img alt=\"Medium_1427325985prop4\" src=\"https://wealthknowhow.s3.amazonaws.com/uploads/pictures/medium_1427325985Prop4.jpg\" />\n<\/a>      <\/div>\n      <div class=\"slider-text\">\n\n	<h6><a href=\"/videos/managing-an-investment-property\">Managing an investment property<\/a><\/h6>\n	<p>\n	      By <a href=\"/users/sign_up\">Wealth Know How <\/a>\n	  in\n	      <a href=\"/channels/property/channel?sort=title\">Property, <\/a>\n\n		<a href=\"/channels/property/subchannel/thumb?id=property-investing\">Investing<\/a>\n\n	<\/p>\n	<p>You have two options when it comes to managing your property: you can do it yourself, or engage a managing agent to do it for you. If you manage the property, you can avoid paying management costs &ndash; but for that saving, you will have to do everything, from showing the property to tenants to collecting rent and organising repairs. You also need to comply with landlord regulations. Work out objectively just how much that trade-off between being your own manager, and not paying management fees, costs in terms of the added hassle. Perhaps it costs more than the actual management fees. Remember, if your tenant complains that the oven is not working or the shower starts leaking, you need to fix it straight away<\/p>			\n      <\/div>\n    <\/div>  \n');

    $(".more.text-center.video.desktop").remove();
    $(".more.text-center.video.mobile").remove();
    $(".more.text-center.subscription-54.mobile").remove();
    $(".more.text-center.channel-homepage-54").remove();
    $(".more.text-center.unregister-channel-homepage-54.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);
    }
  }
});