/*
*
*/
function subformCity() {
	var gtext = this.req.responseText;
	var cityInfo = document.getElementById("info1");
	cityInfo.innerHTML=gtext;
}

function validataCity(obj) {
	var url = "/lawCity/lawCityInfo!lowCityList.bst?cityCode="+obj;
	var newxmlhttp = new net.ContentLoader(url, subformCity, "", "GET", null, null);
	return false;
}
function cityShow(obj) {  
	validataCity(obj);
}

function subformspec() {
	var gtext = this.req.responseText;
	var specInfo = document.getElementById("specInfo");
	specInfo.innerHTML = gtext;
}

function validateSpec(obj){
	var url = "/bstlaw/lawyer!subSpecialy.bst?parentID="+obj;
	var newxmlhttp = new net.ContentLoader(url, subformspec, "", "GET", null, null);
}

function specShow(obj) {
	validateSpec(obj);
}
function subformIP() {
	var gtext = this.req.responseText;
	var info = document.getElementById("dirInfo");
	//var info = document.getElementById("info");
	info.innerHTML=gtext;
}

function validataIP(obj) {
	var url = "/bstlaw/index!loadCityIP.bst?cityCode="+obj;
	var newxmlhttp = new net.ContentLoader(url, subformIP, "", "GET", null, null);
	return false;
}
function IPShow(obj) {
	validataIP(obj);
}

function subformCity2() {
	var gtext = this.req.responseText;
	var cityInfo = document.getElementById("info2");
	cityInfo.innerHTML=gtext;
}
function validataCity2(obj) {
	var url = "/lawCity/lawCityInfo!lowCityList.bst?cityCode="+obj;
	var newxmlhttp = new net.ContentLoader(url, subformCity2, "", "GET", null, null);
	return false;
}
function cityShow2(obj) {  
	validataCity2(obj);
}

function subformCity3() {
	var gtext = this.req.responseText;
	var cityInfo = document.getElementById("info3");
	cityInfo.innerHTML=gtext;
}
function validataCity3(obj) {
	var url = "/lawCity/lawCityInfo!lowCityList.bst?cityCode="+obj;
	var newxmlhttp = new net.ContentLoader(url, subformCity3, "", "GET", null, null);
	return false;
}
function cityShow3(obj) {  
	validataCity3(obj);
}
/*
*
*/
function subformMenu() {
	var gtext = this.req.responseText;
	var menuInfo = document.getElementById("secMenu");
	menuInfo.innerHTML=gtext;
}

function validataMenu(obj) {
	var url = "/lawMenu/lawMenuInfo!lawMenuOptLowList.bst?menuID=" +obj;
	var newxmlhttp = new net.ContentLoader(url, subformMenu, "", "GET", null, null);
	return false;
}
function menuShow(obj) {  
	validataMenu(obj);
}
/*
*
*/
function subformOffice() {
	var gtext = this.req.responseText;
	var officeInfo = document.getElementById("office");
	officeInfo.innerHTML=gtext;
}
function validataOffice(obj,obj2) {
	var url = "/lawOffice/lawOfficeInfo!officeOptionList.bst?code=" +obj +"&state=" + obj2;
	var newxmlhttp = new net.ContentLoader(url, subformOffice, "", "GET", null, null);
	return false;
}
function officeShow(obj,obj2) {  
	validataOffice(obj,obj2);
}

/*
*
*/
function subformZifei() {
	var gtext = this.req.responseText;
	var info = document.getElementById("info");
	info.innerHTML=gtext;
}
function validataZifei(obj) {
	var url = "/bstlaw/lawDir!loadCityIP.bst?cityCode="+obj;
	var newxmlhttp = new net.ContentLoader(url, subformZifei, "", "GET", null, null);
	return false;
}
function zifeiShow(obj) {  
	validataZifei(obj);
}

/*
*
*/
function subformLowOffice() {
	var gtext = this.req.responseText;
	var officeInfo = document.getElementById("office");
	officeInfo.innerHTML=gtext;
}
function validataLowOffice(obj,obj2) {
	var url = "/bstlaw/common!lowOffice.bst?code=" +obj +"&state=" + obj2;
	var newxmlhttp = new net.ContentLoader(url, subformLowOffice, "", "GET", null, null);
	return false;
}
function lowOffice(obj,obj2) {  
	validataLowOffice(obj,obj2);
}

function subformLowLawyer() {
	var gtext = this.req.responseText;
	var lawyerInfo = document.getElementById("lawyer");
	lawyerInfo.innerHTML=gtext;
}
function validataLowLawyer(obj,obj2) {
	var url = "/bstlaw/common!lowLawyer.bst?cityCode=" +obj +"&officeID=" + obj2;
	var newxmlhttp = new net.ContentLoader(url, subformLowLawyer, "", "GET", null, null);
	return false;
}
function lowLawyer(obj,obj2) {  
	validataLowLawyer(obj,obj2);
}

function subformLowCity() {
	var gtext = this.req.responseText;
	var cityInfo = document.getElementById("city");
	cityInfo.innerHTML=gtext;
}
function validataLowCity(obj) {
	var url = "/bstlaw/common!lowCity.bst?cityCode=" +obj;
	var newxmlhttp = new net.ContentLoader(url, subformLowCity, "", "GET", null, null);
	return false;
}
function lowCity(obj) {  
	validataLowCity(obj);
}


/*
*
*/
function disPicShow(obj) {  
	var order = document.getElementById("order");
	if(obj==1)
	{
		order.style.display = "";
	}
}
function display(obj)
{
	var item = document.getElementById(obj);
	if (item.style.display == "") {
		item.style.display = "none";
	} else {
		item.style.display = "";
	}
}
  