console_info('js/searchE.js');if(!DocumentRoot){var DocumentRoot='/activefault2/';} function switch_table(){if(document.getElementById('chronologicaltable').style.display=='block'){document.getElementById('chronologicaltable').style.display='none';}else{document.getElementById('chronologicaltable').style.display='block';}} function SubmitRadioFunc(id){var check=0;for(i=0;i<3;i++){if(document.DB095SearchForm.SearchTYPE[i].checked==true){check=1;}} if(check==0){alert("Please select the search mode.");return false;} document.DB095SearchForm.TYPE.value="S";document.DB095SearchForm.action=DocumentRoot+"cgi/search_result_seg_e.cgi";document.DB095SearchForm.segmentsearch_gmap.value="0";document.DB095SearchForm.submit();} function MoveRadioFunc(inp_val){document.DB095SearchForm.SearchTYPE[inp_val].checked=true;} function MapSubmitFunc(inp_val){document.MapSearch.kid.value=inp_val;document.MapSearch.submit();} function SubmitGmapInfo(){if((!document.DB095SearchForm.fval_tyousati_p1.value)||(!document.DB095SearchForm.fval_tyousati_p2.value)){alert('Please select the search range');return;} document.DB095SearchForm.TYPE.value="S";document.DB095SearchForm.segmentsearch_gmap.value="1";document.DB095SearchForm.action='https://gbank.gsj.jp/activefault/cgi/search_result_seg_e.cgi';document.DB095SearchForm.HasLineCheckBox.value="1";document.DB095SearchForm.submit();}