$(document).ready(function() {

	if ($(".accordion").length != 0)
	{
		$(".accordion").accordion({ header: "h3", active: false, autoHeight: false, clearStyle: true, collapsible: true, fillSpace: false });
	}
	
	if ($('#content_left img').length != 0)
	{
		/* Display captions for all images in the content except captchapict */
		$('#content_left img[title!=" "]').not($('.captchapict')).addcaption({textalign:"right",captionfloat:"right",imagemargin:"20px 40px 20px 0px"});
		//$('#content_right img[title=" "]').fadeIn();
		//$('.captchapict').fadeIn();	
	}
	
	if ($('#content_right img').length != 0)
	{
		$('#content_right img[title!=" "]').addcaption({textalign:"left",captionfloat:"left",imagemargin:"0px 0px 20px 0px"});
		//$('#content_right img[title=" "]').fadeIn();
	}
	
});

