dentalpartners broadway
'+js_local_vars.portfolio_loading_text+'
'); } if(jQuery('.faqs').length >= 1) { jQuery('#content').append('
'+js_local_vars.faqs_loading_text+'
'); } var iframes = jQuery('iframe'); jQuery.each(iframes, function(i, v) { var src = jQuery(this).attr('src'); if(src) { if(src.indexOf('vimeo') >= 1) { jQuery(this).attr('id', 'player_'+(i+1)); var new_src = insertParam(src, 'api', '1', false); var new_src_2 = insertParam(new_src, 'player_id', 'player_'+(i+1), false); jQuery(this).attr('src', new_src_2); } if(ytVidId(src)) { jQuery(this).attr('id', 'player_'+(i+1)); jQuery(this).parent().wrap('
'); window.yt_vid_exists = true; } } }); if(window.yt_vid_exists == true) { var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); } }); // Define YT_ready function. var YT_ready = (function() { var onReady_funcs = [], api_isReady = false; /* @param func function Function to execute on ready * @param func Boolean If true, all qeued functions are executed * @param b_before Boolean If true, the func will added to the first position in the queue*/ return function(func, b_before) { if (func === true) { api_isReady = true; while (onReady_funcs.length) { // Removes the first func from the array, and execute func onReady_funcs.shift()(); } } else if (typeof func == "function") { if (api_isReady) func(); else onReady_funcs[b_before?"unshift":"push"](func); } } })(); // This function will be called when the API is fully loaded function onYouTubePlayerAPIReady() {YT_ready(true)} jQuery(window).load(function() { if(jQuery('#sidebar').is(':visible')) { jQuery('.post-content div.portfolio').each(function() { var columns = jQuery(this).data('columns'); jQuery(this).addClass('portfolio-'+columns+'-sidebar'); }); } if(jQuery().isotope) { // modified Isotope methods for gutters in masonry jQuery.Isotope.prototype._getMasonryGutterColumns = function() { var gutter = this.options.masonry && this.options.masonry.gutterWidth || 0; containerWidth = this.element.width(); this.masonry.columnWidth = this.options.masonry && this.options.masonry.columnWidth || // or use the size of the