function gotoURL() {
	var Current = document.menu.list.selectedIndex;
	window.location.href = document.menu.list.options[Current].value;
	return false;

}

function ShowDate() {
	document.write(dayarray[day] + ', ' + dnarray[dn] + ' ' + montharray[month] + ' ' + year);
}

function ShowHeader(level)
{
	var styles = 'text-align: center; font-face: Tahoma; font-weight: bold; color: green; font-size: 10pt"';

	document.write('<div style="' + 'text-align: center; width: 100%"' + '>');
	document.write('<IMG alt=LVC height=45 src="');
	if (level == 0)
		document.write('images/logo45.jpg"');
	else if (level == 1)
		document.write('../images/logo45.jpg"');
	else if (level == 2)
		document.write('../../images/logo45.jpg"');
	else if (level == 3)
		document.write('../../../images/logo45.jpg"');
	else if (level == 4)
		document.write('../../../../images/logo45.jpg"');

	document.write('<br>');
	document.write('<div style="' + styles + '>');
	document.write('Ái Hữu Lương Văn Can - Quận 8 - Saigon');
	document.write('<\/div>');
	document.write('<hr align=center size=1 noshade color=green>');
/*
*/
      document.write('<p style="text-align: center; color: red"' + '>');
      document.write('<b>Tin buồn :</b>');
      document.write('<br>Gia đình CHS LVC vô cùng thương tiếc báo tin :');
      document.write('<br>cụ Ông <b>Dương Thành Long</b> - sinh năm 1929 là thân phụ của Dương Thành Đức K.75');
      document.write('<br>Vừa Tạ thế vào lúc 21 giờ 33 ngày 16 tháng 07 năm 2010 - Hưởng thọ 82 tuổi');
      document.write('<br>Tang lễ được cử hành tại nhà số 118 đường Nguyễn Duy, P.9, Q.8, Tp.HCM');
      document.write('<br>Lễ Nhập Quan lúc 8:00 17/7/2010, Lễ động quan lúc 6:45 19/07/2010, An táng tại xã Đăng Hưng Phước, Chợ Gạo, Tiền Giang');
      document.write('<br>Gia đình CHS.LVC xin chân thành chia buồn cùng tang quyến, xin cầu nguyện cho cụ Ông được an nghĩ nơi cõi Vĩnh Hằng');

	document.write('<\/p>');

      document.write('<p style="text-align: center; color: red"' + '>');
      document.write('<b>Tin buồn :</b>');
      document.write('<br>Gia đình CHS LVC vô cùng thương tiếc báo tin :');
      document.write('<br>cụ Ông <b>Nguyễn văn Non</b> - sinh năm 1931 là thân phụ của Nguyễn Kim Phụng K.75');
      document.write('<br>Vừa từ trần vào lúc 18 giờ ngày 17 tháng 07 năm 2010 - Hưởng thọ 80 tuổi');
      document.write('<br>Tang lễ được cử hành tại ấp Phước Thiện, Phước Lâm, Cần Giuộc, Long An');
      document.write('<br>Lễ Nhập Quan lúc 23:20 17/7/2010, Lễ động quan lúc 8:00 20/07/2010, An táng tại quê nhà Cần Giuộc, Long An');
      document.write('<br>Gia đình CHS.LVC xin chân thành chia buồn cùng tang quyến, xin cầu nguyện cho cụ Ông sớm an vui nơi miền Cực lạc');

	document.write('<\/p>');
	document.write('<\/div>');
}

function ShowTopMenu(notshown, level)
{
	var styles = 'text-align: center; font-face: Tahoma; font-weight: bold; color: blue; font-size: 10pt"';
	var nodecor = 'text-decoration: none;';
	var names = new Array();
	var pages = new Array();

	names[0] = 'Home';
	names[1] = 'Sinh Hoạt-Tin Tức';
	names[2] = 'CGS-NV';
	names[3] = 'Chuyên Đề';
	names[4] = 'CHS';
	names[5] = 'Tùy bút';
	names[6] = 'Lưu bút';
	names[7] = 'Cười';
	names[8] = 'Tìm Ái Hữu';
	names[9] = 'Postcard';
	names[10] = 'Lịch sử trường';
	names[11] = 'Nhắn tin';
	names[12] = 'Sổ Ý Kiến';

	pages[0] = 'index.html';
	pages[1] = 'tintuc/index.html';
	pages[2] = 'cgs/cgs-A.html';
	pages[3] = 'chuyende/index.html';
	pages[4] = 'class/index.html';
	pages[5] = 'tuybut/index.html';
	pages[6] = 'luubut/index.html';
	pages[7] = 'tieulam/index.html';
	pages[8] = 'search.html';
	pages[9] = 'postcard/index.html';
	pages[10] = 'lichsu/index.html';
	pages[11] = 'online/nhantin.html';
	pages[12] = 'online/ykien.html';

	document.write('<div style="' + 'text-align: center; width: 100%"' + '>');
	document.write('<p style="' + styles + '>');
	for (var i = 0; i <= 12; i++) {
		if (i != notshown) {
			if (level == 0) {
				document.write('<A href="' + pages[i] + '">' + names[i] + '<\/A>&nbsp;');
			} else if (level == 1) {
				document.write('<A href="' + '..\/' + pages[i] + '">' + names[i] + '<\/A>&nbsp;');
			} else if (level == 2) {
				document.write('<A href="' + '..\/..\/' + pages[i] + '">' + names[i] + '<\/A>&nbsp;');
			} else if (level == 3) {
				document.write('<A href="' + '..\/..\/..\/' + pages[i] + '">' + names[i] + '<\/A>&nbsp;');
			}
		}
	}
	document.write('<\/p><\/div>');
}

function ShowFooter(level, showmsg)
{
	var styles = 'text-align: center; font-face: Tahoma; font-size: 10pt"';
	var nodecor = 'text-decoration: none;';

	document.write('<div style="' + 'text-align: center; width: 100%"' + '>');
	document.write('<hr align=center size=1 noshade color=green>');
	document.write('<p style="' + styles +'>');
	if (showmsg) {
		document.write('This site is in Vietnamese.');
		document.write(' We apologise for any inconvenience.<br>');
	}

	// copyright
	document.write('&copy; 2002-2010 LuongVanCan.org<br>');

	// home and mailto links
	if (level == 0) {
		document.write('<A href="' + 'index.html"' + '>Home<\/a>');
	} else if (level == 1) {
		document.write('<A href="' + '..\/index.html"' + '>Home<\/a>');
	} else if (level == 2) {
		document.write('<A href="' + '..\/..\/index.html"' + '>Home<\/a>');
	}
	if (level != -1)
		document.write(' | ');
	document.write('<A href="' + 'mailto:luongvancan_alumni@luongvancan.org"' + '>Liên lạc<\/a>');
	document.write('<\/p><\/div>');
}

function ShowCHSMenu(notshown)
{
	var chs = new Array();
	var pages = new Array();

	chs[0] = '72';
	chs[1] = '73';
	chs[2] = '74';
	chs[3] = '75';
	chs[4] = '76';
	chs[5] = '77';
	chs[6] = '78';
	chs[7] = '79';
	chs[8] = '80';
	chs[9] = '81';
	chs[10] = '82';
	chs[11] = '83';
	chs[12] = '84';
	chs[13] = '85';
	chs[14] = '86';
	chs[15] = '87';
	chs[16] = '88';
	chs[17] = '89';
	chs[18] = '90';
	chs[19] = '91';
	chs[20] = '92';
	chs[21] = '93';
	chs[22] = '94';
	chs[23] = '95';
	chs[24] = '96';
	chs[25] = '97';
	chs[26] = '98';
	chs[27] = '99';
	chs[28] = '2000';
	chs[29] = '2001';
	chs[30] = '2002';
	chs[31] = '2003';
	chs[32] = '2004';
	chs[33] = '2005';

	pages[0] = 'year72.html';
	pages[1] = 'year73.html';
	pages[2] = 'year74.html';
	pages[3] = 'year75.html';
	pages[4] = 'year76.html';
	pages[5] = 'year77.html';
	pages[6] = 'year78.html';
	pages[7] = 'year79.html';
	pages[8] = 'year80.html';
	pages[9] = 'year81.html';
	pages[10] = 'year82.html';
	pages[11] = 'year83.html';
	pages[12] = 'year84.html';
	pages[13] = 'year85.html';
	pages[14] = 'year86.html';
	pages[15] = 'year87.html';
	pages[16] = 'year88.html';
	pages[17] = 'year89.html';
	pages[18] = 'year90.html';
	pages[19] = 'year91.html';
	pages[20] = 'year92.html';
	pages[21] = 'year93.html';
	pages[22] = 'year94.html';
	pages[23] = 'year95.html';
	pages[24] = 'year96.html';
	pages[25] = 'year97.html';
	pages[26] = 'year98.html';
	pages[27] = 'year99.html';
	pages[28] = 'year00.html';
	pages[29] = 'year01.html';
	pages[30] = 'year02.html';
	pages[31] = 'year03.html';
	pages[32] = 'year04.html';
	pages[33] = 'year05.html';

	document.write('<TABLE bgColor=red cellPadding=0 cellSpacing=0 class=pageHdr width=100%>');
	document.write('<TBODY><TR><TD vAlign=center align=center width=100%>');
	for (var i = 0; i < 33; i++) {
		if (i != notshown) {
			document.write('<A href="' + pages[i] + '">' + chs[i] + '<\/A>&nbsp;');
		}
	}
	document.write('<\/TD><\/TR><\/TBODY><\/TABLE>');
}

var tday=new Date()
var year=tday.getYear()
if (year < 1000) year+=1900
var day=tday.getDay()
var month=tday.getMonth()
var dn=tday.getDate() -1
var dayarray=new Array("Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy")
var montharray=new Array("Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai")
var dnarray=new Array("1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31")
