<!--

function closeAllTab(divNav,className){
	var tabs=$A($(divNav).getElementsByTagName("div"));
	tabs.each(function(tab){
		if(tab.id!="main_time"){
			tab.className = className;
		}

	});

}
function onclick_switchTab(tab,isflag){
	closeAllTab("nav","nav_1");
	closeAllsubTab();
	$(tab).className = "nav_2";
	if(isflag=='0'){
		$("sub_"+tab).style.display='block';
	}else{
		$("sub_main").style.display='block';
	}
}


function closeAllsubTab(){
	var tabs=$A($("subNav").getElementsByTagName("li"));
	tabs.each(function(tab){
		tab.style.display='none';
	});
}



function nav_colseAll(divPrefix){
	for(var i=1;i<5;i++){
		$(divPrefix+i).style.display='none';
	}
}

function switchTab(tab){
	closeAllTab("centerNav","index_lb_nav2");
	nav_colseAll("sub_centerNav");
	$(tab).className = "index_lb_nav1";
	$("sub_"+tab).style.display='block';
	$(tab).style.cursor='pointer';
}

function switchTab_bottom(tab){
	//nav_colseAll("bottomNav");
	//nav_colseAll("sub_bottomNav");
	if(tab.id=="bottomNav1"){
		$("bottomNav1").src="images/index_lc_1.gif";
		$("bottomNav2").src="images/index_lc_2.gif";
		$("sub_bottomNav1").style.display='block';
		$("sub_bottomNav2").style.display='none';
		$("index_lc_ta").style.backgroundImage='url(images/index_lc_bom.gif)';
	}else{
		$("bottomNav1").src="images/index_lc_1a.gif";
		$("bottomNav2").src="images/index_lc_2a.gif";
		$("sub_bottomNav1").style.display='none';
		$("sub_bottomNav2").style.display='block';
		$("index_lc_ta").style.backgroundImage='url(images/index_lc_bom_white.gif)';
	}
	$(tab).style.cursor='pointer';
}


function switchEXCO(tab){
	closeAllTab("centerNav","staff_nav1");
	$("sub_centerNav1").style.display='none';
	$("sub_centerNav2").style.display='none';
	$(tab).className = "staff_nav";
	$("sub_"+tab).style.display='block';
	$(tab).style.cursor='pointer';
}


function lh_html_lov(sItemName, sURI, nWidth, nHeight){
   var popupWinLeft = (screen.width - nWidth)/2 +300;
   var popupWinTop = (screen.height - nHeight)/2 - 20;
   var arParams = new Array();
   arParams['window'] = window;
   arParams['item_name'] = sItemName;
   window.showModalDialog(sURI, arParams,
      'dialogHeight:' + nHeight + 'px; dialogWidth:' + nWidth + 'px; dialogTop: ' + popupWinTop + 'px; dialogLeft:' + popupWinLeft + 'px; ' +
	  'edge:sunken; help:yes; resizable:yes; status:no;dependent=yes');
   return null;
}

-->