LePier Shoreline & Outdoors Inc

  • Docks & Boat Lifts
307 Convenience LN SW
Bemidji, MN 56601-9184
(218) 444-2337
(218) 444-3599 (fax)
  • About

    Docks, Boat lifts, Trailers, Water Sports, marine Accessories sales & Service, Barge service including install & Removals

$(window).on('load resize', function () { $('div[le_content_type="youtube"]').each(function() { var align = this.style.textAlign; if (align.indexOf("right") > -1 ) { $(this).find('iframe').css('right','0'); } else if (align.indexOf("left") > -1) { $(this).find('iframe').css('left','0'); } else if (align.indexOf("center") > -1) { var tw = parseFloat($(this).css('width')); var fw = parseFloat($(this).find('iframe').css('width')); var lv = (tw - fw) / 2; $(this).find('iframe').css('left', lv + 'px'); } }); });