rem: else{ dump("Sorry wrong image type\n\n"); } 
context: function checkForImage( elementID ){  image       = document.getElementById( elementID ).value;  if ( !image )  return;    var length         = image.length;  var tail           = image.length - 4;   var type           = image.substring(tail,length);  if ( tail == 0 )  {   dump("Sorry wrong image type\n\n");  return;   }  else  {  switch( type )  {    case ".gif":    imageType    = type;    break;    case ".GIF":    imageType    = type;    break;    case ".jpg":    imageType    = type;    break;    case ".JPG":    imageType    = type;    break;    case "JPEG":    imageType    = type;    break;    case "jpeg":    imageType    = type;    break;    case ".png":    imageType    = type;    break;    case ".PNG":    imageType    = type;    break;    default : imageType   = false;      }    }  if( imageType ){ dump("Image is of type "+imageType+"\n\n"); }  else{ dump("Sorry wrong image type\n\n"); }return(imageType);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5cb4feb3566948d7f7bf11b5396ee0a0efba2ad2/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js