jQuery(function(){


	
					jQuery('#slides').slides({
						preload: true,
						preloadImage: 'img/loading.gif',
						play: 10000,
						pause: 10000,
						hoverPause: true
					});
					jQuery('#mycarousel').jcarousel({
				        // Configuration goes here
				    });
				    jQuery('#mycarousel2').jcarousel({
				        // Configuration goes here
				    });
				    
				    $("ul.gallery li").hover(function() { //On hover...

						var thumbOver = $(this).find("img").attr("src"); //Get image url and assign it to 'thumbOver'
						
						//Set a background image(thumbOver) on the <a> tag - Set position to bottom
				
						//Animate the image to 0 opacity (fade it out)
						$(this).find("img").stop().fadeTo('normal', 0 , function() {
							//$(this).hide() //Hide the image after fade
						});
					} , function() { //on hover out...
						//Fade the image to full opacity 
						$(this).find("img").stop().fadeTo('normal', 1).show();
						alert("url("+thumbover+")");
						alert($(this).find("a span").css("background-image"));
						
						alert($(this).find("a span").css("background-image"));
					});
					
					//When page loads...
					$(".tab_content").hide(); //Hide all content
					$("ul.tabs li:first").addClass("active").show(); //Activate first tab
					$(".tab_content:first").show(); //Show first tab content
				
					//On Click Event
					$("ul.tabs li").click(function() {
				
						$("ul.tabs li").removeClass("active"); //Remove any "active" class
						$(this).addClass("active"); //Add "active" class to selected tab
						$(".tab_content").hide(); //Hide all tab content
				
						var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
						$(activeTab).fadeIn(); //Fade in the active ID content
						return false;
					});
					
					
			 	$('div.description-doz').hide();
			 
			 	$('ul#mycarousel li a').mouseover(function(e) {
			 		stop();
			 		$(this).parent().next('li').children('div.description-doz').show('slow');
			 	}).mouseout(function() {
			 		$(this).parent().next('li').children('div.description-doz').hide('slow')
			 	});
					
										
});


