reff_m('olKlAeqwJHv','TsWwRnQ','','');
function reff (Val, color)
{
timeList = new Array();
var Src = cyberbuzzGetBlogSrc (Val);
if (color) {
Src += "&co=" + color;
}
document.write('');
count_time(Val);
window.onload = function(){
var g = document.images;
for (var i=0; i < g.length;i++) {
if (g[i].src.match(/^http:\/\/www.cyberbuzz.jp\/tag\/matter.php\?k=(\w+)[&|&]a=(\w+)[&|&|]/)) {
count_time(RegExp.$1,RegExp.$2);
}
}
}
}
function popwordAPI(data){
var t = data['word'];
for (i = 0; i < t.length; i++) {
var link = ''+t[i]+' ';
document.getElementById('word').innerHTML += link;
}
}
function reff_r (Val)
{
timeList = new Array();
var Src = cyberbuzzGetBlogSrc (Val) + '&t=red';
document.write('
');
count_time(Val);
window.onload = function(){
var g=document.images;
for (var i=0; i < g.length;i++) {
if (g[i].src.match(/^http:\/\/www.cyberbuzz.jp\/tag\/matter.php\?k=(\w+)[&|&]a=(\w+)[&|&|]/)) {
count_time(RegExp.$1,RegExp.$2);
}
}
}
}
function reff_m (Val, Val2, Enqid, Issyuyaku)
{
Src = 'http://www.cyberbuzz.jp/tag/matter.php?k='
+ Val
+ '&a='
+ Val2
+ '&re='
+ escape(window.location.hostname)
+ escape(window.location.pathname)
+ escape(window.location.search);
document.write('
');
}
function cyberbuzzGetBlogSrc (Val)
{
return 'http://www.cyberbuzz.jp/tag/blog.php?k='
+ Val
+ '&re='
+ escape(window.location.hostname)
+ escape(window.location.pathname)
+ escape(window.location.search)
;
}
function count_time(user_code, matter_code) {
//This script is able surely not to take all the values of the user.
//IE : OK...(It may not work depending on the setInterval settings.)
//Fx : OK...(Delicate close action.)
//OPERA : NO...(No close action, link move only!)
//Safari: OK...(More test.)
var START_TIME = new Date;
var CYBERBUZZ_URL = "http://www.cyberbuzz.jp";
if (matter_code) {
var TIME_COUNT_PATH = "/tag/matter_time.php";
} else {
var TIME_COUNT_PATH = "/tag/blog_time.php";
}
var timeData = { startTime: START_TIME, user_code: user_code, matter_code: matter_code, path: TIME_COUNT_PATH};
timeList.push(timeData);
var isMSIE = /*@cc_on!@*/false;
var isFx = (navigator.userAgent.match(/Firefox|MineField/i))? true: false;
var isSafari = (navigator.userAgent.match(/Safari/i))? true: false;
var isOpera = (navigator.userAgent.match(/Opera/i))? true: false;
if (!isMSIE && isSafari || isOpera || isFx) {
window.onunload = function(e) {
sendTime(timeList);
}
}
if (isMSIE || isSafari) {
window.onbeforeunload = function(e) {
sendTime(timeList);
}
}
rcnt = 10;
function sendTime(timeList) {
for (i=0;i < timeList.length;i++) {
var time = (new Date - timeList[i].startTime);
if (time < 0 && rcnt--) return sendTime(timeList);
var image = new Image;
var re = '&re='
+ escape(window.location.hostname)
+ escape(window.location.pathname)
+ escape(window.location.search)
;
if (timeData.matter_code) {
var url = CYBERBUZZ_URL + timeList[i].path + "?k=" + timeList[i].user_code + "&a=" + timeList[i].matter_code + "&t=" + time + "&re=" + re;
} else {
var url = CYBERBUZZ_URL + timeList[i].path + "?k=" + timeList[i].user_code + "&t=" + time + "&re=" + re;
}
image.src = url;
}
}
}