$(document).ready(function() {		/*$(".column_c .thumbnail img").css("opacity","0.8");		$(".column_c .thumbnail img").hover(function(){					$(this).fadeTo("fast", 1.0); // This sets the opacity to 100% on hover			},function(){   					$(this).fadeTo("fast", 0.8); // This sets the opacity back to 60% on mouseout			}); */		var loading = '<center><img src="/images/site/2009/indicator.gif" style="width: 16px; height: 16px; margin-top: 40px;"></center>';		$("#advanced_search").click(function() {			if ($("#advanced_search_data").is(":hidden")) 			{				$("#advanced_search_data").html('');				$("#advanced_search_data").slideDown("fast", function () 				{								$("#advanced_search_data").html('<center><br /><br /><img src=/images/site/2009/indicator.gif></center>');					setTimeout("load_search_form()", 1000);				});			 } 			 else 			 {				$("#advanced_search_data").hide();			 }		});				var body_open = false;		$("#lees_meer2").click(function() {							if(!body_open) {				$("#main_item_body").animate({ "top":"-150px", "height":"252px"}, "slow");				body_open = true;			}			else {				$("#main_item_body").animate({ "top":"0px", "height":"85px"}, "slow");				body_open = false;			}					});		//-----------------------------------------		// body text truncate		//-----------------------------------------		 $("#bodytest").truncate( 189,{			chars: /\s/,			trail: [ " ... <a href='#' id='lees_meer' class='truncate_show'>Meer tekst</a>", "<div style='clear: both'></div><font style='margin-top: 10px; float: left'><a href='#' id='lees_meer' class='truncate_hide'>Sluit tekst</a></font>" ]		});		//-----------------------------------------		// toggle tags		//-----------------------------------------				var show_tags = false;		$("font[id^='toggle_tags']").click(function(){			var entry_id = $(this).attr("entry_id");			if(!show_tags) {				$("#tags_"+entry_id).slideDown();				show_tags = true;			} else {				$("#tags_"+entry_id).slideUp();				show_tags = false;			}		});});// other functions outside doc readyfunction load_search_form() {	$("#advanced_search_data").load('/index/ajax_advanced_search');}
