<!--
/*user-defined data type*/
bAgent = navigator.userAgent;
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
bPlugins = navigator.plugins;
Vmajor = parseInt(navigator.appVersion);	// ex. 3
Vminor = parseFloat(navigator.appVersion);	// ex. 3.01

Win = (bAgent.indexOf("Win",0) != -1);
Mac = (bAgent.indexOf("Mac",0) != -1);
MacOSX = ((bAgent.indexOf("Mozilla") != -1) && (bAgent.indexOf("Mac OS X") != -1));
if(bPlugins){for(i=0;i<bPlugins.length;i++){if(Mac && (bPlugins[i].filename.indexOf("QuickTime Plugin.plugin")!=-1)){MacOSX=true;}}}
IE = (bName == "Microsoft Internet Explorer");
NS = (bName == "Netscape")
Moz = (bAgent.indexOf("Gecko") != -1);
ICAB = (bAgent.indexOf("iCab",0) != -1);
OPERA = (bAgent.indexOf("Opera",0) != -1);
NS6 = (bAgent.indexOf("Netscape6") != -1);
MacIE5 = ((Mac && bAgent.indexOf('MSIE 5',0) != -1) || (Mac && IE && bVer > 4));
MacIE4 = ((Mac && bAgent.indexOf('MSIE 4.',0) != -1));
MacIE3 = ((Mac && bAgent.indexOf('MSIE 3.',0) != -1));

/*user-defined object check*/
/*NS4 = 1, IE4 = 2, IE5+ = 3, NS6 = 4, others = 0*/
checkObj = document.all?(document.getElementById?3:2):(document.getElementById?4:(document.layers?1:0));
function initObj(){
	checkObj = document.all?(document.getElementById?3:2):(document.getElementById?4:(document.layers?1:0));
}

/*pullDown*/
function navi(myURL) {
	url = myURL.options[myURL.selectedIndex].value;
	if(url != "") {
		location.href = url;
	}
}

/*openWin*/
function openWin(mypage,myname,w,h) {
	LeftPosition=0;
	TopPosition=0;
	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,titlebar=yes,menubar=yes,toolbar=yes,location=yes,resizable=yes,status=yes,directories=yes,copyhistory=yes,hotkeys=yes';
	win=window.open(mypage,myname,settings);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}

/*windowFocus*/
function winFocus(){
	window.focus() ;
}
window.onload = winFocus;
//-->
