'+a + ":
" + data[a] + " [" + data[a].numerator + "/" + data[a].denominator + "]
";} else {strPretty +=''+ a + ":
" + data[a] + "
"; } } else {if(a=='undefined'); else strPretty +=''+ a + ":
" + data[a] + "
";}}} return strPretty;} function readFromBinaryFile(file) {return findEXIFinJPEG(file);} return {readFromBinaryFile : readFromBinaryFile,pretty : pretty,getTag : getTag,getAllTags : getAllTags,getData : getData,Tags : ExifTags,TiffTags : TiffTags,GPSTags : GPSTags,StringValues : StringValues};})();
// exif.js END
$('galleryinfopic').onload = function(){EXIF.getData(this, function() {
$('exifoutput').innerHTML='Exif-data
'+EXIF.pretty(this);
TheLong=(EXIF.getTag(this, "GPSLongitude"));if(TheLong!=null) TheLong=(EXIF.getTag(this, "GPSLongitude")).toString(),TheLong = TheLong.replace(/\./g,''),TheLong = TheLong.replace(/\,/,'.'),TheLong = TheLong.replace(/\,/g,'');
TheLongRef=(EXIF.getTag(this, "GPSLongitudeRef"));if(TheLongRef!=null) if(TheLongRef=='W') TheLongRef='-';else TheLongRef='';
TheLat=(EXIF.getTag(this, "GPSLatitude"));if(TheLat!=null) TheLat=(EXIF.getTag(this, "GPSLatitude")).toString(),TheLat = TheLat.replace(/\./g,''),TheLat = TheLat.replace(/\,/,'.'),TheLat = TheLat.replace(/\,/g,'');
TheLatRef=(EXIF.getTag(this, "GPSLatitudeRef"));if(TheLatRef!=null) if(TheLatRef=='S') TheLatRef='-';else TheLatRef='';if(TheLatRef!=null && TheLongRef!=null)
PicLongLat=(TheLatRef+TheLat)+','+(TheLongRef+TheLong),piclocation=('');else PicLongLat='',piclocation='';
if(TheLatRef!=null && TheLongRef!=null)
$('gloc').innerHTML=(piclocation);
})};
//-->