function open_win_1(){
window.open("q_001.html","","width=420,height=480,left=50,top=50,menubar=no,toolbar=no,location=no,status=no,scrollbars=no,resizable=no");
}
function open_win_2(){
window.open("e_8.html","","width=550,height=700,left=50,top=50,menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes");
}
function open_color(){
window.open("color.html","","width=550,height=700,left=50,top=50,menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes");
}
function open_resize(){
window.open("Jump_resize.php","","width=550,height=700,left=50,top=50,adrressbar=no menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes");
}
function pageup(e) {
UAGENT = navigator.userAgent.toUpperCase();
if (UAGENT.indexOf("MSIE") >=0) { posi = event.y; }
else { posi = e.pageY; }
moveObje(posi);
}
function moveObje(position) {
move = position / 10;
point = parseInt(position - move);
scrollTo(0,point);
if (point > 0) { setTimeout("moveObje(point)",10); }
}
function changesytle(cssfile) {
document.getElementById('txt_size').href = cssfile;
}
function setupTextareaDes() {
var textareas = document.getElementsByTagName("textarea");
for (i = 0; i < textareas.length; i++) {
if (textareas[i].className != "nodes") {
textareas[i].onfocus = function (event) {return TextareaDes(this); };
}
}
return;
}
function TextareaDes(from) {
from.className = "nodes";
from.value = "";    from.onfocus = function (event) {};// これ以降呼び出されないように、
return;
}
 /* お気に入り　Begin */
function addBookmark(title,url) {  
if (window.sidebar) {  
window.sidebar.addPanel(title, url,"");  
} else if( document.all ) {  
window.external.AddFavorite( url, title);  
} else if( window.opera && window.print ) { 
return true;  
} 
}  
 /* お気に入り　End */
	
	/* テキストボックスにフォーカスを当てた際入力モードを切り替える Begin */
function jpn(tbox){
tbox.style.imeMode="active";
}
function jpoff(tbox){
tbox.style.imeMode="disabled";
}
function eng(tbox){
tbox.style.imeMode="inactive";
}
function aut(tbox){
tbox.style.imeMode="auto";
}
/*
ひらがな入力： onfocus="jpn(this)"><br>
半角英数入力： onfocus="eng(this)"><br>
自動入力： onfocus="auto(this)
*/
/* テキストボックスにフォーカスを当てた際入力モードを切り替える End */
