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);
}
}
return result;
};
var txImages = getTxImages();
ExifViewer.load({
serviceName: "blog",
images: txImages,
showAllItem: false,
imageViewer: {
templateValue: {
blogid: encodeURIComponent(BLOGID),
articleurl: encodeURIComponent("http://blog.daum.net/yunsb/7695391")
},
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;
}
}
}
});
}
window.[안내]태그제한으로등록되지않습니다-xxonload = function () {
var mediaEl = document.getElementById('mediaSocialShareContainer');
var media = new socialshare(mediaEl, {
shareType: 'media',
link: '$snsurl',
prefix: '$snstitle',
comment: {
count: 30,
link: 'http://media.daum.net/entertain/star/newsview?rMode=list&cSortKey=depth&allComment=T&newsId=20130911103507740'
}
});
};
//