//アクセス解析CGI：設定ファイル

//以下、自分のサイトに合わせて編集

//CGIのアドレス
cgiUrl  = "http://jiroh.com/detective3/detective.cgi";

//サイトトップのURL
siteTop = "http://jiroh.com/";

//モード
//detectiveimage : バナー表示
//dummyimage : バナー非表示
mode = "dummyimage";

//ログの保存件数
savelog = 1000;

//ディスプレイ横幅
jsScreenWidth = screen.width;

//ディスプレイ縦幅
jsScreenHeight = screen.height;

//ディスプレイ色数
jsColorDepth = screen.colorDepth;

//以上



//作者URL(変更不可)
originalUrl = "http://testpage.jp/";

//画像タグ生成
imageTag = "<IMG BORDER='0' SRC='" + cgiUrl + "?"
		+ "sitetop=" + siteTop + "&"
		+ "mode=" + mode + "&"
		+ "savelog=" + savelog + "&"
		+ "jsScreenWidth=" + jsScreenWidth + "&"
		+ "jsScreenHeight=" + jsScreenHeight + "&"
		+ "jsColorDepth=" + jsColorDepth + "&"
		+ "referrer=" + escape(document.referrer)
		+ "'>";

//リンクタグ生成
anchorTag = "<A TARGET='_blank' HREF='" + originalUrl + "'>" + imageTag + "</A>";

//タグ出力
if(mode == "detectiveimage"){
	document.write(anchorTag);
}else{
	document.write(imageTag);
}


