
jQuery(document).ready(function($) {

 
/**
			 * Image scroll animations
			 */
			$('#content img, #footerWidgets img, .featuredSectionFull').addClass('dontshowit');
			$('#content img, #footerWidgets img, .featuredSectionFull').one('inview', function() {
				$(this).addClass('showit');
			});
			
		
			
			// add support for placeholder in IE8/IE9
			$('input, textarea').placeholder();
			
			
			
			
			
			
			
			


// fit videos to container
jQuery('.smallVideoitem, .post-content').fitVids();
/*----------------------------------------------------*/
/*	Tooltips
/*----------------------------------------------------*/	
			
	jQuery(".tooltip.top").tipTip({
		defaultPosition: "top"
	});

	jQuery(".tooltip.bottom").tipTip({
		defaultPosition: "bottom"
	});

	jQuery(".tooltip.left").tipTip({
		defaultPosition: "left"
	});

	jQuery(".tooltip.right").tipTip({
		defaultPosition: "right"
	});
	
	
	jQuery('.ThumbCover').hover(function(){
		jQuery(".cover", this).stop().animate({top:'0'},{queue:false,duration:200});
	}, function() {
		jQuery(".cover", this).stop().animate({top:'100%'},{queue:false,duration:200});
	});	
	
		
		/* Floated Navigation */
	jQuery(window).scroll( function(){
		if(jQuery(this).scrollTop() > 200) {
			jQuery("#showcase-bar").stop().animate({ top: '0' }, 500);
			jQuery(".admin-bar #showcase-bar").stop().animate({ top: '28' }, 350);
		}else{
			jQuery("#showcase-bar").stop().animate({ top: '-200px' }, 350);
		}
	});
		
	// Nav Dropdown
	jQuery('#nav, #nav-sub, #nav-alt, #nav-topbar').wpbandit('nav_dropdown');

	// Nav Mobile
	jQuery('#header-nav').wpbandit('nav_mobile');
	
	
	// HEADER OVERLAY
	var overlay = jQuery('#overlay'),
		overContainer = jQuery('.overlay-container'),
	    overTrigger = jQuery('.header-controls a.trigger'),
	    overicon = jQuery('.header-controls .trigger');
	
	overTrigger.toggle(function(){
	    overContainer.slideDown(parseInt(400));
	    overicon.addClass('open');
	    overicon.removeClass('closed');
	    
	}, function(){
	    overContainer.slideUp(parseInt(400));
	    overicon.addClass('closed');
	    overicon.removeClass('open');
	});
	
	jQuery("a[rel^='prettyPhoto']").prettyPhoto();
			// Create the dropdown bases
			jQuery("<select />").appendTo("#footer nav");
			
			// Create default option "Go to..."
			jQuery("<option />", {
			   "selected": "selected",
			   "value"   : "",
			   "text"    : "Select Menu"
			}).appendTo("nav select");
			
			
			// Populate dropdowns with the first menu items
			jQuery("#nav-footer li a").each(function() {
				var el = $(this);
				jQuery("<option />", {
					"value"   : el.attr("href"),
					"text"    : el.text()
				}).appendTo("nav select");
			});
			
			//make responsive dropdown menu actually work			
			jQuery("#footer select").change(function() {
				window.location = $(this).find("option:selected").val();
			});
			
			
			// Create the dropdown bases
			jQuery("<select />").appendTo(".topBar nav");
			
			// Create default option "Go to..."
			jQuery("<option />", {
			   "selected": "selected",
			   "value"   : "",
			   "text"    : "Go to ..."
			}).appendTo(".topBar nav select");
			
			
			// Populate dropdowns with the first menu items
			jQuery(".topBar nav li a").each(function() {
				var el = $(this);
				$("<option />", {
					"value"   : el.attr("href"),
					"text"    : el.text()
				}).appendTo(".topBar nav select");
			});
			
			//make responsive dropdown menu actually work			
			jQuery("nav select").change(function() {
				window.location = $(this).find("option:selected").val();
			});
			
			
			 /* mobile navigation */
    jQuery('.show-mobile-menu').click(function() {
        jQuery('#mobile-menu').slideToggle('fast').promise().done(function() {
            jQuery('#mobile-menu li').css('width', '100%').css('width', '');
        });
    });
    jQuery('#mobile-menu ul.sub-menu').each(function() {
        var $parentMenu = jQuery(this).parent('li');
        $parentMenu.addClass('has-children').prepend('<div class="action-expand"><span class="opened">-</span><span class="closed">+</span></div>');
        $parentMenu.children('.action-expand').click(function(e) {
            e.preventDefault();
            var $this = jQuery(this).closest('.has-children');
            $this.siblings('li.menu-open').removeClass('menu-open').children('.sub-menu').slideUp('fast');
            $this.toggleClass('menu-open');
            if ($this.hasClass('menu-open')) {
                $this.children('.sub-menu').slideDown('fast');
            } else {
                $this.children('.sub-menu').slideUp('fast');
            }
            return false;
        });


    });
	
	
//dropdown
	jQuery("#mainNavigation ul#dropmenu a, .topBar ul#topNavigation a").removeAttr('title');
	jQuery("#mainNavigation ul#dropmenu ul, .topBar ul#topNavigation ul").css({display: "none"}); // Opera Fix
	jQuery("#mainNavigation ul#dropmenu li, .topBar ul#topNavigation li").each(function()
		{	
	var jQuerysubmeun = jQuery(this).find('ul:first');
	jQuery(this).hover(function()
		{	
	jQuerysubmeun.stop().css({overflow:"hidden", height:"auto", display:"none", paddingTop:0}).slideToggle(350, function()
		{
	jQuery(this).css({overflow:"visible", height:"auto"});
		});	
		},
	function()
		{	
	jQuerysubmeun.stop().slideUp(300, function()
		{	
	jQuery(this).css({overflow:"hidden", display:"none"});
			});
		});	
	});
	
	

//Tabs
var $tabsNav    = jQuery('.tabsNav'),
$tabsNavLis = $tabsNav.children('li');

$tabsNav.each(function() {
	var $this = jQuery(this);
	$this.next().children('.tabContent').stop(true,true).hide()
	.first().show();

	$this.children('li').first().addClass('active').stop(true,true).show();
});

$tabsNavLis.on('click', function(e) {
	var $this = jQuery(this);

	$this.siblings().removeClass('active').end()
	.addClass('active');

	$this.parent().next().children('.tabContent').stop(true,true).hide()
	.siblings( $this.find('a').attr('href') ).fadeIn();

	e.preventDefault();
});

		
		

/* ---------------------------------------------------------------------- */
/*	Accordion
/* ---------------------------------------------------------------------- */
	
	
	(function() {

		var $container = $('.acc-container'),
			$trigger   = $('.acc-trigger');

		$container.hide();
		$trigger.first().addClass('active').next().show();

		var fullWidth = $container.outerWidth(true);
		$trigger.css('width', fullWidth);
		$container.css('width', fullWidth);
		
		$trigger.on('click', function(e) {
			if( $(this).next().is(':hidden') ) {
				$trigger.removeClass('active').next().slideUp(300);
				$(this).toggleClass('active').next().slideDown(300);
			}
			e.preventDefault();
		});

		// Resize
		$(window).on('resize', function() {
			fullWidth = $container.outerWidth(true)
			$trigger.css('width', $trigger.parent().width() );
			$container.css('width', $container.parent().width() );
		});

	})();
	
	
	
	//toggles
	$('.toggle h3 a').click(function(){
		
		if(!$(this).parents('.toggles').hasClass('accordion')) { 
			$(this).parents('.toggle').find('> div').slideToggle(300);
			$(this).parents('.toggle').toggleClass('open');
			
			//switch icon
			if( $(this).parents('.toggle').hasClass('open') ){
				$(this).find('i').attr('class','icon-minus');
			} else {
				$(this).find('i').attr('class','icon-plus');
			}
			
			return false;
		}
	});
	
	//accordion
	$('.accordion .toggle h3 a').click(function(){
		
		if($(this).parents('.toggle').hasClass('open')) return false;
		
		$(this).parents('.toggles').find('.toggle > div').slideUp(300);
		$(this).parents('.toggles').find('.toggle h3 a i').attr('class','icon-plus-sign');
		$(this).parents('.toggles').find('.toggle').removeClass('open');
		
		$(this).parents('.toggle').find('> div').slideDown(300);
		$(this).parents('.toggle').addClass('open');
		
		//switch icon
		if( $(this).parents('.toggle').hasClass('open') ){
			$(this).find('i').attr('class','icon-minus-sign');
		} else {
			$(this).find('i').attr('class','icon-plus-sign');
		}
		
		return false;
	});
	
	//accordion start open
	$('.accordion > .toggle').first().addClass('open').find('> div').show();
	$('.accordion > .toggle').first().find('i').attr('class','icon-minus-sign');
	
	

jQuery("#featured-slider").bxSlider({
	pagerCustom: "#featured-slider-pager",
	controls: false,
	auto: true,
	mode: "horizontal", // horizontal, vertical, fade
	captions: true,
	onSlideAfter: function(){
	    // do mind-blowing JS stuff here

        function playVideoYoutube(frame) {
	        frame.each(function(i) {
	            var func = this === frame ? 'playVideo' : 'pauseVideo';
	            this.contentWindow.postMessage('{"event":"command","func":"' + func + '","args":""}', '*');
	        });
	    }
        function playVideoVimeo(frame) {
		    frame.each( function() {
		      var url = jQuery(this).attr('src').split('?')[0];
		      this.contentWindow.postMessage(JSON.stringify({ method: 'pause' }), url);
		    });
	    }

	    jQuery("ul#featured-slider li").each(function( index ) {
		 	var element = jQuery(this).find("iframe");     
	        playVideoYoutube(element);
	        playVideoVimeo(element);
	        
		});


	}
});

jQuery("#featured-slider-pager a").click(function() {
	if(jQuery(this).hasClass("active")) {
		window.location=jQuery(this).attr("href"); 
	}
});

jQuery(".container, #featured-slider").fitVids();

 




//Images
jQuery('a.lightbox_img img ').hover( function () {
			jQuery(this).stop().animate({ opacity: 0.8}, 300);

		}, function () {
			jQuery(this).stop().animate({ opacity: 1 }, 300);
		});


jQuery('.gallery .gallery-item img').hover( function () {
			jQuery(this).stop().animate({ opacity: 0.6}, 300);

		}, function () {
			jQuery(this).stop().animate({ opacity: 1 }, 300);
		});

	jQuery("a.lightbox_img").prettyPhoto({deeplinking: false});
	jQuery(".wp-caption a").prettyPhoto({deeplinking: false});




  
//scroll to top
jQuery('.scrollTo_top').hide();
	jQuery(window).scroll(function () {
		if( jQuery(this).scrollTop() > 100 ) {
			jQuery('.scrollTo_top').fadeIn(300);
		}
		else {
			jQuery('.scrollTo_top').fadeOut(300);
		}
	});

	
	
	
	jQuery.fn.liScroll = function(settings) {
		settings = jQuery.extend({
		travelocity: 0.07
		}, settings);		
		return this.each(function(){
				var $strip = jQuery(this);
				$strip.addClass("newsticker")
				var stripWidth = 1;
				$strip.find("li").each(function(i){
				stripWidth += jQuery(this, i).outerWidth(true); // thanks to Michael Haszprunar and Fabien Volpi
				});
				var $mask = $strip.wrap("<div class='mask'></div>");
				var $tickercontainer = $strip.parent().wrap("<div class='tickercontainer'></div>");								
				var containerWidth = $strip.parent().parent().width();	//a.k.a. 'mask' width 	
				$strip.width(stripWidth);			
				var totalTravel = stripWidth+containerWidth;
				var defTiming = totalTravel/settings.travelocity;	// thanks to Scott Waye		
				function scrollnews(spazio, tempo){
				$strip.animate({left: '-='+ spazio}, tempo, "linear", function(){$strip.css("left", containerWidth); scrollnews(totalTravel, defTiming);});
				}
				scrollnews(totalTravel, defTiming);				
				$strip.hover(function(){
				jQuery(this).stop();
				},
				function(){
				var offset = jQuery(this).offset();
				var residualSpace = offset.left + stripWidth;
				var residualTime = residualSpace/settings.travelocity;
				scrollnews(residualSpace, residualTime);
				});			
		});	
};


	
	
	
jQuery(".ticker").show();

		jQuery("ul#ticker-posts").liScroll({travelocity: 0.05});

	
	
		
		//Default Action
	jQuery(".tabContent").hide(); //Hide all content
	jQuery("ul.tabNav li:first").addClass("active").show(); //Activate first tab
	jQuery(".tabContent:first").show(); //Show first tab content
	
	//On Click Event
	jQuery("ul.tabNav li").click(function() {
		jQuery("ul.tabNav li").removeClass("active"); //Remove any "active" class
		jQuery(this).addClass("active"); //Add "active" class to selected tab
		jQuery(".tabContent").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		jQuery(activeTab).fadeIn("slow"); //Fade in the active content
		return false;
	});
	
	
	
	
		//Default Action
	jQuery(".maintabContent").hide(); //Hide all content
	jQuery("ul.maintabNav li:first").addClass("active").show(); //Activate first tab
	jQuery(".maintabContent:first").show(); //Show first tab content
	
	//On Click Event
	jQuery("ul.maintabNav li").click(function() {
		jQuery("ul.maintabNav li").removeClass("active"); //Remove any "active" class
		jQuery(this).addClass("active"); //Add "active" class to selected tab
		jQuery(".maintabContent").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		jQuery(activeTab).fadeIn("slow"); //Fade in the active content
		return false;
	});
	
	
jQuery("#primaryPostForm").validate();
//NOTIFICATION
jQuery('.notification.ondemand').notify();
jQuery('.button').click(function () {
jQuery('.notification').removeClass('hide').addClass('hide').removeClass('visible');
jQuery('.notification.' + $(this).attr('id') + '').notify({ type: $(this).attr('id') });
});





	jQuery('.nav-previous a').attr('title', jQuery('.nav-previous a').text());
	jQuery('.nav-next a').attr('title', jQuery('.nav-next a').text());
	
	function contentHeight() {
		
		var windowHeight = jQuery(window).height();
		var footerHeight = jQuery('#footer').height();
		
		jQuery('#content').css('min-height', windowHeight - footerHeight - 150);
		
	}
	
	contentHeight(); 
/*-----------------------------------------------------------------------------------*/
/*	Masonry Layout
/*-----------------------------------------------------------------------------------*/
	
	if(jQuery().masonry) {
		
		// cache masonry wrap
		var $wall = jQuery('#masonry');
		
		$wall.masonry({
			columnWidth: 320, 
			animate: true,
			animationOptions: {
				duration: 500,
				easing: 'easeInOutCirc',
				queue: false
			} ,
			itemSelector: '.hentry'
		}, function() {
			jQuery('#load-more-link').fadeIn(200);	
		});
		
		// cache masonry wrap
		var $port = jQuery('#masonry-portfolio');
		
		$port.masonry({
			singleMode: true,
			animate: true,
			animationOptions: {
				duration: 500,
				easing: 'easeInOutCirc',
				queue: false
			} ,
			itemSelector: '.hentry'
		});
		
		
		
	}
	
	
	

	
/*-----------------------------------------------------------------------------------*/
/*	Load More Post Functions
/*-----------------------------------------------------------------------------------*/
	
	var loadMoreLink = jQuery('#load-more-link a');
	
	var offset = parseInt(loadMoreLink.attr('data-offset'));
	var cat = parseInt(loadMoreLink.attr('data-category'));
	var author = parseInt(loadMoreLink.attr('data-author'));
	var tag = loadMoreLink.attr('data-tag');
	var date = loadMoreLink.attr('data-date');
	var searchQ = loadMoreLink.attr('data-search');
	
	if(!cat)
		cat = 0;
		
	if(!author)
		author = 0;
		
	if(!tag)
		tag = '';
		
	if(!date)
		date = 0;
	
	if(!searchQ)
		searchQ = '';
			
	function lioit_loadMore() {
		
		var off = false;
	
		var currentCount = parseInt(jQuery('#post-count').text());
		
		if(currentCount == 0 ) {
			loadMoreLink.text(loadMoreLink.attr('data-empty'));
			off = true;
		}

		loadMoreLink.click(function(e) {
			var newCount = currentCount - jQuery(this).attr('data-offset');
			
			e.preventDefault();

			//console.log(offset);
			
			if(off != true) {
				
				jQuery(this).unbind("click");
				
				jQuery('#post-count').html('<img src="'+ jQuery('#post-count').attr('data-src') +'" alt="Loading..." />');
				jQuery('#remaining').html('');
				
				
				jQuery('#new-posts').load(jQuery(this).attr('data-src'), { 
				
					offset: offset,
					category: cat,
					author: author,
					tag: tag,
					date: date,
					searchQ: searchQ
					
				}, function() {
					
					// create jQuery object
					$boxes = jQuery( '#new-posts .hentry' );
					
					if(jQuery().masonry) {
						$wall.append( $boxes ).masonry( { appendedContent: $boxes }, function() {
							
							
							lioit_overlay();
							lioit_likeInit();
							
							if(newCount > 0 ) {
								jQuery('#load-more-link a').find('#post-count').text(newCount);
								jQuery('#remaining').text(' '+jQuery('#remaining').attr('data-text'));
							} else {
								jQuery('#load-more-link a').text(jQuery('#load-more-link a').attr('data-empty'));
								off = true;
							}
							
							jQuery('#load-more-link a').bind("click", lioit_loadMore());
					
						});
					}
					
					offset = offset + parseInt(jQuery('#load-more-link a').attr('data-offset'));
				});
			}
			
			//return false;
			
		});
	
	}
	
	lioit_loadMore();
	
	jQuery(window).resize( function () {
		loadMoreWidth();
		contentHeight();
	});
	
	function loadMoreWidth() {
		
		var loadMoreLink = jQuery('#load-more-link a');
		var masonryWrap = jQuery('#masonry').width();
		
		if(masonryWrap > 300 && masonryWrap < 760) {
			animateWidth(loadMoreLink, 340);
			
		} else if(masonryWrap > 760 && masonryWrap < 1140) {
			animateWidth(loadMoreLink, 720);
			
		} else if(masonryWrap > 1140 && masonryWrap < 1520) {
			animateWidth(loadMoreLink, 1100);
			
		} else if(masonryWrap > 1520 && masonryWrap < 1900) {
			animateWidth(loadMoreLink, 1480);
			
		} else if(masonryWrap > 1900 && masonryWrap < 2280) {
			animateWidth(loadMoreLink, 1860);
			
		} else if(masonryWrap > 2280 && masonryWrap < 2660) {
			animateWidth(loadMoreLink, 2240);
		}
	}
	
	function animateWidth(elem, size) {
		elem.stop().animate({ width: size }, 200);
	}
	
	
	loadMoreWidth();
	
	
	
	

});






(function($,window,document,undefined){var methods={init:function(){},nav_dropdown:function(opts){var options=$.extend({},{"submenu":"ul.sub-menu","speed":"fast"},opts);return this.each(function(){var nav_items=$(this).children("li");nav_items.children(options.submenu).hide();nav_items.hover(function(){$(this).children(options.submenu).slideDown(options.speed);},function(){$(this).children(options.submenu).hide();});});},nav_mobile:function(opts){var options=$.extend({},{"autoHide":true,"before":false,"containerClass":"select-nav","defaultOption":"Navigate to ...","deviceWidth":768,"menuClass":"nav","subMenuClass":"sub-menu","subMenuDash":"&ndash;","useWindowWidth":true},opts);var nav=$(this);var navTimeout;$(window).resize(function(){clearTimeout(navTimeout);navTimeout=setTimeout(function(){nav.wpbandit("nav_mobile",options);},500);});var width=(options.useWindowWidth===true)?$(window).width():screen.width;if(width<options.deviceWidth){var container=$('<div class="'+options.containerClass+'"></div>');var menu=$('<select class="'+options.menuClass+'"></select>');if($("."+options.containerClass).length>0){return;}if(options.before){$(this).before(container);}else{$(this).after(container);}menu.appendTo(container);$("<option />",{"selected":"selected","value":"","text":options.defaultOption}).appendTo(menu);$(this).find("a").each(function(){var el=$(this);var optionText=el.text();var optionValue=el.attr("href");var optionParents=el.parents("."+options.subMenuClass);var len=optionParents.length;if(len>0){dash=Array(len+1).join(options.subMenuDash);optionText=dash+" "+optionText;}$("<option />",{"html":optionText,"value":optionValue,"selected":(this.href==window.location.href),}).appendTo(menu);});menu.change(function(){window.location=$(this).find("option:selected").val();});}},sc_accordion:function(opts){var options=$.extend({},{"trigger":".title a","toggle":".inner"},opts);return this.each(function(){var container=$(this);var trigger=container.find(options.trigger);var panels=container.find(options.toggle);panels.hide();trigger.click(function(e){e.preventDefault();var target=$(this).parent().next();if(!target.is(":visible")){panels.slideUp();target.slideDown();container.find(".title").removeClass("active");$(this).parent().addClass("active");}});});},sc_alert:function(opts){var options=$.extend({},{"button":".alert-close"},opts);return this.each(function(){var alert=$(this);var button_close=alert.children(options.button);button_close.click(function(e){e.preventDefault();alert.slideUp();});});},sc_tabs:function(opts){var options=$.extend({},{"tabs":".tab","trigger":".tabs-nav a"},opts);return this.each(function(){var tabs=$(this).find(options.tabs);var trigger=$(this).find(options.trigger);trigger.filter(":first").addClass("active");tabs.filter(":first").show();trigger.click(function(e){e.preventDefault();tabs.hide();tabs.filter(this.hash).show();trigger.removeClass("active");$(this).addClass("active");});});},sc_toggle:function(opts){var options=$.extend({},{"trigger":".title","toggle":".inner"},opts);return this.each(function(){var trigger=$(this).children(options.trigger);var content=$(this).children(options.toggle);trigger.toggle(function(){$(this).addClass("active");content.slideDown();},function(){$(this).removeClass("active");content.slideUp();});});},widget_tabs:function(opts){var options=$.extend({},{"tabs":".wpb-tab","trigger":".wpb-tabs a"},opts);return this.each(function(){var tabs=$(this).find(options.tabs);var trigger=$(this).find(options.trigger);trigger.filter(":first").addClass("active");tabs.filter(":first").show();trigger.click(function(e){e.preventDefault();tabs.hide();tabs.filter(this.hash).show();trigger.removeClass("active");$(this).addClass("active");});});},scroll_top:function(opts){var options=$.extend({},{"speed":"slow"},opts);return this.each(function(){$(this).click(function(e){e.preventDefault();$("html, body").animate({scrollTop:0},options.speed);});});},sticky_footer:function(opts){var options=$.extend({},{"pushDiv":"#sticky-footer-push"},opts);var footer=$(this);wpbPositionFooter(footer,options.pushDiv);$(window).scroll(function(){wpbPositionFooter(footer,options.pushDiv);}).resize(function(){wpbPositionFooter(footer,options.pushDiv);});function wpbPositionFooter(footer,pushDiv){var docHeight=$(document.body).height()-$(pushDiv).height();if(docHeight<$(window).height()){var diff=$(window).height()-docHeight;if(!$(pushDiv).length>0){footer.before('<div id="'+pushDiv.substring(1,pushDiv.length)+'"></div>');}$(pushDiv).height(diff);}}},portfolio_category_filter:function(opts){var options=$.extend({},{"currentClass":"current"},opts);return this.each(function(){var filters=$(this).children("li");filters.find("a").click(function(e){e.preventDefault();var category=$(this).attr("data-filter");filters.removeClass(options.currentClass);$(this).parent().addClass(options.currentClass);$(".isotope").isotope({filter:category});});});},portfolio_size_switcher:function(opts){var options=$.extend({},{"container":"#portfolio","isotope":true},opts);return this.each(function(){var switcherContainer=$(this);var defaultLayout=switcherContainer.attr("data-current");var switcherItems=$(this).find("li");var portfolioItems=$(options.container).children("div");switcherItems.find("a").each(function(e){if(defaultLayout==$(this).attr("data-layout")){$(this).parent().addClass("current");}});switcherItems.find("a").click(function(e){e.preventDefault();switcherItems.removeClass("current");$(this).parent().addClass("current");var oldLayout=switcherContainer.attr("data-current");var newLayout=$(this).attr("data-layout");switcherContainer.attr("data-current",newLayout);portfolioItems.removeClass(oldLayout).addClass(newLayout);if(options.isotope){$(".isotope").isotope("reLayout");}});});},};$.fn.wpbandit=function(method){if(methods[method]){return methods[method].apply(this,Array.prototype.slice.call(arguments,1));}else{if(typeof method==="object"||!method){return methods.init.apply(this,arguments);}else{$.error("Method "+method+" does not exist on jQuery.wpbandit");}}};})(jQuery,window,document);

jQuery.ajaxSetup({
	cache : false
});