//アクセス解析CGI：設定ファイル


//------------------------------------------------------------------
//以下、自分のサイトに合わせて編集
	//CGIのアドレス
	cgiUrl  = "http://linux.enegai.jp/cgi-bin/detectiveshop/detective.cgi";
//	cgiUrl  = "http://itx.tetsuserver.com/cgi-bin/detectiveshop/detective.cgi";

	//サイトトップのURL または URLに含まれる固有の文字列
	//自分のサイトのURLでしか動作させないための機能です。
	//CGIが動作しない場合は、http://だけ書いて下さい。
	//また、http://から書かずに、単にドメイン名だけでもOK（例「memorva.jp」）
	//それにより www1.memorva.jp、www2.memorva.jpなど別のホスト名でも共用可能。
	//siteTop = "http://shop.enegai.jp/";
	siteTop =location.hostname;
//	siteTop = "http://itx.tetsuserver.com/";

	//モード
	//detectiveimage : バナー表示
	//dummyimage : バナー非表示
	mode = "dummyimage";

	//ログの保存件数
	savelog = 2000;
//以上
//------------------------------------------------------------------




//以下は、変更の必要なし


//ディスプレイ横幅
jsScreenWidth = screen.width;

//ディスプレイ縦幅
jsScreenHeight = screen.height;

//ディスプレイ色数
jsColorDepth = screen.colorDepth;

//作者URL(変更不可)
originalUrl = "http://memorva.jp/";

//画像タグ生成
imageTag = "<img border='0' height='1' width='1' 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);
}



