function term(URL){
	terms = window.open('../../../term/term/'+ URL +'.html', "termwin" , "width=340,height=250,toolber=no,menuber=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes");
	terms.focus();
}

function subwin(WinNo,URL){
    var WinName = "window";
    var WinFace = "width=640,height=500,toolber=no,menuber=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes";
    sub = window.open(URL, WinName + WinNo , WinFace);
    sub.focus();
}

function subwin2(WinNo,URL){
    var WinName = "window";
    var WinFace = "width=640,height=600,toolber=no,menuber=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes";
    sub = window.open(URL, WinName + WinNo , WinFace);
    sub.focus();
}

function subwinwid(WinNo,URL){
    var WinName = "window";
    var WinFace = "width=720,height=540,toolber=no,menuber=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes";
    sub = window.open(URL, WinName + WinNo , WinFace);
    sub.focus();
}

function welfterm(URL){
	welf = window.open(URL,"welfterm" , "width=345,height=145,toolber=no,menuber=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes");
	welf.focus();
}


function remote(URL){
 opener.window.top.mainFrame.location=URL;
}

function remote_w(MAINw1,SUBw1){
	if(window.onerror = null){
	}else{window.opener.top.leftFrame.location=SUBw1;window.opener.top.mainFrame.location=MAINw1;	
	}
}

function term(URL){
	welf = window.open(URL,"term" , "width=260,height=240,toolber=no,menuber=no,location=no,directories=no,status=no,scrollbars=auto,resizable=yes");
	welf.focus();
}

function term2(URL){
	welf = window.open(URL,"term" , "width=330,height=280,toolber=no,menuber=no,location=no,directories=no,status=no,scrollbars=auto,resizable=yes");
	welf.focus();
}

function phwin(URL){
	welf = window.open(URL,"ph" , "width=200,height=250,toolber=no,menuber=no,location=no,directories=no,status=no,scrollbars=auto,resizable=yes");
	welf.focus();
}

function gopage(MAINg,NAVIg){
	window.top.mainFrame.location=MAINg;
	window.top.leftFrame.location=NAVIg;
}
