$(document).ready(function(){
	
	//hide message li after the 5th


	
	//toggle message_body
	$("#supplements").hover(function(){
		$("#supplements").css("background-color","#f3f3f3");
		$(".TopItem1").css("color","#000000");
		$("#subsupplements").show()
		
		return false;
	},function(){
		$("#supplements").css("background-color","transparent");
		$(".TopItem1").css("color","#ffffff");
		$('#allproduct').html('<a href="index.php"><img style="margin-left:25px;" src="images/rollover1_03.jpg" border="0" /></a>');
		/*$(".popupMenu").hide()*/
		$("#subsupplements").hide()
		document.getElementById('clickunctionactive').value=0;
		return false;
	});


/*  	$(".splotches").hover(function(){
		$(this).children(".popupMenu").show(1)
		return false;
	},function(){
		$(this).children(".popupMenu").hide(1)
		return false;
	});*/
	
	  	$(".productlist").click(function(){
		document.getElementById('clickunctionactive').value=1;
		if(document.getElementById('clickunctionactive').value==1)
		{
		var htmlnew=$(this).children(".modelSubMenuBottom").html();
		$('#allproduct').html(htmlnew);
		}
		return false;
	});
	$(".productlist").hover(function(){
		if(document.getElementById('clickunctionactive').value==0)
		{
		var htmlnew=$(this).children(".modelSubMenuBottom").html();
		$('#allproduct').html(htmlnew);
		
		}
		return false;
	},function(){
		if(document.getElementById('clickunctionactive').value==0)
		{
		
		}
		return false;
	});

/*$(".productlist").click(function(){
		$(".productlist").removeClass('productlist');
		return false;
	});*/

});
