// 2001.10.24
function pd1_1(){
	//if (window.pUrl == null) pUrl="";
	//if (window.pCid == null) pCid="";
	pUrl="http://www" + location.pathname;
	pCid="jp_excite_0";
	refR=escape(document.referrer);
	if (refR.length>=252) refR=refR.substring(0,252)+"...";
var rsUA=navigator.appName+" "+navigator.appVersion;
var rsNN=(rsUA.indexOf('Netscape'));
var rsMC=(rsUA.indexOf('Mac'));
var rsIE=(rsUA.indexOf('MSIE'));
var rsXP=(rsUA.indexOf('NT 5.1'));
var rsLX=(rsUA.indexOf('Linux'));
var rsMSIE=false;var rsIE6=false;var rsOSXP=false;var rsIE6XP=false;
if(rsIE>0){rsMSIE=true;var IEver=(parseInt(rsUA.substr(rsIE+5)));
if(IEver>=6){rsIE6=true;}}if(rsXP>0){rsOSXP=true;}
if((rsOSXP==true)&&(rsIE6==true)){rsIE6XP=true;}
	var postReq='<img src="http://server-jp.imrworldwide.com/cgi-bin/count?url='+pUrl+
	   '&rnd='+(new Date()).getTime()+'&cid='+pCid+'&ref='+refR+'" width=1 height=1>';

	if (pUrl != "") pUrl='<param name="url" value="'+pUrl+'">';
	if (pCid != "") pCid='<param name="cid" value="'+pCid+'">';
	if((rsMC==-1)&&(rsNN==-1)&&(rsLX==-1)&&(navigator.javaEnabled())&&(rsIE6XP!=true)){
		postReq='<applet code="Measure.class" ' + 
			'codebase="http://server-jp.imrworldwide.com/" width=0 height=0>' + 
			 pUrl+pCid+'<param name="ref" value="'+refR+'"></applet>';
		document.write('<span style="position:absolute; left:0px; top=0px">');
		document.write(postReq);
		if (location.pathname.indexOf('/web_games/content/') > 0)
		   document.write('<img src="/common/images/rm.gif" width=1 height=1>');
		document.write('</span>');
	}
	else {
	     document.write(postReq);
	}
}

if (location.hostname != 'contents.bcdc.home.ne.jp') {
 //   pd1_1();
}
else if (location.pathname.indexOf('/web_games/content/') > 0) {
 //    document.write('<img src="/common/images/rm.gif" width=1 height=1>');
}

