<!--
if (document.images) { my_cruises = new Image; my_cruises_ro = new Image; my_cruises.src = "/img/ico/nav_mycruises_ico_off_v1.gif"; my_cruises_ro.src = "/img/ico/nav_mycruises_ico_ovr_v1.gif"; site_search = new Image; site_search_ro = new Image; site_search.src = "/img/ico/nav_sitesearch_ico_off_v1.gif"; site_search_ro.src = "/img/ico/nav_sitesearch_ico_ovr_v1.gif"; specialist = new Image; specialist_ro = new Image; specialist.src = "/img/ico/nav_specialist_ico_off_v3.png"; specialist_ro.src = "/img/ico/nav_specialist_ico_on_v3.png"; loyalty = new Image; loyalty_ro = new Image; loyalty.src = "/img/ico/nav_loyaltyprogram_ico_off_v1.gif"; loyalty_ro.src = "/img/ico/nav_loyaltyprogram_ico_ovr_v1.gif"; full_summary = new Image; full_summary_ro = new Image; full_summary.src = "/img/ico/cor_summarydetails_ico_off.gif"; full_summary_ro.src = "/img/ico/cor_summarydetails_ico_ovr.gif"; res_help = new Image; res_help_ro = new Image; res_help.src = "/img/ico/cor_reservationhelp_ico_off.gif"; res_help_ro.src = "/img/ico/cor_reservationhelp_ico_ovr.gif"; pay_history = new Image; pay_history_ro = new Image; pay_history.src = "/img/ico/cor_paymenthistory_ico_off.gif"; pay_history_ro.src = "/img/ico/cor_paymenthistory_ico_ovr.gif"; }
function fixPage() {}
function fixPageOld() { var browser = navigator.userAgent.toLowerCase(); if (browser.indexOf("netscape") != -1 && browser.indexOf("6.2") != -1) { var loc = window.location.href; if (loc.indexOf("ns62=true") != -1) { } else { var appendChar = "?"; if (loc.indexOf("?") != -1) { appendChar = "&"; } loc = loc + appendChar + "ns62=true"; window.location.href = loc; } }} 
function ImgRoll(imgName,newImg) { if (document.images) { document[imgName].src= eval(newImg + ".src"); } } 
function MM_reloadPage(init) { 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 MM_findObj(n, d) { var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x;}
function P7_autoLayers() { var g,b,k,f,args=P7_autoLayers.arguments; var a = parseInt(args[0]);if(isNaN(a))a=0; if(!document.p7setc) {p7c=new Array();document.p7setc=true; for (var u=0;u<10;u++) {p7c[u] = new Array();}} for(k=0; k<p7c[a].length; k++) { if((g=MM_findObj(p7c[a][k]))!=null) { b=(document.layers)?g:g.style;b.visibility="hidden";}} for(k=1; k<args.length; k++) { if((g=MM_findObj(args[k])) != null) { b=(document.layers)?g:g.style;b.visibility="visible";f=false; for(j=0;j<p7c[a].length;j++) { if(args[k]==p7c[a][j]) {f=true;}} if(!f) {p7c[a][p7c[a].length++]=args[k];}}}}
function show(object) { if (document.getElementById && document.getElementById(object)) { document.getElementById(object).style.visibility = 'visible'; } else if (document.layers && document.layers[object]) { document.layers[object].visibility = 'visible'; } else if (document.all && document.all[object]) { document.all[object].style.visibility = 'visible'; }}
function hide(object) { if (document.getElementById && document.getElementById(object)) { document.getElementById(object).style.visibility = 'hidden'; } else if (document.layers && document.layers[object]) { document.layers[object].visibility = 'hidden'; } else if (document.all && document.all[object]) { document.all[object].style.visibility = 'hidden'; }}
function getRowStyleClass(row, col) { if (row == current_row && col == current_col) return "OnCell"; else return "OffCell";}
function showbutton(id, parent_id, ffocus){ if (document.getElementById) { document.getElementById(id).style.top = document.getElementById(parent_id).style.top; document.getElementById(id).style.left = document.getElementById(parent_id).style.left; } else if (document.all) { document.all[id].style.top = document.all[parent_id].style.top; document.all[id].style.left = document.all[parent_id].style.left; } show(id); }
function hidebutton(id){ hide(id);} 
function contentlayer(id, strContent){ if (document.getElementById) {document.getElementById(id).innerHTML = strContent;} else if (document.all) {document.all[id].innerHTML = strContent;} else if (document.layers) {document.layers[id].innerHTML = strContent;}}
function emptylayer(id){ if (document.getElementById) {document.getElementById(id).innerHTML = "";} else if (document.all) {document.all[id].innerHTML = "";} else if (document.layers){document.layers[id].innerHTML = "";}} 
function askBeforeExit(gvspop) { if (confirm("Are you sure you want to exit the reservation?")) {if (gvspop) {jsBasic_popup(getSecureLink("/gvs.do?type=ResExit"), 430,490,1);} return true; }else {return false;}}
function confirmAction(message) { return confirm(message);}
function showLayer(layer) { document.getElementById(layer).style.visibility='visible'; document.getElementById(layer).style.display='block'; }
function hideLayer(layer) { document.getElementById(layer).style.visibility='hidden'; document.getElementById(layer).style.display='none'; }
function setText(layer, text) { document.getElementById(layer).innerHTML = text;}
function changeToRequired(layer) { document.getElementById(layer).innerHTML = "<b>* " + document.getElementById(layer).innerHTML + "</b>";}
function changeToNotRequired(layer) { currentText = document.getElementById(layer).innerHTML ; currentText = currentText.replace("<B>", "").replace("* ","").replace("</B>","") ; currentText = currentText.replace("<b>", "").replace("* ","").replace("</b>","") ; document.getElementById(layer).innerHTML = currentText;}
function jsBasic_popup(param_href, param_width, param_height, param_hasScroll) { if(param_hasScroll) { this.popupw = window.open(param_href,"","toolbar=0,directories=0,status=0,menubar=0,location=0,scrollbars=1,resizable=0,width="+param_width+",height="+param_height); } else { this.popupw = window.open(param_href,"","toolbar=0,directories=0,status=0,menubar=0,location=0,scrollbars=0,resizable=0,width="+param_width+",height="+param_height); }} 
function jsBasic_popupfull(param_href, param_width, param_height) { this.popupw = window.open(param_href,"","toolbar=1,directories=1,status=1,menubar=1,location=1,scrollbars=1,resizable=1,width="+param_width+",height="+param_height);}
function copyLayer(source_id, dest_id){ hide(dest_id); if (document.getElementById) {document.getElementById(dest_id).innerHTML = document.getElementById(source_id).innerHTML;} else if (document.all) {document.all[dest_id].innerHTML = document.all[source_id].innerHTML;} else if (document.layers) {document.layers[dest_id].innerHTML = document.layers[source_id].innerHTML;}show(dest_id);}
//-->