		function closeAbout() 
		{
			document.getElementById("about_us").style.display = 'none';
		}
		function GioiThieu(tg)
		{
			var tipobj = parent.document.getElementById("about_us");
			tipobj.style.display = '';
			tipobj.style.visibility = "visible";
			
			var about ="";
			if(tg==0){
			about += "Website được xây dựng bởi <b>HongDucIT Group</b> bao gồm các thành viên sau:<BR>";
			about += " - Giảng viên Khoa Kỹ thuật - Công nghệ, ĐH Hồng Đức.<BR>";
			about += " - Sinh viên ĐH Tin K4B, K4C. <BR>";			
			}
			else
			{
			about += "Website is constructed by <b>HongDucIT Group</b> include:<BR>";
			about += " - Lecturers of  Faculty of Technology, Hong Duc University.<BR>";
			about += " - Students of  K4B, K4C classes.<BR>";			
			}
						
			parent.document.getElementById("about_us1").innerHTML = about;			
			tipobj.style.left = window.screen.width/2 + "px";			
			var top = parent.document.body.scrollTop + parent.window.screen.height-400;			
			tipobj.style.top = top+"px";
		}	
var note1V = "TRƯỜNG ĐẠI HỌC HỒNG ĐỨC";
		var note2V = "Địa chỉ: Số 307, Đường Lê Lai, Phường Đông Sơn - TP. Thanh Hóa.<BR>";
		var	note3V = "Điện thoại: (037)910.222, Fax: (037)910475. Trang Web được xây dựng bởi";
		
		var note1E = "Hong Duc University";
		var	note2E = "Add: 307 Le Lai Street, Dong Son Quarter, Thanh Hoa City, Viet Nam.</BR>";
		var	note3E = "Tel: (84-37)910 222, Fax: (84-37)910 475. Website is contructed by ";
function changeBanner(urlBanner)
		{
			re = /(.swf)/;
			var b = re.test(urlBanner);
			var s="<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr>";
			urlBanner  = "Banner//"+urlBanner;
			if(b)
			{
				s += "<td  height='135px' width='100%' vAlign='bottom' align='center' colSpan='3'>";	
				s += DrawBanner(urlBanner);
				s += "</td>";
			}
			else s += "<td colspan='3'  background='"+urlBanner+"' width='750px' height='135px'>&nbsp;</td>";		
			
			s += "</tr></table>";
			return s;					
								
		}

//Ham nay co the chay duoc file: swf tren ca firefox, ie
function DrawBanner(urlBanner)
	{		
		if(urlBanner=="Banner//ktcn.bmp")
		{
			s = "<IMG src='Banner//ktcn.bmp' height='140px' width='778px'>";
			return s;	
		}
		var s = "<object data='"+urlBanner+"' type='application/x-shockwave-flash' height='140px' width='778px'>";
		s += "<param name='movie' value='"+urlBanner+"'>";		
		s += "</object>";
		return s;
		
	}
function createHeader(tg)
		{
			var ss = "<table style= 'BORDER-COLLAPSE: collapse' borderColor='#909090' cellSpacing='0' cellPadding='0' width='100%' bgColor='#ffffff' border='1'>";			
			ss += "<tr><td><table cellSpacing='0' cellPadding='2' width='98%' align='center' border='0'><tr>";
			ss += "<td height='60' valign='center' style= 'FONT-SIZE: 12px; COLOR:#000099; FONT-FAMILY: Tahoma; TEXT-ALIGN: justify'>";
			if(tg==0)
				ss += "<b>Xin vui lòng chờ... </b>";				
			else ss += "<b>Please Wait... </b>";
			ss+="&nbsp;&nbsp;&nbsp;&nbsp;<img src='ImgHay/spinner.gif' width='16' height='16'>";
			ss += "</td></tr></table>";			
			window.scroll(0,0);
			
			return ss;
		}
function openNewWindow(urlSite)
		{
			window.open(urlSite);
		}		

function TraCuuDienThoai()
		{
			window.open("Search/search_phone.aspx");
		}
		
		function TraCuuDiemThi()
		{
			window.open("Search/search_phone.aspx");
		}
		
		
		function TraCuuTuLieu()
		{
			window.open("Search/search_documents.aspx");
		}
		
		function openNewWindow(urlSite)
		{
			window.open(urlSite);
		}

		function createWindow(mID,bShow,sTitle, colorTitle,sContent,bgColor1,border,urlIcon,superText)
		{
			var currSkin = "ImgHay//BlueSkin//";
			var str="";			
			if(bShow==true)
			     str += "<table id='"+mID+"' cellSpacing='0' cellPadding='0' width='100%'  border='0'>";
			else str += "<table id='"+mID+"' cellSpacing='0' cellPadding='0' width='100%'  style='DISPLAY: none'   border='0'>";

			str += "<tr >";
			str += "<td width='9'><IMG height='36' src='"+currSkin+"t11.bmp' width='10'></td>";						
	
			str += "<td background='"+currSkin+"t22.bmp' height='36' valign='center'>";
			str += "<font style='FONT-WEIGHT: bold; FONT-SIZE: 13px; COLOR: "+colorTitle+"; FONT-FAMILY: Tahoma; TEXT-ALIGN: left'>"+sTitle+"</font>";
						
			str += "</td>";
			str += "<td width='10'><IMG height='36' src='"+currSkin+"t33.bmp' width='10'></td>";
			str += "</tr>";
			str += "<tr>";
			str += "<td background='"+currSkin+"t4.bmp'>&nbsp;</td>";
			str += "<td>";
			str += "<table style='BORDER-COLLAPSE: collapse' borderColor='#cccccc' cellSpacing='0' cellPadding='2' width='100%' bgColor='" + bgColor1 + "' border='"+border+"'>";
															
			str += sContent;
			
			str += "</table></td>";
			str += "<td background='"+currSkin+"t6.bmp'>&nbsp;</td></tr>";
			
			str += "<tr vAlign='top'>";
			str += "<td><IMG height='13' src='"+currSkin+"t7.bmp' width='10'></td>";
			str += "<td background='"+currSkin+"t8.bmp' width='150'></td>";
			str += "<td><IMG height='13' src='"+currSkin+"t9.bmp' width='10'></td>";
			str += "</tr></table>";
			
			window.document.write(str);
		}