function hideAll(){
	for(i=0;i<n;i++)
	{
		l="Layer"+i;
		document.all[l].style.visibility='hidden';
	}
      
}

function ShowHideLayers(lyr){

	var l, visstr;
	hideAll();
	if(caption[lyr][1]==0)
		return;
	document.all["Layer"+lyr].style.visibility='visible';
        
}

function menu(depth){
var flag=-1;

for (i=0;i<n;i++){
     if (i>3 && i<6)
       j=180;
     else if (i==6)
       j=200;
     else if (i==7)
       j=220;
     else if (i==8)
       j=235;
     else if (i==9)
            j=250;
     else if (i==10)
            j=255;
     else if (i>10 && i<13)
            j=290;
     else if (i>12)
            j=320;
     else j=150;
	document.write('<div id="Layer'+i+'" style="position: absolute; z-index: 1; visibility: hidden; background-color: #EAEAAE; layer-background-color: #FFFFFF; left: 187px; top: '+(j+(depth+i)*21)+'px">');


if ( caption[i][1]>0 ){

	for(j=2;j<2+2*caption[i][1] ;j+=2){
		document.write('<table border="0" WIDTH="140" cellpadding="3" bgcolor="#ffffff" nowrap>');	
		if(j==2) 
			document.write('<tr><td width=140 height="1"></td></tr>');
		document.write('<tr><td WIDTH="140" height="10" align="left" nowrap>');
if (location.href.match(caption[i][j+1])==caption[i][j+1])
{ document.write('<a class=ink>'); flag=i;}
else 
document.write('<a class=rightlinks href="'+rt+caption[i][j+1]+'">');
document.write(caption[i][j]+'</a><br>');

		document.write('</table>');
    	} 

}
0
document.write('</div>');
}
document.write('<table border="0" cellpadding="0" width="155"  bgcolor=#ffffff nowrap><tr><td width="155" height="19" align="left" nowrap></td></tr><tr><td width="155" height="19" align="left" nowrap></td></tr></</table>');
for(i=0;i<n;i++){
	document.write('<table border="0" cellpadding="0" width="155"  bgcolor=#ffffff nowrap><tr><td width="155" height="9" align="left" nowrap>');
if (location.href.match(link[i])==link[i])
document.write('<a class =ink>');
else if (i==flag)
document.write('<a class=ink href="'+rt+link[i]+'">');
else
document.write('<a class=rightlinks href="'+rt+link[i]+'">');

document.write(' <b onMouseOver="ShowHideLayers('+i+')">' + 		caption[i][0]+'</b></a>');
	if ( caption[i][0]=="Convention (Bhopal 11-13 June)" )
document.write('<hr width="155" height="1" style="color:#565051">');
	document.write('<hr WIDTH="155" HEIGHT="1" style="color:#565051"></td></tr></table>');

}
}