	var menutimer1=0;
	function menuhide1()
	{
	menutimer1=setTimeout('menudips1()',500);
	}
	function menureplay1()
	{
	clearTimeout(menutimer1);
	}
	function menudips1()
	{
	document.getElementById('menu2').innerHTML='';
	}
	function menushow1(selectindex,LiIndex)
	{
	var str1;
	var tab1wid=document.getElementById("nz"+LiIndex).offsetWidth;
	str1='<div style="position: absolute; z-index: 3; left: '+getLeft1(event.srcElement,LiIndex)+'px; top: '+getTop1(event.srcElement)+'px" id="layer2">';
	str1+='<table cellpadding="0" cellspacing="0" border="0">';
	str1+='<tr><td valign="top">'
	str1+='<table cellpadding="3" cellspacing="0" onmouseout="menuhide1()" onmouseover="menureplay1()" border="1" width="'+tab1wid+'" bordercolor="#CCCCCC" style="border-collapse:collapse;border-width: 1px;">';
	var newarray;
	newarray=select_list1[selectindex].split("|");
	for(i=0;i<newarray.length;i++)
	{
	  var newarray1;
	  newarray1=newarray[i].split(";");
	  str1+='<tr bgcolor="#ffffff" onmouseover="this.style.backgroundColor=\'#f0f0f0\';" onmouseout="this.style.backgroundColor=\'#ffffff\';"><td style="cursor:hand"';
	  if(newarray1.length>1)
	  {
	  str1+=' onmouseover="childmenushow11('+selectindex+','+i+','+LiIndex+')"';
	  }
	  str1+='onclick="firstclick1('+selectindex+','+i+','+LiIndex+')">'+newarray1[0]+'</td></tr>';
	}
	str1+='</table></td><td valign="top"><table cellpadding="0" cellspacing="0" border="0"><tr><td id="sohus" style="height:0px"></td></tr><tr><td valign="top"><span id="childmenu1"></span></td></tr>';
	str1+='</table></td></tr></table>';
	str1+='</div>';
	document.getElementById('menu2').innerHTML=str1;
	}
	function childmenushow11(selectindex,e,LiIndex)
	{
	var str1='';
	document.getElementById('sohus').style.height=21*e+'px';
	var newarray;
	var newarray1;
	str1+='<table onmouseout="menuhide1()" onmouseover="menureplay1()" cellpadding="3" cellspacing="0" border="1" width="135" bordercolor="#CCCCCC" style="border-collapse:collapse;border-width: 1px;">';
	newarray=select_list1[selectindex].split("|");
	newarray1=newarray[e].split(";");
	for(i=1;i<newarray1.length-1;i++)
	{
	str1+='<tr bgcolor="#ffffff" onmouseover="this.style.backgroundColor=\'#f0f0f0\';" onmouseout="this.style.backgroundColor=\'#ffffff\';"><td style="cursor:hand" onclick=secondckick1('+selectindex+','+e+','+i+','+LiIndex+')>'+newarray1[i]+'</td></tr>'
	}
	str1+='</table>'
	document.getElementById('childmenu1').innerHTML=str1;
	}
	function getTop1(e){
    var t=e.offsetTop;
    while(e=e.offsetParent){
        t+=e.offsetTop;
        }
        t+=17;
    return t;
} 
function getLeft1(e,LiIndex){
    var l=e.offsetLeft;
    while(e=e.offsetParent){
        l+=e.offsetLeft;
        }
        l=l-document.getElementById("nz"+LiIndex).offsetWidth+15;
    return l;
}
function firstclick1(menuindex,selectindex,LiIndex)
{
var newarray;
newarray=select_list1[menuindex].split("|");
var newarray1;
newarray1=newarray[selectindex].split(";");
document.getElementById('ashow'+LiIndex).value=newarray1[0];
document.getElementById('adata'+LiIndex).value=menuindex+"|"+selectindex;
}
function secondckick1(menuindex,selectindex,i,LiIndex)
{
var newarray;
newarray=select_list1[menuindex].split("|");
var newarray1;
newarray1=newarray[selectindex].split(";");
document.getElementById('ashow'+LiIndex).value=newarray1[0]+"¡ª"+newarray1[i]
document.getElementById('adata'+LiIndex).value=menuindex+"|"+selectindex+";"+i;
}
 


 



