// execute your scripts when the DOM is ready. this is a good habit

	$(function() {
            $(".nav").lavaLamp({ 
                fx: "backout", 
                speed: 1300,
                click: function(event, menuItem) {
                    return true;
                }
            });
        });

// perform JavaScript after the document is scriptable.
$(function() {
	// setup ul.tabs to work as tabs for each div directly under div.panes
	$("ul.tabs").tabs("div.panes > div", {effect: 'slide', fadeOutSpeed: 400});
});


$(function() {
$('ul.tabs li:first-child').addClass( 'eerste' );
$('ul.tabs li:last-child').addClass( 'laatste' );
});

$(function() {
$("<div class='test'></div>").appendTo("div.post-81");
});



$(function() {

	// if the function argument is given to overlay,
	// it is assumed to be the onBeforeLoad event listener
	$("a[rel]").overlay({

		mask: '#efefef',
		effect: 'apple',

		onBeforeLoad: function() {

			// grab wrapper element inside content
			var wrap = this.getOverlay().find(".contentWrap");

			// load the page specified in the trigger
			wrap.load(this.getTrigger().attr("href"));
		}

	});
	
});


