<!--
//if (document.images) { my_cruises = new Image; my_cruises_ro = new Image; my_cruises.src = "images/nav_mycruises_ico_off_v1.gif"; my_cruises_ro.src = "images/nav_mycruises_ico_ovr_v1.gif"; site_search = new Image; site_search_ro = new Image; site_search.src = "images/nav_sitesearch_ico_off_v1.gif"; site_search_ro.src = "images/nav_sitesearch_ico_ovr_v1.gif"; specialist = new Image; specialist_ro = new Image; specialist.src = "images/nav_specialist_ico_off_v1.gif"; specialist_ro.src = "images/nav_specialist_ico_ovr_v1.gif"; loyalty = new Image; loyalty_ro = new Image; loyalty.src = "images/nav_loyaltyprogram_ico_off_v1.gif"; loyalty_ro.src = "images/nav_loyaltyprogram_ico_ovr_v1.gif"; full_summary = new Image; full_summary_ro = new Image; full_summary.src = "images/cor_summarydetails_ico_off.gif"; full_summary_ro.src = "images/cor_summarydetails_ico_ovr.gif"; res_help = new Image; res_help_ro = new Image; res_help.src = "images/cor_reservationhelp_ico_off.gif"; res_help_ro.src = "images/cor_reservationhelp_ico_ovr.gif"; pay_history = new Image; pay_history_ro = new Image; pay_history.src = "images/cor_paymenthistory_ico_off.gif"; pay_history_ro.src = "images/cor_paymenthistory_ico_ovr.gif"; }
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 MM_controlShockwave(objStr,x,cmdName,frameNum) { //v3.0
	var obj=MM_findObj(objStr);
	if (obj) {
		alert("");
		eval('obj.'+cmdName+'('+((cmdName=='GotoFrame')?frameNum:'')+')');
	}
}
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'; document.getElementById(object).style.display = 'block';} else if (document.layers && document.layers[object]) { document.layers[object].visibility = 'visible'; document.getElementById(object).style.display = '';} else if (document.all && document.all[object]) { document.all[object].style.visibility = 'visible'; document.getElementById(object).style.display = '';}}
function hide(object) { if (document.getElementById && document.getElementById(object)) { document.getElementById(object).style.visibility = 'hidden'; document.getElementById(object).style.display = 'none';} else if (document.layers && document.layers[object]) { document.layers[object].visibility = 'hidden'; document.getElementById(object).style.display = 'none';} else if (document.all && document.all[object]) { document.all[object].style.visibility = 'hidden'; document.getElementById(object).style.display = 'none';}}
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'; }

//For Links
function encodeUrl(url, secure) 
{ 
	var splitPos = url.indexOf("?"); 
	if (splitPos > 0) 
	{ 
		var startUrl = url.substring(0, splitPos); 
		var endUrl = url.substring(splitPos, url.length); 
		url = startUrl + endUrl; 
	}
	else 
		url; 
	
	var checkIfRelative = url.indexOf("://"); 
	if (checkIfRelative == -1) 
	{ 
		if (secure) url = "https://our url" + url; 
		else url = "" + url; 
	} 
	return url; 
} 
function doLink(url) {document.location = encodeUrl(url, false);} 
//function getSecureLink(url) {return encodeUrl(url, true) ;} 
function doSecureLink(url) {document.location = encodeUrl(url, true);} 

function buyitem(itemID) {
	document.location = "http://shopsite.startlogic.com/ss10.0/sc/order.cgi?storeid=*1a487451f15e5e7a05c965ced93f0a&dbname=products&itemnum=" + 
		itemID + "&function=add";
}

//-->
