// JavaScript Document
function headerChange(ind){
	var obj = document.getElementById('warpHeader').getElementsByTagName('a');
	for(var i = 0;i<obj.length;i++){
		obj[i].className = 'warp_a';
	}
	obj[ind].className = 'warp_home_a_on';
} 


function showAll(){
	document.getElementById('showAll').style.display = 'block';	
}
function hiddAll(){
	document.getElementById('showAll').style.display = 'none';
	var list = document.getElementById('showFen').getElementsByTagName('div');
	for(var i = 0;i<list.length;i++){
		if(list[i].className=='hidd_ul3'){
			list[i].style.display = 'none';
		}
		
	}
}


function show(obj,intd){

	var dd=document.getElementById('showAll');
	dd.style.display = 'block';
	var showFen=document.getElementById('showFen');
	showFen.style.top = intd+'px';
	showFen.style.display = 'block';
	var list = document.getElementById('showFen').getElementsByTagName('div');
	for(var i = 0;i<list.length;i++){
		if(list[i].className=='hidd_ul3'){list[i].style.display = 'none';}
	}
	document.getElementById(obj).style.display = 'block';
}

function hidd(obj){
	document.getElementById(obj).style.display = 'none';
}

function showOne(objId){
	document.getElementById(objId).style.display = 'block';	
}

function hiddOne(objId){
	document.getElementById(objId).style.display = 'none';	
}


