﻿// JScript File

function subpage_header() {
    document.writeln('<style type="text/css">');
	document.writeln('<!--');
	document.writeln('.redbar {');
    document.writeln('background-image: url(\'http://www.cunard.com/images/Side_TAG_Filler.gif\');');
	document.writeln('background-repeat: repeat-y;');
	document.writeln('}');
	document.writeln('-->');
	document.writeln('</style>');

	document.writeln('<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">');
    document.writeln('<tr bgcolor="ffffff" style="background-color:#ffffff;">');
    document.writeln('<td colspan="2" align="right"><a href="http://www.cunard.com/default.asp"><img src="http://www.cunard.com/images/nav/TopNavLOGO.gif" alt="Cunard cruise lines ships for luxury vacations" width="171" height="52" border="0" align="right" /></a></td>');
    document.writeln('</tr>');
    document.writeln('<tr>');
	document.writeln('<td width="760" height="14" style="background-color:#99947B">&nbsp; </td>');
    document.writeln('<td align="right" width="760" style="background-color:#99947B">');
    document.writeln('<script type="text/javascript" language="JavaScript1.2">');
    document.writeln('<!--');
	document.writeln('stm_bm(["menu7eed",400,"","http://www.cunard.com/images/dhtml/blank.gif",0,"","",0,0,250,0,1000,1,0,0,""],this);');
	document.writeln('stm_bp("p0",[0,4,0,0,0,0,0,0,100,"",-2,"",-2,10,0,0,"#fffff7","transparent","",3,0,0,"#000000"]);');

	document.writeln('stm_ai("p0i0",[2,"","http://www.cunard.com/images/dhtml/Destinations.gif","http://www.cunard.com/images/dhtml/Destinations-over.gif",122,18,0,"http://www.cunard.com/destinations/","_self","","","","",0,0,0,"","",0,0,0,0,1,"#fffff7",1,"#b5bed6",1,"","",3,3,0,0,"#fffff7","#000000","#000000","#000000","8pt Verdana","8pt Verdana",0,0]);');
	document.writeln('stm_bpx("p1","p0",[0,4,0,0,0,0,0,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=1.00)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=1.00)",4]);');
	document.writeln('stm_aix("p1i0","p0i0",[2,"","http://www.cunard.com/images/dhtml/Sub_Spacer2.gif","http://www.cunard.com/images/dhtml/Sub_Spacer2.gif",0,18,0,""]);');

document.writeln('stm_aix("p1i1","p0i0",[2,"","http://www.cunard.com/assets/images/nav/dhtml/topNav7.gif","http://www.cunard.com/assets/images/nav/dhtml/topNav7Over.gif",75,18,0,"http://www.cunard.com/Destinations/default.asp?Region=7%>"]);');
document.writeln('stm_aix("p1i2","p1i0",[]);');
document.writeln('stm_aix("p1i3","p0i0",[2,"","http://www.cunard.com/assets/images/nav/dhtml/topNav12.gif","http://www.cunard.com/assets/images/nav/dhtml/topNav12Over.gif",82,18,0,"http://www.cunard.com/Destinations/default.asp?Region=12"]);');
document.writeln('stm_aix("p1i4","p1i0",[]);');
document.writeln('stm_aix("p1i5","p0i0",[2,"","http://www.cunard.com/assets/images/nav/dhtml/topNav18.gif","http://www.cunard.com/assets/images/nav/dhtml/topNav18Over.gif",58,18,0,"http://www.cunard.com/Destinations/default.asp?Region=18"]);');
document.writeln('stm_aix("p1i6","p1i0",[]);');
document.writeln('stm_aix("p1i7","p0i0",[2,"","http://www.cunard.com/assets/images/nav/dhtml/topNav11.gif","http://www.cunard.com/assets/images/nav/dhtml/topNav11Over.gif",55,18,0,"http://www.cunard.com/Destinations/default.asp?Region=11"]);');
document.writeln('stm_aix("p1i8","p1i0",[]);');
document.writeln('stm_aix("p1i9","p0i0",[2,"","http://www.cunard.com/assets/images/nav/dhtml/topNav21.gif","http://www.cunard.com/assets/images/nav/dhtml/topNav21Over.gif",69,18,0,"http://www.cunard.com/Destinations/default.asp?Region=21"]);');
document.writeln('stm_aix("p1i10","p1i0",[]);');
document.writeln('stm_aix("p1i11","p0i0",[2,"","http://www.cunard.com/assets/images/nav/dhtml/topNav19.gif","http://www.cunard.com/assets/images/nav/dhtml/topNav19Over.gif",51,18,0,"http://www.cunard.com/Destinations/default.asp?Region=19"]);');
document.writeln('stm_aix("p1i12","p1i0",[]);');
document.writeln('stm_aix("p1i13","p0i0",[2,"","http://www.cunard.com/assets/images/nav/dhtml/topNav10.gif","http://www.cunard.com/assets/images/nav/dhtml/topNav10Over.gif",76,18,0,"http://www.cunard.com/Destinations/default.asp?Region=10"]);');
document.writeln('stm_aix("p1i14","p1i0",[]);');
document.writeln('stm_aix("p1i15","p0i0",[2,"","http://www.cunard.com/assets/images/nav/dhtml/topNav20.gif","http://www.cunard.com/assets/images/nav/dhtml/topNav20Over.gif",81,18,0,"http://www.cunard.com/Destinations/default.asp?Region=20"]);');
document.writeln('stm_aix("p1i16","p1i0",[]);');
document.writeln('stm_aix("p1i17","p0i0",[2,"","http://www.cunard.com/assets/images/nav/dhtml/topNav14.gif","http://www.cunard.com/assets/images/nav/dhtml/topNav14Over.gif",127,18,0,"http://www.cunard.com/Destinations/default.asp?Region=14"]);');
document.writeln('stm_aix("p1i18","p1i0",[]);');
document.writeln('stm_aix("p1i19","p0i0",[2,"","http://www.cunard.com/assets/images/nav/dhtml/topNav13.gif","http://www.cunard.com/assets/images/nav/dhtml/topNav13Over.gif",74,18,0,"http://www.cunard.com/Destinations/default.asp?Region=13"]);');
document.writeln('stm_aix("p1i20","p1i0",[]);');
document.writeln('stm_ep();');

document.writeln('stm_aix("p0i1","p1i0",[2,"","http://www.cunard.com/images/dhtml/TopNav_Divider1.gif","http://www.cunard.com/images/dhtml/TopNav_Divider1.gif"]);');
document.writeln('stm_aix("p0i2","p0i0",[2,"","http://www.cunard.com/images/dhtml/Voyage_Planner.gif","http://www.cunard.com/images/dhtml/Voyage_Planner-over.gif",146,18,0,"http://www.cunard.com/BookingEngine.asp"]);');
document.writeln('stm_aix("p0i3","p1i0",[]);');
document.writeln('stm_ep();');

//document.writeln('stm_aix("p0i2","p0i0",[2,"","http://www.cunard.com/images/dhtml/Voyage_Planner.gif","http://www.cunard.com/images/dhtml/Voyage_Planner-over.gif",146,18,0,"http://www.cunard.com/Planner/Default.asp?plan_active=CruiseFinder"]);');
//document.writeln('stm_bpx("p2","p0",[0,4,0,0,0,0,0,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.60)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.60)",4,50]);');
//document.writeln('stm_aix("p2i0","p1i0",[]);');
//document.writeln('stm_aix("p2i1","p0i2",[2,"","http://www.cunard.com/images/dhtml/dhtml_voyage_finder.gif","http://www.cunard.com/images/dhtml/dhtml_voyage_finderover.gif",96]);');
//document.writeln('stm_aix("p2i2","p1i0",[]);');
//document.writeln('stm_aix("p2i3","p0i0",[2,"","http://www.cunard.com/images/dhtml/dhtml_voyage_calendar.gif","http://www.cunard.com/images/dhtml/dhtml_voyage_calendarover.gif",112,18,0,"http://www.cunard.com/CruiseCalendar.asp?LeftNav=Planner&plan_active=CruiseCalendar"]);');
//document.writeln('stm_aix("p2i4","p1i0",[]);');
//document.writeln('stm_aix("p2i5","p0i0",[2,"","http://www.cunard.com/images/dhtml/BookingRequest.gif","http://www.cunard.com/images/dhtml/BookingRequest-over.gif",112,18,0,"http://www.cunard.com/HTB/default.asp?LeftNav=Planner&plan_active=BookingReq&Active=BookingReq"]);');
//document.writeln('stm_aix("p2i6","p1i0",[]);');
//document.writeln('stm_aix("p2i7","p0i0",[2,"","http://www.cunard.com/images/dhtml/BrochureRequest.gif","http://www.cunard.com/images/dhtml/BrochureRequest-over.gif",117,18,0,"https://www.cunard.com/brochure/"]);');
//document.writeln('stm_aix("p2i8","p1i0",[]);');
//document.writeln('stm_aix("p2i9","p0i0",[2,"","http://www.cunard.com/images/dhtml/dhtml_guest_forms.gif","http://www.cunard.com/images/dhtml/dhtml_guest_formsover.gif",89,18,0,"http://www.cunard.com/Planner/Default.asp?plan_active=Forms"]);');
//document.writeln('stm_aix("p2i10","p1i0",[]);');
//document.writeln('stm_ep();');

document.writeln('stm_aix("p0i4","p0i1",[]);');
document.writeln('stm_aix("p0i5","p1i0",[2,"","http://www.cunard.com/images/dhtml/OurShips.gif","http://www.cunard.com/images/dhtml/OurShips-over.gif",100,18,0, "http://www.cunard.com/ourships"]);');

//document.writeln('stm_bpx("p3","p2",[0,4,0]);');
document.writeln('stm_bpx("p3","p0",[0,4,0,0,0,0,0,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.60)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.60)",4,50]);');
document.writeln('stm_aix("p3i0","p1i0",[]);');
document.writeln('stm_aix("p3i1","p0i0",[2,"","http://www.cunard.com/images/dhtml/QM2_up.gif","http://www.cunard.com/images/dhtml/QM2_over.gif",96,18,0,"http://www.cunard.com/QM2/"]);');
document.writeln('stm_aix("p3i2","p1i0",[]);');
document.writeln('stm_aix("p3i3","p0i0",[2,"","http://www.cunard.com/images/dhtml/QV_up.gif","http://www.cunard.com/images/dhtml/QV_over.gif",101,18,0,"http://www.cunard.com/Ourships/default.asp?ship=QV"]);');
document.writeln('stm_aix("p3i4","p1i0",[]);');
document.writeln('stm_aix("p3i7","p0i0",[2,"","http://www.cunard.com/images/dhtml/QE_up.gif","http://www.cunard.com/images/dhtml/QE_over.gif",105,18,0,"http://www.cunard.com/Ourships/default.asp?ship=QE"]);');
document.writeln('stm_aix("p3i8","p1i0",[]);');
document.writeln('stm_ep();');
document.writeln('stm_aix("p0i6","p0i1",[]);');

document.writeln('stm_aix("p0i8","p0i0",[2,"","http://www.cunard.com/images/dhtml/HowToBook.gif","http://www.cunard.com/images/dhtml/HowToBook-over.gif",130,18,0,"http://www.cunard.com/HTB"]);');
document.writeln('stm_bpx("p4","p3",[]);');
document.writeln('stm_aix("p4i0","p1i0",[]);');
//document.writeln('stm_aix("p4i1","p2i5",[2,"","http://www.cunard.com/images/dhtml/dhtml_booking_request.gif","http://www.cunard.com/images/dhtml/dhtml_booking_request_over.gif",114]);');
//document.writeln('stm_aix("p4i2","p1i0",[]);');
document.writeln('stm_aix("p4i3","p0i0",[2,"","http://www.cunard.com/images/dhtml/dhtml_contat_cunard_line.gif","http://www.cunard.com/images/dhtml/dhtml_contat_cunard_lineover.gif",130,18,0,"http://www.cunard.com/HTB/default.asp?LeftNav=HowToBook&Active=ContactUs"]);');
document.writeln('stm_aix("p4i4","p1i0",[]);');
document.writeln('stm_ep();');
document.writeln('stm_aix("p0i9","p0i1",[]);');
document.writeln('stm_aix("p0i10","p0i0",[2,"","http://www.cunard.com/images/dhtml/FAQs.gif","http://www.cunard.com/images/dhtml/FAQs-over.gif",63,18,0,"http://www.cunard.com/faq/faq.asp"]);');
document.writeln('stm_aix("p0i11","p0i1",[]);');
document.writeln('stm_aix("p0i12","p0i0",[2,"","http://www.cunard.com/images/dhtml/ContactUs.gif","http://www.cunard.com/images/dhtml/ContactUs-over.gif",117,18,0,"http://www.cunard.com/htb/default.asp?Active=ContactUs"]);');
document.writeln('stm_aix("p0i13","p0i1",[]);');
document.writeln('stm_aix("p0i14","p0i12",[2,"","http://www.cunard.com/images/dhtml/Home.gif","http://www.cunard.com/images/dhtml/Home-over.gif",74,0,0,"http://www.cunard.com/default.asp"]);');
document.writeln('stm_ep();');
document.writeln('stm_em();');
document.writeln('//-->');
document.writeln('</script>');
document.writeln('</td>');
document.writeln('</tr>');
document.writeln('</table>');

}

function subpage_footer() {
    document.writeln('<div style="text-align: center;">');
    document.write('<table width="760" border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto;">');
    document.write('<tr style="background-color:#99947B">');
    document.write('<td><a onmouseover="changeImagesFooter(\'copyright\', \'http://www.cunard.com/images/subpage_footer/copyright-over.gif\'); return true;" onmouseout="changeImagesFooter(\'copyright\', \'http://www.cunard.com/images/subpage_footer/copyright.gif\'); return true;"><img src="http://www.cunard.com/images/subpage_footer/copyright.gif" alt="" name="copyright" height="20" width="139" border="0" /></a></td>');
	document.write('<td><a onmouseover="changeImagesFooter(\'about\', \'http://www.cunard.com/images/subpage_footer/about-over.gif\'); return true;" onmouseout="changeImagesFooter(\'about\', \'http://www.cunard.com/images/subpage_footer/about.gif\'); return true;" href="http://www.cunard.com/aboutcunard"><img src="http://www.cunard.com/images/subpage_footer/about.gif" alt="About Us" name="about" height="20" width="73" border="0" /></a></td>');
	document.write('<td><a onmouseover="changeImagesFooter(\'world\', \'http://www.cunard.com/images/subpage_footer/world-over.gif\'); return true;" onmouseout="changeImagesFooter(\'world\', \'http://www.cunard.com/images/subpage_footer/world.gif\'); return true;" href="http://www.cunard.com/CWC"><img src="http://www.cunard.com/images/subpage_footer/world.gif" alt="Club" name="world" height="20" width="60" border="0" /></a></td>');
	document.write('<td><a onmouseover="changeImagesFooter(\'partners\', \'http://www.cunard.com/images/subpage_footer/partners-over.gif\'); return true;" onmouseout="changeImagesFooter(\'partners\', \'http://www.cunard.com/images/subpage_footer/partners.gif\'); return true;" href="http://www.cunard.com/Partners"><img src="http://www.cunard.com/images/subpage_footer/partners.gif" alt="Partners" name="partners" height="20" width="81" border="0" /></a></td>');
	document.write('<td><a onmouseover="changeImagesFooter(\'charters\', \'http://www.cunard.com/images/subpage_footer/charters-over.gif\'); return true;" onmouseout="changeImagesFooter(\'charters\', \'http://www.cunard.com/images/subpage_footer/charters.gif\'); return true;" href="http://www.cunard.com/chartersandincentives/default.asp"><img src="http://www.cunard.com/images/subpage_footer/charters.gif" alt="Charters" name="charters" height="20" width="106" border="0" /></a></td>');
	document.write('<td><a onmouseover="changeImagesFooter(\'travel\', \'http://www.cunard.com/images/subpage_footer/travel-over.gif\'); return true;" onmouseout="changeImagesFooter(\'travel\', \'http://www.cunard.com/images/subpage_footer/travel.gif\'); return true;" href="http://www.onesourcecruises.com?company=CU" target="_blank"><img src="http://www.cunard.com/images/subpage_footer/travel.gif" alt="Travel Agents" name="travel" height="20" width="71" border="0" /></a></td>');
	document.write('<td><a onmouseover="changeImagesFooter(\'news\', \'http://www.cunard.com/images/subpage_footer/news-over.gif\'); return true;" onmouseout="changeImagesFooter(\'news\', \'http://www.cunard.com/images/subpage_footer/news.gif\'); return true;" href="http://www.cunard.com/news/default.asp?Active=News"><img src="http://www.cunard.com/images/subpage_footer/news.gif" alt="News" name="news" height="20" width="38" border="0" /></a></td>');
	document.write('<td><a onmouseover="changeImagesFooter(\'employment\', \'http://www.cunard.com/images/subpage_footer/employment-over.gif\'); return true;" onmouseout="changeImagesFooter(\'employment\', \'http://www.cunard.com/images/subpage_footer/employment.gif\'); return true;" href="http://www.cunard.com/Hr/default.asp"><img src="http://www.cunard.com/images/subpage_footer/employment.gif" alt="Employment" name="employment" height="20" width="66" border="0" /></a></td>');
	document.write('<td><a onmouseover="changeImagesFooter(\'privacy\', \'http://www.cunard.com/images/subpage_footer/privacy-over.gif\'); return true;" onmouseout="changeImagesFooter(\'privacy\', \'http://www.cunard.com/images/subpage_footer/privacy.gif\'); return true;" href="http://www.cunard.com/PrivacyPolicy"><img src="http://www.cunard.com/images/subpage_footer/privacy.gif" alt="Privacy Policy" name="privacy" height="20" width="73" border="0" /></a></td>');
	document.write('<td><a onmouseover="changeImagesFooter(\'sitemap\', \'http://www.cunard.com/images/subpage_footer/sitemap-over.gif\'); return true;" onmouseout="changeImagesFooter(\'sitemap\', \'http://www.cunard.com/images/subpage_footer/sitemap.gif\'); return true;" href="http://www.cunard.com/sitemap"><img src="http://www.cunard.com/images/subpage_footer/sitemap.gif" alt="Site Map" name="sitemap" height="20" width="53" border="0" /></a></td>');
	document.write('</tr>');
	document.write('<tr style="background-color: #FFFFFF">');
	document.write('<td colspan="10"><img src="http://www.cunard.com/images/Footer_TAG.gif" width="760" height="29" alt="The Most Famous Ocean Liners in the World(SM)" /></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td colspan="10" align="left">');
	if (location.pathname != "/brochure/Default.asp"){
	document.write('<a href="http://www.cunard.com/BannerClicks/BannerClick.asp?ID=180" onMouseOver="changeImagesFooter(\'Register_ForEmails\',\'http://www.cunard.com/images/Register_ForEmails-over.gif\'); return true;" onMouseOut="changeImagesFooter(\'Register_ForEmails\', \'http://www.cunard.com/images/Register_ForEmails.gif\'); return true;"><IMG SRC="http://www.cunard.com/images/Register_ForEmails.gif" name="Register_ForEmails" alt="Register for Email" border="0" /></a>');
    }
	document.write('</td>');
    
    document.write('</tr>');
    document.write('</table>');
    document.write('</div>');

}

function changeImagesFooter() {
	if (document.images) {
		for (var i=0; i<changeImagesFooter.arguments.length; i+=2) {
			document[changeImagesFooter.arguments[i]].src = changeImagesFooter.arguments[i+1];
		}
	}
}

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

var preloadFlagFooter = true;
function preloadImagesFooter() {
	if (document.images) {
		copyright_over = newImage("http://www.cunard.com/images/subpage_footer/copyright-over.gif");
		about_over = newImage("http://www.cunard.com/images/subpage_footer/about-over.gif");
		world_over = newImage("http://www.cunard.com/images/subpage_footer/world-over.gif");
		partners_over = newImage("http://www.cunard.com/images/subpage_footer/partners-over.gif");
		charters_over = newImage("http://www.cunard.com/images/subpage_footer/charters-over.gif");
		travel_over = newImage("http://www.cunard.com/images/subpage_footer/travel-over.gif");
		news_over = newImage("http://www.cunard.com/images/subpage_footer/news-over.gif");
		employment_over = newImage("http://www.cunard.com/images/subpage_footer/employment-over.gif");
		privacy_over = newImage("http://www.cunard.com/images/subpage_footer/privacy-over.gif");
		sitemap_over = newImage("http://www.cunard.com/images/subpage_footer/sitemap-over.gif");
		Register_ForEmails_over = newImage("http://www.cunard.com/images/Register_ForEmails-over.gif");
		preloadFlagFooter = true;
	}
}

