BB=new Array(); function GetItemById(id){ return document.getElementById(id); } function On_Click(id){ Rand1="&rand="+Math.random(); obj=eval('document.forms[0].Rand'); obj.value=Rand1; var father_ = id; var id_system=GetItemById(Id_system); if ((id_system!=id) & (Id_system!="")) id_system.style.color='black'; Var_system='true'; father_.style.color="blue"; } function Out_Mouse(id){ var father_ = id; var id_system=GetItemById(Id_system); if (id_system!=id) Var_system=='true' if ((Var_system=='false')||(id_system!=id)) father_.style.color='black'; } function Move_Mouse(id){ var father_ = id; var id_system=GetItemById(Id_system); if (id_system!=id) Var_system=='true' if ((Var_system=='false')||(id_system!=id)){ father_.style.color='red'; } } function Menu_father(id){ var father_ = document.getElementById(id); for (var i=1;i<=Count_table;i++){ var _tid = 'table_'+i; if (id != _tid){ //var id_=eval(); var id_ = document.getElementById(_tid); id_.style.display='none'; } } father_.style.display='block'; } var Count=0;var Boo='false';Count_table=0; var Var_system='false'; var Id_system=''; function buildMenu(color,color1) { var target1="Main"; document.write(""); document.write(""); while ((Count");*/ document.write(""); Count++; } else{Boo='true';} } while ((Count"); document.write(""); } else{ if (BB[Count+1][1]==''){ Count_table++; document.write("
CHỨC NĂNG
  "+BB[Count][0]+"
  "+BB[Count][0]+"
 "+BB[Count][0]+"
"); } else{ if (BB[Count][1]=='1'){ document.write(""); }else{ /*document.write("");*/ document.write(""); } if (Count+1>=BB.length){ document.write("
  "+BB[Count][0]+"
  "+BB[Count][0]+"
   "+BB[Count][0]+"
"); document.write(" "+BB[Count+1][0]+""); document.write(""); Count++; } } } Count++; } document.write(""); document.write(""); //document.write("
"); }