  var  category=new Array();
       category[0]='Home';
	   category[1]='Projects@Legacy Projects@Project Meetings@Conferences@Events ';
	   category[2]='Fun Zone@Lan Party@Tutorials@Gadgets@Games';
	   category[3]='Hardaware@Laptop@Desktop@Server@Embedded ';
	   category[4]='Sowftare@Operating Systems@Applications@Developer ';
	   category[5]='Industry@The movers & Shakers@Interviews ';
	   category[6]='Financial@Open source stock@Market Share ';
	   category[7]='Live@Big Debate@Discussions@Archive'; 

	   
	tabStr='';
	if(curSec==0){
		tabStr+='<a onmouseover="show_menu(0);rollover(\'Home\');" href="index.php">'
			tabStr+='<IMG src="img/'+curStile+'/tlt-home-on.gif" border=0 name=Home>'
		tabStr+='</a><IMG src="img/b.gif" width=2>'
	}
	else {
		tabStr+='<a onmouseover="show_menu(0);rollover(\'Home\');" href="index.php">'
			tabStr+='<IMG src="img/'+curStile+'/tlt-home-off.gif" border=0 name=Home>'
		tabStr+='</a><IMG src="img/b.gif" width=2>'
		
	}
	
	
	
	for (a=1;a < category.length;a++){
	    curTab=category[a].split('@');
		curTab=curTab[0];
		curRollover=(curSec==a)?'on':'off';
	    tabStr+='<a onmouseover="show_menu('+a+');rollover(\'channel_'+a+'\');" href="#">'
			tabStr+='<IMG src="img/'+curStile+'/tlt-channel_'+a+'-'+curRollover+'.gif" border=0 name="channel_'+a+'" >'
		tabStr+='</a><IMG src="img/b.gif" width=2>'
	}
    
	
	//create dx_ menu
	var  dx_box=new Array();
         
	     dx_box[0]='became@Become an Instructor@0';
		 dx_box[1]='resurce@Student Resource@0';
		 dx_box[2]='faq@Seminar FAQ@0';
	     //dx_box[3]='news@News@0';
	boxStr='';
	for (b=0;b < dx_box.length;b++){   
	    curBox=dx_box[b].split('@');
		page=curBox[0];
		curLabel=curBox[1];
		curLog=curBox[2];
	    if(page!=curPage) {
		   if((curLog==1 && isLogged==1) || (curLog==2 && isLogged==0)  || curLog==0 ){
		   boxStr+='<tr bgcolor="#ffffff"><td width="174" colspan=2 class="menuDx" ><a href="index.php?main='+page+'" >&nbsp;<span class="fre">&raquo;</span> <span>'+curLabel+'</span></a></td></tr>'
           boxStr+='<tr class="bordoL"><td width="174" colspan=2><img src="/img/pix.gif" height="1" border="0" width="174"></td></tr>'
		   }
       }
	   else {
	   	   boxStr+='<tr bgcolor="#ffffff"><td width="174" colspan=2 class="menuOver" >&nbsp;<span class="fre">&raquo;</span> <span>'+curLabel+'</span></td></tr>'
		  boxStr+='<tr class="bordoL"><td width="174" colspan=2><img src="/img/pix.gif" height="1" border="0" width="174"></td></tr>'
		}
	}
	
	
	
	var mapStr='';
	
	for (m=1;m < category.length;m++){
	    curCat=category[m].split('@');
		mapStr+="<div class=\"map\"><b> :: "+curCat[0]+"</b></div>"
		for (c=1;c < curCat.length;c++){
		  mapStr+="&nbsp;&nbsp; <span class=\"fre\">&raquo;</span> <a href=\"index.php?main=article&IdSub="+m+"\" class=\"map\">"+curCat[c]+"</a><br/>"
		}
		 mapStr+="<br/><br/>"
	}