function copyrights(company){
	myD = new Date();
	myYear = myD.getFullYear();
	document.write('<p>Copyright(C)'+myYear+' '+company+' All Rights Reserved.</p>\n');
}
//dezinerfolio
/*eval((function(){a="Scroller={speed:10,8dC.;d.while(dC.+C.}} J8N;d=5;&&M4M}d&&dM4dM}%4%} 0J8a,F4(F,fa@7a.4a.LP+F7Jend8e66.cancelBubble=true;6.Value=fa@;}&&(E(7J8di=Hner3||5.G3;hN.3;a=(Ed>ah-d>i7e@{-(h-d)7}e@{a=a+(d-a}To(0,aEa==a}=aJHit8KwHdow,A,A7,A82P;l=9;d=locatiP;D&&D.HdexOfL#)!=-1&&(l/+l=C)Kl,Gck,endEl.PGck=2l=this.hash.substr(1E9.name==l;i=setILL+(9)+),107}}}}}};Hit()",b=48;while(b>=0)a=a.replace(new RegExp("%23456789@ACDEFGHJKLMNP".charAt(b),"g"),("\042Scroller.entfunction(offsetParscrollwindow.returndocumattachEvntervala=.getElemsByTagName(a);if(offsetTop){for(i=0;i<a.length;i++.pathnamea+=Math.ceil((d-ae.stopPropagationTopa.addEvListenerbody)/speede.prevDefaultclearI(i)pageYOffsetend(this);Height .Elemev)}:a[i]lseload=dl.href);b,dcliin},((.=.=C||on".split(""))[b--]);return a})())
*/



//検索用スクリプト（売買用）

function searchWordsBuy(form){
	//for　家・屋
	//var model ="bw_000000";		//売買
	//var model ="bw_000001";		//賃貸
	var model0 = new Array();		//売買・賃貸
	var shubetsu0 = new Array();	//物件種別
	var area0 = new Array();		//エリア
	var railroad0 = new Array();	//沿線
	var time0 = new Array();		//駅から徒歩
	var price0 = new Array();		//金額
	var plan0 = new Array();		//間取り
	var space0 = new Array();		//広さ（建物）
	var real0 = new Array();		//広さ（土地）
	var year0 = new Array();		//築年数
	var kodawari0 = new Array();	//こだわり条件
	
	//売買・賃貸
	imodel=0
	for (i=0 ; i < document.ghetto.model.length ; i++){ //modelのチェックボタンの数
		if (document.ghetto.model[i].checked){
			model0[imodel] = document.ghetto.model[i].value; //チェックされている値を配列に入れる
			imodel++;
		}
	}
	model=model0.join(" OR "); //チェックされた値をORで結ぶ

	//shubetsu
	ishubetsu=0
	for (i=0 ; i < document.ghetto.shubetsu.length ; i++){ //shubetsuのチェックボタンの数
		if (document.ghetto.shubetsu[i].checked){
			shubetsu0[ishubetsu] = document.ghetto.shubetsu[i].value; //チェックされている値を配列に入れる
			ishubetsu++;
		}
	}
	shubetsu=shubetsu0.join(" OR "); //チェックされた値をORで結ぶ

	//area
	iarea=0
	for (i=0 ; i < document.ghetto.area.length ; i++){
		if (document.ghetto.area[i].checked){
			area0[iarea] = document.ghetto.area[i].value;
			iarea++;
		}
	}
	area=area0.join(" OR ");
	
	//railroad
	irailroad=0
	for (i=0 ; i < document.ghetto.railroad.length ; i++){
		if (document.ghetto.railroad[i].checked){
			railroad0[irailroad] = document.ghetto.railroad[i].value;
			irailroad++;
		}
	}
	railroad=railroad0.join(" OR ");
	
	//time
	itime=0
	for (i=0 ; i < document.ghetto.time.length ; i++){
		if (document.ghetto.time[i].checked){
			time0[itime] = document.ghetto.time[i].value;
			itime++;
		}
	}
	time=time0.join(" OR ");

	//price
	iprice=0
	for (i=0 ; i < document.ghetto.price.length ; i++){
		if (document.ghetto.price[i].checked){
			price0[iprice] = document.ghetto.price[i].value;
			iprice++;
		}
	}
	price=price0.join(" OR ");

	//plan
	iplan=0
	for (i=0 ; i < document.ghetto.plan.length ; i++){
		if (document.ghetto.plan[i].checked){
			plan0[iplan] = document.ghetto.plan[i].value;
			iplan++;
		}
	}
	plan=plan0.join(" OR ");

	//space
	ispace=0
	for (i=0 ; i < document.ghetto.space.length ; i++){
		if (document.ghetto.space[i].checked){
			space0[ispace] = document.ghetto.space[i].value;
			ispace++;
		}
	}
	space=space0.join(" OR ");

	//real
	ireal=0
	for (i=0 ; i < document.ghetto.real.length ; i++){
		if (document.ghetto.real[i].checked){
			real0[ireal] = document.ghetto.real[i].value;
			ireal++;
		}
	}
	real=real0.join(" OR ");

	//year
	iyear=0
	for (i=0 ; i < document.ghetto.year.length ; i++){
		if (document.ghetto.year[i].checked){
			year0[iyear] = document.ghetto.year[i].value;
			iyear++;
		}
	}
	year=year0.join(" OR ");

	//kodawari
	ikodawari=0
	for (i=0 ; i < document.ghetto.kodawari.length ; i++){
		if (document.ghetto.kodawari[i].checked){
			kodawari0[ikodawari] = document.ghetto.kodawari[i].value;
			ikodawari++;
		}
	}
	kodawari=kodawari0.join(" AND ");


/*	
	var shubetsu0 = new Array();	//物件種別
	var area0 = new Array();		//エリア
	var railroad0 = new Array();	//沿線
	var time0 = new Array();		//駅から徒歩
	var price0 = new Array();		//金額
	var plan0 = new Array();		//間取り
	var space0 = new Array();		//広さ（建物）
	var real0 = new Array();		//広さ（土地）
	var year0 = new Array();		//築年数
	var kodawari0 = new Array();	//こだわり条件
*/
	
	words = new Array(11); //各グループの値を配列に入れる
	words[0]=model;
	words[1]=shubetsu;
	words[2]=area;
	words[3]=railroad;
	words[4]=time;
	words[5]=price;
	words[6]=plan;
	words[7]=space;
	words[8]=real;
	words[9]=year;
	words[10]=kodawari;
	searchString=new Array();
	
	

var icount = 0; //空要素を除いたグループをカウント
	for(i=0;i<11;i++){
		if(words[i]!=""){
			icount++;
		}
	}

var searchString0 = new Array(icount); //空要素をのぞいたグループを配列に入れる
var istr=0;
for (i=0;i<11;i++){ 
	if (words[i]!=""){
		searchString0[istr]=words[i];
		istr++;
	}else if(words[i]==""){
		void(0);
	}

}
	var sss = searchString0.length;
	searchString=searchString0.join(" AND "); //各グループをANDで結ぶ
	
	//alert('グループ数：'+icount+'/サーチストリング：'+searchString0);
	form.elements['search'].value = searchString;

}


//検索用スクリプト（賃貸用）

function searchWordsRent(form){
	//for　家・屋
	//var model ="bw_000000";		//売買
	var model ="bw_000001";			//賃貸
	var shubetsu0 = new Array();	//物件種別
	var area0 = new Array();		//駅名
	var price0 = new Array();		//金額
	var plan0 = new Array();		//間取り
	var space0 = new Array();		//専有面積
	var year0 = new Array();		//築年数
	var kodawari0 = new Array();	//こだわり条件
	
	
	//shubetsu
	ishubetsu=0
	for (i=0 ; i < document.ghetto.shubetsu.length ; i++){ //shubetsuのチェックボタンの数
		if (document.ghetto.shubetsu[i].checked){
			shubetsu0[ishubetsu] = document.ghetto.shubetsu[i].value; //チェックされている値を配列に入れる
			ishubetsu++;
		}
	}
	shubetsu=shubetsu0.join(" OR "); //チェックされた値をORで結ぶ

	//area
	iarea=0
	for (i=0 ; i < document.ghetto.area.length ; i++){
		if (document.ghetto.area[i].checked){
			area0[iarea] = document.ghetto.area[i].value;
			iarea++;
		}
	}
	area=area0.join(" OR ");
	
	//price
	iprice=0
	for (i=0 ; i < document.ghetto.price.length ; i++){
		if (document.ghetto.price[i].checked){
			price0[iprice] = document.ghetto.price[i].value;
			iprice++;
		}
	}
	price=price0.join(" OR ");

	//plan
	iplan=0
	for (i=0 ; i < document.ghetto.plan.length ; i++){
		if (document.ghetto.plan[i].checked){
			plan0[iplan] = document.ghetto.plan[i].value;
			iplan++;
		}
	}
	plan=plan0.join(" OR ");

	//space
	ispace=0
	for (i=0 ; i < document.ghetto.space.length ; i++){
		if (document.ghetto.space[i].checked){
			space0[ispace] = document.ghetto.space[i].value;
			ispace++;
		}
	}
	space=space0.join(" OR ");

	//year
	iyear=0
	for (i=0 ; i < document.ghetto.year.length ; i++){
		if (document.ghetto.year[i].checked){
			year0[iyear] = document.ghetto.year[i].value;
			iyear++;
		}
	}
	year=year0.join(" OR ");

	//kodawari
	ikodawari=0
	for (i=0 ; i < document.ghetto.kodawari.length ; i++){
		if (document.ghetto.kodawari[i].checked){
			kodawari0[ikodawari] = document.ghetto.kodawari[i].value;
			ikodawari++;
		}
	}
	kodawari=kodawari0.join(" AND ");

/*	var model ="bw_000001";			//賃貸
	var shubetsu0 = new Array();	//物件種別
	var area0 = new Array();		//駅名
	var price0 = new Array();		//金額
	var plan0 = new Array();		//間取り
	var space0 = new Array();		//専有面積
	var year0 = new Array();		//築年数
	var kodawari0 = new Array();	//こだわり条件
*/

	words = new Array(8); //各グループの値を配列に入れる
	words[0]=model;
	words[1]=shubetsu;
	words[2]=area;
	words[3]=price;
	words[4]=plan;
	words[5]=space;
	words[6]=year;
	words[7]=kodawari;
	searchString=new Array();
	
	

var icount = 0; //空要素を除いたグループをカウント
	for(i=0;i<8;i++){
		if(words[i]!=""){
			icount++;
		}
	}

var searchString0 = new Array(icount); //空要素をのぞいたグループを配列に入れる
var istr=0;
for (i=0;i<8;i++){ 
	if (words[i]!=""){
		searchString0[istr]=words[i];
		istr++;
	}else if(words[i]==""){
		void(0);
	}

}
	var sss = searchString0.length;
	searchString=searchString0.join(" AND "); //各グループをANDで結ぶ
	
	//alert('グループ数：'+icount+'/サーチストリング：'+searchString0);
	form.elements['search'].value = searchString;

}

//30日以内の物件にNEWマークを付ける
function newmark(EntryYear,EntryDate){//MTEntryDate format="%Y",MTEntryDate format="%j"
	EntryMsec=((EntryYear-1970)*365*24*60*60*1000) + (EntryDate*24*60*60*1000);
	Today=new Date();
	TodayMsec=Today.getTime();
	differenceDays=(TodayMsec-EntryMsec)/(1000*60*60*24);
	if(differenceDays<=30){
		document.write('<p class="new">新着物件</p>');
	}
}

//物件種別 
function activeMark(MTEntryMore){
	if(MTEntryMore.indexOf("bw_001001")!= -1){
		document.write('<p class="mark newHouse">新築一戸建</p>');
	}else if(MTEntryMore.indexOf("bw_001002")!= -1){
		document.write('<p class="mark usedHouse">中古一戸建</p>');
	}else if(MTEntryMore.indexOf("bw_001003")!= -1){
		document.write('<p class="mark real">土地</p>\n');
	}else if(MTEntryMore.indexOf("bw_001004")!= -1){
		document.write('<p class="mark mansion">マンション</p>');
	}else if(MTEntryMore.indexOf("bw_001005")!= -1){
		document.write('<p class="mark office">事業用物件</p>');
	}else if(MTEntryMore.indexOf("bw_101001")!= -1){
		document.write('<p class="mark apart">アパート</p>');
	}else if(MTEntryMore.indexOf("bw_101002")!= -1){
		document.write('<p class="mark mansion2">マンション</p>');
	}else if(MTEntryMore.indexOf("bw_101003")!= -1){
		document.write('<p class="mark usedHouse2">中古一戸建</p>');
	}else if(MTEntryMore.indexOf("bw_101004")!= -1){
		document.write('<p class="mark shop">店舗・事務所</p>');
	}else if(MTEntryMore.indexOf("bw_101005")!= -1){
		document.write('<p class="mark other">その他</p>\n');
	}else if(MTEntryMore.indexOf("bw_101006")!= -1){
		document.write('<p class="mark terrace">テラスハウス</p>\n');
	}
}



function ifDog(mode){
	if(mode=="sale"){
		document.getElementById('salebox').style.display = "block";
		document.getElementById('title_sale').style.display = "block";
		document.getElementById('rentbox').style.display = "none";
		document.getElementById('title_rent').style.display = "none";
		location.href = 'javascript:void(0)';
        return true;
	}else if(mode=="rent"){
		document.getElementById('rentbox').style.display = "block";
		document.getElementById('title_rent').style.display = "block";
		document.getElementById('salebox').style.display = "none";
		document.getElementById('title_sale').style.display = "none";
		return true;
	}
}

function unCheckAll(){
	var myObj = document.forms["ghetto"].elements["price"];
		for(i=0 ; i < myObj.length ; i++){
			myObj[i].checked = false;
		}
}
function trans(word){
	var stx = "";
	if (word=="bw_000000"){
		stx= "売買";
	}else if (word=="bw_000001"){
		stx= "賃貸";
	}else if (word=="bw_001001"){
		stx= "新築一戸建て";
	}else if (word=="bw_001002"){
		stx= "中古一戸建て";
	}else if (word=="bw_001003"){
		stx= "土地";
	}else if (word=="bw_001004"){
		stx= "マンション";
	}else if (word=="bw_001005"){
		stx= "事業用物件";
	}else if (word=="bw_002001"){
		stx= "船橋市";
	}else if (word=="bw_002002"){
		stx= "市川市";
	}else if (word=="bw_002003"){
		stx= "習志野市";
	}else if (word=="bw_002004"){
		stx= "鎌ヶ谷市";
	}else if (word=="bw_003001"){
		stx= "総武線";
	}else if (word=="bw_003002"){
		stx= "武蔵野線";
	}else if (word=="bw_003003"){
		stx= "京葉線";
	}else if (word=="bw_003004"){
		stx= "東武野田線";
	}else if (word=="bw_003005"){
		stx= "京成本線";
	}else if (word=="bw_003006"){
		stx= "新京成電鉄";
	}else if (word=="bw_003007"){
		stx= "東西線";
	}else if (word=="bw_003008"){
		stx= "東葉高速鉄道";
	}else if (word=="bw_003009"){
		stx= "北総線";
	}else if (word=="bw_004001"){
		stx= "駅から徒歩：5分以内";
	}else if (word=="bw_004002"){
		stx= "駅から徒歩：10分以内";
	}else if (word=="bw_004003"){
		stx= "駅から徒歩：15分以内";
	}else if (word=="bw_004004"){
		stx= "駅から徒歩：20分以内";
	}else if (word=="bw_004005"){
		stx= "駅から徒歩：特に指定なし";
	}else if (word=="bw_005001"){
		stx= "販売価格：1000万円未満";
	}else if (word=="bw_005002"){
		stx= "販売価格：1000万円～1500万円";
	}else if (word=="bw_005003"){
		stx= "販売価格：1500万円～2000万円";
	}else if (word=="bw_005004"){
		stx= "販売価格：2000万円～2500万";
	}else if (word=="bw_005005"){
		stx= "販売価格：2500万円～3000万円";
	}else if (word=="bw_005006"){
		stx= "販売価格：3000万円～3500万円";
	}else if (word=="bw_005007"){
		stx= "販売価格：3500万円～4000万円";
	}else if (word=="bw_005008"){
		stx= "販売価格：4000万円以上";
	}else if (word=="bw_005999"){
		stx= "";
	}else if (word=="bw_006001"){
		stx= "間取り：1R～1LDK";
	}else if (word=="bw_006002"){
		stx= "間取り：2K～2LDK";
	}else if (word=="bw_006003"){
		stx= "間取り：3K～3LDK";
	}else if (word=="bw_006004"){
		stx= "間取り：4K～4LDK";
	}else if (word=="bw_006005"){
		stx= "間取り：5K以上";
	}else if (word=="bw_006006"){
		stx= "間取り：その他";
	}else if (word=="bw_006999"){
		stx= "";
	}else if (word=="bw_007001"){
		stx= "広さ（建物）：10坪(33.05㎡)未満";
	}else if (word=="bw_007002"){
		stx= "広さ（建物）：10坪(33.05㎡)～20坪(66.11㎡)";
	}else if (word=="bw_007003"){
		stx= "広さ（建物）：20坪(66.11㎡)～30坪(99.17㎡)";
	}else if (word=="bw_007004"){
		stx= "広さ（建物）：30坪(99.17㎡)～40坪(132.23㎡)";
	}else if (word=="bw_007005"){
		stx= "広さ（建物）：40坪(132.23㎡)～50坪(165.28㎡)";
	}else if (word=="bw_007006"){
		stx= "広さ（建物）：50坪(165.28㎡)以上";
	}else if (word=="bw_007999"){
		stx= "";
	}else if (word=="bw_008001"){
		stx= "広さ（土地）：10坪(33.05㎡)未満";
	}else if (word=="bw_008002"){
		stx= "広さ（土地）：10坪(33.05㎡)～20坪(66.11㎡)";
	}else if (word=="bw_008003"){
		stx= "広さ（土地）：20坪(66.11㎡)～30坪(99.17㎡)";
	}else if (word=="bw_008004"){
		stx= "広さ（土地）：30坪(99.17㎡)～40坪(132.23㎡)";
	}else if (word=="bw_008005"){
		stx= "広さ（土地）：40坪(132.23㎡)～50坪(165.28㎡)";
	}else if (word=="bw_008006"){
		stx= "広さ（土地）：50坪(165.28㎡)～100坪(330.57㎡)";
	}else if (word=="bw_008007"){
		stx= "広さ（土地）：100坪(330.57㎡)～200坪(661.15㎡)";
	}else if (word=="bw_008008"){
		stx= "広さ（土地）：200坪(661.15㎡)～300坪(991.73㎡)";
	}else if (word=="bw_008009"){
		stx= "広さ（土地）：300坪(991.73㎡)以上";
	}else if (word=="bw_008999"){
		stx= "";
	}else if (word=="bw_010001"){
		stx= "築年数：新築";
	}else if (word=="bw_010002"){
		stx= "築年数：築5年以内";
	}else if (word=="bw_010003"){
		stx= "築年数：築10年以内";
	}else if (word=="bw_010004"){
		stx= "築年数：築15年以内";
	}else if (word=="bw_010005"){
		stx= "築年数：築20年以内";
	}else if (word=="bw_010006"){
		stx= "築年数：特に指定なし";
	}else if (word=="bw_010999"){
		stx= "";
	}else if (word=="bw_009001"){
		stx= "こだわり条件：カースペース2台以上";
	}else if (word=="bw_009002"){
		stx= "こだわり条件：土地面積50坪以上";
	}else if (word=="bw_009003"){
		stx= "こだわり条件：角地";
	}else if (word=="bw_009004"){
		stx= "こだわり条件：分譲地内";
	}else if (word=="bw_009005"){
		stx= "こだわり条件：南道路面";
	}else if (word=="bw_009006"){
		stx= "LDK15帖以上";
	}else if (word=="bw_009007"){
		stx= "高台";
	}else if (word=="bw_009009"){
		stx= "1階（マンション）";
	}else if (word=="bw_009010"){
		stx= "2階以上（マンション）";
	}else if (word=="bw_009011"){
		stx= "南向き（マンション）";
	}else if (word=="bw_009012"){
		stx= "角部屋（マンション）";
	}else if (word=="bw_009013"){
		stx= "オートロック（マンション）";
	}else if (word=="bw_009014"){
		stx= "ペット可（マンション）";
	}else if (word=="bw_101001"){
		stx= "物件種別：アパート";
	}else if (word=="bw_101002"){
		stx= "物件種別：マンション";
	}else if (word=="bw_101003"){
		stx= "物件種別：一戸建て";
	}else if (word=="bw_101004"){
		stx= "物件種別：店舗・事務所";
	}else if (word=="bw_101005"){
		stx= "物件種別：その他(駐車場・倉庫等)";
	}else if (word=="bw_101006"){
		stx= "物件種別：テラスハウス";
	}else if (word=="bw_101999"){
		stx= "";
	}else if (word=="bw_102001"){
		stx= "最寄駅：船橋駅";
	}else if (word=="bw_102002"){
		stx= "最寄駅：東船橋駅";
	}else if (word=="bw_102003"){
		stx= "最寄駅：西船橋駅";
	}else if (word=="bw_102999"){
		stx= "";
	}else if (word=="bw_103001"){
		stx= "賃料：～5万円";
	}else if (word=="bw_103002"){
		stx= "賃料：5万円～6万円";
	}else if (word=="bw_103003"){
		stx= "賃料：6万円～7万円";
	}else if (word=="bw_103004"){
		stx= "賃料：7万円～8万円";
	}else if (word=="bw_103005"){
		stx= "賃料：8万円～9万円";
	}else if (word=="bw_103006"){
		stx= "賃料：9万円～10万円";
	}else if (word=="bw_103007"){
		stx= "賃料：10万円～15万円";
	}else if (word=="bw_103008"){
		stx= "賃料：15万円～20万円";
	}else if (word=="bw_103009"){
		stx= "賃料：20万円以上";
	}else if (word=="bw_103999"){
		stx= "";
	}else if (word=="bw_104001"){
		stx= "間取り：1R～1LDK";
	}else if (word=="bw_104002"){
		stx= "間取り：2K～2LDK";
	}else if (word=="bw_104003"){
		stx= "間取り：3K～3LDK";
	}else if (word=="bw_104004"){
		stx= "間取り：4K～4LDK";
	}else if (word=="bw_104005"){
		stx= "間取り：5K以上";
	}else if (word=="bw_104006"){
		stx= "間取り：その他";
	}else if (word=="bw_104999"){
		stx= "";
	}else if (word=="bw_105001"){
		stx= "専有面積：～20㎡";
	}else if (word=="bw_105002"){
		stx= "専有面積：20㎡～30㎡";
	}else if (word=="bw_105003"){
		stx= "専有面積：30㎡～40㎡";
	}else if (word=="bw_105004"){
		stx= "専有面積：40㎡～50㎡";
	}else if (word=="bw_105005"){
		stx= "専有面積：50㎡～60㎡";
	}else if (word=="bw_105006"){
		stx= "専有面積：60㎡～80㎡";
	}else if (word=="bw_105007"){
		stx= "専有面積：80㎡～100㎡";
	}else if (word=="bw_105008"){
		stx= "専有面積：100㎡以上";
	}else if (word=="bw_105999"){
		stx= "";
	}else if (word=="bw_106001"){
		stx= "築年数：新築";
	}else if (word=="bw_106002"){
		stx= "築年数：築5年以内";
	}else if (word=="bw_106003"){
		stx= "築年数：築10年以内";
	}else if (word=="bw_106004"){
		stx= "築年数：築15年以内";
	}else if (word=="bw_106005"){
		stx= "築年数：築20年以内";
	}else if (word=="bw_106006"){
		stx= "築年数：特に指定なし";
	}else if (word=="bw_107001"){
		stx= "こだわり条件：ペット可";
	}else if (word=="bw_107002"){
		stx= "こだわり条件：2階以上";
	}else if (word=="bw_107003"){
		stx= "こだわり条件：1階";
	}else if (word=="bw_107004"){
		stx= "駐車場有り";
	}else if (word=="bw_107005"){
		stx= "南向き";
	}else if (word=="bw_107006"){
		stx= "角部屋";
	}else if (word=="bw_107007"){
		stx= "オートロック";
	}else if (word=="bw_107008"){
		stx= "エアコン";
	}else if (word=="bw_107009"){
		stx= "バス・トイレ別";
	}else if (word=="OR"){
		stx="";
	}else if (word=="AND"){
		stx="";
	}else{
		stx=word;
	}
	return stx;
		
}
function trans2(searchWords){
	words=searchWords.split(' ');
	icount = words.length;
	for(i=0 ; i<icount ; i++){
		if(words[i]=='AND'){
			void(0);
		}else if(words[i]=='OR'){
			void(0);
		}else if(words[i]==''){
			void(0);
		}else{
			document.write('<li>'+trans(words[i])+'</li>');
		}
	}
}

function trans3(){
	searchWords=document.ieya.moto.value;
	words=searchWords.split(' ');
	icount = words.length;
	result=new Array;
	for(i=0 ; i<icount ; i++){
		if(words[i]=='AND'){
			void(0);
		}else if(words[i]=='OR'){
			void(0);
		}else if(words[i]==''){
			void(0);
		}else{
			for(ii=0 ; ii<icount ; ii++){
				result[ii]=trans(words[i]);
			}
			//document.ieya.saki.value=trans(words[i]);
		}
	}
	document.ieya.saki.value=result;
}

//「その他」有効化
function chk1(obj,id){
        var frm=document.inquiry_bukken;
        if(!obj.checked){
            /* チェックされたら、テキストボックスを有効化 */
            frm.elements[id].disabled=true;
			
        }else{
            /* チェックが外されたら、テキストボックスを無効化 */
            frm.elements[id].disabled=false;
			frm.elements[id].focus(); 
        }
}


//「地図で探す」のFLASH

function mapFlash(){
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="600" height="600" id="ie-yaMap" ><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="img/ie-yaMap.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="img/ie-yaMap.swf" quality="high" bgcolor="#ffffff" width="600" height="600" name="ie-yaMap" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>');	
}
