/*tinyMCE.init({
			mode : "specific_textareas",
			editor_selector : "form-textarea resizable"
			});*/			
$(document).ready( 
		function(){
					$('#portfolio').cycle('fade');
					//----- Conferences changing ----
									
					// Set visible (if just one element it would not become visible)
					$('td.top_conference ul li').css('opacity','100');
					
					$('td.top_conference ul').cycle('fade');
					
					//----- Menu ----
					// Show the menu as it was set as invisble
					$('td#menu').css('visibility','visible');
					
					// Load the menu engine
					//var source = '/themes/eucen/images/arrow.png';
					var source = '/themes/eucen/images/arrow.png';
					var options = {hoverOpenDelay : 3, hideDelay : 20, minWidth:180, arrowSrc: source };
					
					// Just apply menu to the menu inside the td
					$('td#menu ul.menu').menu(options);
					
					/* Hide the conferences list */
					if ($('div#pastconfs')) $('div#pastconfs').css('display', 'none');
					 
					/* Accomodate the font-size to the title length */					
					var title = $('div#orange_title p');
					if (title.text().length > 15) title.css('font-size','24px');
					if (title.text().length > 45) title.css('font-size','22px');						
					if (title.text().length > 65) title.css('font-size','20px');
					if (title.text().length > 70) title.css('font-size','15px'); 
					 
				  }
		); 
		
	
