// SELF NAME;
function self_name() { self.window.name="frn_lng" }

//----------------------------------------------
//-- Window Resize section -- close
//----------------------------------------------
/*
var ActSpeed = 1;		//speed
var InitX = 1024;		//width
var InitY = 738;		//height

var TimeID;
var Spd,Dir;
var Type1 = "non";
var Type2 = "non";
var fEvent = false;
*/

function Init(){}
/*	var scrX = GetScreenRealSize("width");
	var scrY = GetScreenRealSize("height");
	var x = scrX/2 - InitX/2;
//	var y = scrY/2 - InitY/2;
	var y = 0;
	resizeTo(InitX,InitY);
	moveTo(x,y);
	ChgBy();

}
*/

/*
function ChgBy(){
	if(fEvent){
		switch(Type1){
			case "resize":
				switch(Type2){
					case "up":
						window.resizeBy(0,-1);
						break;
					case "right":
						window.resizeBy(1,0);
						break;
					case "down":
						window.resizeBy(0,1);
						break;
					case "left":
						window.resizeBy(-1,0);
						break;
				}
				break;
			case "move":
				switch(Type2){
					case "up":
						window.moveBy(0,-1);
						break;
					case "right":
						window.moveBy(1,0);
						break;
					case "down":
						window.moveBy(0,1);
						break;
					case "left":
						window.moveBy(-1,0);
						break;
				}
				break;
		}
	}
	TimeID = setTimeout("ChgBy()",ActSpeed);
}

function ChgWindow(Ty,Dir){
	Type1 = Ty;
	Type2 = Dir;
	fEvent = true;
}

function StopWindow(){
	Type1 = "non"
	Type2 = "non"
	fEvent = false;
}

function GetScreenRealSize(type){
	switch(type){
		case "width":
			return(screen.availWidth);
		break;
		case "height":
			return(screen.availHeight);
		break;
		default:
			return(-1);
		break;
	}
}

*/
//----------------------------------------------
//-- Window Resize section End--
//----------------------------------------------

// ENTRANCE FOCUS;
function openEntEng() {
	enteng = window.open("../english/index.html","frn_lng","toolbar=yes,menubar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,resizable=yes");
	enteng.focus();
}
function openEntKor() {
	entkor = window.open("../korean/index.html","frn_lng","toolbar=yes,menubar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,resizable=yes");
	entkor.focus();
}
function openEntChs() {
	entchs = window.open("../china_s/index.html","frn_lng","toolbar=yes,menubar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,resizable=yes");
	entchs.focus();
}
function openEntCht() {
	entcht = window.open("../china_t/index.html","frn_lng","toolbar=yes,menubar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,resizable=yes");
	entcht.focus();
}


// MAIN FOCUS;
function openTopJpn() {
	topjpn = window.open("http://www.hakonesekisyo.jp/","hakonesekisyo","toolbar=yes,menubar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,resizable=yes");
	topjpn.focus();
}

function openMainChs() {
	mainchs = window.open("../china_s/main/main.html","frn_lng","toolbar=yes,menubar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,resizable=yes");
	mainchs.focus();
}


