$(document).ready(function() {
	$('#event').cycle({
	    fx:    'scrollDown', 
		sync:   0, 
		delay: -2000,
		pause:   1 
	 });
	
	$("#photo_highlight").easySlider({
		auto: true, 
		continuous: true,
		pause: 6000,
		speed: 800
	});
	
	// jQuery('div#gallery_album').accordion({
	//     header: 'a.acco',
	//     	alwaysOpen: false, 
	//  	autoHeight: false 
	// }); 
	// 
	// $("#events .left > ul").tabs();	
	// $("#about .left > ul").tabs();	
	// $("#publication > ul").tabs();	
	// $("#sub-publication > ul").tabs();	
	// $("#links > ul").tabs();	
		
	//   $.metadata.setType("attr", "validate");
	//   $("#SurveyForm").validate({
	//   		errorPlacement: function(error, element) {
	//   			error.appendTo( element.parent() );
	//   		},
	//   
	//    });
	// 
	//   $("#Input_73_1").children().hide();
	//   
	//   $("#Input_72_1").change( function() { 
	// $("#Input_73_1").children().hide();
	// var txSelect = $("#Input_72_1 option:selected").text();
	//     $("#Input_73_1").find("optgroup[label="+txSelect+"]").show();
	//   });

});
