function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function pplink(page){
 window.location=page;
}
function pppoplink(page){
  window.open(page,"","width=800,height=600,toolbar=1,titlebar=1,scrollbars=1");
}
function pppoplinkpdf(page){
  window.open(page,"","width=975,height=600,toolbar=1,titlebar=1,scrollbars=1");
}
function headRO(){
	this.style = 'baritemb';
}
function headAR(){
	this.style = 'baritem';
}

function addbookmark(){
	window.external.AddFavorite('http://www.cafehuongduong.com','Cafe Huong Duong');
}

function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}