function showSub(cat){
		document.getElementById("sub-"+cat).style.visibility = 'visible';
}

function showSub2(cat){
		document.getElementById("sub-"+cat).style.visibility = 'visible';
		document.getElementById("menu-"+cat).className = "menu-"+cat+"-2";
}

function hideSub(cat){
		document.getElementById("sub-"+cat).style.visibility = 'hidden';
	
}

function hideSub2(cat){
		document.getElementById("sub-"+cat).style.visibility = 'hidden';
		document.getElementById("menu-"+cat).className = "menu-"+cat;
}


function toto(){
	document.getElementById("nav").localScroll({
  		 target:'#contt'
	});
}

function changeProdInfo(id){
		for(i=1;i<=3;i++){
			document.getElementById("prod-menu"+i).className = 'notSelect';
			document.getElementById("prod-menu-link"+i).className = 'notSelecta';
			document.getElementById("prod-menu-left"+i).style.display = 'none';
			document.getElementById("prod-menu-right"+i).style.display = 'none';
		}
		document.getElementById("prod-menu"+id).className = 'select';
		document.getElementById("prod-menu-link"+id).className = 'selecta';
		document.getElementById("prod-menu-left"+id).style.display = 'inline';
		document.getElementById("prod-menu-right"+id).style.display = 'inline';
		for(i=1;i<=3;i++){
			document.getElementById("prodInfo"+i).style.display = 'none';
		}
			document.getElementById("prodInfo"+id).style.display = 'inline';
	return false;
}

var imgB = 1;

function changeImgHome(img){
	jQuery("#img"+imgB).fadeOut(350);
	jQuery("#img"+img).fadeIn(350);
	imgB = img;
}


function toto() {
	 jQuery("#panier-bandeau").animate({
      "width": "toggle"
    }, { duration: "slow" });
}
