/*
	Do stuff when page is loaded
	
	tinyMCE.init - load tinyMCE editor for textarea's with mceEditor class
*/

tinyMCE.init({
	mode : "specific_textareas",
	editor_selector : "mceEditor",

	theme : "advanced",
	lang : "nl",
	
	plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
	theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,formatselect,|,bullist,numlist,|,outdent,indent,|,link,unlink,anchor,image,media",
	theme_advanced_buttons2 : "",
	theme_advanced_buttons3 : "",
		
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	
	theme_advanced_resizing : true,

	relative_urls : false,
	remove_script_host : false,
	document_base_url : "http://www.appendixpunkrock.nl/"
});

$(document).ready(function() {
	$('.flickr-set').mouseover(function(){
		title_text = $(this).attr('title');
		$('span.set-description').html(title_text);
		//$('span.set-description').css('visibility','visible');
	});
	
	$('.flickr-set').mouseout(function(){
		//$('span.set-description').css('visibility','hidden');
		$('span.set-description').html(' ');
	});
});