// JavaScript Document
//おんぼろ不動産マーケット

function nextmore(mode,id){
	if (document.getElementById){
		if(mode=='body'){
			document.getElementById('body'+id).style.display = "block";
			document.getElementById('more'+id).style.display = "none";
			location.href = '#'+id;
            return true;
		}else if(mode=='more'){
			document.getElementById('body'+id).style.display = "none";
			document.getElementById('more'+id).style.display = "block";
			location.href = '#'+id;
            return true;

		}
	}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function openwindowMap(url,width,height)
{
	sw = screen.availWidth;
	sh = screen.availHeight;
	wl = (sw - width)/2;
	wt = (sh - height)/2;
	window.open(url, '_blank','width='+width+',height='+height+',scrollbars=yes,left='+wl+',top='+wt);
}
function openwindowAdc(url,width)
{
	sw = screen.availWidth;
	sh = screen.availHeight;
	height = sh;
	wl = (sw - width)/2;
	wt = (sh - height)/2;
	window.open(url, '_blank','width='+width+',height='+height+',scrollbars=yes,left=0,top=0');
}
function PrintPage(){
	if(document.getElementById || document.layers){
		window.print();		//印刷をします
	}
}
function changeBlock(mode,id){
	if (document.getElementById){
		if(mode=='entry'){
			document.getElementById('entry'+id).style.display = "block";
			document.getElementById('comment'+id).style.display = "none";
			document.getElementById('trackback'+id).style.display = "none";
			location.href = '#'+id;
            return true;
		}else if(mode=='comment'){
			document.getElementById('entry'+id).style.display = "none";
			document.getElementById('comment'+id).style.display = "block";
			document.getElementById('trackback'+id).style.display = "none";
			location.href = '#'+id;
            return true;
		}else if(mode=='trackback'){
			document.getElementById('entry'+id).style.display = "none";
			document.getElementById('comment'+id).style.display = "none";
			document.getElementById('trackback'+id).style.display = "block";
			location.href = '#'+id;
            return true;
		}
	}
}
function copyright(){
	myD = new Date();
	myYear = myD.getFullYear();
	document.write('<p>Copyright(C)'+myYear+' Oriental Sangyo Co.,Ltd. All Rights Reserved.</p>\n');
}
function showHide(entryID, entryLink, htmlObj) {
    extTextDivID = ('Text' + (entryID));
    extLinkDivID = ('Link' + (entryID));
    if( document.getElementById ) {
        if( document.getElementById(extTextDivID).style.display ) {
            if( entryLink != 0 ) {
                document.getElementById(extTextDivID).style.display = "block";
                document.getElementById(extLinkDivID).style.display = "none";
                htmlObj.blur();
            } else { 
                document.getElementById(extTextDivID).style.display = "none";
                document.getElementById(extLinkDivID).style.display = "block";
            }
        } else {
            location.href = entryLink;
            return true;
        }
    } else {
        location.href = entryLink;
        return true;
    }
}
function top_flash(){
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="760" height="144" id="top" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="top.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="#ffffff" />');
document.write('<embed src="top.swf" quality="high" bgcolor="#ffffff" width="760" height="144" name="top" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
}
function flashmenu(mode){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="220" height="211" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">\n');
document.write('<param name="movie" value="http://sample.sub.jp/onboro/img/sidemenu.swf" />\n');
document.write('<param name="quality" value="high" />\n');
document.write('<param name="wmode" value="transparent" />\n');
document.write('<param name="bgcolor" value="#ffffff" />\n');
document.write('<param name="flashvars" value="menumode='+mode+'">\n');
document.write('<embed src="http://sample.sub.jp/onboro/img/sidemenu.swf" quality="high" bgcolor="#ffffff" width="220" height="211" name="navigator" align="middle" play="true" loop="false" quality="high" wmode="transparent" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" flashvars="menumode='+mode+'" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>\n');
document.write('<\/object>\n');
}

function calendar(){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="650" height="25" id="calender" align="">\n');
document.write('<param name=movie value="http://sample.sub.jp/onboro/img/w_calendar210.swf?xmlURL=http://sample.sub.jp/onboro/staff/calendar.xml&katachi=1&monthMoveColor=6d975b&entryDayColor=e0eada&todayColor=6d975b&title_d=1"> \n');
document.write('<param name=quality value=high>\n');
document.write('<param name=wmode value=transparent>\n');
document.write('<param name=bgcolor value=#ffffff>\n');
document.write('<embed src="http://sample.sub.jp/onboro/img/w_calendar210.swf?xmlURL=http://sample.sub.jp/onboro/staff/calendar.xml&katachi=1&monthMoveColor=6d975b&entryDayColor=e0eada&todayColor=6d975b&title_d=1" quality=high  wmode=transparent bgcolor=#ffffff  width="650" height="25" name="calender" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>\n');
document.write('</object>\n');
}
//Topページのランダム画像
function randomImage(){
	var number = Math.floor(Math.random()*65);
	var	topImage = new Array();
	topImage[0] = "http://www.onboro.net/topimages/top001.jpg";
	topImage[1] = "http://www.onboro.net/topimages/top002.jpg";
	topImage[2] = "http://www.onboro.net/topimages/top003.jpg";
	topImage[3] = "http://www.onboro.net/topimages/top004.jpg";
	topImage[4] = "http://www.onboro.net/topimages/top005.jpg";
	topImage[5] = "http://www.onboro.net/topimages/top006.jpg";
	topImage[6] = "http://www.onboro.net/topimages/top007.jpg";
	topImage[7] = "http://www.onboro.net/topimages/top008.jpg";
	topImage[8] = "http://www.onboro.net/topimages/top009.jpg";
	topImage[9] = "http://www.onboro.net/topimages/top010.jpg";
	topImage[10] = "http://www.onboro.net/topimages/top011.jpg";
	topImage[11] = "http://www.onboro.net/topimages/top012.jpg";
	topImage[12] = "http://www.onboro.net/topimages/top013.jpg";
	topImage[13] = "http://www.onboro.net/topimages/top014.jpg";
	topImage[14] = "http://www.onboro.net/topimages/top015.jpg";
	topImage[15] = "http://www.onboro.net/topimages/top016.jpg";
	topImage[16] = "http://www.onboro.net/topimages/top017.jpg";
	topImage[17] = "http://www.onboro.net/topimages/top018.jpg";
	topImage[18] = "http://www.onboro.net/topimages/top019.jpg";
	topImage[19] = "http://www.onboro.net/topimages/top020.jpg";
	topImage[20] = "http://www.onboro.net/topimages/top021.jpg";
	topImage[21] = "http://www.onboro.net/topimages/top022.jpg";
	topImage[22] = "http://www.onboro.net/topimages/top023.jpg";
	topImage[23] = "http://www.onboro.net/topimages/top024.jpg";
	topImage[24] = "http://www.onboro.net/topimages/top025.jpg";
	topImage[25] = "http://www.onboro.net/topimages/top026.jpg";
	topImage[26] = "http://www.onboro.net/topimages/top027.jpg";
	topImage[27] = "http://www.onboro.net/topimages/top028.jpg";
	topImage[28] = "http://www.onboro.net/topimages/top029.jpg";
	topImage[29] = "http://www.onboro.net/topimages/top030.jpg";
	topImage[30] = "http://www.onboro.net/topimages/top031.jpg";
	topImage[31] = "http://www.onboro.net/topimages/top032.jpg";
	topImage[32] = "http://www.onboro.net/topimages/top033.jpg";
	topImage[33] = "http://www.onboro.net/topimages/top034.jpg";
	topImage[34] = "http://www.onboro.net/topimages/top035.jpg";
	topImage[35] = "http://www.onboro.net/topimages/top036.jpg";
	topImage[36] = "http://www.onboro.net/topimages/top037.jpg";
	topImage[37] = "http://www.onboro.net/topimages/top038.jpg";
	topImage[38] = "http://www.onboro.net/topimages/top039.jpg";
	topImage[39] = "http://www.onboro.net/topimages/top040.jpg";
	topImage[40] = "http://www.onboro.net/topimages/top041.jpg";
	topImage[41] = "http://www.onboro.net/topimages/top042.jpg";
	topImage[42] = "http://www.onboro.net/topimages/top043.jpg";
	topImage[43] = "http://www.onboro.net/topimages/top044.jpg";
	topImage[44] = "http://www.onboro.net/topimages/top045.jpg";
	topImage[45] = "http://www.onboro.net/topimages/top046.jpg";
	topImage[46] = "http://www.onboro.net/topimages/top047.jpg";
	topImage[47] = "http://www.onboro.net/topimages/top048.jpg";
	topImage[48] = "http://www.onboro.net/topimages/top049.jpg";
	topImage[49] = "http://www.onboro.net/topimages/top050.jpg";
	topImage[50] = "http://www.onboro.net/topimages/top051.jpg";
	topImage[51] = "http://www.onboro.net/topimages/top052.jpg";
	topImage[52] = "http://www.onboro.net/topimages/top053.jpg";
	topImage[53] = "http://www.onboro.net/topimages/top054.jpg";
	topImage[54] = "http://www.onboro.net/topimages/top055.jpg";
	topImage[55] = "http://www.onboro.net/topimages/top056.jpg";
	topImage[56] = "http://www.onboro.net/topimages/top057.jpg";
	topImage[57] = "http://www.onboro.net/topimages/top058.jpg";
	topImage[58] = "http://www.onboro.net/topimages/top059.jpg";
	topImage[59] = "http://www.onboro.net/topimages/top060.jpg";
	topImage[60] = "http://www.onboro.net/topimages/top061.jpg";
	topImage[61] = "http://www.onboro.net/topimages/top062.jpg";
	topImage[62] = "http://www.onboro.net/topimages/top063.jpg";
	topImage[63] = "http://www.onboro.net/topimages/top064.jpg";
	topImage[64] = "http://www.onboro.net/topimages/top065.jpg";
	topImage[65] = "http://www.onboro.net/topimages/top066.jpg";

	document.write('<p class="topimage"><img src="'+topImage[number]+'" /></p>');
}

//アイコン表示
function displayIcons(MTEntryMore){
	var html="";
	if(MTEntryMore.indexOf("bw_008001")!= -1){
		html='<img src="http://www.onboro.net/img/bw008001-30.gif" alt="夏爽やかな風が流れる" title="夏爽やかな風が流れる" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008002")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008002-30.gif" alt="経年変化が楽しめる" title="経年変化が楽しめる" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008003")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008003-30.gif" alt="視界が広けていて眺望がよい" title="視界が広けていて眺望がよい" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008004")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008004-30.gif" alt="省エネ設計になっていてCo2を削減できる" title="省エネ設計になっていてCo2を削減できる" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008005")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008005-30.gif" alt="冬日当り良くポカポカする" title="冬日当り良くポカポカする" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008006")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008006-30.gif" alt="ライフスタイルに合わせた十分な収納" title="ライフスタイルに合わせた十分な収納" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008007")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008007-30.gif" alt="窓を開けても排ガスが気にならない" title="窓を開けても排ガスが気にならない" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008008")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008008-30.gif" alt="メンテナンスがしやすく長く使える" title="メンテナンスがしやすく長く使える" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008009")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008009-30.gif" alt="間取りに可変性がある" title="間取りに可変性がある" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008010")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008010-30.gif" alt="身近に緑がある" title="身近に緑がある" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008011")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008011-30.gif" alt="鳥の声や風の音が聞こえる" title="鳥の声や風の音が聞こえる" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008012")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008012-30.gif" alt="街並みに調和した建物" title="街並みに調和した建物" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008013")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008013-30.gif" alt="周囲からの視線が気にならない" title="周囲からの視線が気にならない" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008014")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008014-30.gif" alt="窓から自然が見える" title="窓から自然が見える" width="30" height="30" />\n';
	}
	if(MTEntryMore.indexOf("bw_008015")!= -1){
		html=html+'<img src="http://www.onboro.net/img/bw008015-30.gif" alt="解体しても無駄なごみを出さない" title="解体しても無駄なごみを出さない" width="30" height="30" />\n';
	}
	document.write(html);
}


//検索用スクリプト

function searchWords(form){
	var sale0 =new Array();
	var area0 =new Array();
	var railroad0 =new Array();
	var time0 =new Array();
	var price0 =new Array();
	var types0 =new Array();
	var space0 =new Array();
	//sale
	isale=0
	for (i=0 ; i < document.ghetto.sale.length ; i++){ //saleのチェックボタンの数
		if (document.ghetto.sale[i].checked){
			sale0[isale] = document.ghetto.sale[i].value; //チェックされている値を配列に入れる
			isale++;
		}
	}
	sale=sale0.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
	var num = document.ghetto.railroad.selectedIndex;
	railroad = document.ghetto.railroad.options[num].value;
	
	//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 ");

	//type
	itypes=0
	for (i=0 ; i < document.ghetto.types.length ; i++){
		if (document.ghetto.types[i].checked){
			types0[itypes] = document.ghetto.types[i].value;
			itypes++;
		}
	}
	types=types0.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 ");

	words = new Array(7); //各グループの値を配列に入れる
	words[0]=sale;
	words[1]=area;
	words[2]=railroad;
	words[3]=time;
	words[4]=price;
	words[5]=types;
	words[6]=space;
	searchString=new Array();
	
	

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

var searchString0 = new Array(icount); //空要素をのぞいたグループを配列に入れる
var istr=0;
for (i=0;i<7;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;

}
//エントリーのnewマーク
//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('<img src="http://sample.sub.jp/onboro/img/new.gif" alt="new" width="28" height="15" class="new" />\n');
	}
}

//For Sale 
function activemark(MTEntryMore){
	if(MTEntryMore.indexOf("bw_007001")!= -1){
		document.write('<img src="http://sample.sub.jp/onboro/img/forsale.gif" alt="for sale" width="60" height="15" class="new" />\n');
	}else if(MTEntryMore.indexOf("bw_007002")!= -1){
		document.write('<img src="http://sample.sub.jp/onboro/img/soldout.gif" alt="sold out" width="60" height="15" class="new" />\n');
	}
}

function trans(word){
	var stx = "";
	if (word=="bw_007001"){
		stx= "募集中の物件";
	}else if (word=="bw_007002"){
		stx= "SOLD OUT";
	}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_001006"){
		stx= "中央区";
	}else if (word=="bw_001007"){
		stx= "新宿区";
	}else if (word=="bw_001008"){
		stx= "大田区";
	}else if (word=="bw_001009"){
		stx= "杉並区";
	}else if (word=="bw_001010"){
		stx= "中野区";
	}else if (word=="bw_001011"){
		stx= "その他23区";
	}else if (word=="bw_001012"){
		stx= "東京都下";
	}else if (word=="bw_001013"){
		stx= "川崎";
	}else if (word=="bw_001014"){
		stx= "横浜";
	}else if (word=="bw_001015"){
		stx= "その他神奈川県";
	}else if (word=="bw_001016"){
		stx= "東京、神奈川以外";
	}else if (word=="bw_006001"){
		stx= "東急田園都市線";
	}else if (word=="bw_006002"){
		stx= "東急大井町線";
	}else if (word=="bw_006003"){
		stx= "東急目黒線";
	}else if (word=="bw_006004"){
		stx= "その他東急線";
	}else if (word=="bw_006005"){
		stx= "小田急線";
	}else if (word=="bw_006006"){
		stx= "東京メトロ";
	}else if (word=="bw_006007"){
		stx= "JR山手線";
	}else if (word=="bw_006008"){
		stx= "JR中央線";
	}else if (word=="bw_006009"){
		stx= "東京モノレール";
	}else if (word=="bw_006010"){
		stx= "JR総武線";
	}else if (word=="bw_006011"){
		stx= "JR埼京線";
	}else if (word=="bw_006012"){
		stx= "JR南武線";
	}else if (word=="bw_006013"){
		stx= "JR横浜線";
	}else if (word=="bw_006014"){
		stx= "JR根岸線";
	}else if (word=="bw_006015"){
		stx= "JR相模線";
	}else if (word=="bw_006016"){
		stx= "JR東海道線";
	}else if (word=="bw_006017"){
		stx= "京王線";
	}else if (word=="bw_006018"){
		stx= "西武線";
	}else if (word=="bw_002001"){
		stx= "3分以内";
	}else if (word=="bw_002002"){
		stx= "5分以内";
	}else if (word=="bw_002003"){
		stx= "7分以内";
	}else if (word=="bw_002004"){
		stx= "10分以内";
	}else if (word=="bw_002005"){
		stx= "15分以内";
	}else if (word=="bw_002006"){
		stx= "15分以上";
	}else if (word=="bw_003001"){
		stx= "1000万円未満";
	}else if (word=="bw_003002"){
		stx= "1000万円以上2000万円未満";
	}else if (word=="bw_003003"){
		stx= "2000万円以上3000万円未満";
	}else if (word=="bw_003004"){
		stx= "3000万円以上4000万円未満";
	}else if (word=="bw_003005"){
		stx= "4000万円以上5000万円未満";
	}else if (word=="bw_003006"){
		stx= "5000万円以上6000万円未満";
	}else if (word=="bw_003007"){
		stx= "6000万円以上7000万円未満";
	}else if (word=="bw_003008"){
		stx= "7000万円以上8000万円未満";
	}else if (word=="bw_003009"){
		stx= "8000万円以上9000万円未満";
	}else if (word=="bw_003010"){
		stx= "9000万円以上1億円未満";
	}else if (word=="bw_003011"){
		stx= "1億円以上";
	}else if (word=="bw_004001"){
		stx= "マンション";
	}else if (word=="bw_004002"){
		stx= "一戸建て";
	}else if (word=="bw_004003"){
		stx= "その他";
	}else if (word=="bw_005001"){
		stx= "20㎡未満";
	}else if (word=="bw_005002"){
		stx= "20㎡以上40㎡未満";
	}else if (word=="bw_005003"){
		stx= "40㎡以上60㎡未満";
	}else if (word=="bw_005004"){
		stx= "60㎡以上80㎡未満";
	}else if (word=="bw_005005"){
		stx= "80㎡以上100㎡未満";
	}else if (word=="bw_005006"){
		stx= "100㎡以上";
	}else if (word=="OR"){
		stx="";
	}else if (word=="AND"){
		stx="";
	}else{
		stx=word;
	}
	return stx;
		
}
function trans2(MTEntryMore){
	words=MTEntryMore.split(' ');
	icount=words.length;
	for(i=0;i<icount;i++){
		document.write(trans(words[i])+'&nbsp;');
	}
}
	
