Change images in div having same class

Change images in div having same class

Dear Sir

 

 have black button (JPG or image format) which is used many  times on website 
 (image name read.jpg)

I had embed this image in DIV class 'readme' 

  1.  <div class='readme'><img src="read.jpg" width="62" height="71" border=0></div>

which I want to change to 
   (Image name reade.jpg) which is also in  (JPG or image format)


I have following link links that decides change if image

  1.  <ul>
  2.            <li><a class="language <?php echo ($language_name=='marathi')?'active':'';?>" href="#" id='marathi'>Marathi</a></li>
  3.            <li><a class="language <?php echo ($language_name=='english')?'active':'';?>" href="#" id='english'>Englishi</a></li>
  4.          </ul>


I am using following script to change image

  1. if (language=='marathi') 
  2.     { 
  3.      alert('changing image to read.jpg');
  4.      $(".readmore").attr("src","read.jpg");
  5.   }
  6. else
  7.        {  alert('changing image to reade.jpg')
  8.     $(".readmore").attr("src","reade.jpg");
  9.    }