$().ready(function(){
	
	/*form*/
	$("#search label,#login label").inFieldLabels();
	$("#search input,#login input").attr("autocomplete","off");
	
	/* Slider */
	/*$('#mainSlider').codaSlider({
		autoSlide: true,
		autoSlideInterval: 5000,
		autoSlideStopWhenClicked: true
	});*/
	
	/* Apply slider, and then since our styles require the prev/next <a> to be outside of the slider <div>, but the slider code wants that, wire up triggers to link the style-correct <a> with the js correct <a> */
	$('#mainSlider').slides({
		preload: true,
		preloadImage: 'img/loading.gif',
		play: 7000,
		pause: 3000,
		hoverPause: true,
		pagination: true
	});
	
	$(".nextVisible").click(function(event){
		event.preventDefault();
    	$(".next").trigger("click");
	});
	$(".prevVisible").click(function(event){
		event.preventDefault();
    	$(".prev").trigger("click");
	});  
		
	$(".fancytable tbody tr:odd td").addClass("odd");
});


