(function ($) {
		Drupal.behaviors.basic = {
		attach: function(context, settings) {

 /*$('.block-menu-block li ul').css({display:'none'});

		$('.block-menu-block a').click(function(event) {

			var checkElement = $(this).next();
				if((checkElement.is('ul')) && (checkElement.is(':visible'))) {
					$(this).next().slideUp('normal');
					return false;
				}
				if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
					//$('.sidebar .block-menu li ul:visible').slideUp('normal');
					//$(this).find('ul:visible').slideUp('normal');
					checkElement.slideDown('normal');
				return false;
				}
				
			}
		);
		 $('.block-menu-block a.active').parents('ul').css({'display' :'block'});;*/
		 
			 //Image Captions	
			 $('img.image_highlight_left').jcaption();
			 $('img.image_highlight_right').jcaption({
	       		 //Class for wrapper element
	        	wrapperClass: 'caption_right'});
			 $('img.image_highlight_block').jcaption(); 
			 
			 //Enquiry Form
			 $('#node-9 a.enquiry-btn').click(function(event) {
				  $('#node-98').fadeIn('slow', function() {
				    // Animation complete.
				  });
				  return false;
				});
				
				
				$('#node-98 a').click(function(event) {
				  $('#node-98').fadeOut('slow', function() {
				    // Animation complete.
				  });
				  return false;
			 });
			
				
			}	
	}
}(jQuery))