Tuesday, April 19, 2016

FR Conversions celebrates new headquarters in Westminster

FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions FR Conversions
// bwg_filmstrip_thumbnails_width) { return; } if (image_left < Math.abs(long_filmstrip_cont_left)) { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({ left: -image_left }, { duration: 500, complete: function () { bwg_filmstrip_arrows_0(); } }); } else if (image_right > long_filmstrip_cont_right) { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({ left: -(image_right - bwg_filmstrip_width) }, { duration: 500, complete: function () { bwg_filmstrip_arrows_0(); } }); } } function bwg_move_dots_0() { var image_left = jQuery(".bwg_slideshow_dots_active_0").position().left; var image_right = jQuery(".bwg_slideshow_dots_active_0").position().left + jQuery(".bwg_slideshow_dots_active_0").outerWidth(true); var bwg_dots_width = jQuery(".bwg_slideshow_dots_container_0").outerWidth(true); var bwg_dots_thumbnails_width = jQuery(".bwg_slideshow_dots_thumbnails_0").outerWidth(false); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_dots_thumbnails_0").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_dots_thumbnails_0").position().left) + bwg_dots_width; if (bwg_dots_width > bwg_dots_thumbnails_width) { return; } if (image_left < Math.abs(long_filmstrip_cont_left)) { jQuery(".bwg_slideshow_dots_thumbnails_0").animate({ left: -image_left }, { duration: 500, complete: function () { } }); } else if (image_right > long_filmstrip_cont_right) { jQuery(".bwg_slideshow_dots_thumbnails_0").animate({ left: -(image_right - bwg_dots_width) }, { duration: 500, complete: function () { } }); } } /* Show/hide filmstrip arrows.*/ function bwg_filmstrip_arrows_0() { if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() < jQuery(".bwg_slideshow_filmstrip_0").width()) { jQuery(".bwg_slideshow_filmstrip_left_0").hide(); jQuery(".bwg_slideshow_filmstrip_right_0").hide(); } else { jQuery(".bwg_slideshow_filmstrip_left_0").show(); jQuery(".bwg_slideshow_filmstrip_right_0").show(); } } function bwg_testBrowser_cssTransitions_0() { return bwg_testDom_0('Transition'); } function bwg_testBrowser_cssTransforms3d_0() { return bwg_testDom_0('Perspective'); } function bwg_testDom_0(prop) { /* Browser vendor CSS prefixes.*/ var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-']; /* Browser vendor DOM prefixes.*/ var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml']; var i = domPrefixes.length; while (i--) { if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') { return true; } } return false; } function bwg_cube_0(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) { /* If browser does not support 3d transforms/CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_0()) { return bwg_fallback_0(current_image_class, next_image_class, direction); } if (!bwg_testBrowser_cssTransforms3d_0()) { return bwg_fallback3d_0(current_image_class, next_image_class, direction); } bwg_trans_in_progress_0 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); jQuery(".bwg_slide_bg_0").css('perspective', 1000); jQuery(current_image_class).css({ transform : 'translateZ(' + tz + 'px)', backfaceVisibility : 'hidden' }); jQuery(next_image_class).css({ opacity : 1, filter: 'Alpha(opacity=100)', zIndex: 2, backfaceVisibility : 'hidden', transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)' }); jQuery(".bwg_slider_0").css({ transform: 'translateZ(-' + tz + 'px)', transformStyle: 'preserve-3d' }); /* Execution steps.*/ setTimeout(function () { jQuery(".bwg_slider_0").css({ transition: 'all ' + bwg_transition_duration_0 + 'ms ease-in-out', transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)' }); }, 20); /* After transition.*/ jQuery(".bwg_slider_0").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { /*if (bwg_from_focus_0) { bwg_from_focus_0 = false; return; }*/ jQuery(current_image_class).removeAttr('style'); jQuery(next_image_class).removeAttr('style'); jQuery(".bwg_slider_0").removeAttr('style'); jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2}); bwg_change_watermark_container_0(); bwg_trans_in_progress_0 = false; if (typeof event_stack_0 !== 'undefined') { if (event_stack_0.length > 0) { key = event_stack_0[0].split("-"); event_stack_0.shift(); bwg_change_image_0(key[0], key[1], data_0, true); } } } } function bwg_cubeH_0(current_image_class, next_image_class, direction) { /* Set to half of image width.*/ var dimension = jQuery(current_image_class).width() / 2; if (direction == 'right') { bwg_cube_0(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_0(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction); } } /* For browsers that does not support transitions.*/ function bwg_fallback_0(current_image_class, next_image_class, direction) { bwg_fade_0(current_image_class, next_image_class, direction); } /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/ function bwg_fallback3d_0(current_image_class, next_image_class, direction) { bwg_sliceV_0(current_image_class, next_image_class, direction); } function bwg_none_0(current_image_class, next_image_class, direction) { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_0(); /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); } function bwg_fade_0(current_image_class, next_image_class, direction) { /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); if (bwg_testBrowser_cssTransitions_0()) { jQuery(next_image_class).css('transition', 'opacity ' + bwg_transition_duration_0 + 'ms linear'); jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_0(); } else { jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, bwg_transition_duration_0); jQuery(next_image_class).animate({ 'opacity' : 1, 'z-index': 2 }, { duration: bwg_transition_duration_0, complete: function () { bwg_change_watermark_container_0(); } }); /* For IE.*/ jQuery(current_image_class).fadeTo(bwg_transition_duration_0, 0); jQuery(next_image_class).fadeTo(bwg_transition_duration_0, 1); } } function bwg_grid_0(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) { /* If browser does not support CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_0()) { return bwg_fallback_0(current_image_class, next_image_class, direction); } bwg_trans_in_progress_0 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/ var count = (bwg_transition_duration_0) / (cols + rows); /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/ function bwg_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) { var delay = (c + r) * count; /* Return a gridlet elem with styles for specific transition.*/ return jQuery('').css({ display : "block", width : width, height : height, top : top, left : left, backgroundImage : 'url("' + src + '")', backgroundColor: jQuery(".bwg_slideshow_image_wrap_0").css("background-color"), /*backgroundColor: rgba(0, 0, 0, 0),*/ backgroundRepeat: 'no-repeat', backgroundPosition : img_left + 'px ' + img_top + 'px', backgroundSize : imgWidth + 'px ' + imgHeight + 'px', transition : 'all ' + bwg_transition_duration_0 + 'ms ease-in-out ' + delay + 'ms', transform : 'none' }); } /* Get the current slide's image.*/ var cur_img = jQuery(current_image_class).find('img'); /* Create a grid to hold the gridlets.*/ var grid = jQuery('').addClass('bwg_grid_0'); /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/ jQuery(current_image_class).prepend(grid); /* vars to calculate positioning/size of gridlets*/ var cont = jQuery(".bwg_slide_bg_0"); var imgWidth = cur_img.width(); var imgHeight = cur_img.height(); var contWidth = cont.width(), contHeight = cont.height(), imgSrc = cur_img.attr('src'),/*.replace('/thumb', ''),*/ colWidth = Math.floor(contWidth / cols), rowHeight = Math.floor(contHeight / rows), colRemainder = contWidth - (cols * colWidth), colAdd = Math.ceil(colRemainder / cols), rowRemainder = contHeight - (rows * rowHeight), rowAdd = Math.ceil(rowRemainder / rows), leftDist = 0, img_leftDist = (jQuery(".bwg_slide_bg_0").width() - cur_img.width()) / 2; /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/ tx = tx === 'auto' ? contWidth : tx; tx = tx === 'min-auto' ? - contWidth : tx; ty = ty === 'auto' ? contHeight : ty; ty = ty === 'min-auto' ? - contHeight : ty; /* Loop through cols*/ for (var i = 0; i < cols; i++) { var topDist = 0, img_topDst = (jQuery(".bwg_slide_bg_0").height() - cur_img.height()) / 2, newColWidth = colWidth; /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/ if (colRemainder > 0) { var add = colRemainder >= colAdd ? colAdd : colRemainder; newColWidth += add; colRemainder -= add; } /* Nested loop to create row gridlets for each col.*/ for (var j = 0; j < rows; j++) { var newRowHeight = rowHeight, newRowRemainder = rowRemainder; /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/ if (newRowRemainder > 0) { add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder; newRowHeight += add; newRowRemainder -= add; } /* Create & append gridlet to grid.*/ grid.append(bwg_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j)); topDist += newRowHeight; img_topDst -= newRowHeight; } img_leftDist -= newColWidth; leftDist += newColWidth; } /* Set event listener on last gridlet to finish transitioning.*/ var last_gridlet = grid.children().last(); /* Show grid & hide the image it replaces.*/ grid.show(); cur_img.css('opacity', 0); /* Add identifying classes to corner gridlets (useful if applying border radius).*/ grid.children().first().addClass('rs-top-left'); grid.children().last().addClass('rs-bottom-right'); grid.children().eq(rows - 1).addClass('rs-bottom-left'); grid.children().eq(- rows).addClass('rs-top-right'); /* Execution steps.*/ setTimeout(function () { grid.children().css({ opacity: op, transform: 'rotate('+ ro +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')' }); }, 1); jQuery(next_image_class).css('opacity', 1); /* After transition.*/ jQuery(last_gridlet).one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { /*if (bwg_from_focus_0) { bwg_from_focus_0 = false; return; }*/ jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); cur_img.css('opacity', 1); bwg_change_watermark_container_0(); grid.remove(); bwg_trans_in_progress_0 = false; if (typeof event_stack_0 !== 'undefined') { if (event_stack_0.length > 0) { key = event_stack_0[0].split("-"); event_stack_0.shift(); bwg_change_image_0(key[0], key[1], data_0, true); } } } } function bwg_sliceV_0(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'min-auto'; } else if (direction == 'left') { var translateY = 'auto'; } bwg_grid_0(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction); } function bwg_scaleOut_0(current_image_class, next_image_class, direction) { bwg_grid_0(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction); } function bwg_blindH_0(current_image_class, next_image_class, direction) { bwg_grid_0(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function iterator_0() { var iterator = 1; if (0) { iterator = Math.floor((data_0.length - 1) * Math.random() + 1); } return iterator; } function bwg_change_image_0(current_key, key, data_0, from_effect) { /* Pause videos.*/ jQuery("#bwg_slideshow_image_container_0").find("iframe").each(function () { jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*"); jQuery(this)[0].contentWindow.postMessage('pause', '*'); }); if (data_0[key]) { if (jQuery('.bwg_ctrl_btn_0').hasClass('fa-pause')) { play_0(); } if (!from_effect) { /* Change image key.*/ jQuery("#bwg_current_image_key_0").val(key); if (current_key == '-1') { /* Filmstrip.*/ current_key = jQuery(".bwg_slideshow_thumb_active_0").children("img").attr("image_key"); } else if (current_key == '-2') { /* Dots.*/ current_key = jQuery(".bwg_slideshow_dots_active_0").attr("image_key"); } } if (bwg_trans_in_progress_0) { event_stack_0.push(current_key + '-' + key); return; } var direction = 'right'; if (bwg_current_key_0 > key) { var direction = 'left'; } else if (bwg_current_key_0 == key) { return; } jQuery(".bwg_slideshow_watermark_0").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_0").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_0").css({display: 'none'}); /* Set active thumbnail position.*/ bwg_current_filmstrip_pos_0 = key * (jQuery(".bwg_slideshow_filmstrip_thumbnail_0").width() + 2 + 2 * 1); bwg_current_key_0 = key; /* Change image id, title, description.*/ jQuery("#bwg_slideshow_image_0").attr('image_id', data_0[key]["id"]); jQuery(".bwg_slideshow_title_text_0").html(jQuery('').html(data_0[key]["alt"]).text()); jQuery(".bwg_slideshow_description_text_0").html(jQuery('').html(data_0[key]["description"]).text()); var current_image_class = "#image_id_0_" + data_0[current_key]["id"]; var next_image_class = "#image_id_0_" + data_0[key]["id"]; bwg_fade_0(current_image_class, next_image_class, direction); bwg_move_dots_0(); if (data_0[key]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_0").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_0").css({display: ''}); } } } function bwg_popup_resize_0() { var parent_width = jQuery(".bwg_slideshow_image_wrap_0").parent().width(); if (parent_width >= 700) { jQuery(".bwg_slideshow_image_wrap_0").css({width: 700}); jQuery(".bwg_slideshow_image_wrap_0").css({height: 400}); jQuery(".bwg_slideshow_image_container_0").css({width: 700}); jQuery(".bwg_slideshow_image_container_0").css({height: (400)}); jQuery(".bwg_slideshow_image_0").css({ cssText: "max-width: 700px !important; max-height: 400px !important;" }); jQuery(".bwg_slideshow_embed_0").css({ cssText: "width: 700px !important; height: 400px !important;" }); bwg_resize_instagram_post_0(); /* Set watermark container size.*/ bwg_change_watermark_container_0(); jQuery(".bwg_slideshow_filmstrip_container_0").css({width: 700}); jQuery(".bwg_slideshow_filmstrip_0").css({width: (700 - 40)}); jQuery(".bwg_slideshow_dots_container_0").css({width: 700}); jQuery("#bwg_slideshow_play_pause-ico_0").css({fontSize: (60)}); jQuery(".bwg_slideshow_watermark_image_0").css({maxWidth: 90, maxHeight: 90}); jQuery(".bwg_slideshow_watermark_text_0, .bwg_slideshow_watermark_text_0:hover").css({fontSize: (12)}); jQuery(".bwg_slideshow_title_text_0").css({fontSize: (32)}); jQuery(".bwg_slideshow_description_text_0").css({fontSize: (28)}); } else { jQuery(".bwg_slideshow_image_wrap_0").css({width: (parent_width)}); jQuery(".bwg_slideshow_image_wrap_0").css({height: ((parent_width) * 0.57142857142857)}); jQuery(".bwg_slideshow_image_container_0").css({width: (parent_width)}); jQuery(".bwg_slideshow_image_container_0").css({height: ((parent_width) * 0.57142857142857 - 0)}); jQuery(".bwg_slideshow_image_0").css({ cssText: "max-width: " + parent_width + "px !important; max-height: " + (parent_width * (0.57142857142857) - 0 - 1) + "px !important;" }); jQuery(".bwg_slideshow_embed_0").css({ cssText: "width: " + parent_width + "px !important; height: " + (parent_width * (0.57142857142857) - 0 - 1) + "px !important;" }); bwg_resize_instagram_post_0(); /* Set watermark container size.*/ bwg_change_watermark_container_0(); jQuery(".bwg_slideshow_filmstrip_container_0").css({width: (parent_width)}); jQuery(".bwg_slideshow_filmstrip_0").css({width: (parent_width - 40)}); jQuery(".bwg_slideshow_dots_container_0").css({width: (parent_width)}); jQuery("#bwg_slideshow_play_pause-ico_0").css({fontSize: ((parent_width) * 0.085714285714286)}); jQuery(".bwg_slideshow_watermark_image_0").css({maxWidth: ((parent_width) * 0.12857142857143), maxHeight: ((parent_width) * 0.12857142857143)}); jQuery(".bwg_slideshow_watermark_text_0, .bwg_slideshow_watermark_text_0:hover").css({fontSize: ((parent_width) * 0.017142857142857)}); jQuery(".bwg_slideshow_title_text_0").css({fontSize: ((parent_width) * 0.045714285714286)}); jQuery(".bwg_slideshow_description_text_0").css({fontSize: ((parent_width) * 0.04)}); } } jQuery(window).resize(function() { bwg_popup_resize_0(); }); jQuery(window).load(function () { if (typeof jQuery().swiperight !== 'undefined') { if (jQuery.isFunction(jQuery().swiperight)) { jQuery('#bwg_container1_0').swiperight(function () { bwg_change_image_0(parseInt(jQuery('#bwg_current_image_key_0').val()), (parseInt(jQuery('#bwg_current_image_key_0').val()) - iterator_0()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_0').val()) - iterator_0()) % data_0.length : data_0.length - 1, data_0); return false; }); } } if (typeof jQuery().swipeleft !== 'undefined') { if (jQuery.isFunction(jQuery().swipeleft)) { jQuery('#bwg_container1_0').swipeleft(function () { bwg_change_image_0(parseInt(jQuery('#bwg_current_image_key_0').val()), (parseInt(jQuery('#bwg_current_image_key_0').val()) + iterator_0()) % data_0.length, data_0); return false; }); } } var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); var bwg_click = isMobile ? 'touchend' : 'click'; bwg_popup_resize_0(); jQuery("#bwg_container1_0").css({visibility: 'visible'}); jQuery(".bwg_slideshow_watermark_0").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_0").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_0").css({display: 'none'}); setTimeout(function () { bwg_change_watermark_container_0(); }, 500); /* Set image container height.*/ jQuery(".bwg_slideshow_image_container_0").height(jQuery(".bwg_slideshow_image_wrap_0").height() - 0); var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */ jQuery('.bwg_slideshow_filmstrip_0').bind(mousewheelevt, function(e) { var evt = window.event || e; /* Equalize event object.*/ evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/ var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/ if (delta > 0) { /* Scroll up.*/ jQuery(".bwg_slideshow_filmstrip_left_0").trigger("click"); } else { /* Scroll down.*/ jQuery(".bwg_slideshow_filmstrip_right_0").trigger("click"); } return false; }); jQuery(".bwg_slideshow_filmstrip_right_0").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_0" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left >= -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width())) { jQuery(".bwg_slideshow_filmstrip_left_0").css({opacity: 1, filter: "Alpha(opacity=100)"}); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left < -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width() - 2)) { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({left: -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width())}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left - 2)}, 500, 'linear'); } } /* Disable right arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left == -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width())) { jQuery(".bwg_slideshow_filmstrip_right_0").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); jQuery(".bwg_slideshow_filmstrip_left_0").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_0" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left < 0) { jQuery(".bwg_slideshow_filmstrip_right_0").css({opacity: 1, filter: "Alpha(opacity=100)"}); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left > - 2) { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({left: 0}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left + 2)}, 500, 'linear'); } } /* Disable left arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left == 0) { jQuery(".bwg_slideshow_filmstrip_left_0").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); /* Set filmstrip initial position.*/ bwg_set_filmstrip_pos_0(jQuery(".bwg_slideshow_filmstrip_0").width()); /* Play/pause.*/ jQuery("#bwg_slideshow_play_pause_0").on(bwg_click, function () { if (jQuery(".bwg_ctrl_btn_0").hasClass("fa-play")) { play_0(); jQuery(".bwg_slideshow_play_pause_0").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_0").attr("class", "bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-pause"); if (0) { document.getElementById("bwg_audio_0").play(); } } else { /* Pause.*/ window.clearInterval(bwg_playInterval_0); jQuery(".bwg_slideshow_play_pause_0").attr("title", "Play"); jQuery(".bwg_slideshow_play_pause_0").attr("class", "bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-play"); if (0) { document.getElementById("bwg_audio_0").pause(); } } }); if (0) { play_0(); jQuery(".bwg_slideshow_play_pause_0").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_0").attr("class", "bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-pause"); if (0) { document.getElementById("bwg_audio_0").play(); } } jQuery(".bwg_slideshow_image_0").removeAttr("width"); jQuery(".bwg_slideshow_image_0").removeAttr("height"); }); function bwg_resize_instagram_post_0(){ /*jQuery.fn.exists = function(){return this.length>0;};*/ if (jQuery('.inner_instagram_iframe_bwg_embed_frame_0').length) { var w = jQuery('.bwg_slideshow_embed_0').width(); var h = jQuery('.bwg_slideshow_embed_0').height(); var post_width = 0; var post_height = 0; if(h

 

Eli Rosenbloom, who founded FR Conversions in 2000, describes his company as a family and this week’s ribbon-cutting ceremony was indeed a family affair. Joined by his wife and children — and with many of the company’s 90 employees looking on — Rosenbloom cut the ribbon to officially open FR Conversions’ new headquarters in Westminster, Md. With the mission of making mobility affordable, the company converts standard vans to accommodate wheelchairs and stretchers.

The post FR Conversions celebrates new headquarters in Westminster appeared first on MDBIZNews.



from https://mdbiznews.commerce.maryland.gov/2016/04/fr-conversions-celebrates-new-headquarters-westminster/

No comments:

Post a Comment