$(function () {

	// DropDown Menu
	$('#nav li').hover(
	function () {
			$('ul.drop', this).show();
	}, function () {
			$('ul.drop', this).hide();
	});
	// DropDown Menu On
	$('ul.drop').each(function () {
			var parentImg = $(this).parent().find('img');
			var parentOf = parentImg.attr('src');
			var parentOn = parentOf.replace(/_off.|_current./g, '_on.');
			$(this).hover(
			function () {
					parentImg.attr('src', parentOn);
			}, function () {
					parentImg.attr('src', parentOf);
			});
	});
	
	// Rollover
	$('img,:image').each(function () {
			var ofSrc = $(this).attr('src');
			var ovSrc = ofSrc.replace(/_off.|_current./g, '_on.');
			$(this).hover(function () {
					$(this).attr('src', ovSrc);
			}, function () {
					$(this).attr('src', ofSrc);
			});
	});
	
	
	// body#product table.product-list tr.even-row
	$(document).ready(function(){
		$('table.product-list tr:nth-child(even)').addClass('even-row');
	});
	
	
});

