';\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t errorText = 'We have some specially negotiated fares to this destination which we are unable to display. Please call one of our travel experts on
';\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'Dates':\r\n\t\t\t\t\t\t\terrorText = 'The dates that have been submitted are invalid. Your return date must be after your departure date.';\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'DatesTooFarInFuture':\r\n\t\t\t\t\t\t\terrorText = 'The dates you have selected are too far in the future. Please check your search dates.';\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'Location':\r\n\t\t\t\t\t\t\terrorText = 'We\\'re sorry but we do not understand your flight request, please either search again or call us for more information about your desired destination.';\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'TooBig':\r\n\t\t\t\t\t\t\terrorText = 'The location searched for is too large. Please search for a smaller location for example Sydney rather than Australia.';\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tcase 'UnknownError':\r\n\t\t\t\t\t\t\terrorText = 'An unknown error occurred, please try again.';\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\terrorText = 'An unknown error occurred, please try again.';\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (errorText.length > 0) {\r\n\t\t\t\t\t\t_errorText = errorText;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfunction getDebug() {\r\n\r\n\t\t\t\t\treturn { 'Primary': _mainSearchJson, 'IT': _amadeusITFareOnlySearchJson };\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn {\r\n\t\t\t\t\t//Public Methods\r\n\t\t\t\t\tgo: go,\r\n\t\t\t\t\tgetDebug: getDebug\r\n\t\t\t\t};\r\n\r\n\t\t\t}());\r\n\r\n\t\t}());\r\n\r\n\t\tvar SearchCriteria = (function () {\r\n\r\n\t\t\treturn (function () {\r\n\r\n\t\t\t\tfunction setDestinationSearchedForText(a) { _destinationSearchedForText = a; }\r\n\t\t\t\tfunction setOriginNodeId(a) { _originNodeId = a; }\r\n\t\t\t\tfunction setDestinationNodeId(a) { _destinationNodeId = a; }\r\n\t\t\t\tfunction setOriginCode(a) { _originCode = a; }\r\n\t\t\t\tfunction setDestinationCode(a) { _destinationCode = a; }\r\n\t\t\t\tfunction setDepartureDate(a) { _departureDate = a; }\r\n\t\t\t\tfunction setReturnDate(a) { _returnDate = a; }\r\n\t\t\t\tfunction setClassOfTravel(a) { _classOfTravel = a; }\r\n\t\t\t\tfunction setFriendlyDestinationName(a) { _friendlyDestinationName = a; }\r\n\t\t\t\tfunction setIsNewSearch(a) { _isNewSearch = a; }\r\n\t\t\t\tfunction setAirlineId(a) { _airlineId = a; }\r\n\r\n\t\t\t\treturn {\r\n\t\t\t\t\tsetDestinationSearchedForText: setDestinationSearchedForText,\r\n\t\t\t\t\tsetOriginNodeId: setOriginNodeId,\r\n\t\t\t\t\tsetDestinationNodeId: setDestinationNodeId,\r\n\t\t\t\t\tsetOriginCode: setOriginCode,\r\n\t\t\t\t\tsetDestinationCode: setDestinationCode,\r\n\t\t\t\t\tsetDepartureDate: setDepartureDate,\r\n\t\t\t\t\tsetReturnDate: setReturnDate,\r\n\t\t\t\t\tsetClassOfTravel: setClassOfTravel,\r\n\t\t\t\t\tsetFriendlyDestinationName: setFriendlyDestinationName,\r\n\t\t\t\t\tsetIsNewSearch: setIsNewSearch,\r\n\t\t\t\t\tsetAirlineId: setAirlineId\r\n\t\t\t\t};\r\n\r\n\t\t\t}());\r\n\r\n\t\t}());\r\n\r\n\t\tvar Config = (function () {\r\n\r\n\t\t\treturn (function () {\r\n\r\n\t\t\t\tfunction setSearchResultsTemplateId(a) { _searchResultsTemplateId = a; }\r\n\t\t\t\t//function setPackagePriceTemplateId(a) { _packagePriceTemplateId = a; }\r\n\t\t\t\tfunction setLoadingTemplateId(a) { _loadingTemplateId = a; }\r\n\t\t\t\tfunction setResultsLoaderId(a) { _resultsLoaderId = a; }\r\n\t\t\t\tfunction setResultsPlaceHolderId(a) { _resultsPlaceHolderId = a; }\r\n\r\n\t\t\t\treturn {\r\n\t\t\t\t\tsetSearchResultsTemplateId: setSearchResultsTemplateId,\r\n\t\t\t\t\t//setPackagePriceTemplateId: setPackagePriceTemplateId,\r\n\t\t\t\t\tsetLoadingTemplateId: setLoadingTemplateId,\r\n\t\t\t\t\tsetResultsLoaderId: setResultsLoaderId,\r\n\t\t\t\t\tsetResultsPlaceHolderId: setResultsPlaceHolderId\r\n\t\t\t\t};\r\n\r\n\t\t\t}());\r\n\r\n\t\t}());\r\n\r\n\t\tfunction go() {\r\n\r\n\t\t\tSearch.go();\r\n\r\n\t\t}\r\n\r\n\t\tfunction getDebug() {\r\n\r\n\t\t\treturn Search.getDebug();\r\n\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tgo: go,\r\n\t\t\tSearchCriteria: SearchCriteria,\r\n\t\t\tConfig: Config,\r\n\t\t\tgetDebug: getDebug\r\n\t\t};\r\n\r\n\t}());\r\n\r\n}());","/* \r\n * flowplayer.js 3.2.4. The Flowplayer API\r\n * \r\n * Copyright 2009 Flowplayer Oy\r\n * \r\n * This file is part of Flowplayer.\r\n * \r\n * Flowplayer is free software: you can redistribute it and/or modify\r\n * it under the terms of the GNU General Public License as published by\r\n * the Free Software Foundation, either version 3 of the License, or\r\n * (at your option) any later version.\r\n * \r\n * Flowplayer is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n * GNU General Public License for more details.\r\n * \r\n * You should have received a copy of the GNU General Public License\r\n * along with Flowplayer. If not, see .\r\n * \r\n * Date: 2010-08-25 12:48:46 +0000 (Wed, 25 Aug 2010)\r\n * Revision: 551 \r\n */\r\n(function(){function g(o){console.log(\"$f.fireEvent\",[].slice.call(o))}function k(q){if(!q||typeof q!=\"object\"){return q}var o=new q.constructor();for(var p in q){if(q.hasOwnProperty(p)){o[p]=k(q[p])}}return o}function m(t,q){if(!t){return}var o,p=0,r=t.length;if(r===undefined){for(o in t){if(q.call(t[o],o,t[o])===false){break}}}else{for(var s=t[0];p1){var t=arguments[1],q=(arguments.length==3)?arguments[2]:{};if(typeof t==\"string\"){t={src:t}}t=i({bgcolor:\"#000000\",version:[9,0],expressInstall:\"http://static.flowplayer.org/swf/expressinstall.swf\",cachebusting:true},t);if(typeof o==\"string\"){if(o.indexOf(\".\")!=-1){var s=[];m(n(o),function(){s.push(new b(this,k(t),k(q)))});return new d(s)}else{var r=c(o);return new b(r!==null?r:o,t,q)}}else{if(o){return new b(o,t,q)}}}return null};i(window.$f,{fireEvent:function(){var o=[].slice.call(arguments);var q=$f(o[0]);return q?q._fireEvent(o.slice(1)):null},addPlugin:function(o,p){b.prototype[o]=p;return $f},each:m,extend:i});if(typeof jQuery==\"function\"){jQuery.fn.flowplayer=function(q,p){if(!arguments.length||typeof arguments[0]==\"number\"){var o=[];this.each(function(){var r=$f(this);if(r){o.push(r)}});return arguments.length?o[arguments[0]]:new d(o)}return this.each(function(){$f(this,k(q),p?k(p):{})})}}})();(function(){var h=document.all,j=\"http://www.adobe.com/go/getflashplayer\",c=typeof jQuery==\"function\",e=/(\\d+)[^\\d]+(\\d+)[^\\d]*(\\d*)/,b={width:\"100%\",height:\"100%\",id:\"_\"+(\"\"+Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:\"always\",quality:\"high\",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(window.attachEvent){window.attachEvent(\"onbeforeunload\",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function i(m,l){if(l){for(var f in l){if(l.hasOwnProperty(f)){m[f]=l[f]}}}return m}function a(f,n){var m=[];for(var l in f){if(f.hasOwnProperty(l)){m[l]=n(f[l])}}return m}window.flashembed=function(f,m,l){if(typeof f==\"string\"){f=document.getElementById(f.replace(\"#\",\"\"))}if(!f){return}if(typeof m==\"string\"){m={src:m}}return new d(f,i(i({},b),m),l)};var g=i(window.flashembed,{conf:b,getVersion:function(){var m,f;try{f=navigator.plugins[\"Shockwave Flash\"].description.slice(16)}catch(o){try{m=new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash.7\");f=m&&m.GetVariable(\"$version\")}catch(n){try{m=new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash.6\");f=m&&m.GetVariable(\"$version\")}catch(l){}}}f=e.exec(f);return f?[f[1],f[3]]:[0,0]},asString:function(l){if(l===null||l===undefined){return null}var f=typeof l;if(f==\"object\"&&l.push){f=\"array\"}switch(f){case\"string\":l=l.replace(new RegExp('([\"\\\\\\\\])',\"g\"),\"\\\\$1\");l=l.replace(/^\\s?(\\d+\\.?\\d+)%/,\"$1pct\");return'\"'+l+'\"';case\"array\":return\"[\"+a(l,function(o){return g.asString(o)}).join(\",\")+\"]\";case\"function\":return'\"function()\"';case\"object\":var m=[];for(var n in l){if(l.hasOwnProperty(n)){m.push('\"'+n+'\":'+g.asString(l[n]))}}return\"{\"+m.join(\",\")+\"}\"}return String(l).replace(/\\s/g,\" \").replace(/\\'/g,'\"')},getHTML:function(o,l){o=i({},o);var n='\";return n},isSupported:function(f){return k[0]>f[0]||k[0]==f[0]&&k[1]>=f[1]}});var k=g.getVersion();function d(f,n,m){if(g.isSupported(n.version)){f.innerHTML=g.getHTML(n,m)}else{if(n.expressInstall&&g.isSupported([6,65])){f.innerHTML=g.getHTML(i(n,{src:n.expressInstall}),{MMredirectURL:location.href,MMplayerType:\"PlugIn\",MMdoctitle:document.title})}else{if(!f.innerHTML.replace(/\\s/g,\"\")){f.innerHTML=\"
Flash version \"+n.version+\" or greater is required
\"+(k[0]>0?\"Your version is \"+k:\"You have no flash plugin installed\")+\"