function pop_db(str){
	call_str = "/db/index.php?option=" + str + "&file=1&zooma=0&hyoji=picture.php";

	opendb(call_str);

}

function chg_born_year(myForm, s_year , vmode , sesou ){

var n = myForm.selectedIndex;
var b_year = myForm.options[n].value;
var param_str = "index.php?select_year=" + b_year + "&born_year=" + b_year + "&vmode=" + vmode + "&sesou=" + sesou;

	location.href = param_str;

}

function OpenProductWin(product_id, vmode){
url_str = "product_win.php?id=" + product_id + "&vmode=" + vmode;
/* url_str = encodeURIComponent(url_str); */

subwin = window.open(url_str,'proWin','toolbar=no,location=no,directories=no,status=no,width=250,height=400');
subwin.focus();
}
