$('#product_navigation .navig_counter').each(function(){
    var me = $(this);
    me.html( me.html().replace('Product','Entry') );
  });
$('.listing_numbers').each(function(){
    var me = $(this);
    me.html( me.html().replace('products','entries') );
  });

if ($('#2011_entries').length){

$("body").addClass("image_entries");

}
if ($('#2012_entries').length){

$("body").addClass("image_entries1");

}
if ($('.index_home').length){

$("body").addClass("image_home");

}

$("#productinfoBody #navBreadCrumb").not(":contains(Students Entries)").each(function(){ 
$("#navig_review").remove();
$("#reviewsDefault").remove();

}); 
$("#productinfoBody #navBreadCrumb:contains(Students Entries)").each(function(){ 
//$("#navig_review").css("display", "block");
//$("#reviewsDefault").css("display", "block");
$("#navig_review").remove();
$("#reviewsDefault").remove();
}); 



		if(!$.browser.msie){

			$(".item_product_image").prepend("<img class='item_product_image_hover' src='includes/templates/custom/images/item_product_image.png' />");
			$(".item_product_image").hover(function() {
				$(this).find(".item_product_image_hover").stop(true,true).fadeIn(400);
			},function() {
				$(this).find(".item_product_image_hover").stop(true,true).fadeOut(400);
			});	

			$(".item_product_image").each(function() {
				var height = $(this).find("img").eq(1).attr("height");
				var width = $(this).find("img").eq(1).attr("width");
				$(this).find("img").eq(0).attr("height",height);
				$(this).find("img").eq(0).attr("width",width);
			});

		}



$(".column_display").removeAttr("style");


	$("ul.cms_menu > li > span a").hover(function() {

			$(this).parent().parent().not(".parent").addClass("menuLiHover");
		
	}, function() {
		
			$(this).parent().parent().not(".parent").removeClass("menuLiHover");
		
	});
	

	$("#menu li").hover(function() {
	
		$(this).find("ul").removeClass("hide");
		$(this).find("ul").addClass("show");
	
	}, function() {
	
		$(this).find("ul").addClass("hide");
		$(this).find("ul").removeClass("show");
	
	});


	$("#menu .parent").hover(function() {
	
		$(this).addClass("menuLiParentHover");
		
	}, function() {
		
		$(this).removeClass("menuLiParentHover");
		
	});


$(".parent").removeClass("menuLiParentHover");
$("#menu ul").removeClass("show");



