function kwdSearch()
{
	if( document.f1.kwd.value == '' )
	{
		alert("검색할 키워드를 입력하세요");
		document.f1.kwd.focus();
		form.kwd.value='';
		return false;
	}
	else {
		document.f1.action = document.f1.section.options.value;
		//alert(document.f1.section.options.value);
		f1.submit();
	}
}

function kwdSearchDetail()
{
    if( document.f1.kwd.value == '' )
	{
	    alert("검색할 키워드를 입력하세요");
	    document.f1.kwd.focus();
    }
    else {
		//if ( document.f1.period.value == 4 ) 
		// && (document.f1.start_month.value =="" || docrument.f1.end_month == "")) {
		//	alert("검색 기간을 입력해주세요");
		//}
        document.f1.action = document.f1.section.options.value;
        //alert(document.f1.section.options.value);
        document.f1.submit();
    }
}

function ppkSearch(ppk)
{
	document.f1.kwd.value =ppk;
	document.f1.section.value = "search_all.jsp";
	document.f1.action = "search_all.jsp";
	document.f1.submit();
}

function gotoTab(num)
{
//alert(num);
	//document.f1.h_order.value = 0;
	document.f1.pageNum.value = 1;
	document.f1.section.value = document.f1.section.options[num].value;
	document.f1.action = document.f1.section.options[num].value;
	document.f1.submit();
}

function gotoPage(num)
{
	document.f1.pageNum.value = num;
	//document.f2.action = document.f2.section.value;	
	document.f1.submit();
}

function gotoMore(num)

{
	document.f1.pageNum.value = 1;
	document.f1.section.value = document.f1.section.options[num].value;
	document.f1.action = document.f1.section.options[num].value;
	document.f1.submit();

}

function gotoMore_k()
{
	document.f1.section.value = "k_qna_list.jsp";
	document.f1.action = "k_qna_list.jsp";
	document.f1.submit();
}

function gotoMore_r()
{
	document.f1.section.value = "r_qna_list.jsp";
	document.f1.action = "r_qna_list.jsp";
	document.f1.submit();
}

function gotoMore_know()
{
	document.f1.section.value = "knowhow_list.jsp";
	document.f1.action = "knowhow_list.jsp";
	document.f1.submit();
}

function gotoMore_cn()
{
	document.f1.section.value = "club_name_list.jsp";
	document.f1.action = "club_name_list.jsp";
	document.f1.submit();
}

function gotoMore_cb()
{
	document.f1.section.value = "club_bbs_list.jsp";
	document.f1.action = "club_bbs_list.jsp";
	document.f1.submit();
}

function gotoMore_w1()
{
	document.f1.section.value = "web_c1_list.jsp";
	document.f1.action = "web_c1_list.jsp";
	document.f1.submit();
}

function gotoMore_w2()
{
	document.f1.section.value = "web_c2_list.jsp";
	document.f1.action = "web_c2_list.jsp";
	document.f1.submit();
}

function gotoMore_w3()
{
	document.f1.section.value = "web_c3_list.jsp";
	document.f1.action = "web_c3_list.jsp";
	document.f1.submit();
}

function gotoMore_w4()
{
	document.f1.section.value = "web_c4_list.jsp";
	document.f1.action = "web_c4_list.jsp";
	document.f1.submit();
}

function gotoMore_w5()
{
	document.f1.section.value = "web_c5_list.jsp";
	document.f1.action = "web_c5_list.jsp";
	document.f1.submit();
}

function gotoMore_w6()
{
	document.f1.section.value = "web_c6_list.jsp";
	document.f1.action = "web_c6_list.jsp";
	document.f1.submit();
}

function gotoMore_w7()
{
	document.f1.section.value = "web_c7_list.jsp";
	document.f1.action = "web_c7_list.jsp";
	document.f1.submit();
}

function gotoMore_w8()
{
	document.f1.section.value = "web_c8_list.jsp";
	document.f1.action = "web_c8_list.jsp";
	document.f1.submit();
}

function gotoMore_w9()
{
	document.f1.section.value = "web_c9_list.jsp";
	document.f1.action = "web_c9_list.jsp";
	document.f1.submit();
}

function gotoMore_w10()
{
	document.f1.section.value = "web_c10_list.jsp";
	document.f1.action = "web_c10_list.jsp";
	document.f1.submit();
}

function gotoMore_w11()
{
	document.f1.section.value = "web_c11_list.jsp";
	document.f1.action = "web_c11_list.jsp";
	document.f1.submit();
}

function gotoMore_w12()
{
	document.f1.section.value = "web_c12_list.jsp";
	document.f1.action = "web_c12_list.jsp";
	document.f1.submit();
}

function gotoMore_w13()
{
	document.f1.section.value = "web_c13_list.jsp";
	document.f1.action = "web_c13_list.jsp";
	document.f1.submit();
}

function gotoMore_w14()
{
	document.f1.section.value = "web_c14_list.jsp";
	document.f1.action = "web_c14_list.jsp";
	document.f1.submit();
}
// 규격정보
function gotoMore_s()
{
	document.f1.section.value = "standard_list.jsp";
	document.f1.action = "standard_list.jsp";
	document.f1.submit();
}

function gotoOrder1(num)
// 지식플라자
{
	document.f1.p_order.value = num;
	document.f1.submit();
}

function gotoOrder2(num)
// 지식블로그
{
	document.f1.b_order.value = num;
	document.f1.submit();
}

function gotoOrder3(num) // 지식클럽_통합
{
	document.f1.cb_order.value = num;
	document.f1.cn_order.value = num;
	document.f1.submit();
}

function gotoOrder3_1(num) // 지식클럽
{
	document.f1.cn_order.value = num;
	document.f1.submit();
}

function gotoOrder3_2(num)
// 지식클럽게시글
{
	document.f1.cb_order.value = num;
	document.f1.submit();
}

function gotoOrder4(num)
// 파일
{
	document.f1.f_order.value = num;
	document.f1.submit();
}

function gotoOrder5(num)
// 게시판
{
	document.f1.bbs_order.value = num;
	document.f1.submit();
}

function gotoOrder6(num) // 웹문서
{
	document.f1.w_order.value = num;
	document.f1.submit();
}

function gotoOrder7(num)
// 뉴스
{
	document.f1.n_order.value = num;
	document.f1.submit();
}

function gotoOrder8(num)
// 규격정보
{
	document.f1.standard_order.value = num;
	document.f1.submit();
}

function reSearchClick()
{
	document.f1.kwd.value = "";
	document.f1.kwd.focus();
}



