
function changeimg()
{
var setWith=544;
for(i=0;i<document.images.length;i++)
{
var temImg=document.images[i];
if(temImg.width>setWith)
{ var check=ishead(temImg);
if(check==false)
{
temImg.width=setWith;}}
}
}
function  ishead(checkimg)
{
   var ish=false;
   var headImg1=document.getElementById('top6');
   var headImg2=document.getElementById('top1');
   if(headImg1==checkimg)
   {ish=true;}
   if(headImg2==checkimg)
   {ish=true;}
   return ish;
}


