document.write("
");var JSONLoader = function(){
this.results = {};
};
JSONLoader._count = 0;
JSONLoader.prototype.load = function(){
var o = this;
if(!o.config instanceof Array) o.config = [o.config];
var call_jsonp = function(config, index){
var uri = config[index].uri;
var jsonp_callback_name = 'JSONLoader_callback_' + (JSONLoader._count++);
if(config[index].onstart) config[index].onstart();
window[jsonp_callback_name] = function(result){
if(config[index].onfinish) config[index].onfinish();
o.results[uri] = result;
if(index == config.length - 1){
o.callback(o.results);
}else{
call_jsonp(config, index + 1);
}
};
var script = document.createElement('script');
script.setAttribute('src', uri + jsonp_callback_name);
script.setAttribute('type', 'text/javascript');
script.setAttribute('charset', 'utf-8');
document.getElementsByTagName('head')[0].appendChild(script);
};
call_jsonp(o.config, 0);
};
function stamp_868f73081369294e9be3bd2575c5884e() {
var num = parseInt(document.getElementById('stamp_868f73081369294e9be3bd2575c5884e').innerHTML)+1;
document.getElementById('stamp_868f73081369294e9be3bd2575c5884e').innerHTML = num;
var target_url = 'http%3A%2F%2Frss.rssad.jp%2Frss%2Fartclk%2FBU..yGKyr4wy%2F70ed423fbeaaec3325b36310e821553f%3Ful%3DXcFEdSNrahHHWFupC0BpRAJRX9D2cKYLqG5yFKq2mC8O9ikZD.ZWycQmdi6hNf3m8GLAzT3Z3iNMTddo9jRiYf_6FyxN';
var url = 'http://stampit.jp/vote.php?media_id=3&url=' + target_url + '&callback=';
var loader = new JSONLoader();
loader.config = [ { uri: url, onstart: function(){ show_busy(''); } } ];
loader.callback = function(results){
show_busy('');
setTimeout(function(){ show_result(results[url]); }, 10);
};
loader.load();
function show_busy(target){
}
function show_result(vote){
if(vote.total != "error") {
document.getElementById('stamp_868f73081369294e9be3bd2575c5884e').innerHTML = vote.total;
} else {
document.getElementById('stamp_868f73081369294e9be3bd2575c5884e').innerHTML = num-1;
}
}
}