function showTab(keyword,bdindex) 
			{ 
				var alltag=document.all.tags("DIV");
				var pr="";
				for(var i=0;i<alltag.length;++i)
				{
					var temp_id=alltag.item(i).id;
					if(temp_id.indexOf(bdindex)!=-1)
					{	
						if(temp_id==bdindex)
						{
							alltag.item(i).className='noselectedTabindex';
						}
						else
						{
							alltag.item(i).className='noselectedTab';
						}
					}
				}
				var keyid=keyword.id;
				
				if(keyid==bdindex)
				{
					keyword.className='selectedTabindex';
				}
				else
				{
					keyword.className='selectedTab';
				}　　
				keyid=keyid.substring(9);
				if(keyid=="")
				{
					keyid="0";
				}
				imglogo=document.getElementById("imglogo");
				if(keyid == "0")
				{			
					imglogo.src="/zhuye_images/logox3.gif";
					imglogo.alt="百度首页";	
					urllogo.href="http://www.baidu.com/";
					document.getElementById("searchbutton").innerHTML="<input type=submit value='百度一下' onclick='searchurl("+keyid+")' style=\"color:#ff0000;BACKGROUND: url(/zhuye_images/headFindx.gif); WIDTH: 91px; CURSOR: hand; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 22px; BORDER-BOTTOM-STYLE: none\">";
					document.getElementById('searchtag').innerHTML="<A href='http://www.baidu.com/s?wd=11%D4%C2%B7%DD%BE%D3%C3%F1%CF%FB%B7%D1%D6%B8%CA%FD&amp;cl=3&amp;tn=sitehao123' target=_blank>11月份居民消费指数</A>&nbsp;&nbsp;&nbsp;<A href='http://www.baidu.com/s?wd=%B5%DA%B6%FE%CC%D7%B7%BF%B4%FB%D5%FE%B2%DF&amp;cl=3&amp;tn=sitehao123' target=_blank>第二套房贷政策</A>";
				}
				else if(keyid == "1")
				{			
					imglogo.src="/zhuye_images/logo_mp3.gif";
					imglogo.alt="百度ＭＰ３";	
					urllogo.href="http://mp3.baidu.com/";	
					document.getElementById("searchbutton").innerHTML="<input type=submit value='百度一下' onclick='searchurl("+keyid+")' style=\"color:#ff0000;BACKGROUND: url(/zhuye_images/headFindx.gif); WIDTH: 91px; CURSOR: hand; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 22px; BORDER-BOTTOM-STYLE: none\">";
					document.getElementById('searchtag').innerHTML="<A href='http://mp3.baidu.com/m?f=ms&amp;rn=&amp;tn=baidump3&amp;ct=134217728&amp;word=%CE%D2%D7%DF%D2%D4%BA%F3&amp;lm=-1' target=_blank>我走以后</A>&nbsp;&nbsp;&nbsp;<A href='http://mp3.baidu.com/m?f=ms&amp;rn=&amp;tn=baidump3&amp;ct=134217728&amp;word=%D6%BB%B6%D4%C4%E3%D3%D0%B8%D0%BE%F5&amp;lm=-1' target=_blank>只对你有感觉</A>&nbsp;&nbsp;&nbsp;<A href='http://mp3.baidu.com/m?f=ms&amp;rn=&amp;tn=baidump3&amp;ct=134217728&amp;word=%BA%FA%D1%E5%B1%F3&amp;lm=-1' target=_blank>胡彦斌</A>&nbsp;&nbsp;&nbsp;<A href='http://list.mp3.baidu.com/topso/mp3topsong.html?id=1?top2' target=_blank><FONT class=blackfont>更多>></FONT></A>";
				}
				else if(keyid == "2")
				{			
					imglogo.src="/zhuye_images/logo_pic.gif";
					imglogo.alt="百度图片";	
					urllogo.href="http://image.baidu.com/";	
					document.getElementById("searchbutton").innerHTML="<input type=submit value='百度一下' onclick='searchurl("+keyid+")' style=\"color:#ff0000;BACKGROUND: url(/zhuye_images/headFindx.gif); WIDTH: 91px; CURSOR: hand; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 22px; BORDER-BOTTOM-STYLE: none\">";
					document.getElementById('searchtag').innerHTML="<A href='http://image.baidu.com/i?ct=201326592&amp;cl=2&amp;lm=-1&amp;tn=baiduimage&amp;pv=&amp;word=%C2%A5%C0%BC%B9%C5%B3%C7&amp;z=0' target=_blank>楼兰古城</A>&nbsp;&nbsp;&nbsp;<A href='http://image.baidu.com/i?ct=201326592&amp;cl=2&amp;lm=-1&amp;tn=baiduimage&amp;pv=&amp;word=%BA%E9%BD%F0%B1%A6&amp;z=0' target=_blank>洪金宝</A>&nbsp;&nbsp;&nbsp;<A href='http://image.baidu.com/i?ct=201326592&amp;cl=2&amp;lm=-1&amp;tn=baiduimage&amp;pv=&amp;word=%D5%C5%E8%F7%C1%D5&amp;z=0' target=_blank>张梓琳</A>&nbsp;&nbsp;&nbsp;<A href='http://image.baidu.com/i?ct=201326592&amp;cl=2&amp;lm=-1&amp;tn=baiduimage&amp;pv=&amp;word=%D1%A9%BE%B0%CD%BC&amp;z=0' target=_blank>雪景图</A>&nbsp;&nbsp;&nbsp;<A href='http://www.baidu.com/search/image_wallpaper.html' target=_blank><FONT class=blackfont>更多 >></FONT></A>";
				}
				else if(keyid == "3")
				{			
					imglogo.src="/zhuye_images/logo_post.gif";
					imglogo.alt="百度帖吧";	
					urllogo.href="http://post.baidu.com/";		
					document.getElementById("searchbutton").innerHTML="<input type=submit value='百度一下' onclick='searchurl("+keyid+")' style=\"color:#ff0000;BACKGROUND: url(/zhuye_images/headFindx.gif); WIDTH: 91px; CURSOR: hand; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 22px; BORDER-BOTTOM-STYLE: none\">";
					document.getElementById('searchtag').innerHTML="<A href='http://post.baidu.com/f?kw=%D6%D0%C4%EA%C8%CB%C9%FA' target=_blank>中年人生</A>&nbsp;&nbsp;&nbsp;<A href='http://post.baidu.com/f?kw=50%C4%EA%B4%FA' target=_blank>50年代</A>&nbsp;&nbsp;&nbsp;<A href='http://post.baidu.com/f?kw=%D6%D0%C4%EA%C8%CB' target=_blank>中年人</A>&nbsp;&nbsp;&nbsp;<A href='http://post.baidu.com/f?kw=%BD%A1%BF%B5' target=_blank>健康</A>&nbsp;&nbsp;&nbsp;<A href='http://www.hao123.com/daquan/02tieba.htm' target=_blank><FONT class=blackfont>更多 >></FONT></A>";
				
				}
				else if(keyid == "4")
				{			
					imglogo.src="/zhuye_images/logo_zhidao.gif";
					imglogo.alt="百度知道";	
					urllogo.href="http://zhidao.baidu.com/";	
					document.getElementById("searchbutton").innerHTML="<input type=submit value='百度一下' onclick='searchurl("+keyid+")' style=\"color:#ff0000;BACKGROUND: url(/zhuye_images/headFindx.gif); WIDTH: 91px; CURSOR: hand; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 22px; BORDER-BOTTOM-STYLE: none\">";
					document.getElementById('searchtag').innerHTML="<A href='http://zhidao.baidu.com/question/18441846.html' target=_blank>冬季下雪时该怎样养护汽车？</A>&nbsp;&nbsp;&nbsp;<A href='http://zhidao.baidu.com/q?ct=21&amp;cm=14&amp;rn=25&amp;tn=ikcommend' target=_blank><FONT class=blackfont>更多>></FONT></A>";
				}
				else if(keyid == "5")
				{			
					imglogo.src="/zhuye_images/logo_video.gif";
					imglogo.alt="百度视频";	
					urllogo.href="http://video.baidu.com/";	
					document.getElementById("searchbutton").innerHTML="<input type=submit value='百度一下' onclick='searchurl("+keyid+")' style=\"color:#ff0000;BACKGROUND: url(/zhuye_images/headFindx.gif); WIDTH: 91px; CURSOR: hand; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 22px; BORDER-BOTTOM-STYLE: none\">";
					document.getElementById('searchtag').innerHTML="<A href='http://video.baidu.com/v?ct=301989888&amp;rn=20&amp;pn=0&amp;db=0&amp;s=0&amp;fbl=1024&amp;word=%D1%AA%C9%AB%CF%E6%CE%F7' target=_blank>血色湘西</A>&nbsp;&nbsp;&nbsp;<A href='http://video.baidu.com/v?ct=301989888&amp;rn=20&amp;pn=0&amp;db=0&amp;s=0&amp;word=%D0%C2%C9%CF%BA%A3%CC%B2' target=_blank>新上海滩</A>&nbsp;&nbsp;&nbsp;<A href='http://video.baidu.com/v?ct=301989888&amp;rn=20&amp;pn=0&amp;db=0&amp;s=0&amp;fbl=1024&amp;word=%CD%B6%C3%FB%D7%B4' target=_blank>投名状</A>&nbsp;&nbsp;&nbsp;<A href='http://list.video.baidu.com/videostar.html' target=_blank><FONT class=blackfont>更多 >></FONT></A>";
					
				}
				else
				{			
					imglogo.src="/zhuye_images/logox3.gif";
					imglogo.alt="百度首页";	
					urllogo.href="http://www.baidu.com/";	
					document.getElementById("searchbutton").innerHTML="<input type=submit value='百度一下' onclick='searchurl("+keyid+")' style=\"color:#ff0000;BACKGROUND: url(/zhuye_images/headFindx.gif); WIDTH: 91px; CURSOR: hand; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 22px; BORDER-BOTTOM-STYLE: none\">";
					document.getElementById('searchtag').innerHTML="<A href='http://www.baidu.com/s?wd=11%D4%C2%B7%DD%BE%D3%C3%F1%CF%FB%B7%D1%D6%B8%CA%FD&amp;cl=3&amp;tn=sitehao123' target=_blank>11月份居民消费指数</A>&nbsp;&nbsp;&nbsp;<A href='http://www.baidu.com/s?wd=%B5%DA%B6%FE%CC%D7%B7%BF%B4%FB%D5%FE%B2%DF&amp;cl=3&amp;tn=sitehao123' target=_blank>第二套房贷政策</A>";
				}
			}	
			
			function searchurl(urltype) 
			{
			
				var word=document.getElementById("word").value;
				if(word=="")
				{
					alert('关健字不能为空');
					
					document.getElementById("word").focus();
					return false;
				}
				if(urltype == "0")
				{
					URL="http://www.baidu.com";
					URL+="/s?wd="+word+"&cl=3";
					window.open(URL,"_blank");
				}
				else if(urltype == "1")
				{
					URL="http://mp3.baidu.com";
					URL+="/m?f=ms&rn=&tn=baidump3&ct=134217728&word="+word+"&lm=-1";
					window.open(URL,"_blank");
				}
				else if(urltype == "2")
				{
					URL="http://image.baidu.com";
					URL+="/i?ct=201326592&cl=2&lm=-1&tn=baiduimage&pv=&word="+word+"&z=0";
					window.open(URL,"_blank");
				}
				else if(urltype == "3")
				{
					URL="http://post.baidu.com";
					URL+="/f?kw="+word+"";
					window.open(URL,"_blank");
				}
				else if(urltype == "4")
				{
					URL="http://zhidao.baidu.com";
					URL+="/q?word="+word+"&ct=17&pn=0&tn=ikaslist&rn=10";
					window.open(URL,"_blank");
				}
				else if(urltype == "5")
				{
					URL="http://video.baidu.com";
					URL+="/v?ct=301989888&rn=20&pn=0&db=0&s=0&word="+word+"";
					window.open(URL,"_blank");
				}
				else
				{
					URL="http://www.baidu.com";
					URL+="/s?wd="+word+"&cl=3";
					window.open(URL,"_blank");
				}
				return false;
			}	
			function checkspace(checkstr) 
			{
				var str = '';
				for(i = 0; i < checkstr.length; i++)
				{
					str = str + ' ';
				}
				return (str == checkstr);
			}	
			//
			function showerror(title,string,id)
			{
				var d = new dialog();d.init();
				d.set('src',id);
				d.set('title',string);
				d.event(title, 'checkwd_reload();','','');
			}
			
			function loadBody()
			{
			}

			//
			function checkLogin(keyword,n) 
			{
				if (n == 0 && keyword.value == "请输入要查找的网站名称"){keyword.value="";}
				if (n == 1){
					if(keyword.value == "请输入要查找的网站名称"){keyword.value="";}
				
				}
				if (n == 2 && keyword.value == ""){keyword.value = "请输入要查找的网站名称";}
			}
			function checksearch(keyword) 
			{
				if(keyword.value == "请输入要查找的网站名称")
				{
					keyword.value="";
				}
				var linkvalue="/zhuye_dh_search.aspx?cpname="+keyword.value;
				window.open(linkvalue,"_self");
			}