$(function() {
	Shadowbox.init({
		handleOversize: "drag",
		continuous: true,
		counterType: "skip",
		overlayOpacity: 0.8
	});
	
	$('.tinymce').tinymce({
	// General options
	language : "nl",
	theme : "advanced",
	plugins : "imagemanager,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,autosave,advlist,advlink,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount",

	// Theme options
	theme_advanced_buttons1 : "save,newdocument,|,forecolor,backcolor,|,tablecontrols",
	theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,',search,replace,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,cleanup,insertimage, ibrowser",
	theme_advanced_buttons3 : "hr,removeformat,|,print,fullscreen,|,sub,sup,visualaid,spellchecker,nonbreaking,restoredraft,charmap,code",
	theme_advanced_buttons4 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,fontselect,fontsizeselect",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_statusbar_location : "",
	theme_advanced_resizing : true,
	autosave_ask_before_unload : true	
	});
});

$(document).ready(
	function(){		
		$('.h_fotos').click(function() {
			$('.h_fotos_tekst').toggle(100);		
		});
		$('.h_menu').click(function() {
			$('.h_menu_tekst').toggle(100);		
		});
	}
);

