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://cfile236.uf.daum.net/image/205F8D0B4BF69F071CF0F9"){
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/135F8D0B4BF69F091D413B"){
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://cfile202.uf.daum.net/image/125F8D0B4BF69F0A1EA0EA"){
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/155F8D0B4BF69F0C1F14CF"){
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://cfile202.uf.daum.net/image/155F8D0B4BF69F0D203CE8"){
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://cfile213.uf.daum.net/image/185F8D0B4BF69F0F219C6A"){
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://cfile215.uf.daum.net/image/185F8D0B4BF69F10222FA8"){
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/205F8D0B4BF69F1123D5B4"){
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://cfile227.uf.daum.net/image/135F8D0B4BF69F1324B0E5"){
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://cfile226.uf.daum.net/image/165F8D0B4BF69F1525D410"){
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://cfile236.uf.daum.net/image/205F8D0B4BF69F1826F35E"){
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://cfile213.uf.daum.net/image/125F8D0B4BF69F19272156"){
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/115F8D0B4BF69F1A2889A7"){
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/135F8D0B4BF69F1B29A862"){
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://cfile231.uf.daum.net/image/125F8D0B4BF69F1C2AAF4A"){
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://cfile206.uf.daum.net/image/145F8D0B4BF69F1D2B175E"){
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://cfile215.uf.daum.net/image/165F8D0B4BF69F202C793D"){
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://cfile215.uf.daum.net/image/185F8D0B4BF69F212D23A3"){
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://cfile202.uf.daum.net/image/115F8D0B4BF69F232E7234"){
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/yimkhwan/4326145")
},
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;
}
}
}
});
}