$(document).ready(function() {
	$("div.head img").each( function() {
		var wImg = $(this).css("width");
		var hImg = $(this).css("height");
		if(wImg <= hImg) $(this).attr("class","imgWidth"); 
		else $(this).attr("class","imgHeight"); 
	});
	
	$("div.description").hover( function() {
		$(this).addClass("hoverLi");
	}, function() {
		$(this).removeClass("hoverLi");
	});
});
