STR_SEARCH_QUERY_MSG="Résultats de la recherche pour";STR_NO_RESULT="Aucun résultat trouvé";STR_SCORE="Score";STR_TERMS="Termes";STR_SEARCH_SIZE="40";MIN_WORD_LEN=2;DISPLAY_SRCH_INFO=1;USE_UTF8=1;REMOVE_ACCENTS=1;BOLD_LINKS=1;ONLINE_WEBSITE=1;ALLWORDSONLY=0;namesArray=new Array(" solution anti-bouchons  "," moto taxi scooter taxi lyon transport personnes a "," tarifs avec asap-69 pas complication prix trajet est articule zones concentriques autour lyon-villeurbanne dela ces contactez trouvez facilement cas doute utilisez formulaire bas page laissez-nous rappelez  "," reservation ligne effectuer demande remplissez minimum champs obligatoires formulaire serez re-contacte telephone dans plus bref delais avec effectuez 24h l'avance sinon merci d'appeler 63 "," quel temps rouler  "," conditions circulation  "," c'est  "," liens favoris  "," informations legales  "," quelques photos  "," suzuki burgman 650 "," suzuki burgman 650 "," saisissez description image ici "," saisissez description image ici "," sous selle tailles casques tout l'equipement  ",""," tablier contre pluie froid "," grand topcase litres  "," porte-bagages valise cabine norme iata "," confirmation d'envoi  "," tarifs 2009 avec asap-69 pas complications prix trajet est articule zones concentriques autour lyon-villeurbanne plus zone variable communes eloignees contactez trouvez facilement cas doute utilisez formulaire ci-dessous bien 63 "," questionnaire tarification madame monsieur afin pouvoir repondre plus precisemment possible demande merci prendre quelques minutes completer ce "," enquete satisfaction madame monsieur avez recemment utilise services asap-69 scooters lyon avis interesse ameliorer notre service merci prendre quelques minutes repondre questionnaire suivant  ");urlsArray=new Array("../accueil/index.html","../vehicules/index.html","../tarifs/index.html","../reservation/index.html","../meteo/index.html","../traffic/index.html","../itineraire/index.html","../liens/index.html","../infoslegales/index.html","../albumphoto1/index.html","../albumphoto1/page1.html","../albumphoto1/page2.html","../albumphoto1/page3.html","../albumphoto1/page4.html","../albumphoto1/page5.html","../albumphoto1/page6.html","../albumphoto1/page7.html","../albumphoto1/page8.html","../albumphoto1/page9.html","../result/index.html","../tarifs2009/index.html","../questionnaire/index.html","../enquete/index.html");titlesArray=new Array("ASAP-69","ASAP-69","Tarifs","Réservation en ligne","Quel temps pour rouler ?","Conditions de circulation","Où c'est ?","Liens favoris","Informations Légales","Quelques Photos","IMAG0006.png","IMAG0007.png","7a-SCOOT.png","7b-SCOOT.png","5-SCOOT_modifié-1.png","IMAG0003.png","IMAG0004.png","DSC05139 copie.png","6b-SCOOT copie.png","Confirmation d'envoi","Tarifs 2009","Questionnaire pour Tarification","Enquête de satisfaction");descArray=new Array("","Nouveau à Lyon : transport de personnes et de plis en scooter, plus rapide q'un taxi","Avec ASAP-69, pas de complication : le prix de votre trajet est articulé en 3 zones concentriques autour de Lyon-Villeurbanne (au delà de ces zones, c...","Pour effectuer une demande de réservation en ligne, remplissez au minimum les champs obligatoires (*) de ce formulaire : vous serez re-contacté par té...","","","","","","","&","&","&","&","&","&","&","&","&","","Avec ASAP-69, pas de complications : le prix de votre trajet est articulé en 3 zones concentriques autour de Lyon-Villeurbanne (plus une zone variable...","Madame, Monsieur,  Afin de pouvoir répondre le plus précisemment possible à votre demande, merci de prendre quelques minutes pour compléter ce questio...","Madame, Monsieur,  Vous avez récemment utilisé les services de ASAP-69 SCOOTERS à Lyon. Votre avis nous intéresse pour améliorer notre service.  Merci...");sublinksArray=new Array(23);var linksCount=23;function SubmitSearch(n){var p=document.getElementsByName("jse_query");var idx=n;if(p<0)return false;if(p&&p[idx]&&p[idx].value!=""){if((p[idx].value).replace(/^\s+|\s+$/g,'')!=""){p=document.getElementsByName("jse_form");if(p&&p[idx])p[idx].submit();return true;}}return false;}function switchSearchLang(lang,emptycart){var params="";var currURL=document.location.href;var newURL=(currURL.lastIndexOf('_frame/search2')>=0)?"search2":"search";if(lang!="")newURL+="-"+lang;newURL+=".html";var paramIndex=currURL.lastIndexOf('?');if(paramIndex>-1)newURL+="?"+currURL.substr(paramIndex+1);if(emptycart&&typeof(CleanShopcart)!="undefined")CleanShopcart();document.location.href=newURL;return false;}function getParam(paramName){paramStr=document.location.search;if(paramStr=="")return"";if(paramStr.charAt(0)=="?")paramStr=paramStr.substr(1);arg=(paramStr.split("&"));for(i=0;i<arg.length;i++){arg_values=arg[i].split("=");if(unescape(arg_values[0])==paramName){if(USE_UTF8==1&&self.decodeURIComponent)ret=decodeURIComponent(arg_values[1]);else ret=unescape(arg_values[1]);return ret;}}return"";}function getQueryParam(){var query=getParam("jse_query");query=query.replace(/[\++]/g," ");query=query.replace(/\</g,"&lt;");query=query.replace(/[\"+]/g," ");return query;}function replaceAll(str,from,to){var idx=str.indexOf(from);while(idx>-1){str=str.replace(from,to);idx=str.indexOf(from);}return str;}function formatChars(str){str=str.toLowerCase();if(REMOVE_ACCENTS){var a="Ã Ã¡Ã¢Ã£Ã¤Ã¥Ã²Ã³Ã´ÃµÃ¶Ã¨Ã©ÃªÃ«Ã§Ã¬Ã­Ã®Ã¯Ã¹ÃºÃ»Ã¼Ã¿Ã±";var b="aaaaaaoooooeeeeciiiiuuuuyn";for(i=0;i<a.length;i++)str=replaceAll(str,a.charAt(i),b.charAt(i));}str=replaceAll(str,"'"," ");return str;}function SortCompare(a,b){if(a[2]==b[2]){if(a[1]<b[1])return 1;else if(a[1]>b[1])return-1;else return 0;}else if(a[2]<b[2])return 1;else return-1;}function jseSearch(internal){var rootURL='';var SelfURL=document.location.href;var paramIndex=SelfURL.indexOf("?");if(paramIndex>-1)SelfURL=SelfURL.substr(0,paramIndex);paramIndex=SelfURL.indexOf("#");if(paramIndex>-1)SelfURL=SelfURL.substr(0,paramIndex);if(ONLINE_WEBSITE){paramIndex=SelfURL.lastIndexOf('/');if(paramIndex>-1){rootURL=SelfURL.substr(0,paramIndex);paramIndex=rootURL.lastIndexOf('/');if(paramIndex>-1){rootURL=SelfURL.substr(0,paramIndex+1);}else rootURL='';}}SelfURL=SelfURL.replace(/\</g,"&lt;");SelfURL=SelfURL.replace(/\"/g,"&quot;");var query=getQueryParam();var lnktarget="";if(internal==1){lnktarget="\" target=\"_blank";}query=formatChars(query);if(query.length==0)return;var found=0,t=0,k=0,score=0,subscore=0,i=0;var keyword="",tmp="";var searchWords=new Array();searchWords=query.split(" ");if(internal==null||internal!=1){document.writeln("<span class='wg-paragraph'>"+STR_SEARCH_QUERY_MSG+" : <strong>"+query+"</span></strong><br>");}res_table=new Array(linksCount);for(t=0;t<linksCount;t++){res_table[t]=new Array(4);res_table[t][0]=0;res_table[t][1]=0;res_table[t][2]=0;res_table[t][3]="";}var significantwords=0;for(i=0;i<searchWords.length;i++){keyword=searchWords[i];if(keyword.length>MIN_WORD_LEN){significantwords++;for(var q=0;q<linksCount;q++){t=q;score=0;tmp=formatChars(descArray[t]);if(tmp.indexOf(keyword)!=-1)score++;if(tmp.indexOf(' '+keyword+' ')!=-1)score+=2;tmp=formatChars(titlesArray[t]);if(tmp.indexOf(keyword)!=-1)score++;if(tmp.indexOf(' '+keyword+' ')!=-1)score+=2;if(namesArray[t].indexOf(keyword)!=-1)score++;if(namesArray[t].indexOf(' '+keyword+' ')!=-1)score+=2;k=q+1;while(k<=linksCount){tmp=descArray[k];if(tmp==null||tmp.charAt(0)!='&')break;subscore=0;tmp=formatChars(descArray[k]);if(tmp.indexOf(keyword)!=-1)subscore++;if(tmp.indexOf(' '+keyword+' ')!=-1)subscore+=2;tmp=formatChars(titlesArray[k]);if(tmp.indexOf(keyword)!=-1)subscore++;if(tmp.indexOf(' '+keyword+' ')!=-1)subscore+=2;if(namesArray[k].indexOf(keyword)!=-1)subscore++;if(namesArray[k].indexOf(' '+keyword+' ')!=-1)subscore+=2;if(subscore>0){var idx=urlsArray[t].indexOf('@');if(idx>0){var lnk=urlsArray[k].substr(0,idx);if(res_table[t][3].indexOf(lnk)==-1)res_table[t][3]+="<tr><td width='35'>&nbsp;</td><td><a href=\""+urlsArray[k].substr(idx+1)+"\" name=\""+lnk+"\">"+titlesArray[k]+"</a></td></tr>";}else if(res_table[t][3].indexOf("\""+urlsArray[k]+"\"")==-1)res_table[t][3]+="<tr><td width='35'>&nbsp;</td><td><a href=\""+urlsArray[k]+lnktarget+"\">"+titlesArray[k]+"</a></td></tr>";score+=subscore;}k++;}q=k-1;if(score>0){res_table[t][0]=t;res_table[t][1]+=score;res_table[t][2]++;found++;}}}}if(found==0){document.write("<p class='wg-paragraph'><b>"+STR_NO_RESULT+"</b></p>");}else {res_table.sort(SortCompare);document.writeln('<div class="wg-paragraph">');for(q=0;q<found;q++)if(res_table[q][1]>0)if(!ALLWORDSONLY||(ALLWORDSONLY&&res_table[q][2]==significantwords)){t=res_table[q][0];var lnk=urlsArray[t]+lnktarget;var idx=urlsArray[t].indexOf('@');if(idx>0)lnk=urlsArray[t].substr(idx+1);if(BOLD_LINKS){document.writeln("<br><b>"+(q+1)+". <a href=\""+lnk+"\">"+titlesArray[t]+"</a></b>");}else document.writeln("<br><b>"+(q+1)+".</b> <a href=\""+lnk+"\">"+titlesArray[t]+"</a>");if(descArray[t].length>2)document.writeln("<br>"+descArray[t]);if(DISPLAY_SRCH_INFO){document.write("<br><span style='font-size: 80%; font-style: italic;'>");if(!ALLWORDSONLY)document.write(""+STR_TERMS+": "+res_table[q][2]+" - ");document.write(""+STR_SCORE+": "+res_table[q][1]);if(urlsArray[t].indexOf('@')>0){document.writeln(" - URL: 'TOWeb demonstration'</span>");}else if(ONLINE_WEBSITE){document.writeln(" - URL: "+rootURL+urlsArray[t].substr(3)+"</span>");}else document.writeln(" - URL: "+urlsArray[t]+"</span>");}if(res_table[q][3].length>0){document.writeln('<table class="wg-paragraph">'+res_table[q][3]+'</table>');}else document.writeln("<br>");}document.writeln('</div>');}document.writeln("<br>");}
