	function categoryOnClick(VintNodeId) {
			window.returnValue = false;

			BeginSearchText(VintNodeId, false);

		}


		function openTop() {

			document.location.href = "./"
		}

function openDetail(VintFAQID){
		strURL = "http://www.gaitame.com/faq/detail.asp";
		strURL = strURL + "?baid=5";
		strURL = strURL + "&strkind=";
		strURL = strURL + "&Option=";
		strURL = strURL + "&NodeID=0";
//		strURL = strURL + "&Text=" + escape("FX キャンペーン");
		strURL = strURL + "&Field=1";
		strURL = strURL + "&KW=";
		strURL = strURL + "&KWAnd=";
		strURL = strURL + "&Page=";
		strURL = strURL + "&Rows=";
		strURL = strURL + "&NB=1";

		strURL = strURL + "&AspPage=LST";

		strURL = strURL + "&RFaqIDs=";

		strURL = strURL + "&FAQID=" + VintFAQID;

		document.location.href = strURL;
	}

	function BeginSearchText(VintActiveNodeID, VblnChkFlg) {

		var strSearchText = '';

		var objText = document.getElementsByName('txtSearchText').item(0);
		var objSearchType0 = document.getElementsByName('optSearchType').item(0);
		var objSearchType1 = document.getElementsByName('optSearchType').item(1);
		var objSearchTextCond = document.getElementsByName('cboSearchTextCond').item(0);
		var objSearchQA = document.getElementsByName('cboSearchQA').item(0);


		if(objText.value == ''){
			strSearchText = '';
		}else{
			strSearchText = objText.value;
		}

		
		if (VblnChkFlg) {
	
			if(strSearchText.length<=0){
				alert('検索内容が未入力です！');
				objText.value = objText.value.replace('\n', '')
				objText.focus();
				return 0;
			}
		}

		
		if(strSearchText.length>=151){
			alert('検索文字列数は150字以内で入力して下さい');
			objText.value = objText.value.replace('\n', '')
			objText.focus();
			return 0;
		}


		strSearchText = escape(strSearchText);

		strSearchType = "1"
		strSearchQA = "1"
		strKeywordCond = "1"

		strAttrs = "";

		strURL = "faq_list.asp"
			   + "?Option=0"
			   + "&NodeID=" + VintActiveNodeID
			   + "&Rows="
			   + "&KW=" + strSearchType
			   + "&KWAnd=" + strKeywordCond
			   + "&Field=" + strSearchQA
			   + "&Text=" + strSearchText;

		document.location.href = strURL;
		return -1;
	}

	
	function strSearchTextOnKeyDown(evt, VintActiveNodeID) {
		if (evt.keyCode == 13) {
			evt.preventDefault();
			BeginSearchText(VintActiveNodeID, true);
		}
	}

	function resetOnClick() {

		var objText;

		objText = document.getElementsByName('txtSearchText').item(0);

		if (objText)
			objText.value = '';

	}

	function OpenRankList() {

		document.location.href ='http://www.gaitame.com/faq/rank_list.asp';
	}


	function OpenNewList() {

		document.location.href = 'http://www.gaitame.com/faq/new_list.asp';
	}


	function OpenDetailFromTop(VintBAID, VintFAQID, VintKind) {
		var strURL;

		document.location.href = 'http://www.gaitame.com/faq/detail.asp?FAQID=' + VintFAQID + "&baID=" + VintBAID + "&strKind=" + VintKind;
	}


	function OpenInfoDetail(VintNewsID) {

		document.location.href = 'http://www.gaitame.com/faq/info_detail.asp?NewsID=' + VintNewsID;
	}


	function OpenInfoList() {

		document.location.href = 'http://www.gaitame.com/faq/info_list.asp';
	}


	function OpenOption() {

		var objText;

		objText = document.getElementsByName('txtSearchText').item(0);

		if (objText)
			document.location.href = 'http://www.gaitame.com/faq/option.asp?Text=' + objText.value;
		else
			document.location.href = 'http://www.gaitame.com/faq/option.asp';

	}

