window.onload=function(){ for(var i=0; i $(function(){ $("#btu_cn_2 img").mouseover(function(){ $(this).attr({'src':$(this).attr('src').replace('lingjian_2','lingjian_2_l')}); }); $("#btu_cn_2 img").mouseout(function(){ $(this).attr({'src':$(this).attr('src').replace('lingjian_2_l','lingjian_2')}); }); $("#btu_en_2 img").mouseover(function(){ $(this).attr({'src':$(this).attr('src').replace('lingjian_en_2','lingjian_en_2_l')}); }); $("#btu_en_2 img").mouseout(function(){ $(this).attr({'src':$(this).attr('src').replace('lingjian_en_2_l','lingjian_en_2')}); }); });