


//ブラウザ判別
function SystemRequirementCheck(){

	this.ChAgent = navigator.userAgent;
	this.ChBrowser = navigator.appName;
	this.ChAppVer = navigator.appVersion;

	this.Win = (this.ChAgent.indexOf("Win") != -1);
	this.Mac = (this.ChAgent.indexOf("Mac") != -1);
	this.OtherOS = (this.ChAgent.indexOf("Win" && "Mac") == -1);
	
	this.Op = ((this.ChBrowser.indexOf("Microsoft") != -1) && (this.ChAgent.indexOf("Opera") != -1));
	this.Ie4 = ((this.ChBrowser.indexOf("Microsoft") != -1) && (this.ChAgent.indexOf("MSIE 4") != -1));
	this.Ie = ((this.ChBrowser.indexOf("Microsoft") != -1) && (this.ChAgent.indexOf("IE") != -1));
	this.Ge = ((this.ChBrowser.indexOf("Netscape") != -1) && (this.ChAgent.indexOf("Gecko/") != -1));
	this.Nn3 = ((this.ChBrowser.indexOf("Netscape") != -1) && (this.ChAppVer.substr(0,1) <= 3));
	this.Nn4 = ((this.ChBrowser.indexOf("Netscape") != -1) && (this.ChAppVer.substr(0,1) >= 4));

}

var CheckB = new SystemRequirementCheck();



// 画像の読み込み処理
function PreLoading(){
	var PreLoading;
	PreLoading = new Array();
	for(i = 0; i < PreImages.length; i++){
		PreLoading[i] = new Image();
		PreLoading[i].src =  PreImages[i];
	}
}



// サイドナビの画像の読み込み処理
function PreLoadingSide(){
	var PreLoadingSide;
	PreLoadingSide = new Array();
	for(i = 0; i < PreImagesSide.length; i++){
		PreLoadingSide[i] = new Image();
		PreLoadingSide[i].src =  PreImagesSide[i];
	}
}



// ページ内リンク画像の読み込み処理
function PreLoadingLink(){
	var PreLoadingLink;
	PreLoadingLink = new Array();
	for(i = 0; i < PreImagesLink.length; i++){
		PreLoadingLink[i] = new Image();
		PreLoadingLink[i].src =  PreImagesLink[i];
	}
}



// ロールオーバー処理
function Change_Img(filename,target){
	document.images[target].src = filename;
}



// ウィンドウオープン


function WinOps(addr){
        window.open(addr,"nWin","width=1007,height=694");
       }

