Warning: Cannot modify header information - headers already sent by (output started at /home/shinsei/www/mogplus/inc/config.php:1) in /home/shinsei/www/mogplus/w_js.php on line 7
Warning: Cannot modify header information - headers already sent by (output started at /home/shinsei/www/mogplus/inc/config.php:1) in /home/shinsei/www/mogplus/w_js.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home/shinsei/www/mogplus/inc/config.php:1) in /home/shinsei/www/mogplus/w_js.php on line 9
Warning: Cannot modify header information - headers already sent by (output started at /home/shinsei/www/mogplus/inc/config.php:1) in /home/shinsei/www/mogplus/w_js.php on line 11
Warning: Cannot modify header information - headers already sent by (output started at /home/shinsei/www/mogplus/inc/config.php:1) in /home/shinsei/www/mogplus/w_js.php on line 12
Warning: Cannot modify header information - headers already sent by (output started at /home/shinsei/www/mogplus/inc/config.php:1) in /home/shinsei/www/mogplus/w_js.php on line 13
function createMoguraImg(){
var v_src = 'http://www.toyama-shinsei.net./mogplus/writelog.php';
var v_args = '?mode=img&guid=on';
var v_ref = '';
var v_title = '';
var v_path;
var v_w, v_h;
//v_title = document.title;
if(document.getElementsByTagName('title')[0].text) v_title = document.getElementsByTagName('title')[0].text;
v_path = document.URL;
if(document.referrer.length) v_ref = document.referrer;
try{
if(v_ref != parent.document.referrer && parent.document.referrer.length > 0){
v_ref = parent.document.referrer;
}
}catch(e){
};
try{
v_path = encodeURIComponent(v_path);
v_ref = encodeURIComponent(v_ref);
v_title = encodeURIComponent(v_title);
v_ref = v_ref.replace(/(%)/g,"_P_");
v_path = v_path.replace(/(%)/g,"_P_");
v_title = v_title.replace(/(%)/g,"_P_");
}catch(e){
};
try{
var v_chrs;
if(document.all){ // IE
v_chrs = document.charset.toLowerCase();
}else{ // NO IE
v_chrs = document.characterSet.toLowerCase();
}
switch(v_chrs){
case 'euc-jp':
break;
case 'utf-8':
break;
case 'iso-2202-jp':
break;
case 'shift-jis':
break;
default:
v_title = '';
}
}catch(e){
};
/* moniter */
v_w = screen.width;
v_h = screen.height;
v_args += '&ref='+v_ref;
v_args += '&path='+v_path;
v_args += '&monitor='+v_w+'x'+v_h;
v_args += '&title='+v_title;
v_args += '&color='+(navigator.appName != "Netscape" ? screen.colorDepth : screen.pixelDepth);
v_args += '&cookie='+(navigator.cookieEnabled ? 1 : 2);
v_args += '&js=1';
document.write('
');
};
createMoguraImg();