 pa = "/dsi/dsw.cgi";
 p = "n";
 cnt = "";
 a="&&";
 pf=navigator.platform;
 lng=navigator.language;
 swh=screen.width+"x"+screen.height;
 cd=screen.colorDepth;
 pd=screen.pixelDepth;

//アクセス解析用FUNCTION
function access_kaiseki(){
get_page();
 rf=document.referrer;
document.write("<div style='position:absolute;'>");
document.write("<img src='"+pa+"?xx=",new Date().getSeconds(),a+"cnt="+cnt+a+"p="+p+a+"md=j"+a+"pg="+pg+a+"pf="+pf+a+"lng="+lng+a+"swh="+swh+a+"cd="+cd+a+"pd="+pd+a+"rf="+rf+"' border='0' height=11 />");
document.write("</div>");
};
function access_kaiseki_frame(){
get_page();
rf=parent.document.referrer;
document.write("<div style='position:absolute;'>");
document.write("<img src='"+pa+"?xx=",new Date().getSeconds(),a+"cnt="+cnt+a+"p="+p+a+"md=j"+a+"pg="+pg+a+"pf="+pf+a+"lng="+lng+a+"swh="+swh+a+"cd="+cd+a+"pd="+pd+a+"rf="+rf+"' border='0' height=11 />");
document.write("</div>");
};
//カウンター表示用FUNCTION
function counter(){
get_page();
document.write("<a href='http://hsys.jp/' target='_blank'><img src='/dsi/dsw.cgi?pg="+pg+"&&count=total_pg' alt='カウンター' border='0' /></a>");
};
//ページ名（ファイル名）の取得　
function get_page(){
	try{if (pg) ;}
	catch(myError){
		pg="";
	}
	if (!pg) {
		 pg = window.location.href;
		 var tmp_pg = pg.split("/");
		 pg = "";
		 for ( i =3;i<tmp_pg.length;i++){
		  pg += tmp_pg[i] + "-";
		 }
		 tmp_pg = pg.split("?");
		 pg = tmp_pg[0];
		 pg = pg.replace(".","_");
		 pg = pg.slice(0,-1);
		 if (pg =="" || pg== "index_htm" || pg=="index_php" || pg=="index_cgi") {
		   pg = "index_html";
		 };
	}
	
}