﻿<!-- <![CDATA[
function showOnePage(c){
	var f = document.MyInfo;
	f.recipe_code.value=c;
	f.mode.value = "detail_idx";
	f.action="/recipe/detail.html";
	f.method="post";
	f.submit();
}
function changeCharSize_event(s){
	var f = document.MyInfo;
	f.mode.value="size";
	f.char_size.value=s;
	f.action="event.html";
	f.method="post";
	f.submit();
}
function changeCharSize_models(s){
	var f = document.MyInfo;
	f.mode.value="size";
	f.char_size.value=s;
	f.action="models.html";
	f.method="post";
	f.submit();
}
function showOnePage_indx(c){
	var f = document.MyInfo;
	f.recipe_code.value=c;
	f.mode.value = "detail_idx";
	f.action="recipe/detail.html";
	f.method="post";
	f.submit();
}
function changeCharSize_indx(s){
	var f = document.MyInfo;
	f.mode.value="size";
	f.char_size.value=s;
	//f.action="index.html";
	f.action=location.pathname;
	f.method="post";
	f.submit();
}
function changeCharSize_sp1(s){
	var f = document.MyInfo;
	f.mode.value="size";
	f.char_size.value=s;
	f.action="wrapping.html";
	f.method="post";
	f.submit();
}
function menuAction_indx(s,v,t,k){
	var f = document.MyInfo;
	f.id_list.value = v;
	f.tgt_code.value = t;
	switch(s){
		case 'f':
			f.mode.value="index";
			break;
		case 'd':
			f.mode.value="index";
			break;
	}
	switch(k){
		case '1':
			f.action="recipe/category.html";
			break;
		case '2':
			f.action="recipe/dish.html";
			break;
		case '3':
			f.action="recipe/food.html";
			break;
		case '4':
			f.action="recipe/health.html";
			break;
	}
	f.method="post";
	f.submit();
}
function menuAction_sp(s,v,t,k){
	var f = document.MyInfo;
	f.id_list.value = v;
	f.tgt_code.value = t;
	switch(s){
		case 'f':
			f.mode.value="index";
			break;
		case 'd':
			f.mode.value="index";
			break;
	}
	switch(k){
		case '1':
			f.action="/recipe/category.html";
			break;
		case '2':
			f.action="/recipe/dish.html";
			break;
		case '3':
			f.action="/recipe/food.html";
			break;
	}
	f.method="post";
	f.submit();
}

function searchAction(){
	var f = document.form_s;
	f.mode.value="search_q";
	f.pID.value = "1";
	f.action="recipe/keyword.html";
	f.method="post";
	f.submit();
}
function pageChange(p){
	var f = document.MyInfo;
	f.mode.value="pager";
	f.pID.value=p;
	f.action="index.html";
	f.method="post";
	f.submit();
}
function searchAction_href(w){
	var f = document.form_s;
	f.mode.value="search_q";
	f.pID.value = "1";
	f.query.value = w;
	f.action="/recipe/keyword.html";
	f.method="post";
	f.submit();
}
// ]]> -->
