
function doiphim(obj)
{
 if (event.keyCode == 13) {event.keyCode = 9;}
}
// obj.onkeydown = doiphim ;

function getlib(ilib) {
arr=window.open(ilib,"w2","scrollbars=yes,width=500,height=500,top=100,left=100,resizable=yes");
}

function windowOpener(windowHeight, windowWidth, windowName, windowUri)
{
    var centerWidth = (window.screen.width - windowWidth) / 2;
    var centerHeight = (window.screen.height - windowHeight) / 2;

    newWindow = window.open(windowUri, windowName, 'resizable=0,scrollbars=no,menubar=0,status=no,location=no,width=' + windowWidth + 
        ',height=' + windowHeight + 
        ',left=' + centerWidth + 
        ',top=' + centerHeight);

    newWindow.focus();
    return newWindow.name;
}


function VietDate()
{
dayname = new Array("Ch&#7911; nh&#7853;t", "Th&#7913; hai", "Th&#7913; ba", "Th&#7913; t&#432;", "Th&#7913; n&#259;m", "Th&#7913; s&#225;u", "Th&#7913; b&#7843;y");
now = new Date();
daynum = now.getDay();
day = dayname[daynum];
date = now.getDate();
monthnum = now.getMonth()+1;
document.write(""+day+", ng&#224;y "+date+"/"+monthnum+"/"+now.getFullYear());
}


function EngDate()
{
var d=new Date();
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var monthname=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
document.write(weekday[d.getDay()] + " ");
document.write(d.getDate() + ". ");
document.write(monthname[d.getMonth()] + " ");
document.write(d.getFullYear());
}


var req = new Array(20);
var content = new Array(20);
var pos,i;
for (i=0;i<20;i++) content[i] = false;

function onContentLoaded0() {processContent(0);}
function onContentLoaded1() {processContent(1);}
function onContentLoaded2() {processContent(2);}
function onContentLoaded3() {processContent(3);}
function onContentLoaded4() {processContent(4);}
function onContentLoaded5() {processContent(5);}
function onContentLoaded6() {processContent(6);}
function onContentLoaded7() {processContent(7);}
function onContentLoaded8() {processContent(8);}
function onContentLoaded9() {processContent(9);}
function onContentLoaded10() {processContent(10);}
function onContentLoaded11() {processContent(11);}
function processContent(tpos)
{	
	var str = ""; 
	if (req[tpos].readyState == 4 && req[tpos].status == 200)
	{
		str = req[tpos].responseText;
		document.getElementById("tab"+tpos).innerHTML=str;
		content[tpos] = true; 
	}	
}

function mmLoadMenus() {
  if (window.mm_menu_0615154731_0) return;
      window.mm_menu_0615154731_0 = new Menu("root",95,18,"Verdana, Helvetica, sans-serif",10,"#000000","#ffffff","#E2E2E2","#FF0000","left","middle",3,0,200,-5,7,true,true,true,0,true,true); 
	  	 

   mm_menu_0615154731_0.addMenuItem("Truy&#7879;n c&#432;&#7901;i","location='giaitri/cuoi/index.htm'");
   
   mm_menu_0615154731_0.addMenuItem("Trang th&#417;","location='giaitri/tho/index.htm'");
   
   mm_menu_0615154731_0.addMenuItem("&#194;m nh&#7841;c","location='giaitri/Music/Frame/Music.htm'");
   
   mm_menu_0615154731_0.addMenuItem("Th&#7901;i trang","location='giaitri/AoDaiVN/Index.htm'");
   
   
   mm_menu_0615154731_0.fontWeight="bold";
   mm_menu_0615154731_0.hideOnMouseOut=true;
   mm_menu_0615154731_0.bgColor='#ffffff';
   mm_menu_0615154731_0.menuBorder=1;
   mm_menu_0615154731_0.menuLiteBgColor='#cccccc';
   mm_menu_0615154731_0.menuBorderBgColor='#CCCCCC';
mm_menu_0615154731_0.writeMenus();
} // mmLoadMenus()