< script > Out For lavion.ma

The code you see in this area creates the libraries of java script code for a website. Java script codes are used with html. Such as adding effects to objects, providing foreground and background code interactivity, and so on.

<script type="text/javascript"> var _veroq = _veroq || []; _veroq.push(['init', { api_key: '5477f66223c6927c670707462131e38d1efa76d3' } ]); (function() {var ve = document.createElement('script'); ve.type = 'text/javascript'; ve.async = true; ve.src = '//d3qxef4rp70elm.cloudfront.net/m.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ve, s);})(); var _bha = _bha || []; (function() { _bha.push(['setKey', { app_key: '7654ae508ade5a9c01dbd566eca6b5a9d5e2135a' } ]); (function() {var bh = document.createElement('script'); bh.type = 'text/javascript'; bh.async = true; bh.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'api.bihavior.com/bihaviorAPI/js/bihavior.js?v=0'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(bh, s);})(); })(); /*_bha.push(["nHosted", {loginUrl:"http://www.lavion.ma/",loginDiv:"login_divv",callbackFunction:"callfun"} ]);*/ </script></br><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script></br><script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script></br><script src="/js/jquery.ui.datepicker-fr.js"></script></br><script type="text/javascript" src="/js/script.js"></script></br><script type="text/javascript" src="js/jquery.validate.js"></script></br><script> // load_popup("newsletter"); var popupStatus = 0; var checkFirstTime = 0; var popupHeight; var popupStatus_map = 0; var checkFirstTime_map = 0; var popupHeight_map; var popup_id = ""; function getScrollXY() { var scrOfX = 0, scrOfY = 0; if (typeof (window.pageYOffset) == "number") { scrOfY = window.pageYOffset; scrOfX = window.pageXOffset; } else { if (document.body && (document.body.scrollLeft || document.body.scrollTop)) { scrOfY = document.body.scrollTop; scrOfX = document.body.scrollLeft; } else { if (document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)) { scrOfY = document.documentElement.scrollTop; scrOfX = document.documentElement.scrollLeft; } } } return { X: scrOfX, Y: scrOfY }; } function load_popup(id) { popup_id = id; var sel = "#" + id; var elm = $(sel); if (popupStatus_map == 0) { $("#popup_bgd").css({ "width": window.top.document.body.scrollWidth, "height": window.top.document.body.scrollHeight, "opacity": "0.7" }); $("#popup_bgd").show(); elm.show(); popupStatus_map = 1; } center_popup(id); } function center_popup(id) { var sel = "#" + id; var elm = $(sel); var windowDim = getWindowSize(); if (checkFirstTime_map == 0) { popupHeight_map = elm.height(); checkFirstTime_map = 1; } var popupWidth = elm.width(); var scroll = getScrollXY(); elm.css({ "top": windowDim.Y / 2 - popupHeight_map / 2 + (scroll.Y - 0), "left": windowDim.X / 2 - popupWidth / 2 + scroll.X - 5 }); $("#backgroundPopup_map").css({ "height": window.top.document.body.scrollHeight }); } function getWindowSize() { var myWidth = 0, myHeight = 0; if (typeof (window.innerWidth) == "number") { myWidth = window.innerWidth; myHeight = window.innerHeight; } else { if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) { myWidth = document.documentElement.clientWidth; myHeight = document.documentElement.clientHeight; } else { if (document.body && (document.body.clientWidth || document.body.clientHeight)) { myWidth = document.body.clientWidth; myHeight = document.body.clientHeight; } } } return { X: myWidth, Y: myHeight }; } function disable_popup() { $(".popup").hide(); $("#popup_bgd").hide(); } function getTopAndLeft(id) { var sel = "#" + id; var windowDim = getWindowSize(); var popupWidth = $(sel).width(); var popupHeight = $(sel).height(); var scroll = getScrollXY(); $(sel).css({ "top": windowDim.Y / 2 - popupHeight / 2 + (scroll.Y), "left": windowDim.X / 2 - popupWidth / 2 + scroll.X - 5 }); } $(document).ready(function () { $("a.close").click(function () { disable_popup(); }); }); $(document).ready(function() { $("#splush_form").validate(); $('#src').focus(); $("#two-way-ticket").click(function(){ $("#div_multiple").hide(); $("#div_simple").show(); $(".completion-container-back").show("fast"); $("#submit3").hide(); $("#submit2").show(); }); $("#one-way-ticket").click(function(){ $("#div_multiple").hide(); $("#div_simple").show(); $(".completion-container-back").hide("fast"); $("#submit3").hide(); $("#submit2").show(); }); $("#recherche-multiple").click(function(){ $("#div_simple").hide(); $("#div_multiple").show(); $("#submit2").hide(); $("#submit3").show(); }); $("#myDatesFlexible").click(function(){ if($(this).hasClass('off')){ $(".flexSet").hide(); $(".flexNotSet").show(); $("#flexSectionDiv").show("fast"); $(this).removeClass('off'); $("#AdvancedSearch").val('true'); }else{ $(".flexSet").show(); $(".flexNotSet").hide(); $("#flexSectionDiv").hide("fast"); $(this).addClass('off'); $("#AdvancedSearch").val('false'); } return false; }); var myDate = new Date(); var myDate2 = new Date(); myDate.setDate(myDate.getDate() ); myDate2.setDate(myDate2.getDate() + 7); // $("#from").datepicker("setDate",10); $( "#from" ).datepicker({ // defaultDate: 0, minDate:myDate, onSelect: function( selectedDate ) { //console.log(selectedDate); $( "#to" ).datepicker( "option", "minDate", selectedDate ); } }); $( "#to" ).datepicker({ // defaultDate: "+4d", minDate:myDate2, onSelect: function( selectedDate ) { $( "#from" ).datepicker( "option", "maxDate", selectedDate ); //$( "#from" ).datepicker( "option", "minDate", myDate ); } }); $( ".from" ).datepicker({ // defaultDate: 0, minDate:myDate, // onSelect: function( selectedDate ) { // //console.log(selectedDate); // // $( "#to" ).datepicker( "option", "minDate", selectedDate ); // } }); $( "#src" ).autocomplete({ source:'data.php', minLength: 2, select: function( event, ui ) { $("#pays-src-hidden").val( ui.item.countryFR ); if(ui.item.name == ""){ $(this).val( ui.item.cityFR + " (Tous les aéroports)"); $("#src-hidden").val( ui.item.cityCode ); }else{ $(this).val( ui.item.cityFR + " (" + ui.item.iataCode + ")" ); $("#src-hidden").val( ui.item.iataCode); } return false; } }).bind('focus', function(){ $(this).autocomplete("search"); } ).data( "ui-autocomplete" )._renderItem = function( ul, item ) { var re = new RegExp("^" + this.term, "i") ; var t = item.cityFR.replace(re,"<span style='font-weight:bold;text-transform: capitalize;'>" + this.term + "</span>"); if(item.name == ""){ return $( "<li></li>" ) .data( "item.ui-autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - Tous les aéroports"+ "</b></a>" ) .appendTo(ul); }else{ return $( "<li class='sub'></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - " + item.name + "<b>(" + item.iataCode + ")</b>"+ "</b></a>" ) .appendTo( ul ) } }; $( "#dst" ).autocomplete( { source:'data.php', minLength: 2, select: function( event, ui ) { $("#pays-dst-hidden").val( ui.item.countryFR ); if(ui.item.name == ""){ $(this).val( ui.item.cityFR + " (Tous les aéroports)"); $("#dst-hidden").val( ui.item.cityCode ); }else{ $(this).val( ui.item.cityFR + " (" + ui.item.iataCode + ")" ); $("#dst-hidden").val( ui.item.iataCode); } return false; } }).bind('focus', function(){ $(this).autocomplete("search"); } ).data( "ui-autocomplete" )._renderItem = function( ul, item ) { var re = new RegExp("^" + this.term, "i") ; var t = item.cityFR.replace(re,"<span style='font-weight:bold;text-transform: capitalize;'>" + this.term + "</span>"); if(item.name == ""){ return $( "<li></li>" ) .data( "item.ui-autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - Tous les aéroports"+ "</b></a>" ) .appendTo(ul); }else{ return $( "<li class='sub'></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - " + item.name + "<b>(" + item.iataCode + ")</b>"+ "</b></a>" ) .appendTo( ul ) } } $( "#src1" ).autocomplete({ source:'data.php', minLength: 2, select: function( event, ui ) { $("#pays-src1-hidden").val( ui.item.countryFR ); if(ui.item.name == ""){ $(this).val( ui.item.cityFR + " (Tous les aéroports)"); $("#src1-hidden").val( ui.item.cityCode ); }else{ $(this).val( ui.item.cityFR + " (" + ui.item.iataCode + ")" ); $("#src1-hidden").val( ui.item.iataCode); } return false; } }).bind('focus', function(){ $(this).autocomplete("search"); } ).data( "ui-autocomplete" )._renderItem = function( ul, item ) { var re = new RegExp("^" + this.term, "i") ; var t = item.cityFR.replace(re,"<span style='font-weight:bold;text-transform: capitalize;'>" + this.term + "</span>"); if(item.name == ""){ return $( "<li></li>" ) .data( "item.ui-autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - Tous les aéroports"+ "</b></a>" ) .appendTo(ul); }else{ return $( "<li class='sub'></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - " + item.name + "<b>(" + item.iataCode + ")</b>"+ "</b></a>" ) .appendTo( ul ) } }; $( "#dst1" ).autocomplete( { source:'data.php', minLength: 2, select: function( event, ui ) { $("#pays-dst1-hidden").val( ui.item.countryFR ); if(ui.item.name == ""){ $(this).val( ui.item.cityFR + " (Tous les aéroports)"); $("#dst1-hidden").val( ui.item.cityCode ); }else{ $(this).val( ui.item.cityFR + " (" + ui.item.iataCode + ")" ); $("#dst1-hidden").val( ui.item.iataCode); } return false; } }).bind('focus', function(){ $(this).autocomplete("search"); } ).data( "ui-autocomplete" )._renderItem = function( ul, item ) { var re = new RegExp("^" + this.term, "i") ; var t = item.cityFR.replace(re,"<span style='font-weight:bold;text-transform: capitalize;'>" + this.term + "</span>"); if(item.name == ""){ return $( "<li></li>" ) .data( "item.ui-autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - Tous les aéroports"+ "</b></a>" ) .appendTo(ul); }else{ return $( "<li class='sub'></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - " + item.name + "<b>(" + item.iataCode + ")</b>"+ "</b></a>" ) .appendTo( ul ) } } $( "#src2" ).autocomplete({ source:'data.php', minLength: 2, select: function( event, ui ) { $("#pays-src2-hidden").val( ui.item.countryFR ); if(ui.item.name == ""){ $(this).val( ui.item.cityFR + " (Tous les aéroports)"); $("#src2-hidden").val( ui.item.cityCode ); }else{ $(this).val( ui.item.cityFR + " (" + ui.item.iataCode + ")" ); $("#src2-hidden").val( ui.item.iataCode); } return false; } }).bind('focus', function(){ $(this).autocomplete("search"); } ).data( "ui-autocomplete" )._renderItem = function( ul, item ) { var re = new RegExp("^" + this.term, "i") ; var t = item.cityFR.replace(re,"<span style='font-weight:bold;text-transform: capitalize;'>" + this.term + "</span>"); if(item.name == ""){ return $( "<li></li>" ) .data( "item.ui-autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - Tous les aéroports"+ "</b></a>" ) .appendTo(ul); }else{ return $( "<li class='sub'></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - " + item.name + "<b>(" + item.iataCode + ")</b>"+ "</b></a>" ) .appendTo( ul ) } }; $( "#dst2" ).autocomplete( { source:'data.php', minLength: 2, select: function( event, ui ) { $("#pays-dst2-hidden").val( ui.item.countryFR ); if(ui.item.name == ""){ $(this).val( ui.item.cityFR + " (Tous les aéroports)"); $("#dst2-hidden").val( ui.item.cityCode ); }else{ $(this).val( ui.item.cityFR + " (" + ui.item.iataCode + ")" ); $("#dst2-hidden").val( ui.item.iataCode); } return false; } }).bind('focus', function(){ $(this).autocomplete("search"); } ).data( "ui-autocomplete" )._renderItem = function( ul, item ) { var re = new RegExp("^" + this.term, "i") ; var t = item.cityFR.replace(re,"<span style='font-weight:bold;text-transform: capitalize;'>" + this.term + "</span>"); if(item.name == ""){ return $( "<li></li>" ) .data( "item.ui-autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - Tous les aéroports"+ "</b></a>" ) .appendTo(ul); }else{ return $( "<li class='sub'></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - " + item.name + "<b>(" + item.iataCode + ")</b>"+ "</b></a>" ) .appendTo( ul ) } } $( "#src3" ).autocomplete({ source:'data.php', minLength: 2, select: function( event, ui ) { $("#pays-src3-hidden").val( ui.item.countryFR ); if(ui.item.name == ""){ $(this).val( ui.item.cityFR + " (Tous les aéroports)"); $("#src3-hidden").val( ui.item.cityCode ); }else{ $(this).val( ui.item.cityFR + " (" + ui.item.iataCode + ")" ); $("#src3-hidden").val( ui.item.iataCode); } return false; } }).bind('focus', function(){ $(this).autocomplete("search"); } ).data( "ui-autocomplete" )._renderItem = function( ul, item ) { var re = new RegExp("^" + this.term, "i") ; var t = item.cityFR.replace(re,"<span style='font-weight:bold;text-transform: capitalize;'>" + this.term + "</span>"); if(item.name == ""){ return $( "<li></li>" ) .data( "item.ui-autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - Tous les aéroports"+ "</b></a>" ) .appendTo(ul); }else{ return $( "<li class='sub'></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - " + item.name + "<b>(" + item.iataCode + ")</b>"+ "</b></a>" ) .appendTo( ul ) } }; $( "#dst3" ).autocomplete( { source:'data.php', minLength: 2, select: function( event, ui ) { $("#pays-dst3-hidden").val( ui.item.countryFR ); if(ui.item.name == ""){ $(this).val( ui.item.cityFR + " (Tous les aéroports)"); $("#dst3-hidden").val( ui.item.cityCode ); }else{ $(this).val( ui.item.cityFR + " (" + ui.item.iataCode + ")" ); $("#dst3-hidden").val( ui.item.iataCode); } return false; } }).bind('focus', function(){ $(this).autocomplete("search"); } ).data( "ui-autocomplete" )._renderItem = function( ul, item ) { var re = new RegExp("^" + this.term, "i") ; var t = item.cityFR.replace(re,"<span style='font-weight:bold;text-transform: capitalize;'>" + this.term + "</span>"); if(item.name == ""){ return $( "<li></li>" ) .data( "item.ui-autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - Tous les aéroports"+ "</b></a>" ) .appendTo(ul); }else{ return $( "<li class='sub'></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - " + item.name + "<b>(" + item.iataCode + ")</b>"+ "</b></a>" ) .appendTo( ul ) } } $( "#src4" ).autocomplete({ source:'data.php', minLength: 2, select: function( event, ui ) { $("#pays-src4-hidden").val( ui.item.countryFR ); if(ui.item.name == ""){ $(this).val( ui.item.cityFR + " (Tous les aéroports)"); $("#src4-hidden").val( ui.item.cityCode ); }else{ $(this).val( ui.item.cityFR + " (" + ui.item.iataCode + ")" ); $("#src4-hidden").val( ui.item.iataCode); } return false; } }).bind('focus', function(){ $(this).autocomplete("search"); } ).data( "ui-autocomplete" )._renderItem = function( ul, item ) { var re = new RegExp("^" + this.term, "i") ; var t = item.cityFR.replace(re,"<span style='font-weight:bold;text-transform: capitalize;'>" + this.term + "</span>"); if(item.name == ""){ return $( "<li></li>" ) .data( "item.ui-autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - Tous les aéroports"+ "</b></a>" ) .appendTo(ul); }else{ return $( "<li class='sub'></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - " + item.name + "<b>(" + item.iataCode + ")</b>"+ "</b></a>" ) .appendTo( ul ) } }; $( "#dst4" ).autocomplete( { source:'data.php', minLength: 2, select: function( event, ui ) { $("#pays-dst4-hidden").val( ui.item.countryFR ); if(ui.item.name == ""){ $(this).val( ui.item.cityFR + " (Tous les aéroports)"); $("#dst4-hidden").val( ui.item.cityCode ); }else{ $(this).val( ui.item.cityFR + " (" + ui.item.iataCode + ")" ); $("#dst4-hidden").val( ui.item.iataCode); } return false; } }).bind('focus', function(){ $(this).autocomplete("search"); } ).data( "ui-autocomplete" )._renderItem = function( ul, item ) { var re = new RegExp("^" + this.term, "i") ; var t = item.cityFR.replace(re,"<span style='font-weight:bold;text-transform: capitalize;'>" + this.term + "</span>"); if(item.name == ""){ return $( "<li></li>" ) .data( "item.ui-autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - Tous les aéroports"+ "</b></a>" ) .appendTo(ul); }else{ return $( "<li class='sub'></li>" ) .data( "item.autocomplete", item ) .append( "<a>" + t +", "+item.countryFR + " - " + item.name + "<b>(" + item.iataCode + ")</b>"+ "</b></a>" ) .appendTo( ul ) } } $("#submit").click(function() { var check=true; var error=""; if($("#src").val()=="" || $("#src").val().length <3 ||$("#src-hidden").val()==""){ check=false; makeBorderRed("#src"); error+='<div class="alert alert-error alert-src">Veuillez sélectionner une ville de départ.</div>'; $('#src').focus(); }else{ removeBorderRed("#src"); } if($("#dst").val()=="" || $("#dst").val().length <3 ||$("#dst-hidden").val()==""){ check=false; makeBorderRed("#dst"); error+='<div class="alert alert-error alert-dst">Veuillez sélectionner une ville d\'arrivée.</div>'; $('#dst').focus(); }else{ removeBorderRed("#dst"); } if($("#from").val()==""){ check=false; makeBorderRed("#from"); }else{ removeBorderRed("#from"); } if(!$('#one-way-ticket').is(':checked')){ if($("#to").val()==""){ check=false; makeBorderRed("#to"); }else{ removeBorderRed("#to"); } var date1 = $( "#from" ).datepicker("getDate"); var date2 = $( "#to" ).datepicker("getDate"); var d1=date1.getTime(); var d2=date2.getTime(); console.log(d1); console.log(d2); if(d1>=d2){ check=false; makeBorderRed("#from"); makeBorderRed("#to"); error+='<div class="alert alert-error alert-date">La date de départ doit être postérieure à la date d\'arrivée.</div>' }else{ removeBorderRed("#from"); removeBorderRed("#to"); } } if($("#dst").val()=="" || $("#dst").val().length <3 ||$("#dst-hidden").val()==""){ check=false; makeBorderRed("#dst"); }else{ removeBorderRed("#dst"); } if($("#FormDepartureTime").val()==""){ check=false; makeBorderRed("#FormDepartureTime"); }else{ removeBorderRed("#FormDepartureTime"); } if($("#ToDepartureTime").val()==""){ check=false; makeBorderRed("#ToDepartureTime"); }else{ removeBorderRed("#ToDepartureTime"); } if($("#adultNum").val()==""){ check=false; makeBorderRed("#adultNum"); }else{ removeBorderRed("#adultNum"); } if($("#childNum").val()==""){ check=false; makeBorderRed("#childNum"); }else{ removeBorderRed("#childNum"); } if($("#infantNum").val()==""){ check=false; makeBorderRed("#infantNum"); }else{ removeBorderRed("#infantNum"); } if($("#class-of-service").val()==""){ check=false; makeBorderRed("#class-of-service"); }else{ removeBorderRed("#class-of-service"); } if($("#src-hidden").val()!="" && $("#dst-hidden").val()!="" && ($("#pays-src-hidden").val()!="Maroc" && $("#pays-dst-hidden").val()!="Maroc")){ check=false; error+='<div class="alert alert-error alert-date">Votre itinéraire doit contenir au moins une ville marocaine.</div>' } if(check==false){ $('div.html-alert').html(error); return false; } $('div.html-alert').html(''); var from = $("#src-hidden").val().toLowerCase(); from = from.replace(" ", "_"); from = from.replace(" ", "_"); from = from.replace(" ", "_"); var to = $("#dst-hidden").val().toLowerCase(); to = to.replace(" ", "_"); to = to.replace(" ", "_"); to = to.replace(" ", "_"); var dateFrom = $("#from").val().toLowerCase(); dateFrom = dateFrom.replace("/", "-"); dateFrom = dateFrom.replace("/", "-"); var dateTo = $("#to").val().toLowerCase(); dateTo = dateTo.replace("/", "-"); dateTo = dateTo.replace("/", "-"); if(!$('#one-way-ticket').is(':checked')){ dateTo = '/' + dateTo; }else{ dateTo = ''; } // alert(dateTo);return false; var action ='http://www.lavion.ma/vol/' + from + '-' + to + '/' + dateFrom + dateTo; // alert(action); $("#searchForm").attr('action', action); $("#searchForm").submit(); }); /*******/ $("#submit2").click(function() { var check=true; var error=""; if($("#src").val()=="" || $("#src").val().length <3 ||$("#src-hidden").val()==""){ check=false; makeBorderRed("#src"); error+='<div class="alert alert-error alert-src">Veuillez sélectionner une ville de départ.</div>'; $('#src').focus(); }else{ removeBorderRed("#src"); } if($("#dst").val()=="" || $("#dst").val().length <3 ||$("#dst-hidden").val()==""){ check=false; makeBorderRed("#dst"); error+='<div class="alert alert-error alert-dst">Veuillez sélectionner une ville d\'arrivée.</div>'; $('#dst').focus(); }else{ removeBorderRed("#dst"); } if($("#from").val()==""){ check=false; makeBorderRed("#from"); }else{ removeBorderRed("#from"); } if(!$('#one-way-ticket').is(':checked')){ if($("#to").val()==""){ check=false; makeBorderRed("#to"); }else{ removeBorderRed("#to"); } var date1 = $( "#from" ).datepicker("getDate"); var date2 = $( "#to" ).datepicker("getDate"); var d1=date1.getTime(); var d2=date2.getTime(); console.log(d1); console.log(d2); if(d1>=d2){ check=false; makeBorderRed("#from"); makeBorderRed("#to"); error+='<div class="alert alert-error alert-date">La date de départ doit être postérieure à la date d\'arrivée.</div>' }else{ removeBorderRed("#from"); removeBorderRed("#to"); } } if($("#dst").val()=="" || $("#dst").val().length <3 ||$("#dst-hidden").val()==""){ check=false; makeBorderRed("#dst"); }else{ removeBorderRed("#dst"); } if($("#FormDepartureTime").val()==""){ check=false; makeBorderRed("#FormDepartureTime"); }else{ removeBorderRed("#FormDepartureTime"); } if($("#ToDepartureTime").val()==""){ check=false; makeBorderRed("#ToDepartureTime"); }else{ removeBorderRed("#ToDepartureTime"); } if($("#adultNum").val()==""){ check=false; makeBorderRed("#adultNum"); }else{ removeBorderRed("#adultNum"); } if($("#childNum").val()==""){ check=false; makeBorderRed("#childNum"); }else{ removeBorderRed("#childNum"); } if($("#infantNum").val()==""){ check=false; makeBorderRed("#infantNum"); }else{ removeBorderRed("#infantNum"); } if($("#class-of-service").val()==""){ check=false; makeBorderRed("#class-of-service"); }else{ removeBorderRed("#class-of-service"); } if($("#src-hidden").val()!="" && $("#dst-hidden").val()!="" && ($("#pays-src-hidden").val()!="Maroc" && $("#pays-dst-hidden").val()!="Maroc")){ check=false; error+='<div class="alert alert-error alert-date">Votre itinéraire doit contenir au moins une ville marocaine.</div>' } if(check==false){ $('div.html-alert').html(error); return false; } $('div.html-alert').html(''); var from = $("#src-hidden").val().toLowerCase(); from = from.replace(" ", "_"); from = from.replace(" ", "_"); from = from.replace(" ", "_"); var to = $("#dst-hidden").val().toLowerCase(); to = to.replace(" ", "_"); to = to.replace(" ", "_"); to = to.replace(" ", "_"); var dateFrom = $("#from").val().toLowerCase(); dateFrom = dateFrom.replace("/", "-"); dateFrom = dateFrom.replace("/", "-"); var dateTo = $("#to").val().toLowerCase(); dateTo = dateTo.replace("/", "-"); dateTo = dateTo.replace("/", "-"); if(!$('#one-way-ticket').is(':checked')){ dateTo = '/' + dateTo; }else{ dateTo = ''; } // alert(dateTo);return false; var action ='http://www.lavion.ma/vol/' + from + '-' + to + '/' + dateFrom + dateTo; // alert(action); $("#searchForm").attr('action', action); $("#searchForm").submit(); }); $("#submit3").click(function() { var check=true; var error=""; if($("#src1").val()=="" || $("#src1").val().length <3 ||$("#src1-hidden").val()==""){ check=false; makeBorderRed("#src1"); error+='<div class="alert alert-error alert-src">Veuillez sélectionner une ville de départ.</div>'; $('#src1').focus(); }else{ removeBorderRed("#src1"); } if($("#dst1").val()=="" || $("#dst1").val().length <3 ||$("#dst1-hidden").val()==""){ check=false; makeBorderRed("#dst1"); error+='<div class="alert alert-error alert-dst">Veuillez sélectionner une ville d\'arrivée.</div>'; $('#dst1').focus(); }else{ removeBorderRed("#dst1"); } if($("#from1").val()==""){ check=false; makeBorderRed("#from1"); }else{ removeBorderRed("#from1"); } if($("#adultNum").val()==""){ check=false; makeBorderRed("#adultNum"); }else{ removeBorderRed("#adultNum"); } if($("#childNum").val()==""){ check=false; makeBorderRed("#childNum"); }else{ removeBorderRed("#childNum"); } if($("#infantNum").val()==""){ check=false; makeBorderRed("#infantNum"); }else{ removeBorderRed("#infantNum"); } if($("#class-of-service").val()==""){ check=false; makeBorderRed("#class-of-service"); }else{ removeBorderRed("#class-of-service"); } if($("#src1-hidden").val()!="" && $("#dst1-hidden").val()!="" && ($("#pays-src1-hidden").val()!="Maroc" && $("#pays-dst1-hidden").val()!="Maroc") && $("#src2-hidden").val()!="" && $("#dst2-hidden").val()!="" && ($("#pays-src2-hidden").val()!="Maroc" && $("#pays-dst2-hidden").val()!="Maroc") && $("#src3-hidden").val()!="" && $("#dst3-hidden").val()!="" && ($("#pays-src3-hidden").val()!="Maroc" && $("#pays-dst3-hidden").val()!="Maroc") && $("#src4-hidden").val()!="" && $("#dst4-hidden").val()!="" && ($("#pays-src4-hidden").val()!="Maroc" && $("#pays-dst4-hidden").val()!="Maroc") ){ check=false; error+='<div class="alert alert-error alert-date">Votre itinéraire doit contenir au moins une ville marocaine.</div>' } var arr = []; arr.push($('#src1-hidden').val()); arr.push($('#dst1-hidden').val()); if ($('#src2-hidden').val()) {arr.push($('#src2-hidden').val());}; if ($('#src3-hidden').val()) {arr.push($('#src3-hidden').val());}; if ($('#src4-hidden').val()) {arr.push($('#src4-hidden').val());}; if ($('#dst2-hidden').val()) {arr.push($('#dst2-hidden').val());}; if ($('#dst3-hidden').val()) {arr.push($('#dst3-hidden').val());}; if ($('#dst4-hidden').val()) {arr.push($('#dst4-hidden').val());}; console.log(arr.length); uniqueArray = arr.filter(function(item, pos) { return arr.indexOf(item) == pos; }); console.log(uniqueArray.length); if(uniqueArray.length>4){ check=false; error+='<div class="alert alert-error alert-date">Max. 4 villes de départ sont permises.</div>' } if(check==false){ $('div.html-alert').html(error); return false; } $('div.html-alert').html(''); var from = $("#src1-hidden").val().toLowerCase(); from = from.replace(" ", "_"); from = from.replace(" ", "_"); from = from.replace(" ", "_"); var to = $("#dst1-hidden").val().toLowerCase(); to = to.replace(" ", "_"); to = to.replace(" ", "_"); to = to.replace(" ", "_"); var dateFrom = $("#from1").val().toLowerCase(); dateFrom = dateFrom.replace("/", "-"); dateFrom = dateFrom.replace("/", "-"); // alert(dateTo);return false; var action ='http://www.lavion.ma/vol/' + from + '-' + to + '/' + dateFrom ; // alert(action); $("#searchForm").attr('action', action); $("#searchForm").submit(); }); $('#add_segment').click(function() { $('#sgmt').val(parseInt($('#sgmt').val())+1); $('#col_'+$('#sgmt').val()).show(); $('.clf').removeClass('clf_active'); $('#col_'+$('#sgmt').val()).addClass('clf_active'); if (parseInt($('#sgmt').val()) == 4) { $('#col_5').hide(); }; }); $('.delete_col').click(function() { $('#col_'+$(this).data('id')).hide(); $('#sgmt').val(parseInt($('#sgmt').val())-1); $('#col_5').show(); $('.clf').removeClass('clf_active'); $('#col_'+$('#sgmt').val()).addClass('clf_active'); }); /******/ function makeBorderRed(dom){$(dom).css({"border":"1px solid red"/*,"background": "rgba(255, 0, 0, 0.08)"*/});} function removeBorderRed(dom){$(dom).css({"border":"1px solid #b8b199"/*,"background":"none"*/});} }); </script></br><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-53637de7501ac508"></script></br><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-43133331-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script></br><script type="text/javascript"> var $_Tawk_API={},$_Tawk_LoadStart=new Date(); (function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; s1.async=true; s1.src='https://embed.tawk.to/5773e4d6fa93b15765479c90/default'; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })(); </script></br><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-WZSWZH');</script></br>

< meta > Out For lavion.ma

A meta tag is a line in which a lot of informational lines take place from the head of a site to the description field. What a website is related to includes many areas, such as key words.

<meta http-equiv="X-UA-Compatible" content="IE=edge"></br><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"></br><meta name="viewport" content="width=device-width, initial-scale=1"></br><meta name="description" content="Comparez des centaines de compagnies aériennes pour trouver le billet d'avion le moins cher en provenance du Maroc ou à destination du Maroc. "></br><meta name="keywords" content="vol pas cher, vol casablanca, vol marrakech, royal air maroc, air france, air arabia, Cheap Flights, Airline Tickets, Cheap Tickets, Discount Airline Tickets, Airfare, Flight Deals, Plane Tickets, Airlines"></br><meta property="og:title" content="Comparateur de vols et achat de billets d'avion pas chers - Lavion.ma"></br><meta property="og:image" content="http://www.lavion.ma/lavion-logo-fc.png"></br><meta property="og:site_name" content="Lavion.ma"></br><meta property="og:description" content="Comparez des centaines de compagnies aériennes pour trouver le billet d'avion le moins cher en provenance du Maroc ou à destination du Maroc."></br>

< link > Out For lavion.ma

Links are lines that contain all the libraries or other references to a web site, such as the name tag. These lines vary according to each website.

<link rel="shortcut icon" href="/img/favicon.ico"></br><link rel="stylesheet" href="/css/style3.css?v=30" type="text/css"></br><link rel="stylesheet" href="/css/jquery-ui-1.7.2.custom.css"></br>

Whois For lavion.ma

Whois information is the information platform that holds the history of the purchase date of a website to which it belongs, such as the expiration date.
{"response_code":"success","formatted_data":{"DomainName":"lavion.ma","RegistrarWHOISServer":"","LastupdateofWHOISdatabase":"","CreationDate":"2013-05-30T23:00:00.000Z","DomainStatus":"clientTransferProhibited","RegistrantName":"\"\"\"\"\"\"\"SUPER CITY DEAL SARL\"\"\"\"\"\"\"","AdminName":"RIADI AMINE","AdminPhone":"+212.522491944","AdminPhoneExt":"","AdminEmail":"domaines@heberjahiz.com","TechName":"RIADI AMINE","TechPhone":"+212.522491944","TechPhoneExt":"","TechEmail":"domaines@heberjahiz.com","NameServer":"dmns2.heberjahiz.com"},"raw_data":"

Domain Name: lavion.ma
Updated Date: 2016-09-21T10:50:19.787Z
Creation Date: 2013-05-30T23:00:00.000Z
Registry Expiry Date: 2020-05-30T23:00:00.000Z
Sponsoring Registrar: ARCANES TECHNOLOGIES
Domain Status: ok
Domain Status: clientTransferProhibited
Registrant Name: \"\"\"\"\"\"\"SUPER CITY DEAL SARL\"\"\"\"\"\"\"
Admin Name: RIADI AMINE
Admin Phone: +212.522491944
Admin Phone Ext:
Admin Email: domaines@heberjahiz.com
Tech Name: RIADI AMINE
Tech Phone: +212.522491944
Tech Phone Ext:
Tech Email: domaines@heberjahiz.com
Name Server: dmns1.heberjahiz.com
Name Server: dmns2.heberjahiz.com
>>> "}

Dig Query For lavion.ma

Dig is useful for network troubleshooting and training purposes. Dig can run in interactive command line mode or in batch mode while reading requests from an operating system file. When a specific name server is not specified in the command invocation, the operating system, which is usually configured through the resolv.conf file, uses the default resolver. It queries the DNS root zone without any arguments.
Version: 1.0.0.0,Dns Server: fec0:0:0:ffff::1%1,Qtype: A,Name: lavion.ma,OPCODE: Query,RCODE: NoError,ID: 43339,QR: True,AA: False,RD: True,RA: True,QDCOUNT: 1,ANCOUNT: 1,NSCOUNT: 2,ARCOUNT: 0,QUESTION SECTION: lavion.ma. IN A,ANSWER SECTION:lavion.ma. 7200 IN A 54.226.21.60,lavion.ma. 7199 IN NS dmns2.heberjahiz.com.lavion.ma. 7199 IN NS dmns1.heberjahiz.com.,Query time: 1,SERVER: 62.210.16.6,PORT: 53,WHEN: Sat Nov 26 14:56:07 2016,MSG SIZE rcvd: 97

< html > Out For lavion.ma

# Name Count
1 Script Count 11
2 Meta Count 9
3 Link Count 3
4 Ul Count 0
5 Table Count 0
6 < a > Count 38
7 div Count 76
8 H1 Count 1
9 H2 Count 1

< head > Out For lavion.ma

Title

Comparateur de vols et achat de billets d'avion pas chers - Lavion.ma

Desc

Comparez des centaines de compagnies aériennes pour trouver le billet d'avion le moins cher en provenance du Maroc ou à destination du Maroc.

Keywords

vol pas cher, vol casablanca, vol marrakech, royal air maroc, air france, air arabia, Cheap Flights, Airline Tickets, Cheap Tickets, Discount Airline Tickets, Airfare, Flight Deals, Plane Tickets, Airlines


< head > Inf. Out For lavion.ma

# Name Count
1 Title Count 69
2 Description Count 142
3 Keywords Count 205

Domain Test

# Name Flag
1 Name lavion
2 Length 6 Characters.
3 Extension .ma

Mistakes Out For lavion.ma

Includes the most common mistakes made in search engines. The algorithm has been developed to produce results in a way that would be similar to a mistake made in the real sense. You may be able to see the options of domains similar to your website's domain by reviewing the list in this area. Or you can buy the domain name generated by our algorithm that you think will be useful.
  • 1- http://www.avion.ma
  • 2- http://www.pavion.ma
  • 3- http://www.lpavion.ma
  • 4- http://www.plavion.ma
  • 5- http://www.kavion.ma
  • 6- http://www.lkavion.ma
  • 7- http://www.klavion.ma
  • 8- http://www.oavion.ma
  • 9- http://www.loavion.ma
  • 10- http://www.olavion.ma
  • 11- http://www.lvion.ma
  • 12- http://www.lzvion.ma
  • 13- http://www.lazvion.ma
  • 14- http://www.lzavion.ma
  • 15- http://www.lwvion.ma
  • 16- http://www.lawvion.ma
  • 17- http://www.lwavion.ma
  • 18- http://www.lsvion.ma
  • 19- http://www.lasvion.ma
  • 20- http://www.lsavion.ma
  • 21- http://www.lqvion.ma
  • 22- http://www.laqvion.ma
  • 23- http://www.lqavion.ma
  • 24- http://www.laion.ma
  • 25- http://www.lagion.ma
  • 26- http://www.lavgion.ma
  • 27- http://www.lagvion.ma
  • 28- http://www.lafion.ma
  • 29- http://www.lavfion.ma
  • 30- http://www.lafvion.ma
  • 31- http://www.lacion.ma
  • 32- http://www.lavcion.ma
  • 33- http://www.lacvion.ma
  • 34- http://www.labion.ma
  • 35- http://www.lavbion.ma
  • 36- http://www.labvion.ma
  • 37- http://www.lavon.ma
  • 38- http://www.lavlon.ma
  • 39- http://www.lavilon.ma
  • 40- http://www.lavlion.ma
  • 41- http://www.lavuon.ma
  • 42- http://www.laviuon.ma
  • 43- http://www.lavuion.ma
  • 44- http://www.lavoon.ma
  • 45- http://www.lavioon.ma
  • 46- http://www.lavoion.ma
  • 47- http://www.lavkon.ma
  • 48- http://www.lavikon.ma
  • 49- http://www.lavkion.ma
  • 50- http://www.lavjon.ma
  • 51- http://www.lavijon.ma
  • 52- http://www.lavjion.ma
  • 53- http://www.lavin.ma
  • 54- http://www.lavi0n.ma
  • 55- http://www.lavio0n.ma
  • 56- http://www.lavi0on.ma
  • 57- http://www.lavi9n.ma
  • 58- http://www.lavio9n.ma
  • 59- http://www.lavi9on.ma
  • 60- http://www.laviin.ma
  • 61- http://www.lavioin.ma
  • 62- http://www.laviion.ma
  • 63- http://www.lavikn.ma
  • 64- http://www.laviokn.ma
  • 65- http://www.lavikon.ma
  • 66- http://www.laviln.ma
  • 67- http://www.lavioln.ma
  • 68- http://www.lavilon.ma
  • 69- http://www.lavipn.ma
  • 70- http://www.laviopn.ma
  • 71- http://www.lavipon.ma
  • 72- http://www.laviom.ma
  • 73- http://www.laviomn.ma
  • 74- http://www.lavionm.ma
  • 75- http://www.lavioj.ma
  • 76- http://www.laviojn.ma
  • 77- http://www.lavionj.ma
  • 78- http://www.lavioh.ma
  • 79- http://www.laviohn.ma
  • 80- http://www.lavionh.ma
  • 81- http://www.laviob.ma
  • 82- http://www.laviobn.ma
  • 83- http://www.lavionb.ma
  • 84- http://www.lavio.ma