<!--
site_url = 'http://kyuu-net.com/';

function top_event_query(pos){
	document.event_query.pos.value = pos;
	document.event_query.submit();
}
function top_dantai_query(pos){
	document.dantai_query.pos2.value = pos;
	document.dantai_query.submit();
}
function event_query(pos){
	document.event_query.pos.value = pos;
	document.event_query.page_change.value = 'ON';
	document.event_query.submit();
}
function query_cond_on(){
	document.event_query.query_cond.value = 'ON';
}
function event_calender(month){
	document.event_query.month.value = month;
	document.event_query.submit();
}
function calender_day(day){
	document.event_query.day.value = day;
	document.event_query.submit();
}
function event_month(){
	document.event_query.action = site_url + 'event_calender/';
	document.event_query.submit();
}
function event_day(day){
	document.event_query.action = site_url + 'event_day/';
	document.event_query.day.value = day;
	document.event_query.submit();
}
function show_calender_month(month){
	document.calender_form.action = site_url + 'event_calender/';
	document.calender_form.month2.value = month;
	document.calender_form.submit();
}
function show_calender_day(day){
	document.calender_form.action = site_url + 'event_day/';
	document.calender_form.calender_day.value = day;
	document.calender_form.submit();
}
function change_calender(month){
	document.calender_form.action = site_url + 'change_calender/#calender';
	document.calender_form.calender_month.value = month;
	document.calender_form.submit();
}
function dantai_query3(){
	document.dantai_query.query_cond.value = 'ON';
}
function kaiin_form_back(){
	document.kaiin_form.action = site_url + 'kaiin_new/';
	document.kaiin_form.submit();
}




function dantai_query(pref_id){

	document.dantai_query.pref_id.value = pref_id;
	document.dantai_query.submit();

}

function dantai_query2(pos){

	document.dantai_query.pos.value = pos;
	document.dantai_query.page_change.value = 'ON';
	document.dantai_query.submit();

}
function dantai_list_query(pos){

	document.dantai_query.pos.value = pos;
	document.dantai_query.submit();

}

function mess_query(pos){

	document.mess_query.pos.value = pos;
	document.mess_query.page_change.value = 'ON';
	document.mess_query.submit();

}


function open_url(page,id,url){
	w = window.open(site_url + "access_count.php?page=" + page + "&id=" + id,"DUMMY_WIN","width=0,height=0,top=10000,left=10000");
	w = window.open(url,"NEW_WIN");
}

function city_select(return_form,theForm){
	pref_id = theForm.pref_id.value;
	w = window.open("../city_select.php?return_form=" + return_form + "&pref_id=" + pref_id , "CITY_SELCTOR", "width=520,height=500,scrollbars=yes,resizable=yes");
}

function city_clear(){

	document.event_form.city_id.value = '';
	document.event_form.city_name.value = '';

}

function event2_entry_back(){

	document.event_form.trans.value = 'back';
	document.event_form.submit();

}

function resize(id) {
	if (document.images[id].width > 570) document.images[id].width = 570;
}

// -->
