﻿/////////////////////////////////////////////////////////////////////
//                                                                 //
//       DANH SÁCH TỔ CHUYÊN MÔN NĂM HỌC 1809-2010                 //
//                                                                 // 
///////////////////CHANGE ANYTHING YOU WANT HERE/////////////////////
//change your title here
var texttitle = ['Tổ Toán - Tin' ,'Tổ Vật lý - KTCN' ,'Tổ Hóa' ,'Tổ Sinh - KTNN','Tổ Văn','Tổ Sử - Địa - GDCD','Tổ Anh văn','Tổ Thể dục - GD Quốc phòng','Tổ Hành chính'];

//change the height of each submenu here: linenumber*95+5(space) 
var menutoggle = ['200' ,'96' ,'80' ,'80' , '112' ,'144' ,'96' ,'80' , '128'];

//change the menu number of each submenu here
var menunb = ['13' ,'6' ,'5' ,'5' , '7' ,'9' ,'6' ,'5' , '8'];

//change your textmenu here
var textmenu = [
//the menutext for each submenu here
['Trần Ngọc Tú : TT' ,'Cao Ngọc Dũng' , 'Huỳnh Minh Đông' ,'Phan Thị Hoa','Cao Quang Hiếu' ,'Hoàng Thị Kiều','Trần Đình Mạnh' ,'Trịnh Quang Minh','Kiều Lệ Quyên','Trần Xuân Trình' ,'Hồ Thị Tuyết','Võ Quốc Vinh','Huỳnh Thị Phi Yến'],
['Nguyễn Văn Vững : TT' ,'Nguyễn Thiện Chí','Phan Thanh Duyên' ,'Phan Thị Thu Đông','Võ Văn Hương','Phạm Quốc Lâm'],
['Trần Thu Hòa : TT' ,'Bùi Thị Ngọc Anh','Lê Thị Thanh Hường' ,'Trần Đức Phương','Phạm Thị Tuyết'],
['Nguyễn Lanh : TT' ,'Nguyễn Dương Nam Hưng','Đặng Xuân Lực' ,'Phương Ly Nga','Lê Diên Sang'],
['Đỗ Thị Xuân Hương : TT' ,'Ung Thị Kim Lý','Nguyễn Thị Phước' ,'Nguyễn Thị Phượng','Nguyễn Hồng Sơn' ,'Phạm Thị Thảo','Nguyễn Văn Thọ' ],
['Hồ Thị Minh Nguyệt' ,'Nguyễn Thị Quỳnh Điệp','Nguyễn Văn Giàu' ,'Nguyễn Thị Hảo','Trần Thị Bích Hằng' ,'Nguyễn Văn Nhân','Nguyễn Thị Ninh' ,'Hà Thị Thanh Thủy','Bùi Thị Tuyết'],
['Hoàng Thanh Minh : TT' ,'Nguyễn Thị Thùy Dung','Ninh Văn Duyên' ,'Nguyễn Thị Thúy Lan','Vũ Thị Hoa Mai' ,'Trần Thị Thanh Xuân'],
['Đoàn Văn Quy : TT' ,'Nguyễn Đức Dũng','Võ Minh Đức' ,'Trần Thanh Phong','Võ Thị Thu Sương'],
['Bùi Trung Dũng : TT' ,'Phạm Viết Bình','Nguyễn Văn Diễn' ,'Nguyễn Thị Huệ','Nguyễn Thị Thu hương' ,'Nguyễn Thị Thúy Nga','Nguyễn Thọ Sáu' ,'lê Thị Thắm'],
];

//change link of your textmenu here
var linkmenu = [
//the link for each menutext here
['http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=159' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=168', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=169','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=170','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=171','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=172','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=173','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=174','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=175','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=176','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=177','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=178','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=179'],
['http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=160' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=180', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=181','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=182','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=183','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=184' ],
['http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=161' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=185', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=186','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=187','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=208'],
['http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=162' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=188', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=189','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=190','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=191' ],
['http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=163' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=192', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=193','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=194','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=195','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=196' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=197' ],
['http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=164' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=198', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=199','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=200','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=201','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=202' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=203', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=204','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=205' ],
['http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=165' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=206', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=207','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=209','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=210','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=211' ],
['http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=166' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=212', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=213','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=214','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=215' ],
['http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=217' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=218', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=219','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=220','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=221','http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=222' ,'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=223', 'http://thptchonthanh.com.vn/modules.php?name=Danhsach&go=page&pid=224' ],
];

//change target of your link here: _self = same window , _blank = new window 
var targetmenu = [
//the target for each link
['_blank' ,'_blank' ],
['_blank' ,'_self' ],
['_self' ,'_blank' ],
['_self' ,'_self' ],
['_blank' ,'_blank' ],
['_blank' ,'_self' ],
['_self' ,'_blank' ],
['_self' ,'_self' ],
['_blank' ,'_blank' ],
['_blank' ,'_self' ],
['_self' ,'_blank' ],
['_self' ,'_self' ],
['_blank' ,'_blank' ],
['_blank' ,'_self' ],
['_self' ,'_blank' ],
['_self' ,'_self' ],
['_blank' ,'_blank' ],
['_blank' ,'_self' ],
['_self' ,'_blank' ],
['_self' ,'_self' ],
['_blank' ,'_blank' ],
['_blank' ,'_self' ],
['_self' ,'_blank' ],
['_self' ,'_self' ],
['_blank' ,'_blank' ],
['_blank' ,'_self' ],
['_self' ,'_blank' ],
['_self' ,'_self' ],
['_blank' ,'_blank' ],
['_blank' ,'_self' ],
['_self' ,'_blank' ],
['_self' ,'_self' ],
['_blank' ,'_blank' ],
['_blank' ,'_self' ],
['_self' ,'_blank' ],
['_self' ,'_self' ],
];
////////////////////////D'ONT CHANGE HERE////////////////////////////
function drawmenu() {
var imgline = '<img src='+lineimg+' border=0>'
document.writeln('<div class=menu>');
for (i=0; i<nom; i++) {
//title
document.writeln('<div class=title id=title'+i+' style=\"top: '+i*20+'px\">');
document.writeln('<a href="" onclick=\"javascript: toggle('+(i)+','+menutoggle[i]+'); return false\">');
document.writeln('<img name=pic'+i+' src='+closeimg+' border=0> ');
document.writeln(texttitle[i]);
document.writeln('</a></div>');

//submenu
document.writeln('<div class=submenu id=submenu'+i+' style=\"top: '+(i+1)*20+'px\">');
for (j=0; j<menunb[i]; j++) {
document.writeln('<a href='+linkmenu[i][j]+' target='+targetmenu[i][j]+'>'+imgline+textmenu[i][j]+'</a><br>');
}
document.writeln('</div>');
}
document.writeln('</div>');
}

