<html> <head> <title>Air Canada</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">  <script language="JavaScript"> <!-- checkForCookie('new_lang_pref'); function writeCookie (cookieName, cookieValue, cookiePath) {         var expDate = new Date();         var expiry = 5 * 365 * 1000 * 60 * 60 * 24;         var domain1 = ".aircanada.ca"; 	var domain2 = ".aircanada.com"; 	var address = location.hostname;         expDate.setTime (expDate.getTime() + expiry);         //document.cookie = cookieName + "=" + escape (cookieValue) + "; expires=" + expDate.toGMTString();        	if (cookieValue == "english")         {            if (address.search(domain2) != -1){ //aircanada.com               document.cookie = cookieName + "=" + escape (cookieValue) + "; path=" + cookiePath  + "; expires=" + expDate.toGMTString() + "; domain=" + domain2; //set cookie on .com                 	location.replace('http://www.aircanada.ca/setcookie_eng.html'); //set cookie on .ca            }          else          {               document.cookie = cookieName + "=" + escape (cookieValue) + "; path=" + cookiePath  + "; expires=" + expDate.toGMTString() + "; domain=" + domain1; //set cookie on aircanada.ca                 	location.replace('http://www.aircanada.com/setcookie_eng.html'); //set cookie on .com             }             		         }         else if (cookieValue == "french")         {            if (address.search(domain2) != -1){ //aircanada.com               document.cookie = cookieName + "=" + escape (cookieValue) + "; path=" + cookiePath  + "; expires=" + expDate.toGMTString() + "; domain=" + domain2; //set cookie on .com                 location.replace('http://www.aircanada.ca/setcookie_fr.html'); //set cookie on .ca                 }                 else             		{               document.cookie = cookieName + "=" + escape (cookieValue) + "; path=" + cookiePath  + "; expires=" + expDate.toGMTString() + "; domain=" + domain1; //set cookie on .ca                 location.replace('http://www.aircanada.com/setcookie_fr.html'); //set cookie on .com             		}         }         else if (cookieValue == "us")         {            if (address.search(domain2) != -1){ //aircanada.com               document.cookie = cookieName + "=" + escape (cookieValue) + "; path=" + cookiePath  + "; expires=" + expDate.toGMTString() + "; domain=" + domain2; //set cookie on .com                 location.replace('http://www.aircanada.ca/setcookie_us.html'); //set cookie on .ca            }  	else         	{               document.cookie = cookieName + "=" + escape (cookieValue) + "; path=" + cookiePath  + "; expires=" + expDate.toGMTString() + "; domain=" + domain1; //set cookie on .ca                 location.replace('http://www.aircanada.com/setcookie_us.html'); //set cookie on .com           }                          }        }  function expiryOldCookie(cookieName, cookieValue) { 	var expDate = new Date(); 	var expiry = 0; 	expDate.setTime (expDate.getTime() + expiry); 	document.cookie = cookieName + "=" + escape (cookieValue) + "; expires=" + expDate.toGMTString();		 }   function checkForCookie(CookieName) {         var CookieString = document.cookie;         var CookieSet = CookieString.split (';');         var SetSize = CookieSet.length;         var CookiePieces;         var ReturnValue = "";         var x = 0;          for (x = 0; ((x < SetSize) && (ReturnValue == "")); x++)          {                 CookiePieces = CookieSet[x].split ('=');                  if (CookiePieces[0].substring (0,1) == ' ') {                         CookiePieces[0] = CookiePieces[0].substring (1, CookiePieces[0].length);                 }                 if (CookiePieces[0] == CookieName)                  {                         ReturnValue = CookiePieces[1];                 }         }              if (ReturnValue == "english")         {                 location.replace('http://www.aircanada.ca/e-home.html');                      }         else if (ReturnValue == "french")         {                 location.replace('http://www.aircanada.ca/f-home.html');         }         else if (ReturnValue == "us")         {                 location.replace('http://www.aircanada.com/us-home.html');         }         else if(ReturnValue == "test")         {                isEnabled="true";         }         else if(ReturnValue == "")         {         	// no new lang cookie 		         expiryOldCookie('lang_pref','old'); 		                 } } 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];} } //--> </script> </head>  <body text="#000000" link="#CC0000" vlink="#00534C" alink="#CC0000" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('/images/splash/btn_english_o.gif','/images/splash/btn_francais_o.gif','/images/splash/leaf1.gif','/images/splash/leaf2.gif','/images/splash/banner_entrance.gif')"> <div align="center"> <table width="100%" height="100%" align="center" valign="middle" cellpadding="0" cellspacing="0" border="0"> <tr valign="top"> 	<td><br><br> <!-- graphic table starts here --> <div align="center"> <table width="721" align="center" valign="middle" border="0" cellspacing="0" cellpadding="0"> <tr> 	<td colspan="3"><img src="/images/splash/banner_entrance.gif" width="721" height="61" alt="Air Canada" border="0"></td> </tr> <tr> 	<td colspan="3" bgcolor="#cc0000" height="18" align="right"><img src="/images/splash/t_welcomeaboard.gif" width="133" height="18" alt="Welcome aboard" border="0"><img src="/images/splash/spacer.gif" width="55" height="1" alt="" border="0"><img src="/images/splash/t_bienvenueabord.gif" width="139" height="18" alt="Bienvenue  bord" border="0"><img src="/images/splash/spacer.gif" width="40" height="1" alt="" border="0"></td></tr> <tr> 	<td rowspan="2" width="387" valign="bottom"><br><br><img src="/images/splash/spacer.gif" width="90" height="1" alt="" border="0"><a href="javascript:writeCookie('new_lang_pref','english','/');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('en','','/images/splash/btn_com_english_o.gif',1)"><img src="/images/splash/ar_green.gif" width="13" height="13" alt="arrow" border="0" vspace="3" hspace="4"><img src="/images/splash/btn_com_english.gif" width="59" height="18" alt="English" border="0" name="en"></a><br><img src="/images/splash/spacer.gif" width="1" height="5" alt="" border="0"><br><img src="/images/splash/spacer.gif" width="90" height="1" alt="" border="0"><a href="javascript:writeCookie('new_lang_pref','french','/');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('fr','','/images/splash/btn_com_francais_o.gif',1)"><img src="/images/splash/ar_green.gif" width="13" height="13" alt="arrow" border="0"  vspace="3" hspace="4"><img src="/images/splash/btn_com_francais.gif" width="63" height="17" alt="Fran&ccedil;ais" border="0" name="fr"></a><br><img src="/images/splash/spacer.gif" width="1" height="5" alt="" border="0"><br><img src="/images/splash/spacer.gif" width="90" height="1" alt="" border="0"><a href="javascript:writeCookie('new_lang_pref','us','/');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('us','','/images/splash/btn_com_us-travellers_o.gif',1)"><img src="/images/splash/ar_green.gif" width="13" height="13" alt="arrow" border="0" vspace="2" hspace="4"><img src="/images/splash/btn_com_us-travellers.gif" width="196" height="15" alt="Travellers from the U.S.A." border="0" name="us"></a><img src="/images/splash/spacer.gif" width="80" height="1" alt="" border="0"></td> 	<td rowspan="2" width="163" valign="top"><img src="/images/splash/leaf1.gif" width="163" height="63" alt="Air Canada Leaf" border="0"></td> 	<td width="171" valign="top" align="left"><img src="/images/splash/leaf2.gif" width="171" height="49" alt="Air Canada Leaf" border="0"></td> </tr> <tr> 	<td valign="bottom" align="right"><a href="http://www.staralliance.com"><img src="/images/splash/btn_staralliancemember.gif" width="171" height="19" alt="A Star Alliance Member - Membre du Rseau Star Alliance" border="0"></a></td> </tr> </table></div> <!-- end of graphic table --></td> </tr> <tr> 	<td> <!-- Official Language table starts here --> <div align="center"> <table width="480" align="center" border="0" cellspacing="0" cellpadding="0"> <tr>	 	<td><img src="/images/splash/spacer.gif" width="220" height="20" alt="" border="0"></td> 	<td rowspan="2"><img src="/images/splash/spacer.gif" width="40" height="1" alt="" border="0"></td> 	<td><img src="/images/splash/spacer.gif" width="220" height="1" alt="" border="0"></td> </tr> <tr> 	<td valign="top"><font size="1" face="Verdana, Arial, Geneva, sans-serif" color="#666666"><a href="/about-us/language/">Canada's Official Languages</a><br>The choice is yours<br>The pleasure to serve you is ours.<br>Air Canada is pleased to offer you service in <i>English</i> and <i>French</i>.</font></td> 	<td valign="top"><font size="1" face="Verdana, Arial, Geneva, sans-serif" color="#666666"><a href="/francais/about-us/language/">Langues officielles du Canada</a><br>Le choix est vtre<br>Le plaisir de vous servir est ntre.<br>Air Canada est heureuse de vous servir en <i>franais</i> et en <i>anglais</i>.</font></td> </tr> </table> </div> <!-- end of Official Language table --></td> </tr> </table>  </body> </html> 
