$(document).ready(function(){	
						   
	// FadeRoll
	$('a').hover(function(){
		$(this).find('.faderoll').stop().fadeTo(0, 0.80);
	}, function(){
		$(this).find('.faderoll').stop().fadeTo(300, 1.00);
	});
	// FadeRoll - activestate
	$('a').focus(function(){
		$(this).find('.faderoll').stop().fadeTo(0, 0.70);
	});
	
	// FadeRoll
	$('a').hover(function(){
		$(this).find('.faderoll3').stop().fadeTo(100, 0.70);
	}, function(){
		$(this).find('.faderoll3').stop().fadeTo(500, 1.00);
	});
	// FadeRoll - activestate
	$('a').focus(function(){
		$(this).find('.faderoll3').stop().fadeTo(0, 0.60);
	});
	

	
	
	// FadeRoll2
	$('a').hover(function(){
		$(this).find('.faderoll2').stop().fadeTo(150, 0.85);
	}, function(){
		$(this).find('.faderoll2').stop().fadeTo(300, 1.00);
	});
		
	// FadeRoll - activestate
	$('a').focus(function(){
		$(this).find('.faderoll2').stop().fadeTo(0, 0.70);
	});
	
	
	
	
	// Clear field value when clicked
	$(".has_default_value").focus(function (){
		if ( $(this).val() == $(this).attr("title") ) { 
			$(this).val("");
		}
	});
	$(".has_default_value").blur(function (){ 
		if ( $(this).val() == "" ) {
			$(this).val($(this).attr("title"));
		}
	});
	
	
	// Grow
	$(".grow img").hover(function(){
		$(this).stop().animate({"width": "100%","height": "100%"}, 150)
	},function(){
		$(this).stop().animate({"width": "75%","height": "75%"}, 300)
	});
	
	
	
	
	// Thumby
	$(".thumb1 img").hover(function(){
		$('#prodimage-images').stop().animate({"left": "0"}, 300)
	});
	$(".thumb2 img").hover(function(){
		$('#prodimage-images').stop().animate({"left": "-315px"}, 300)
	});
	$(".thumb3 img").hover(function(){
		$('#prodimage-images').stop().animate({"left": "-630px"}, 300)
	});
	$(".thumb4 img").hover(function(){
		$('#prodimage-images').stop().animate({"left": "-945px"}, 300)
	});
	
	
	// Grow
	$("#advicecenter").stop().fadeTo(0, 0);
	
	$(".advicelink, #advicecenter").hover(function(){
		$("#advicecenter").stop().fadeTo(150, 0.9);
	},function(){
		$("#advicecenter").stop().fadeTo(300, 0);
	});
	
	
	
	
						   
/* Not Used in this project					   			   


	// Fadeimg
	$('a.fadeimg img').hover(function(){
		$(this).stop().fadeTo(150, 0);
	}, function(){
		$(this).stop().fadeTo(200, 1.00);
	});
	
	
	// Grow
	$(".grow img").hover(function(){
		$(this).stop().animate({"width": "100%","height": "100%"}, 150)
	},function(){
		$(this).stop().animate({"width": "75%","height": "75%"}, 300)
	});
	
	
	// Drop Div
	$(".dropdiv").hide();
	$('a.dropme').click(function(){
		$(this).next('.dropdiv').slideToggle("fast");
    });
	
	
	
	
	// Rollovers
	$(".rollover").hover(function(){
		this.src = this.src.replace("_off","_on");
	},
	function(){
		this.src = this.src.replace("_on","_off");
	});
	$(".rollover").each(function(){
		rollover_src = $(this).attr("src");
		rollover_activate = rollover_src.replace(/_off/gi, "_on");
		$("<img>").attr("src", rollover_activate);
	});
	
	
	// Collapse Menu
	// Expand only the active menu, which is determined by the class name
	$(".menu > li > a[@class=expanded] ").find("+ ul").slideToggle("medium");

	// Toggle the selected menu's class and expand or collapse the menu
	$(".menu > li > a").click(function() {
		$(this).toggleClass("expanded").toggleClass("collapsed").find("+ ul").slideToggle("medium");
	});
	
*/
	
});
