// JavaScript Document for HP 
<!-- Begin
//for FLASH GLOBAL NAV CONTROL 
function flashMovie(name)
{
 if(navigator.appName.indexOf("Microsoft") != -1)  {
  return window[name];
 }
 else
 {
  return document[name];
 }
}

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 clearDefaultandCSS(el) {
	if (el.defaultValue==el.value) el.value = ""
	// If Dynamic Style is supported, clear the style
	if (el.style) el.style.cssText = ""
}

function openGetUpdatesPopup(){
	var tmpPopup; var strProperties = "menubar=no,location=no,toolbar=no,scrollbars=no,status=yes,resizable=no,width=410,height=700,left=0, top=0";
	tmpPopup = window.open('/mycruises/updateNotification.do', 'test', strProperties); tmpPopup.focus();
}
