function imgeCheck(obj,x,y)
 {
  var value = obj.value;
     var imgInfo = new Image();
     imgInfo.src = value;
  var imgWidth = imgInfo.width;
  var imgHeight = imgInfo.height;
  
  if((imgWidth != x && imgHeight !=y )){        
   return true;
  }
 
  return false; 
 }