$().ready(function() {

		$("#header a").mouseover(
		function() {
		$(this)
		//Fade to the new color
		.animate({color:"#005a8e"}, 350)
		}).mouseout(function(){
		//Fade back to original color
		$(this).animate({color:"#595959"},350)
		});


		$(".viewall a").mouseover(
		function() {
		$(this)
		//Fade to the new color
		.animate({color:"#000"}, 350)
		}).mouseout(function(){
		//Fade back to original color
		$(this).animate({color:"#595959"},350)
		});


		$("#footer a").mouseover(
		function() {
		$(this)
		//Fade to the new color
		.animate({color:"#005a8e"}, 350)
		}).mouseout(function(){
		//Fade back to original color
		$(this).animate({color:"#595959;"},350)
		});

		$(".detail_border .title a").mouseover(
		function() {
		$(this)
		//Fade to the new color
		.animate({color:"#007bc2"}, 350)
		}).mouseout(function(){
		//Fade back to original color
		$(this).animate({color:"#005a8e"},350)
		});

		$(".tit_cmmt h3 a").mouseover(
		function() {
		$(this)
		//Fade to the new color
		.animate({color:"#000"}, 350)
		}).mouseout(function(){
		//Fade back to original color
		$(this).animate({color:"#005585"},350)
		});




		$(document).ready(function() {
				//settings
				var opacity = 0, toOpacity = 1, duration = 500;
				//set opacity ASAP and events
				$('.view_detail_button').css('opacity',opacity).hover(function() {
						$(this).fadeTo(duration,toOpacity);
					}, function() {
						$(this).fadeTo(duration,opacity);
					}
				);
		});


		$(document).ready(function() {
				//settings
				var opacity = 0.3, toOpacity = 1, duration = 400;
				//set opacity ASAP and events
				$('.nav').css('opacity',opacity).hover(function() {
						$(this).fadeTo(duration,toOpacity);
					}, function() {
						$(this).fadeTo(duration,opacity);
					}
				);
		});



		$(document).ready(function() {
				//settings
				var opacity = 0.3, toOpacity = 1, duration = 300;
				//set opacity ASAP and events
				$('.share_icon').css('opacity',opacity).hover(function() {
						$(this).fadeTo(duration,toOpacity);
					}, function() {
						$(this).fadeTo(duration,opacity);
					}
				);
		});



//		$(document).ready(function() {
//		$(".button").hover(function() { //On hover...
//		var thumbOver = $(this).find("img").attr("src"); //Get image url and assign it to 'thumbOver'
//		$(this).find("a.login_button").css({'background' : 'url(' + thumbOver + ') no-repeat center bottom'});
//		$(this).find("span").stop().fadeTo('normal', 0 , function() {
//			$(this).hide() //Hide the image after fade
//		});
//		} , function() { //on hover out...
//		$(this).find("span").stop().fadeTo('normal', 1).show();
//		});

//		});



		$(function() {
				$('#pro-list').ContentSlider({
					width : '765px',
					height : '192px',
					speed : 800,
					easing : 'easeInOutBack'
				});
			});



});

