loadAreaInfo(1);
function goSearch(mark) {
var m = mark != null ? mark : "";
var keyword = $("txtSearchKey" + m).value;if (Trim(keyword).length == 1) { alert("请输入搜索关键词（必须大于一个字符）！"); return false; } 
var provinceValue=$("selProvince").value.split(":");if(provinceValue[0]!=provinceId)
{$("selCity").value=0;}
var isOnLine = $("chbShowOnline").checked ? "1" : "0"; var myLinkUrl = "company_" + spId + "_" + stId + "_" + encodeURI(filterStrForSearch(keyword)) + "_0_" +
provinceValue[0]+"_"+$("selCity").value+"_"+
$("selMemberRating").value+"_"+isOnLine+"_1.html";document.location=myLinkUrl;}
function goSearchST(stID)
{var provinceValue=$("selProvince").value.split(":");var isOnLine=$("chbShowOnline").checked?"1":"0";var myStLinkUrl="company_"+spId+"_"+stID+"_"+encodeURI($("txtSearchKey").value)+"_0_"+
provinceValue[0]+"_"+$("selCity").value+"_"+
$("selMemberRating").value+"_"+isOnLine+"_1.html";document.location=myStLinkUrl;}
var currentContentDiv=null;function showContactInfo(objId)
{$(objId).style.visibility="visible";currentContentDiv=objId;}
function hideContactInfo()
{if(currentContentDiv!=null)
$(currentContentDiv).style.visibility="hidden";}
document.onmouseover=function(event){e=event?event:window.event;var srcElement=e.srcElement||e.target;hideContactInfo();}
function setSortMode(value)
{Show.Web.Skins.Source.CompanyList.SetSortMode(value+"",callbackSetSortMode);}
function callbackSetSortMode(res)
{document.location=window.location;}
