//下拉框
function search_show(){
	document.getElementById("search_on").style.display = "";
}
function search_none(){
	document.getElementById("search_on").style.display = "none";
}
function search_show2(){
	document.getElementById("search_on2").style.display = "";
}
function search_none2(){
	document.getElementById("search_on2").style.display = "none";
}
function search_show3(){
	document.getElementById("search_on3").style.display = "";
}
function search_none3(){
	document.getElementById("search_on3").style.display = "none";
}
function search_show4(){
	document.getElementById("search_on4").style.display = "";
}
function search_none4(){
	document.getElementById("search_on4").style.display = "none";
}
function search_show5(){
	document.getElementById("search_on5").style.display = "";
}
function search_none5(){
	document.getElementById("search_on5").style.display = "none";
}

function search_show6(){
	document.getElementById("search_on6").style.display = "";
}
function search_none6(){
	document.getElementById("search_on6").style.display = "none";
}

function setSearchKey(showId, valueId, showStr, valueStr){
	document.getElementById(showId).innerText =	showStr;	//for IE
	document.getElementById(showId).textContent = showStr;	//for FF
	document.getElementById(valueId).value = valueStr;
}

//首页的tab样式显示或隐藏层
$(function(){
		  var $tab_li = $('div.tab_nav ul li')
		  $tab_li.click(function(){
								 $(this).addClass('tab_hover').siblings().removeClass('tab_hover');
								 var index = $tab_li.index(this);
								 $('div.tab_box > div').eq(index).show().siblings().hide();
								 }).hover(function(){
									 $(this).addClass('hight');
									 },function(){
										 $(this).removeClass('hight');
										 });
		  var $tab_li2 = $('div.tab2_nav ul li')
		  $tab_li2.click(function(){
								 $(this).addClass('tab_hover').siblings().removeClass('tab_hover');
								 var index = $tab_li2.index(this);
								 $('div.tab2_box > div').eq(index).show().siblings().hide();
								 }).hover(function(){
									 $(this).addClass('hight');
									 },function(){
										 $(this).removeClass('hight');
										 });
		  var $tab_li3 = $('div.tab3_nav ul li')
		  $tab_li3.click(function(){
								 $(this).addClass('tab_hover').siblings().removeClass('tab_hover');
								 var index = $tab_li3.index(this);
								 $('div.tab3_box > div').eq(index).show().siblings().hide();
								 }).hover(function(){
									 $(this).addClass('hight');
									 },function(){
										 $(this).removeClass('hight');
										 });
		var $tab_li4 = $('div.tab_nav ul li')
		  $tab_li4.click(function(){
								 $(this).addClass('tab_hover').siblings().removeClass('tab_hover');
								 var index = $tab_li4.index(this);
								 $('div.tab_box > div').eq(index).show().siblings().hide();
								 }).hover(function(){
									 $(this).addClass('hight');
									 },function(){
										 $(this).removeClass('hight');
										 });
		   });
$(function(){
		   $('div.tab2_box table:first').addClass('first_table');
		   $('table.left_text tr:last').addClass('left_text');
		   $('div.contact_list table tr td:even').addClass('con_left_text');
		   $('div.contact_list table tfoot tr td').addClass('con_right_text');
		   $('table.oldhouse_table tr td:gt(0)').addClass('align_left');
		   $('table.oldhouse_table tr td:even').addClass('align_right');
		   $('div.house_display table tr td:eq(0)').addClass('display_pic');
		   });

