var oDrag = "";
var ox,oy,nx,ny,dy,dx;
function drag(e,o){
	var e = e ? e : event;
	var mouseD = document.all ? 1 : 0;
	if(e.button == mouseD)
	{
		oDrag = o.parentNode;
		//alert(oDrag.id);
		ox = e.clientX;
		oy = e.clientY;		
	}
}
function open1(id,state){ //显示隐藏控制
	if(state == 1)
	$(id).style.display = "block";
	$(id).style.diaplay = "none";
}
function copyHTML(id1,id2){
	$(id2).innerHTML = $("id1").innerHTML;
}
function dragPro(e){
	if(oDrag != "")
	{	
		var e = e ? e : event;
		//$(oDrag).style.left = $(oDrag).offsetLeft + "px";
		//$(oDrag).style.top = $(oDrag).offsetTop + "px";
		dx = parseInt($(oDrag).style.left);
		dy = parseInt($(oDrag).style.top);
		//dx = $(oDrag).offsetLeft;
		//dy = $(oDrag).offsetTop;
		nx = e.clientX;
		ny = e.clientY;
		$(oDrag).style.left = (dx + ( nx - ox )) + "px";
		$(oDrag).style.top = (dy + ( ny - oy )) + "px";
		ox = nx;
		oy = ny;
	}
}
document.onmouseup = function(){oDrag = "";}
document.onmousemove = function(event){dragPro(event);}
/////////////////////////////////////////按地区去分///////////////////////////////////////////////////////////////////////////
//获得地区的名字
function GetAreaParentNames()   
 {   
   var aa1 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxname4",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
                if(xmlObject != "false")
                {
                 aa1 = xmlObject.split(';');
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		 return aa1;
 }   
 //获得地区的id
function GetAreaParentIDs()    
 {    
 
  var aa1 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxid4",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
                if(xmlObject != "false")
                {
                 aa1 = xmlObject.split(';');
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		 return aa1;
  }  
  
  //根据地区id来查找相应的信息 
 function getAreaIDs(idx)   
 { 
 var aa3 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxid5&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
            
                if(xmlObject != "false")
                {
                 aa3 = xmlObject.split(';');
                 //alert(xmlObject);
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
        //document.forms[0].optCity.focus();
		xmlhttp.send(null);		
		//alert('aa3');
		 return aa3;
}
 //根据地区id来查找相应的信息 
function getAreaNames(idx)
{
 var aa3 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxname5&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
            
                if(xmlObject != "false")
                {
                 aa3 = xmlObject.split(';');
                 //alert(xmlObject);
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
        //document.forms[0].optCity.focus();
		xmlhttp.send(null);
		//alert('aa3');
		 return aa3;
}
////////////////////////////////////按职能去分//////////////////////////////////////////////////////////////////////////////////////////////////////////////


function GetOccParentIDs()    
 {    
 var aa1 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxid1",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
                if(xmlObject != "false")
                {
                 aa1 = xmlObject.split(';');
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
        //document.forms[0].optCity.focus();
		xmlhttp.send(null);
		 return aa1;
 	//return new Array( '2','100','900','604','1034000','3600','300','1035000','400','600','700','2700','2100','1013000','1036000','1014000','702','1016001','1017000','3300','3400','3420','1020000','3800','3500','1900','1700','2000','1026000','800','2600','3700','2500','1033000' );   
}   
 function GetOccParentNames()   
 {   

  var xmlhttp;
  var aa =new  Array();
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxname1",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
             	  aa = xmlObject.split(';');
             }
             else
             {
              alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		//alert('aa');
		return aa;
 	//return new Array('经营管理类','销售类','客户服务类','项目管理类','质量管理类','市场·公关·媒介类','人力资源类','行政·后勤类','财务·审计·统计类','计算机·网络·技术类','电子·电器·通信技术类','电气·能源·动力类','咨询·顾问类','金融类（银行·基金·证券·期货·投资）','保险类','贸易·物流·采购·运输类','建筑·房地产·装饰装修·物业管理类','翻译类','酒店·餐饮·旅游·服务类','技工类','工厂生产类','机械·仪器仪表类','商业零售类','美术·设计·创意类','文体·影视·写作·媒体类','教育·培训类','法律类','医疗卫生·美容保健类','生物·制药·化工·环保类','科研类','公务员类','培训生类','在校学生类','其他类');   
 }   
 
 function getOccIDs(idx)   
 {   
 var xmlhttp;
  var aa2 =new  Array();
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxid2&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;  
                
             	  aa2 = xmlObject.split(';');
             	 // alert(xmlObject);
      
             }
             else
             {
               // alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		return aa2;
 }   
 function getOccNames(idx)   
 {   
 var aa3 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxname2&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
            
                if(xmlObject != "false")
                {
                 aa3 = xmlObject.split(';');
                 //alert(xmlObject);
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		 return aa3;
 }   
 /////////////////////////////////按行业去划分/////////////////////////////////////////////////////////////////////////////////////
 //行业资源    
 function getIndustryIDs()     
 {     
 var aa1 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxid3",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
                if(xmlObject != "false")
                {
                 aa1 = xmlObject.split(';');
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
        //document.forms[0].optCity.focus();
		xmlhttp.send(null);
		 return aa1;
 }    
 function getIndustryNames()    
 {   
 var xmlhttp;
  var aa =new  Array();
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxname3",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
             	  aa = xmlObject.split(';');
             }
             else
             {
              alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		//alert('aa');
		return aa;
 }  
 
 function getIndustryIDs1(idx)   
 {   
 var xmlhttp;
  var aa2 =new  Array();
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxid33&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;  
                
             	  aa2 = xmlObject.split(';');
             	 // alert(xmlObject);
      
             }
             else
             {
               // alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		return aa2;
 }   
 function getIndustryNames1(idx)   
 {   
 var aa3 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxname33&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
            
                if(xmlObject != "false")
                {
                 aa3 = xmlObject.split(';');
                 //alert(xmlObject);
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		 return aa3;
 }  
 //////////////////////按职位分类/////////////////////////////////////////////////////////
 
 
  function getzhiweiIDs()     
 {     
 var aa1 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxidzw",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
                if(xmlObject != "false")
                {
                 aa1 = xmlObject.split(';');
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
        //document.forms[0].optCity.focus();
		xmlhttp.send(null);
		 return aa1;
 }    
 function getzhiweiNames()    
 {   
 var xmlhttp;
  var aa =new  Array();
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxnamezw",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
             	  aa = xmlObject.split(';');
             }
             else
             {
              alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		//alert('aa');
		return aa;
 }  
 
  function getzhiweiIDs1(idx)   
 {   
 var xmlhttp;
  var aa2 =new  Array();
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxidzhiwei1&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;  
                
             	  aa2 = xmlObject.split(';');
             	 // alert(xmlObject);
      
             }
             else
             {
               // alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		return aa2;
 }   
 function getzhiweiNames1(idx)   
 {   
 var aa3 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxnamezw1&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
            
                if(xmlObject != "false")
                {
                 aa3 = xmlObject.split(';');
                 //alert(xmlObject);
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		 return aa3;
 } 
 
 ///////////////////////3D-技能///////////////////////////////////////////
  
  function get3dIDs()     
 {     
 var aa1 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxid3d",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
                if(xmlObject != "false")
                {
                 aa1 = xmlObject.split(';');
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
        //document.forms[0].optCity.focus();
		xmlhttp.send(null);
		 return aa1;
 }    
 function get3dNames()    
 {   
 var xmlhttp;
  var aa =new  Array();
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxname3d",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
             	  aa = xmlObject.split(';');
             }
             else
             {
              alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		//alert('aa');
		return aa;
 }  
 
  function get3dIDs1(idx)   
 {   
 var xmlhttp;
  var aa2 =new  Array();
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxid3d3&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;  
                
             	  aa2 = xmlObject.split(';');
             	 // alert(xmlObject);
      
             }
             else
             {
               // alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		return aa2;
 }   
 function get3dNames1(idx)   
 {   
 var aa3 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxname3d3&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
            
                if(xmlObject != "false")
                {
                 aa3 = xmlObject.split(';');
                 //alert(xmlObject);
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		 return aa3;
 } 

 
 
 
  
 /////////////////////////////////////////按标签去分///////////////////////////////////////////////////////////////////////////
//获得标签的名字
function GetTagParentNames()   
 {   
   var aa1 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxnametag",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
                if(xmlObject != "false")
                {
                 aa1 = xmlObject.split(';');
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		 return aa1;
 }   
 //获得标签的id
function GetTagParentIDs()    
 {    
 
  var aa1 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxidtag",false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
                if(xmlObject != "false")
                {
                 aa1 = xmlObject.split(';');
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
		xmlhttp.send(null);
		 return aa1;
  }  
  
  //根据标签id来查找相应的信息 
 function getTagIDs(idx)   
 { 
 var aa3 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxidtag1&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
            
                if(xmlObject != "false")
                {
                 aa3 = xmlObject.split(';');
                
                 //alert(xmlObject);
           
                }else
                {
                aa3="";
                }
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
        //document.forms[0].optCity.focus();
		xmlhttp.send(null);		
		//alert('aa3');
		 return aa3;
}
 //根据标签id来查找相应的信息 
function getTagNames(idx)
{
 var aa3 =new  Array();
     var xmlhttp;
       var xmlObject;
       try{
			xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
		}catch(e){
			try{
				xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');
			}catch(e){
				try{
					xmlhttp=new XMLHttpRequest();
				}catch(e){
					alert(e);
				}
			}
		}
	      xmlhttp.open("post","/TbGnmkAction.do?method=Ajaxnametag1&id="+idx,false);
		  xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		  xmlhttp.onreadystatechange=function(){
          if(xmlhttp.readyState==4)
          { 
          
             if(xmlhttp.status == 200)
             {                  
                xmlObject=xmlhttp.responseText;   
            
                if(xmlObject != "false")
                {
                 aa3 = xmlObject.split(';');
                 //alert(aa3.length);
               //  alert(xmlObject);

                }
                else
                {
                aa3[0]="";
                }
               
             }
             else
             {
                alert("没有连接成功");
             }
          }
        
        }
        //document.forms[0].optCity.focus();
		xmlhttp.send(null);
		//alert('aa3');
		 return aa3;
}
