function kwdSearch()
{
    if(document.f1.kwd.value == "" )
    {
        alert("검색할 키워드를 입력하세요");
        document.f1.kwd.focus();
        return false;
    }
    else {
        document.f1.action = document.f1.section.options[document.f1.section.selectedIndex].value;
        //if (document.f1.action == "menu_search.jsp" || document.f1.action == "jikwon_search.jsp" || document.f1.action == "bbs_search.jsp" || document.f1.action = "web_search.jsp" || document.f1.action == "file_search.jsp" || document.f1.action == "family_search.jsp") {
        //document.f1.kwd.value = toKR(document.f1.kwd.value);
        //}
        //document.f1.kwd.value = encodeURIComponent(document.f1.kwd.value);
        //document.f1.submit();
        return true;
    }
}

// 통합검색 페이지 Tab Menu Location
function go_cate(go_name, kwd){
    self.location = "/01kr/07siteinfo/04search/" + go_name + "&amp;kwd=" + encodeURIComponent(kwd);
    //self.location =	"/01kr/07siteinfo/04search/" + go_name + "&amp;kwd=" + kwd;
}

function gotoTab(num)
{
    document.f2.h_order.value = 0;
    document.f2.section.value = document.f1.section.options[num].value;
    document.f2.action = document.f1.section.options[num].value;
    document.f2.submit();
}

function gotoPage(num)
{
    document.f1.pageNum.value = num;
    //document.f2.action = document.f2.section.value;
    document.f1.submit();
}

function gotoMore(num)
{
    document.f2.section.value = document.f1.section.options[num].value;
    document.f2.action = document.f1.section.options[num].value;
    document.f2.submit();
}

function gotoOrder1(num)
{
    document.f1.m_order.value = num;
    //document.f2.action = document.f2.section.value;
    document.f1.submit();
}


function gotoOrder2(num)
{
    document.f1.j_order.value = num;
    //document.f2.action = document.f2.section.value;
    document.f1.submit();
}

function gotoOrder3(num)
{
    document.f1.b_order.value = num;
    //document.f2.action = document.f2.section.value;
    document.f1.submit();
}

function gotoOrder4(num)
{
    document.f1.w_order.value = num;
    //document.f2.action = document.f2.section.value;
    document.f1.submit();
}

function gotoOrder5(num)
{
    document.f1.f_order.value = num;
    //document.f2.action = document.f2.section.value;
    document.f1.submit();
}

function gotoOrder6(num)
{
    document.f1.fam_order.value = num;
    //document.f2.action = document.f2.section.value;
    document.f1.submit();
}

function reSearchClick()
{
    document.f1.kwd.value = "";
    document.f1.kwd.focus();
}

function call(kwd)
{
    alert(kwd);
}

