<!--
var action = { "job": { "A": "search/job/it.html", "B": "search/job/kanri.html", "C": "search/job/eigyo.html", "D": "search/job/other.html" }, "place" : { "1": "search/hokkaido/hokkaido.html", "2": "search/aomori/aomori.html", "3": "search/iwate/iwate.html", "4": "search/miyagi/miyagi.html", "5": "search/akita/akita.html", "6": "search/yamagata/yamagata.html", "7": "search/hukushima/hukushima.html", "8": "search/ibaragi/ibaragi.html", "9": "search/tochigi/tochigi.html", "10": "search/gunma/gunma.html", "11": "search/saitama/saitama.html", "12": "search/chiba/chiba.html", "13": "search/tokyo/tokyo.html", "14": "search/kanagawa/kanagawa.html", "15": "search/niigata/niigata.html", "16": "search/toyama/toyama.html", "17": "search/ishikawa/ishikawa.html", "18": "search/fukui/fukui.html", "19": "search/yamanashi/yamanashi.html", "20": "search/nagano/nagano.html", "21": "search/gifu/gifu.html", "22": "search/shizuoka/shizuoka.html", "23": "search/aichi/aichi.html", "24": "search/mie/mie.html", "25": "search/shiga/shiga.html", "26": "search/kyoto/kyoto.html", "27": "search/osaka/osaka.html", "28": "search/hyogo/hyogo.html", "29": "search/nara/nara.html", "30": "search/wakayama/wakayama.html", "31": "search/tottori/tottori.html", "32": "search/shimane/shimane.html", "33": "search/okayama/okayama.html", "34": "search/hiroshima/hiroshima.html", "35": "search/yamaguti/yamaguti.html", "36": "search/tokushima/tokushima.html ", "37": "search/kagawa/kagawa.html", "38": "search/ehime/ehime.html", "39": "search/kochi/kochi.html", "40": "search/fukuoka/fukuoka.html", "41": "search/saga/saga.html", "42": "search/nagasaki/nagasaki.html", "43": "search/kumamoto/kumamoto.html", "44": "search/oita/oita.html", "45": "search/miyazaki/miyazaki.html", "46": "search/kagoshima/kagoshima.html", "47": "search/okinawa/okinawa.html", "48": "search/foreign/foreign.html" } };

function go_list(type, group, value) {
    var span_form = document.getElementById('span_form');
    var html = '';
    if (type == 1) {
        if (group == 1) {
            html = '<form id="form_auto" method="post" action="' + action['job'][value] + '">';
        } else {
            html = '<form id="form_auto" method="post" action="' + action['job'][value.substr(0, 1)] + '">'
                 + '<input type="hidden" name="mode" value="search">'
                 + '<input type="hidden" name="job_large" value="' + value + '">';
        }
    } else if (type == 2) {
        if (group == 1) {
            html = '<form id="form_auto" method="post" action="search/total/total.html">'
                 + '<input type="hidden" name="mode" value="search">'
                 + '<input type="hidden" name="place_group_id" value="' + value + '">';
        } else {
            html = '<form id="form_auto" method="post" action="' + action['place'][value] + '">';
        }
    } else if (type == 3) {
            html = '<form id="form_auto" method="post" action="search/total/total.html">'
                 + '<input type="hidden" name="mode" value="search">'
                 + '<input type="hidden" name="company_id" value="' + value + '">';
    } else if (type == 4) {
            html = '<form id="form_auto" method="post" action="search/total/total.html">'
                 + '<input type="hidden" name="mode" value="search">'
                 + '<input type="hidden" name="new_flg" value="1">';
    }

    if (html != '') {
        span_form.innerHTML = html + '</form>';
        document.getElementById('form_auto').submit();
    }
}
//-->