//■■■検索キーワード
function focusText(frm){
	kw = document.forms[frm].keyword.value;
	if(kw=="病院名/フリーワードを入れてください"){
		document.forms[frm].keyword.value = "";
	}
}

function blurText(frm){
	kw = document.forms[frm].keyword.value;
	if(kw==""){
		document.forms[frm].keyword.value = "病院名/フリーワードを入れてください";
	}
}

function search_go(frm,wkstr){
	if(wkstr != ""){
		document.forms[frm].keyword.value = wkstr;
		document.forms[frm].header_search.value = 2;
	}
	document.forms[frm].submit();
}

function search_hospital(frm){
	act = '';
	for(i = 0;i < document.forms[frm].search_type.length;i++){
		if (document.forms[frm].search_type[i].checked){
			act = 'seminar_result.php';
		}
	}
	if (act != ''){
		document.forms[frm].action = act;
		ret = true;
	}else{
		alert('説明会、インターンシップ、試験を選択してください');
		ret = false;
	}
	
	return ret;
}

function search_theme(frm){
	if (document.forms[frm].category_cd.selectedIndex > 0){
		ret = true;
	}else{
		alert('テーマ・特徴を選択してください');
		ret = false;
	}
	return ret;
}
//■■■クッキーポップアップ
function Cookie6(winURL){
newWin=window.open(winURL,'Cookie6','width=450,height=600,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=0,top=0');
newWin.focus();
}

function Cookie7(winURL){
newWin=window.open(winURL,'Cookie7','width=600,height=700,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=0,top=0');
newWin.focus();
}

//■■■国家試験対策講座　Pulldown URL Jamp
function UrlJamp(selURL){
	location.href=selURL.options[selURL.selectedIndex].value;
}