Use the class name separated by comma for multiple class.
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Untitled Page</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
$(function () {
$('.imgproP, .imgmosh').hover(function () {
$(this).closest('div').find('a').css('color', 'red');
});
$('.imgproP, .imgmosh').mouseleave(function () {
$(this).closest('div').find('a').css('color', '');
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager runat="server" />
<div id="headerAD22">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:ImageButton ID="imgpro1" runat="server" CssClass="imgproP" ImageUrl="~/image/admin/other.png">
</asp:ImageButton>
<asp:Image ID="Image4" runat="server" CssClass="imgmosh" ImageUrl="~/image/admin/Amosh.png">
</asp:Image>
<asp:LinkButton ID="LinkButton13" runat="server" CssClass="payam1">مدیریت مشاوران</asp:LinkButton>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>