var flashVersion = parent.swfobject.getFlashPlayerVersion();
if(typeof flashVersion != "undefined" && typeof flashVersion.major != "undefined" && flashVersion.major >= 10 && typeof ExifViewer != "undefined"){
var getTxImages = function () {
var result, txImages, images, i, len, img;
result = [];
images = [];
txImages = document.body.getElementsByTagName("img");
len = txImages.length;
for (i = 0; i < len; i += 1) {
img = txImages[i];
if (/tx\-daum\-image|txc\-image/.test(img.className)) {
images.push(img);
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile231.uf.daum.net/image/03301C39510673F5285E83"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile233.uf.daum.net/image/27316F39510674142AEA92"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile228.uf.daum.net/image/272D3B395106743532A065"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile220.uf.daum.net/image/1813F642510899C733A0CC"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile220.uf.daum.net/image/1427C042510899D51627A2"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile230.uf.daum.net/image/18369D42510899E3028AB2"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile222.uf.daum.net/image/191F6842510899F222734F"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile207.uf.daum.net/image/1518034251089A002C5FDD"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile232.uf.daum.net/image/2611804251089A0F39B781"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile221.uf.daum.net/image/14254D4251089A1E1B32CF"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile230.uf.daum.net/image/18632F4351089A2D2B1A06"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile208.uf.daum.net/image/2766F04351089A3D25300A"){
result.push(img);
images.splice(i, i);
break;
}
}
for(var i = 0, len = images.length; i < len; i++){
img = images[i];
if(img.src == "http://cfile212.uf.daum.net/image/0169D44351089A4C214468"){
result.push(img);
images.splice(i, i);
break;
}
}
return result;
};
var txImages = getTxImages();
ExifViewer.load({
serviceName: "blog",
images: txImages,
showAllItem: false,
imageViewer: {
templateValue: {
blogid: encodeURIComponent(BLOGID),
articleurl: encodeURIComponent("http://blog.daum.net/lsh54a/13744932")
},
photoList: {
photoListProtocol: "blogphotolistselect",
photoListDataFromUrl: "http://blog.daum.net/_blog/api/PhotoListSelectImageViewer.do?blogid={blogid}&articleurl={articleurl}&imageurl={imageurl}"
},
groupList: {
groupListProtocol: "blogcatelist",
groupListDataFromUrl: "http://blog.daum.net/_blog/api/CategoryList.do?blogid={blogid}"
},
data: {
count: txImages.length,
getViewingUrl: function (index) {
return txImages[index].src;
}
}
}
});
}