function checkForm(thisForm) { if (thisForm.email.value == "" || thisForm.email.value == "Your e-mail address here") { alert ("Please enter your e-mail address in the field, before pressing the subscribe button"); thisForm.email.focus(); return false; } alert ("Thank you for subscribing to the Cruise Our Way newsletter"); return true; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i < a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i < a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v3.0 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); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } selList0 = new Array ("No Preference", "0" ,"Adventure of the Seas","211","Amsterdam","43","Arcadia","190","Artemis","197","Aurora","200","Balmoral","285","Black Prince","199","Black Watch","198","Boudicca","207","Braemar","201","Caribbean Princess","262","Carnival Conquest","217","Carnival Destiny","60","Carnival Freedom","311","Carnival Glory","216","Carnival Legend","222","Carnival Liberty","219","Carnival Miracle","223","Carnival Pride","221","Carnival Spirit","81","Carnival Splendor","310","Carnival Triumph","220","Carnival Valor","218","Carnival Victory","62","Celebrity Century","305","Celebrity Constellation","302","Celebrity Galaxy","306","Celebrity Infinity","307","Celebrity Millennium","303","Celebrity Summit","304","Celebrity Xpedition","246","Century","163","Clipper Adventurer","158","Clipper Odyssey","159","Constellation","245","Costa Allegra","295","Costa Atlantica","150","Costa Classica","152","Costa Concordia","293","Costa Europa","296","Costa Fortuna","261","Costa Magica","260","Costa Marina","297","Costa Romantica","294","Costa Tropicale","153","Costa Victoria","151","Crown Princess","115","Crystal Serenity","289","Crystal Symphony","288","Dawn Princess","113","Disney Magic","161","Disney Wonder","162","Ecstasy","52","Elation","53","Enchantment of the Seas","233","Explorer of the Seas","238","Fantasy","55","Fascination","56","Freedom of the seas","292","Galaxy","263","Golden Princess","105","Grand Princess","244","Grandeur of the Seas","234","Horizon","165","Imagination","57","Independance of the Seas","290","Infinity","171","Inspiration","58","Itinerary","248","Jewel of the Seas","284","Legend of the Seas","88","Liberty of the Seas","286","Maasdam","230","Majesty of the Seas","85","Marco Polo","136","Mariner of the Seas","239","Mercury","166","Millennium","169","Minerva","264","Monarch of the Seas","98","Movenpick Luxor","256","MS RA 2","255","MSC Lirica","309","Nantucket Clipper","157","Navigator of the Seas","240","Noordam","227","Norwegian Dawn","204","Norwegian Dream","101","Norwegian Gem","299","Norwegian Jade","298","Norwegian Jewel","96","Norwegian Pearl","281","Norwegian Star","301","Norwegian Sun","97","Norweigen Spirit","206","Ocean Village","208","Oceana","202","Oosterdam","226","Orchestra","308","Oriana","203","Pacific Princess","117","Paradise","54","Pride of America","300","Queen Elizabeth 2","225","Queen Mary 2","39","Queen Victoria","282","R Eight","180","R Five","178","R Four","177","R One","173","R Seven","179","R Six","174","R Three","176","R Two","175","Radiance of the Seas","92","Regal Princess","116","Rhapsody of the Seas","235","Rotterdam","44","Ryndam","231","Sea Princess","111","Seabourn Goddess I","67","Seabourn Goddess II","68","Seabourn Legend","72","Seabourn Pride","70","Seabourn Spirit","71","Seabourn Sun","69","Sensation","59","Serenade of the Seas","265","Silver Cloud","210","Silver Shadow","212","Silver Whisper","224","Sofitel Karnak, Luxor","259","Sovereign of the Seas","99","Splendour of the Seas","236","Star Princess","243","Statendam","47","Summit","172","Sun Princess","257","Tahitian Princess","268","The Emerald","252","Thomson Spirit","251","Veendam","232","Ventura","291","Vision of the Seas","237","Volendam","42","Voyager of the Seas","241","Westerdam","46","Wind Song","38","Wind Spirit","36","Wind Star","35","Wind Surf","32","Yorktown Clipper","160","Your personal Itinerary","249","Zaandam","229","Zenith","167","Zuiderdam","228" ) selList19 = new Array("No Preference","0","Wind Song","38","Wind Spirit","36","Wind Star","35","Wind Surf","32"); selList21 = new Array("No Preference","0","Queen Elizabeth 2","225","Queen Mary 2","39","Queen Victoria","282"); selList22 = new Array("No Preference","0","Amsterdam","43","Maasdam","230","Noordam","227","Oosterdam","226","Rotterdam","44","Ryndam","231","Statendam","47","Veendam","232","Volendam","42","Westerdam","46","Zaandam","229","Zuiderdam","228"); selList23 = new Array("No Preference","0","Carnival Conquest","217","Carnival Destiny","60","Carnival Freedom","311","Carnival Glory","216","Carnival Legend","222","Carnival Liberty","219","Carnival Miracle","223","Carnival Pride","221","Carnival Spirit","81","Carnival Triumph","220","Carnival Valor","218","Carnival Victory","62","Ecstasy","52","Elation","53","Fantasy","55","Fascination","56","Imagination","57","Inspiration","58","Paradise","54","Sensation","59"); selList24 = new Array("No Preference","0","Seabourn Goddess I","67","Seabourn Goddess II","68","Seabourn Legend","72","Seabourn Pride","70","Seabourn Spirit","71","Seabourn Sun","69"); selList26 = new Array("No Preference","0","Adventure of the Seas","211","Enchantment of the Seas","233","Explorer of the Seas","238","Freedom of the seas","292","Grandeur of the Seas","234","Independance of the Seas","290","Jewel of the Seas","284","Legend of the Seas","88","Liberty of the Seas","286","Majesty of the Seas","85","Mariner of the Seas","239","Monarch of the Seas","98","Navigator of the Seas","240","Radiance of the Seas","92","Rhapsody of the Seas","235","Serenade of the Seas","265","Sovereign of the Seas","99","Splendour of the Seas","236","Vision of the Seas","237","Voyager of the Seas","241"); selList27 = new Array("No Preference","0","Carnival Splendor","310","Celebrity Century","305","Celebrity Constellation","302","Celebrity Galaxy","306","Celebrity Infinity","307","Celebrity Millennium","303","Celebrity Summit","304","Celebrity Xpedition","246","Century","163","Constellation","245","Galaxy","263","Horizon","165","Infinity","171","Mercury","166","Millennium","169","Summit","172","Zenith","167"); selList29 = new Array("No Preference","0","Norwegian Dawn","204","Norwegian Dream","101","Norwegian Gem","299","Norwegian Jade","298","Norwegian Jewel","96","Norwegian Pearl","281","Norwegian Star","301","Norwegian Sun","97","Norweigen Spirit","206","Pride of America","300"); selList30 = new Array("No Preference","0","Caribbean Princess","262","Crown Princess","115","Dawn Princess","113","Golden Princess","105","Grand Princess","244","Pacific Princess","117","Regal Princess","116","Sea Princess","111","Star Princess","243","Sun Princess","257","Tahitian Princess","268"); selList35 = new Array("No Preference","0","Marco Polo","136"); selList38 = new Array("No Preference","0","Disney Magic","161","Disney Wonder","162"); selList39 = new Array("No Preference","0","Costa Allegra","295","Costa Atlantica","150","Costa Classica","152","Costa Concordia","293","Costa Europa","296","Costa Fortuna","261","Costa Magica","260","Costa Marina","297","Costa Romantica","294","Costa Tropicale","153","Costa Victoria","151"); selList41 = new Array("No Preference","0","Clipper Adventurer","158","Clipper Odyssey","159","Nantucket Clipper","157","Yorktown Clipper","160"); selList42 = new Array("No Preference","0","R Eight","180","R Five","178","R Four","177","R One","173","R Seven","179","R Six","174","R Three","176","R Two","175"); selList44 = new Array("No Preference","0","Arcadia","190","Artemis","197","Aurora","200","Oceana","202","Oriana","203","Ventura","291"); selList45 = new Array("No Preference","0","Balmoral","285","Black Prince","199","Black Watch","198","Boudicca","207","Braemar","201"); selList46 = new Array("No Preference","0","Silver Cloud","210","Silver Shadow","212","Silver Whisper","224"); selList48 = new Array("No Preference","0","Ocean Village","208"); selList51 = new Array("No Preference","0","Minerva","264"); selList61 = new Array("No Preference","0","The Emerald","252","Thomson Spirit","251"); selList62 = new Array("No Preference","0","Itinerary","248","Your personal Itinerary","249"); selList63 = new Array("No Preference","0","Movenpick Luxor","256","MS RA 2","255","Sofitel Karnak, Luxor","259"); selList70 = new Array("No Preference","0","Crystal Serenity","289","Crystal Symphony","288"); selList72 = new Array("No Preference","0","MSC Lirica","309","Orchestra","308"); function fillSel(selObj) { var i = j = k = 0; var newItem; var src; var srcName = ""; for (i = 0; i < selObj.length; i++) if (selObj.options[i].selected) srcName = selObj.options[i].value; src = eval(srcName); with (document.selectItinerary.ship_id) { options.length = 0; for (i = 0; i < src.length; i++) { newItem = options.length; options[newItem] = new Option(src[i]); options[newItem].value= src[i+1]; i++; } options[k].selected = true; } } /*********************************************** * AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ //Contents for cruises_from_uk_ports var menu1=new Array() menu1[0]='Dover, UK' menu1[1]='Greenock, Scotland' menu1[2]='Harwich, UK' menu1[3]='Leith,Scotland' menu1[4]='Liverpool, UK' menu1[5]='Newcastle, UK' menu1[6]='Portsmouth, UK' menu1[7]='Southampton, UK' //Contents for destinations var menu2=new Array() menu2[0]='Africa' menu2[1]='Alaska' menu2[2]='Asia' menu2[3]='Australia & New Zealand' menu2[4]='British Isles' menu2[5]='Canaries' menu2[6]='Caribbean' menu2[7]='Europe' menu2[8]='Mediterranean' menu2[9]='Middle East' menu2[10]='Pacific & Hawaii' menu2[11]='Round the World' menu2[12]='Scandanavia & The Baltics' menu2[13]='Short Breaks' menu2[14]='South America' menu2[15]='Trans Atlantic' menu2[16]='USA & Canada' menu2[17]='West Coast USA & Mexico' //Contents for cruise_lines var menu3=new Array() menu3[0]='Carnival Cruise Lines' menu3[1]='Celebrity Cruises' menu3[2]='Clipper Cruise Line' menu3[3]='Costa Cruises' menu3[4]='Crystal Cruise Line' menu3[5]='Cunard' menu3[6]='Fred. Olsen' menu3[7]='Holland America Line' menu3[8]='M/S Ra 2 Cruise' menu3[9]='MSC' menu3[10]='NCL' menu3[11]='Ocean Village' menu3[12]='Orient Lines' menu3[13]='P&O Cruises' menu3[14]='Princess Cruises' menu3[15]='Royal Caribbean Cruise Line' menu3[16]='Seabourn Cruise Line' menu3[17]='Silversea' menu3[18]='Swan Hellenic' menu3[19]='Thomson' menu3[20]='Windstar Cruises' //Contents for interest_cruises var menu4=new Array() menu4[0]='Art and Culture' menu4[1]='Families' menu4[2]='Food & Drink' menu4[3]='Golf & Sports' menu4[4]='Wellbeing' var menuwidth='165px' //default menu width var menubgcolor='#0091DA' //menu bgcolor var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds) var hidemenu_onclick="yes" //hide menu when user clicks within menu? /////No further editting needed var ie4=document.all var ns6=document.getElementById&&!document.all if (ie4||ns6) document.write('
') function getposOffset(what, offsettype){ var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop; var parentEl=what.offsetParent; while (parentEl!=null){ totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop; parentEl=parentEl.offsetParent; } return totaloffset; } function showhide(obj, e, visible, hidden, menuwidth){ if (ie4||ns6) dropmenuobj.style.left=dropmenuobj.style.top=-500 if (menuwidth!=""){ dropmenuobj.widthobj=dropmenuobj.style dropmenuobj.widthobj.width=menuwidth } if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover") obj.visibility=visible else if (e.type=="click") obj.visibility=hidden } function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function clearbrowseredge(obj, whichedge){ var edgeoffset=0 if (whichedge=="rightedge"){ var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15 dropmenuobj.contentmeasure=dropmenuobj.offsetWidth if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure) edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth } else{ var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18 dropmenuobj.contentmeasure=dropmenuobj.offsetHeight if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up? edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight if ((dropmenuobj.y-topedge) < dropmenuobj.contentmeasure) //up no good either? edgeoffset=dropmenuobj.y+obj.offsetHeight } } return edgeoffset } function populatemenu(what){ if (ie4||ns6) dropmenuobj.innerHTML=what.join("") } function dropdownmenu(obj, e, menucontents, menuwidth){ if (window.event) event.cancelBubble=true else if (e.stopPropagation) e.stopPropagation() clearhidemenu() dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv populatemenu(menucontents) if (ie4||ns6){ showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth) dropmenuobj.x=getposOffset(obj, "left") dropmenuobj.y=getposOffset(obj, "top") dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px" dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px" } return clickreturnvalue() } function clickreturnvalue(){ if (ie4||ns6) return false else return true } function contains_ns6(a, b) { while (b.parentNode) if ((b = b.parentNode) == a) return true; return false; } function dynamichide(e){ if (ie4&&!dropmenuobj.contains(e.toElement)) delayhidemenu() else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) delayhidemenu() } function hidemenu(e){ if (typeof dropmenuobj!="undefined"){ if (ie4||ns6) dropmenuobj.style.visibility="hidden" } } function delayhidemenu(){ if (ie4||ns6) delayhide=setTimeout("hidemenu()",disappeardelay) } function clearhidemenu(){ if (typeof delayhide!="undefined") clearTimeout(delayhide) } if (hidemenu_onclick=="yes") document.onclick=hidemenu