// JavaScript Document

function init_product_list()
{
	$('#mod_product_0 ul').hide();
	$('#mod_product_0 a.level0').click(function() {
																							$('#mod_product_0 ul').hide();
																							$('.level0').removeClass('actif');
																							$(this).addClass('actif');
													 										$(this).next('ul').show();
																							$(this).next('ul').find('.level1:first').trigger('click');
																							$(this).next('ul').find('.level2:first').trigger('click');
																							return false;
																					 });
	$('#mod_product_0 .level1').click(function() {
																							$('#mod_product_0 ul ul').hide();
																							$('.level1').removeClass('actif');
																							$(this).addClass('actif');
													 										$(this).next('ul').show();		
																							return false;
																					 });
}


$(document).ready(function(){
													 	
													 $("#formValidate").validate();	
													 $("div.fnc1").hide();
													 $('div.fnc1').eq(0).show();		
	
													 $(".faq_r").hide();
													 $(".faq_q").click(function() {
																												$(this).siblings(".faq_r").hide();
													 															//$(".faq_r").hide();
																												$(this).next('.faq_r').show();
																												return false;
																										 });
													 
													 $("a.fnc1").click(function() {
																											var id = $("a.fnc1").index($(this));
																											$("div.fnc1").hide();
													 														$('div.fnc1').eq(id).show();		
																											return true;
																											});
													 init_product_list();
});