<!--
	function window_open(url, name, opt) {
		window.open(url, name, opt);
	}
	function show_area(sform, obj)
	{
		var dispform = document.getElementById(sform);

		if (dispform.style.display != 'none')
		{
			dispform.style.display = 'none';
			obj.src = "../img/icon_plus.gif";
		}
		else
		{
			dispform.style.display = '';
			obj.src = "../img/icon_minus.gif";
		}
		
	}
	function showInfo(sform, obj)
	{
		var dispform = document.getElementById(sform);

		if (dispform.style.display != 'none')
		{
			dispform.style.display = 'none';
			obj.src = "img/icon_plus.gif";
			//parent.document.all("topFrame").height   =  130;
			//alert(top.frames['topFrame'].name);
			//top.frames['topFrame'].height   =  130;
			top.toppage.rows="30,80,*" ;
		}
		else
		{
			dispform.style.display = '';
			obj.src = "img/icon_minus.gif";
			//parent.document.all("topFrame").height   =  30;
			//alert(top.frames['topFrame'].name);
			//top.frames['topFrame'].height   =  30;
			top.toppage.rows="150,80,*" ;
		}
		
	}
	
	/**
	 * 弹出窗口，显示机构信息
	 * url必须提供，width和height可以为空,如果不传入width和height，默认使用900,600
	 * @return
	 */
	function openWindow(url,width,height){
		
		var re = /^[1-9]+[0-9]*]*$/;  //判断正整数 /^[1-9]+[0-9]*]*$/   
	    if (!re.test(width)){
	       width = 900;
	    }
	    if (!re.test(height)){
	       height = 600;
	    }
		var newWin = window.open(url,
				'newwindow',
				'height=' + height + ',width='+ width +',status=no,toolbar=no, menubar=no,location=no,resizable=yes,scrollbars=yes,left='+(screen.width-width)/2+',top='+(screen.height-height)/2);
		newWin.focus();
		return false;
	}
	
	function openWindow4more(url,width,height){
		
		var re = /^[1-9]+[0-9]*]*$/;  //判断正整数 /^[1-9]+[0-9]*]*$/   
	    if (!re.test(width)){
	       width = 900;
	    }
	    if (!re.test(height)){
	       height = 600;
	    }
		var newWin = window.open(url,
				'_blank',
				'height=' + height + ',status=yes,toolbar=yes, menubar=yes,location=yes,resizable=yes,scrollbars=yes,width='+ width +',left='+(screen.width-width)/2+',top='+(screen.height-height)/2);
		newWin.focus();
		return false;
	}
	
	function closeWindow(){
		window.close();
	}
	
	  //选择器
    function $a(id,tag){var re=(id&&typeof id!="string")?id:document.getElementById(id);if(!tag){return re;}else{return re.getElementsByTagName(tag);}}
    //首页下拉菜单
    function showList(id,vas){
    	var zj=$a(id), mb=$a(id,"dt")[0],xs=$a(id,"dd")[0],sj=$a(xs,"li");if(vas!=null){var va=$a(vas);}
    	mb.onclick=function(){
    		xs.className="show";
    	/*	var myid=mb.getAttribute("listid");
    		var vas1=mb.getAttribute("vid");
    		xs1=$a(myid,"dd")[0];
    		sj1=$a(xs1,"li");
    		if(vas1!=null){var va1=$a(vas1);}*/
    		for(var i=0;i<sj.length;i++){
				if (va.value == sj[i].getAttribute('svalue')){
					sj[i].className="show";
				}else{
					sj[i].className="";
				}
        	}
    	};
    	zj.onmouseout=function(){xs.className="";};
    	xs.onmouseover=function(){xs.className="show";};
    	xs.onclick=function(){xs.className="";}
    	for(var i=0;i<sj.length;i++){
    		reg(i);
			if(vas){				  				
				if (va.getAttribute("value")== sj[i].getAttribute('svalue')){
					mb.innerHTML= sj[i].innerHTML;  
				}
			}
    	}

    	function reg(i)
    	{
    		sj[i]["onclick"]=function(){  
    			
    			if(vas){
    				mb.innerHTML= sj[i].innerHTML;    				
    				va.setAttribute("value", sj[i].getAttribute('svalue'));
    			}else{
    				mb.innerHTML=$a(sj[i],"a")[0].innerHTML;
    			}
    		}
    		sj[i]["onmouseover"]=function(){
    			for(j=0;j<sj.length;j++){
    				sj[j].className="";
            	}
    			sj[i].className="show";
    		/*	if(vas){
    				mb.innerHTML= sj[i].innerHTML;    				
    				va.setAttribute("value", sj[i].getAttribute('value'));
    			}else{
    				mb.innerHTML=$a(sj[i],"a")[0].innerHTML;
    			}*/
    		}
    		sj[i]["onmouseout"]=function(){sj[i].className="";};
    	}
    }
//-->
