function 	show_list(sub_scr,langcode){

	var	arr_sort_item_name	=	new Array(5);        //名前
	arr_sort_item_name[0]	=	"book_title:書籍タイトル(原題)"; 
	arr_sort_item_name[1]	=	"book_title_katakana:書籍タイトル(日本語)"; 
	arr_sort_item_name[2]	=	"auther1:著者・編集者"; 
	arr_sort_item_name[3]	=	"auther1_katakana:著者・編集者(日本語)"; 
	arr_sort_item_name[4]	=	"isbn_code:ISBNコード"; 
	arr_sort_item_name[5]	=	"price:定価"; 

	var	idx;
	var	idx_sel;
//	for(idx = 0; idx < window.document.forms[0].sort_item.length; idx++) {
//		if	(window.document.forms[0].sort_item[idx].checked) {
//			idx_sel	=	idx;
//		}

//	alert( arr_sort_item_name.length);

	var	item;

	for(idx = 0; idx < arr_sort_item_name.length; idx++) {
		item	=	arr_sort_item_name[idx].split(":");
//		alert(item[0]+"->"+item[1]+"?"+window.document.forms[0].sort_item.value);
		if	(item[0]	==	window.document.forms[0].sort_item.value) {
			 window.document.forms[0].sort_item_name.value	=	item[1];
			break;
		}
	}



//	alert(idx_sel +arr_sort_item_name[idx_sel]);
//	window.document.forms[0].sort_item_name.value	=	arr_sort_item_name[idx_sel];
//	var window.document.forms[0].lang.value			=	langcode;
//	var	lang_value	=	window.document.forms[0].lang.value;
	CookieWrite("lang" ,langcode, 86400);

	window.document.forms[0].action	=      sub_scr;
//	alert(window.document.forms[0].action);
	window.document.forms[0].target = "_self";
	window.document.forms[0].submit();
}
function	langChg(sub_scr,lang,html_lang){
	window.document.forms[0].target				=	"_self";
	window.document.forms[0].action				=	sub_scr;
	window.document.forms[0].lang.value			=	lang;
	window.document.forms[0].html_lang.value	=	html_lang;
	CookieWrite("lang" ,lang, 86400);
	CookieWrite("html_lang" ,html_lang, 86400);
//        CookieWrite("domain" , "secure.netaid.or.jp" , 86400);
//	alert(window.document.forms[0].action);
	window.document.forms[0].submit();
	//window.document.form0.submit();
}
function	langChg2(sub_scr,lang,html_lang,fname){
	//alert("sub_scr="+sub_scr);
	CookieWrite("lang" ,lang, 86400);
	CookieWrite("html_lang" ,html_lang, 86400);
	//eval("window.document." + fname + ".target")		=	"_self";
	//eval("window.document." + fname + ".action")		=	sub_scr";
	//eval("window.document." + fname + ".submit()");
	var ename=eval("window.document." + fname);
	ename.target		=	"_self";
	ename.action		=	sub_scr;
	ename.submit();
}
function	sub2(sub_scr,lang,html_lang){
	alert(window.document.forms[0].lang.value);
	window.document.forms[0].method				=	"post";
	window.document.forms[0].target				=	"_self";
	window.document.forms[0].action				=	sub_scr;
	window.document.forms[0].submit();
}


function 	show_list(sub_scr){


	var	arr_sort_item_name	=	new Array(5);        //名前
	arr_sort_item_name[0]	=	"書籍タイトル(原題)"; 
	arr_sort_item_name[1]	=	"書籍タイトル(日本語)"; 
	arr_sort_item_name[2]	=	"著者・編集者"; 
	arr_sort_item_name[3]	=	"著者・編集者(日本語)"; 
	arr_sort_item_name[4]	=	"ISBNコード"; 
	arr_sort_item_name[5]	=	"定価"; 

	var	idx;
	var	idx_sel;
	idx_sel	=	4;

	if  (window.document.form3.freeword.value	==	"タイトル・著者・ISBN・キーワード"){
        window.document.form3.freeword.value    =   "";
    }

    //alert(window.document.form3.category.selectedIndex);
    //var selidx  =   window.document.form3.category.selectedIndex;
    //var sp_val;
    //if  (window.document.form3.category[selidx].value.search(/:/i) != -1){
        //sp_val  =   window.document.form3.category[selidx].value.split(":");
        //if  (sp_val[1]){
            //window.document.form3.category[selidx].value    =   sp_val[1];
        //}
    //}
    
    
	window.document.form3.sort_item_name.value	=	arr_sort_item_name[idx_sel];
	var	lang_value	=	window.document.form3.lang.value;
	CookieWrite("lang" ,lang_value, 86400);
	window.document.form3.action	=      sub_scr;
	window.document.form3.target = "_self";
	window.document.form3.submit();
}
