<!--

function subWin1(url)
{
var w1 = window.open(url, "sub1", "width=416,height=480,scrollbars=1,resizable=1,toolbar=1,menubar=1,location=0,status=0");
w1.focus();
}

function subWin2(url)
{
var w2 = window.open(url, "sub2", "width=620,,height=550,scrollbars=1,resizable=1,toolbar=1,menubar=1,location=0,status=0");
w2.focus();
}

function subWin6(url)
{
var w6 = window.open(url, "sub6", "width=740,,height=550,scrollbars=1,resizable=1,toolbar=1,menubar=1,location=0,status=0");
w6.focus();
}

/////////////////////////////////////////////////////////
// subWin3 ははたらく車で使用するため、下に移動しました。
/////////////////////////////////////////////////////////

function subWin4(url)
{
var w4 = window.open(url, "sub4", "width=780,height=600,scrollbars=1,resizable=1,toolbar=0,menubar=1,location=0,status=0");
w4.focus();
}

function isuzu()
{
link=document.ISZ.cv.options[document.ISZ.cv.selectedIndex].value;
if(link!="-")location.href=link;
}

function subWin5(fileNM){

	// 変数セット
	url=fileNM;		// オープンファイル
	winwidth = 395		// ウィンドウ幅
	winheight = 495		// ウィンドウ高さ
	window.name = "win";	// ウィンドウ名

	// ウィンドウ配置時の中央値を取得
	sw = screen.availwidth;
	sh = screen.availheight;
	wl = (sw-winwidth) / 2;
	wt = (sh-winheight) / 2;

	// ウィンドウオープン
	var win = window.open(url,"subwin","width=" + winwidth + ",height=" + winheight + ",toolber=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,left=" + wl +",top=" + wt);
win.focus();
}


////////////////////////////////////////////////////////////////////////////////////
// はたらく車用

function BrowserCheck(){

	this.NavName = navigator.appName;
	this.NavAnt = navigator.userAgent;
	this.NavVer = navigator.appVersion;
	this.NavPlug = navigator.plugins;
	this.NavVsub = navigator.vendorSub;
	this.NavVerI = parseInt(this.NavVer);
	this.NavVerF = parseFloat(this.NavVer);
	
	this.NN = (this.NavName == "Netscape")
	this.NN4 = (this.NavAnt.indexOf("Mozilla/4") != -1);
	this.NN6 = (this.NavAnt.indexOf("Netscape6/") != -1);
	this.NN7 = (this.NavAnt.indexOf("Netscape/7") != -1);
		
	this.IE = (this.NavName == "Microsoft Internet Explorer");
	this.IE3 = (this.NavAnt.indexOf('MSIE 3')>0);
	this.IE45 = (this.NavVer.indexOf('MSIE 4.5')>0);
	this.IE401 = (this.NavVer.indexOf('MSIE 4.01')>0);
	this.IE4 = (this.NavVer.indexOf('MSIE 4')>0);
	this.IE51 = (this.NavAnt.indexOf('MSIE 5.1')>0);
	this.IE5 = (this.NavVer.indexOf('MSIE 5')>0);		
	this.IE6 = (this.NavVer.indexOf('MSIE 6')>0);

	this.GEK = (this.NavAnt.indexOf("Gecko") != -1);
	this.SAF = (this.NavAnt.indexOf("Safari",0) != -1);
	this.CAB = (this.NavAnt.indexOf("iCab",0) != -1);
	this.OPE = (this.NavAnt.indexOf("Opera",0) != -1);

	this.Win = (this.NavAnt.indexOf("Win",0) != -1);
	this.Mac = (this.NavAnt.indexOf("Mac",0) != -1);
	this.Uix = (this.NavAnt.indexOf("X11",0) != -1);

}

var checkB = new BrowserCheck();
var var_css = new String();

if(checkB.Mac) {
	if(checkB.IE6) {
		var_css="mac_ie";
	} else if(checkB.IE5 || checkB.IE51) {
		var_css="mac_ie";
	} else if(checkB.NN6 || checkB.NN7) {
		var_css="mac_nn";
	} else if(checkB.SAF) {
		var_css="mac_ie";
	} else {
		var_css="mac_nn4";
	}
} else if(checkB.Win) {
	if(checkB.IE5 || checkB.IE6) {
		var_css="win_ie";
	} else if(checkB.NN6 || checkB.NN7) {
		var_css="win_nn";
	} else {
		var_css="win_nn4";
	}
} else {
	var_css="win_ie";
}



function subWin3(url){
	
	if(var_css == "win_ie" || var_css == "mac_ie"){
		var myHeight = 511;
	}else if(var_css == "win_nn" || var_css == "mac_nn"){
		var myHeight = 533;
	}else{
		// nn4
		var myHeight = 543;
	}

	var w_car = window.open(url, "w_car", "width=696,height=" + myHeight + ",scrollbars=1,resizable=1,toolbar=0,menubar=1,location=0,status=0");
	w_car.focus();
}

////////////////////////////////////////////////////////////////////////////////////

// -->

