//TemplatesのJavaScript
function submit_Action(){
	return true;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

//AdvancedSearch---Script
function Page_Jump(pageindex){
	document.Form1.lblpageindex.value= eval(document.Form1.lblpageindex.value) + eval(pageindex);
	document.Form1.cmdLink.click();

}
function backpage(){
	window.history.back();
}
function pagescroll(){
	window.scrollTo(1,1);
}
function jumpPage(strhref){
	location.href=strhref;
}


function Input_Check(){
	if (document.Form1.txtInclude1.value !=""){
		document.Form1.cmdSeach.click();
		return true;
	}
	if (document.Form1.txtInclude2.value !=""){
		document.Form1.cmdSeach.click();
		return true;
	}
	if (document.Form1.txtInclude3.value !=""){
		document.Form1.cmdSeach.click();
		return true;
	}
	if (document.Form1.txtExclude.value !=""){
		document.Form1.cmdSeach.click();
		return true;
	}
	if (document.Form1.ddrOs.selectedIndex !=""){
		document.Form1.cmdSeach.click();
		return true;
	}
	
	alert(document.Form1.lblErrMsg.value);
	return false;

}

//ウィンドウを閉じます。

function Close(){
		window.close();
}
//

function addfavorites(){
	if (window.sidebar) {
		window.sidebar.addPanel(document.title, location.href, "");
	} else if( document.all ) {
		window.external.AddFavorite(location.href, document.title);
	} else if( window.opera && window.print ) {
		return true;
	}
}

