// Product page UI elements

/* This is used for listing snippet*/

$("#listingAll li").live('hover', function() {
	$(this).css({ "background-color": "#EAEAF3" });
});

$("#listingAll li").live('mouseover', function() {
	$(this).css({ "background-color": "#AFAFD1" });
});

$("#listingAll li").live('mouseout', function() {
	$(this).css({ "background-color": "#EAEAF3" });
});

$("#listing ul li").live('hover', function() {
	$(this).toggleClass("glow");
});

$("#listing ul li").live('mouseover', function() {
	$(this).css({ "background-color": "#EFEFE3" });
});

$("#listing ul li").live('mouseout', function() {
	$(this).css({ "background-color": "#FFFFFF" });
}); 

/* This is used for video/audio feature on product page snippet*/

$("#videofeature").click(function() {
	$("#video").toggle();
});

	/*$("#videofeature").hover(
		function() { $(this).css({ "background-image": "url(images/product/video-feature-hover-btn.jpg)" }); },
		function() { $(this).css({ "background-image": "url(images/product/video-feature-btn.jpg)" }); }	
	);

	$("#videofeature").mouseover(
		function() { $(this).css( 'background-image', 'url(images/product/video-feature-hover-btn.jpg)' ); }
	);

	$("#videofeature").mouseout(
		function() { $(this).css({ 'background-image': 'url(images/product/video-feature-btn.jpg)' }); }
	);
*/
