// JavaScript Document
function changemenua(n) 

{	
	obj = eval("menu" + n);
	
	if (obj.className == "menu-botton1-normal") 

	{
		for (var i=1;i<10;i++)
		{
		
			eval("menu" + i + ".className = 'menu-botton1-normal'");
			eval("lista" + i + ".className = 'hide-table'");
		}
		obj.className = "menu-botton1-down";//显示子菜单
		}
		eval("lista" + n + ".className = 'show-table'");
		
	}
	
function changemenub(n) 

{	
	obj = eval("menub" + n);
	
	if (obj.className == "menu-botton2-normal") 

	{
		for (var i=1;i<4;i++)
		{
		
			eval("menub" + i + ".className = 'menu-botton2-normal'");
			eval("listb" + i + ".className = 'hide-table'");
		}
		obj.className = "menu-botton2-down";//显示子菜单
		}
		eval("listb" + n + ".className = 'newslist-bg1'");
		
	}
	
function changemenuc(n) 

{	
	obj = eval("menuc" + n);
	
	if (obj.className == "menu-botton2-normal") 

	{
		for (var i=1;i<4;i++)
		{
		
			eval("menuc" + i + ".className = 'menu-botton2-normal'");
			eval("listc" + i + ".className = 'hide-table'");
		}
		obj.className = "menu-botton2-down";//显示子菜单
		}
		eval("listc" + n + ".className = 'show-table'");
		
	}
	
	
function changemenud(n) 

{	
	obj = eval("menud" + n);
	
	if (obj.className == "menu-botton2-normal") 

	{
		for (var i=1;i<6;i++)
		{
		
			eval("menud" + i + ".className = 'menu-botton2-normal'");
			eval("listd" + i + ".className = 'hide-table'");
		}
		obj.className = "menu-botton2-down";//显示子菜单
		}
		eval("listd" + n + ".className = 'show-table'");
		
	}
	
function changemenue(n) 

{	
	obj = eval("menue" + n);
	
	if (obj.className == "menu-botton2-normal") 

	{
		for (var i=1;i<6;i++)
		{
		
			eval("menue" + i + ".className = 'menu-botton2-normal'");
			eval("liste" + i + ".className = 'hide-table'");
		}
		obj.className = "menu-botton2-down";//显示子菜单
		}
		eval("liste" + n + ".className = 'show-table'");
		
	}


//iframe 自适应高度的控制：

// JavaScript Document
<!--
    function iframeAutoFit()
    {
        try
        {
            if(window!=parent)
            {
                var a = parent.document.getElementsByTagName("IFRAME");
                for(var i=0; i<a.length; i++) //author:meizz
                {
                    if(a[i].contentWindow==window)
                    {
                        var h1=0, h2=0;
                        a[i].parentNode.style.height = a[i].offsetHeight +"px";
                        a[i].style.height = "10px";
                        if(document.documentElement&&document.documentElement.scrollHeight)
                        {
                            h1=document.documentElement.scrollHeight;
                        }
                        if(document.body) h2=document.body.scrollHeight;

                        var h=Math.max(h1, h2);
                        if(document.all) {h += 4;}
                        if(window.opera) {h += 1;}
                        a[i].style.height = a[i].parentNode.style.height = h +"px";
                    }
                }
            }
        }
        catch (ex){}
    }
    if(window.attachEvent)
    {
        window.attachEvent("onload",  iframeAutoFit);
        //window.attachEvent("onresize",  iframeAutoFit);
    }
    else if(window.addEventListener)
    {
        window.addEventListener('load',  iframeAutoFit,  false);
        //window.addEventListener('resize',  iframeAutoFit,  false);
    }
    //-->
