(function($){'use strict';$('[data-background]').each(function(){$(this).css({'background-image':'url('+$(this).data('background')+')'});});$('.collapse').on('shown.bs.collapse',function(){$(this).parent().find('.ti-plus').removeClass('ti-plus').addClass('ti-minus');}).on('hidden.bs.collapse',function(){$(this).parent().find('.ti-minus').removeClass('ti-minus').addClass('ti-plus');});$(function(){$('.match-height').matchHeight({byRow:true,property:'height',target:null,remove:false});});var getUrlParameter=function getUrlParameter(sPageURL){var url=sPageURL.split('?');var obj={};if(url.length==2){var sURLVariables=url[1].split('&'),sParameterName,i;for(i=0;i";}});images.each(function(index){var image=$(this) var o=getUrlParameter(image[0].src);if(typeof o!=="undefined"){var h=o["height"];var w=o["width"];var c=o["classes"];image.css("width",function(){if(typeof w!=="undefined"){return w;}else{return "auto";}});image.css("height",function(){if(typeof h!=="undefined"){return h;}else{return "auto";}});if(typeof c!=="undefined"){var classes=c.split(',');for(i=0;i'+title+'');});$('.code-tabs ul.nav-tabs').each(function(){$(this).find("li:first").addClass('active');}) $('.code-tabs .tab-content').each(function(){$(this).find("div:first").addClass('active');});$('.nav-tabs a').click(function(e){e.preventDefault();var tab=$(this).parent(),tabIndex=tab.index(),tabPanel=$(this).closest('.code-tabs'),tabPane=tabPanel.find('.tab-pane').eq(tabIndex);tabPanel.find('.active').removeClass('active');tab.addClass('active');tabPane.addClass('active');});})(jQuery);