$(document).ready(function() {  

	/* LINK GOES NOWHERE */
	$(".wash_box p a").click(function() {
	return false;
	});
	
	/* SHOW WASH-INFO ON SYMBOL-CLICK */
	$(".wash_answer_box_trocknen").hide();	
	$(".wash_answer_box_buegeln").hide();	
	$(".wash_answer_box_bleichen").hide();	
	$(".wash_answer_box_chemical").hide();	
	$(".fixed_txt_waschen").hide();
	$(".fixed_txt_trocknen").hide();
	$(".fixed_txt_buegeln").hide();
	$(".fixed_txt_bleichen").hide();
	$(".fixed_txt_chemical").hide();
	
	for (var q=1; q<11; q++) {
	$(".answer_waschen_"+q).hide();		
	$(".answer_trocknen_"+q).hide();
	$(".answer_buegeln_"+q).hide();
	$(".answer_bleichen_"+q).hide();
	$(".answer_chemical_"+q).hide();
	};
	
	$(".wash_box p a").hover(function() {
	var symbolnr = $(this).attr("href");
	var area = $(this).attr("class");
		/* WASCHEN SKRIPT */
		if (area == "waschen") {
		$(".wash_answer_box_trocknen").hide();
		$(".wash_answer_box_buegeln").hide();	
		$(".wash_answer_box_bleichen").hide();	
		$(".wash_answer_box_chemical").hide();
		$(".wash_answer_box_waschen").show();
		$(".answer_waschen_"+symbolnr).show();
		$(".fixed_txt_waschen").show();
		}		
		if (area == "trocknen") {
		$(".wash_answer_box_buegeln").hide();	
		$(".wash_answer_box_bleichen").hide();	
		$(".wash_answer_box_chemical").hide();
		$(".wash_answer_box_waschen").hide();
		$(".wash_answer_box_trocknen").show();
		$(".answer_trocknen_"+symbolnr).show();
		$(".fixed_txt_trocknen").show();
		}		
		if (area == "buegeln") {
		$(".wash_answer_box_bleichen").hide();	
		$(".wash_answer_box_chemical").hide();
		$(".wash_answer_box_waschen").hide();
		$(".wash_answer_box_trocknen").hide();
		$(".wash_answer_box_buegeln").show();	
		$(".answer_buegeln_"+symbolnr).show();
		$(".fixed_txt_buegeln").show();
		}		
		if (area == "bleichen") {
		$(".wash_answer_box_chemical").hide();
		$(".wash_answer_box_waschen").hide();
		$(".wash_answer_box_trocknen").hide();
		$(".wash_answer_box_buegeln").hide();	
		$(".wash_answer_box_bleichen").show();	
		$(".answer_bleichen_"+symbolnr).show();
		$(".fixed_txt_bleichen").show();
		}		
		if (area == "chemical") {
		$(".wash_answer_box_waschen").hide();
		$(".wash_answer_box_trocknen").hide();
		$(".wash_answer_box_buegeln").hide();	
		$(".wash_answer_box_bleichen").hide();	
		$(".wash_answer_box_chemical").show();
		$(".answer_chemical_"+symbolnr).show();
		$(".fixed_txt_chemical").show();
		}		
		$(".wash_intro").hide();
		return false;	
		
		}, function () {
		var symbolnr = $(this).attr("href");
		var area = $(this).attr("class");
		if (area == "waschen") {
		$(".answer_waschen_"+symbolnr).hide();
		}
		if (area == "trocknen") {
		$(".answer_trocknen_"+symbolnr).hide();
		}
		if (area == "buegeln") {
		$(".answer_buegeln_"+symbolnr).hide();
		}
		if (area == "bleichen") {
		$(".answer_bleichen_"+symbolnr).hide();
		}
		if (area == "chemical") {
		$(".answer_chemical_"+symbolnr).hide();
		}
		delete symbolnr;
  	});		
		
		
	/* END: SHOW WASH-INFO ON SYMBOL-CLICK */
	
	/* HOVER-EFFECT WASH-SYMBOL */
	
	$(".symbol_fade_in").hide();
	$(".wash_box p a").hover(function(){
		$(this).children(".symbol_fade_out").hide();
		$(this).children(".symbol_fade_in").show();
	},function(){
		$(this).children(".symbol_fade_in").hide();
		$(this).children(".symbol_fade_out").show();
  	});		
	
	
	/* END: HOVER-EFFECT WASH-SYMBOL */
	
  	$(".quicklink_in_1").hide();
	$(".quicklink_in_2").hide();
	$(".quicklink_1 a").hover(function(){
		var $root = $(this);
		$root.children(".quicklink_out").hide();
		$root.children(".quicklink_in_1").show();
		$root.parents(".smallteaser_right_margin").children(".smallteaser_right_content").children(".quicklink_out").hide();
		$root.parents(".smallteaser_right_margin").children(".smallteaser_right_content").children(".quicklink_in_1").show();
	},function(){
		var $root = $(this);
		$root.children(".quicklink_in_1").hide();
		$root.children(".quicklink_out").show();
		$root.parents(".smallteaser_right_margin").children(".smallteaser_right_content").children(".quicklink_in_1").hide();
		$root.parents(".smallteaser_right_margin").children(".smallteaser_right_content").children(".quicklink_out").show();
  	});		
	$(".quicklink_2 a").hover(function(){
		var $root = $(this);
		$root.children(".quicklink_out").hide();
		$root.children(".quicklink_in_2").show();
		$root.parents(".smallteaser_right_margin").children(".smallteaser_right_content").children(".quicklink_out").hide();
		$root.parents(".smallteaser_right_margin").children(".smallteaser_right_content").children(".quicklink_in_2").show();
	},function(){
		var $root = $(this);
		$root.children(".quicklink_in_2").hide();
		$root.children(".quicklink_out").show();
		$root.parents(".smallteaser_right_margin").children(".smallteaser_right_content").children(".quicklink_in_2").hide();
		$root.parents(".smallteaser_right_margin").children(".smallteaser_right_content").children(".quicklink_out").show();
  	 });	
});