jQuery(document).ready(function($){
    $('#slider').nivoSlider({
				effect: 'slideInRight,slideInLeft,fade',
				animSpeed:500
			});
		$("#footer_col_l ul").columns(2, true);
		$('a').removeAttr("title");
		$('#buttons img').hover(
			function(){
				var l = $(this).attr('src').length;
				var tmp = $(this).attr('src').substr(0,l-4);
				$(this).attr('src',tmp+"-hover.jpg");
			},
			function(){
				var o = $(this).attr('src');
				$(this).attr('src', o.replace(/-hover.jpg/,".jpg"));
			}
		);
		$('#new_to_dove').hover(
			function(){
				var l = $(this).attr('src').length;
				var tmp = $(this).attr('src').substr(0,l-4);
				$(this).attr('src',tmp+"-hover.png");
			},
			function(){
				var o = $(this).attr('src');
				$(this).attr('src', o.replace(/-hover.png/,".png"));
			}
		);
		$(".video").colorbox({iframe:true, innerWidth:620, innerHeight:410});
		$(".gallery-icon a").colorbox();
		
});


