/************************************************* * Created with GoogleMapAPI3.0beta * Author: Brad Wedell * Link http://code.google.com/p/phpgooglemapapiv3/ * Copyright 2010 Brad Wedell * Original Author: Monte Ohrt * Original Copyright 2005-2006 New Digital Group * Originial Link http://www.phpinsider.com/php/code/GoogleMapAPI/ *************************************************/ var markersmap_recherche=[];var markerClusterermap_recherche=null;var to_htmlsmap_recherche=[];var from_htmlsmap_recherche=[];var iconmap_recherche=[];iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png']={};iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image=new google.maps.MarkerImage('https://www.gitedegroupe.fr/img/logo_carte_23.png',new google.maps.Size(22,25),new google.maps.Point(0,0),new google.maps.Point(11,12));var mapmap_recherche=null;function onLoadmap_recherche(){var mapObjmap_recherche=document.getElementById("map_recherche");if(mapObjmap_recherche!='undefined'&&mapObjmap_recherche!=null){var mapOptionsmap_recherche={scrollwheel:false,zoom:10,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:true,mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DEFAULT}};mapOptionsmap_recherche.center=new google.maps.LatLng(47.013500,6.221795);mapmap_recherche=new google.maps.Map(mapObjmap_recherche,mapOptionsmap_recherche);var bdsmap_recherche=new google.maps.LatLngBounds(new google.maps.LatLng(46.304192,5.5912361),new google.maps.LatLng(47.722808,6.8523539));mapmap_recherche.fitBounds(bdsmap_recherche);var point=new google.maps.LatLng(46.7449,5.81773);markersmap_recherche.push(createMarker(mapmap_recherche,point,"GITE DE LA PRAZ","
<\/a><\/td>

GITE DE LA PRAZ<\/strong>

45 Couchages
39300 - CROTENAY<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_0"]));var point=new google.maps.LatLng(46.4581,5.96335);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Gite de groupe de Rosset","

<\/a><\/td>

Gite de groupe de Rosset<\/strong>

21 Couchages
39400 - LONGCHAUMOIS<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_1"]));var point=new google.maps.LatLng(46.4506,5.79841);markersmap_recherche.push(createMarker(mapmap_recherche,point,"LE COUPET - Groupes et Séminaires","

<\/a><\/td>

LE COUPET - Groupes et Séminaires<\/strong>

28 Couchages
39260 - LES CROZETS<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_2"]));var point=new google.maps.LatLng(46.9414,5.86984);markersmap_recherche.push(createMarker(mapmap_recherche,point,"FORT SAINT ANDRE","

<\/a><\/td>

FORT SAINT ANDRE<\/strong>

185 Couchages
39110 - SALINS LES BAINS<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_3"]));var point=new google.maps.LatLng(46.9561,6.01028);markersmap_recherche.push(createMarker(mapmap_recherche,point,"EARL ferme équestre du pont du diable","

<\/a><\/td>

EARL ferme équestre du pont du diable<\/strong>

35 Couchages
25270 - Crouzet migette<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_4"]));var point=new google.maps.LatLng(46.5131,5.64389);markersmap_recherche.push(createMarker(mapmap_recherche,point,"LES TERRASSES DE MERLUE","

<\/a><\/td>

LES TERRASSES DE MERLUE<\/strong>

25 Couchages
39270 - PLAISIA<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_5"]));var point=new google.maps.LatLng(46.6587,5.97206);markersmap_recherche.push(createMarker(mapmap_recherche,point,"cyclamen","

<\/a><\/td>

cyclamen<\/strong>

120 Couchages
39150 - chaux des crotenay<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_6"]));var point=new google.maps.LatLng(46.9986,5.75226);markersmap_recherche.push(createMarker(mapmap_recherche,point,"La Maison de Balanin","

<\/a><\/td>

La Maison de Balanin<\/strong>

24 Couchages
39600 - Villers-Farlay<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_7"]));var point=new google.maps.LatLng(47.0264,6.01762);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Gîte le Coolant en Jura","

<\/a><\/td>

Gîte le Coolant en Jura<\/strong>

15 Couchages
25330 - coulans sur lison<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_8"]));var point=new google.maps.LatLng(46.6253,5.82931);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Les Amis du Hérisson","

<\/a><\/td>

Les Amis du Hérisson<\/strong>

15 Couchages
39130 - MENETRUX-en-JOUX<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_9"]));var point=new google.maps.LatLng(47.4695,6.38151);markersmap_recherche.push(createMarker(mapmap_recherche,point,"association Folle-Avoine","

<\/a><\/td>

association Folle-Avoine<\/strong>

21 Couchages
70230 - Bouhans les Montbozon<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_10"]));var point=new google.maps.LatLng(46.4036,5.98358);markersmap_recherche.push(createMarker(mapmap_recherche,point,"PEP 39 Ecole des Neiges","

<\/a><\/td>

PEP 39 Ecole des Neiges<\/strong>

140 Couchages
39310 - LAMOURA<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_11"]));var point=new google.maps.LatLng(46.9253,5.75111);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Grande maison de campagne 10 à 15 personnes ","

<\/a><\/td>

Grande maison de campagne 10 à 15 personnes <\/strong>

15 Couchages
39600 - Villette-lès-Arbois<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_12"]));var point=new google.maps.LatLng(47.3837,6.06774);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Grand Gite écologique avec piscine chauffée toute l'année","

<\/a><\/td>

Grand Gite écologique avec piscine chauffée toute l'année<\/strong>

24 Couchages
70190 - Sorans les Breurey<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_13"]));var point=new google.maps.LatLng(46.4351,5.92708);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Ferme equestre de La Pelaisse","

<\/a><\/td>

Ferme equestre de La Pelaisse<\/strong>

15 Couchages
39400 - Longchaumois<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_14"]));var point=new google.maps.LatLng(47.5054,5.67526);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Domaine de Papillons","

<\/a><\/td>

Domaine de Papillons<\/strong>

16 Couchages
70100 - Beaujeu Saint-Vallier<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_15"]));var point=new google.maps.LatLng(47.3756,6.83999);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Maison de Pierrefontaine","

<\/a><\/td>

Maison de Pierrefontaine<\/strong>

51 Couchages
25310 - PIerrefontaine les Blamont<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_16"]));var point=new google.maps.LatLng(47.0592,6.66775);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Gîte du Cerneux Billard","

<\/a><\/td>

Gîte du Cerneux Billard<\/strong>

60 Couchages
25130 - VILLERS LE LAC<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_17"]));var point=new google.maps.LatLng(47.1208,6.7176);markersmap_recherche.push(createMarker(mapmap_recherche,point,"LA VALENTINE ***","

<\/a><\/td>

LA VALENTINE ***<\/strong>

12 Couchages
25210 - Le Barboux<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_18"]));var point=new google.maps.LatLng(46.3181,5.89502);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Village vacances Georges Moustaki","

<\/a><\/td>

Village vacances Georges Moustaki<\/strong>

249 Couchages
39310 - LES MOUSSIERES<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_19"]));var point=new google.maps.LatLng(47.3838,6.77422);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Chalet de Pont de Roide","

<\/a><\/td>

Chalet de Pont de Roide<\/strong>

30 Couchages
25150 - Pont de Roide<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_20"]));var point=new google.maps.LatLng(46.5173,5.85243);markersmap_recherche.push(createMarker(mapmap_recherche,point,"LES POTENTILLES","

<\/a><\/td>

LES POTENTILLES<\/strong>

14 Couchages
39150 - Nanchez<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_21"]));var point=new google.maps.LatLng(47.0685,6.20484);markersmap_recherche.push(createMarker(mapmap_recherche,point,"LA TUFFIERE","

<\/a><\/td>

LA TUFFIERE<\/strong>

35 Couchages
25840 - Vuillafans<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_22"]));var point=new google.maps.LatLng(47.2476,6.79481);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Les balcons du Chasseral ***","

<\/a><\/td>

Les balcons du Chasseral ***<\/strong>

15 Couchages
25120 - MAICHE<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_23"]));var point=new google.maps.LatLng(46.9028,6.35312);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Auberge de Jeunesse HI Pontarlier","

<\/a><\/td>

Auberge de Jeunesse HI Pontarlier<\/strong>

80 Couchages
25300 - Pontarlier<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_24"]));var point=new google.maps.LatLng(47.0005,5.75018);markersmap_recherche.push(createMarker(mapmap_recherche,point,"LA BRIGANDIERE","

<\/a><\/td>

LA BRIGANDIERE<\/strong>

14 Couchages
39600 - Villers-Farlay<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_25"]));var point=new google.maps.LatLng(46.7323,5.91014);markersmap_recherche.push(createMarker(mapmap_recherche,point,"le gite du Bénédegand","

<\/a><\/td>

le gite du Bénédegand<\/strong>

15 Couchages
39300 - Cize<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_26"]));var point=new google.maps.LatLng(46.6104,5.80731);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Gite Les Retrouvailles, Le nid d'Émilie","

<\/a><\/td>

Gite Les Retrouvailles, Le nid d'Émilie<\/strong>

20 Couchages
39130 - Denezières<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_27"]));var point=new google.maps.LatLng(47.0754,6.23003);markersmap_recherche.push(createMarker(mapmap_recherche,point,"LES MURGETS","

<\/a><\/td>

LES MURGETS<\/strong>

15 Couchages
25580 - Échevannes<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_28"]));var point=new google.maps.LatLng(47.1998,6.74381);markersmap_recherche.push(createMarker(mapmap_recherche,point,"La Maison Horlogère , spas , bain nordique","

<\/a><\/td>

La Maison Horlogère , spas , bain nordique<\/strong>

15 Couchages
25210 - Les Fontenelles<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_29"]));var point=new google.maps.LatLng(46.8159,5.6036);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Location vacances Chalet 10 à 15 personnes","

<\/a><\/td>

Location vacances Chalet 10 à 15 personnes<\/strong>

11 Couchages
39230 - Darbonnay<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_30"]));var point=new google.maps.LatLng(47.0609,5.81158);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Nina-Loue","

<\/a><\/td>

Nina-Loue<\/strong>

14 Couchages
25440 - Liesle<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_31"]));var point=new google.maps.LatLng(47.2389,6.69482);markersmap_recherche.push(createMarker(mapmap_recherche,point,"gite de fremondans","

<\/a><\/td>

gite de fremondans<\/strong>

15 Couchages
25380 - Vaucluse<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_32"]));var point=new google.maps.LatLng(46.6835,5.78282);markersmap_recherche.push(createMarker(mapmap_recherche,point,"gîte les Marronniers","

<\/a><\/td>

gîte les Marronniers<\/strong>

34 Couchages
39130 - Marigny<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_33"]));var point=new google.maps.LatLng(47.1388,6.47081);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Gîte de la vie blanche avec piscine ","

<\/a><\/td>

Gîte de la vie blanche avec piscine <\/strong>

14 Couchages
25390 - Flangebouche<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_34"]));var point=new google.maps.LatLng(46.9253,5.75111);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Maison viticole coeur de village","

<\/a><\/td>

Maison viticole coeur de village<\/strong>

12 Couchages
39600 - Villette-lès-Arbois<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_35"]));var point=new google.maps.LatLng(47.7089,5.74485);markersmap_recherche.push(createMarker(mapmap_recherche,point,"AU POINT DE VUE DE LA ROCHE","

<\/a><\/td>

AU POINT DE VUE DE LA ROCHE<\/strong>

15 Couchages
70120 - La Roche-Morey<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_36"]));var point=new google.maps.LatLng(46.7755,6.37057);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Résidence le Sommet","

<\/a><\/td>

Résidence le Sommet<\/strong>

60 Couchages
25370 - Les Hôpitaux-Neufs<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_37"]));var point=new google.maps.LatLng(46.599,5.85424);markersmap_recherche.push(createMarker(mapmap_recherche,point,"les Sapins","

<\/a><\/td>

les Sapins<\/strong>

12 Couchages
39130 - Bonlieu<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_38"]));var point=new google.maps.LatLng(47.1721,6.58582);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Au Grand Cœur Chaux gîte classé *****","

<\/a><\/td>

Au Grand Cœur Chaux gîte classé *****<\/strong>

15 Couchages
25390 - Guyans-Vennes<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_39"]));var point=new google.maps.LatLng(47.1263,6.72584);markersmap_recherche.push(createMarker(mapmap_recherche,point,"La Partie de Bise ***","

<\/a><\/td>

La Partie de Bise ***<\/strong>

12 Couchages
25210 - Le Barboux<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_40"]));var point=new google.maps.LatLng(46.5707,5.82848);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Le Refuge Jurassien","

<\/a><\/td>

Le Refuge Jurassien<\/strong>

12 Couchages
39130 - Saint-Maurice-Crillat<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_41"]));var point=new google.maps.LatLng(47.0738,6.23145);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Le Tranquil'loue","

<\/a><\/td>

Le Tranquil'loue<\/strong>

15 Couchages
25580 - Échevannes<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_42"]));var point=new google.maps.LatLng(46.9981,6.29513);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Le Refuge des Loups Blancs","

<\/a><\/td>

Le Refuge des Loups Blancs<\/strong>

13 Couchages
25520 - Ouhans<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_43"]));var point=new google.maps.LatLng(46.9098,5.78053);markersmap_recherche.push(createMarker(mapmap_recherche,point,"Les Gites du Belvédère","

<\/a><\/td>

Les Gites du Belvédère<\/strong>

20 Couchages
39600 - Arbois<\/a><\/p><\/td><\/tr><\/table><\/div>",iconmap_recherche['httpswwwgitedegroupefrimglogo_carte_23png'].image,'',"",["opener_44"]));markerClusterermap_recherche=new MarkerClusterer(mapmap_recherche,markersmap_recherche,{maxZoom:null,gridSize:30,styles:null});}} var currentinfowindow=null;function createMarker(map,point,title,html,icon,icon_shadow,sidebar_id,openers){var marker_options={position:point,map:map,title:title,disableAutoPan:true};if(icon!=''){marker_options.icon=icon;} if(icon_shadow!=''){marker_options.icon_shadow=icon_shadow;} var new_marker=new google.maps.Marker(marker_options);if(html!=''){var infowindow=new google.maps.InfoWindow({content:html});google.maps.event.addListener(new_marker,'click',function(){if(currentinfowindow)currentinfowindow.close();currentinfowindow=infowindow;infowindow.open(map,new_marker);});if(sidebar_id!=''){var sidebar=document.getElementById(sidebar_id);if(sidebar!=null&&sidebar!=undefined){var newlink=document.createElement('a');newlink.onclick=function(){infowindow.open(map,new_marker);return false};newlink.innerHTML=title;sidebar.appendChild(newlink);}} if(openers!=''&&!isEmpty(openers)){for(var i in openers){var opener=document.getElementById(openers[i]);if(opener) opener.onclick=function(){if(currentinfowindow)currentinfowindow.close();currentinfowindow=infowindow;infowindow.open(map,new_marker);return false};}}} return new_marker;} function isArray(a){return isObject(a)&&a.constructor==Array;} function isObject(a){return(a&&typeof a=='object')||isFunction(a);} function isFunction(a){return typeof a=='function';} function isEmpty(obj){for(var i in obj){return false;}return true;} window.initmap = false; window.onLoadmap = onLoadmap_recherche; $(document).ready(function() { window.$map = $("#map_recherche"); // onglets bootstrap var tab = $('a[data-toggle="tab"]'); if(tab.length) tab.on('shown.bs.tab', function (e) { if(!window.initmap) window.onLoadmap(); window.initmap = true; }); else onLoadmap_recherche(); google.maps.event.addDomListener(window, "resize", function() { google.maps.event.trigger($map[0], "resize"); }); }); $(function() { /* attach a submit handler to the form */ $("#searchForm").submit(function(event) { /* stop form from submitting normally */ event.preventDefault(); /* get some values from elements on the page: */ var $form = $( this ); /* Send the data using post and put the results in a div */ $.post( "recherche_results.php", $form.serialize(), function( data ) { var content = $( data ); $( "#results" ).fadeOut('slow').empty().append( content ).fadeIn("slow"); } ); /* Send the data using post and put the results in a div */ $.post( "recherche_map.php", $form.serialize(), function( data ) { $( "#map" ).fadeOut('slow').empty().append( '

' ).fadeIn("slow"); var content = $( data ); eval(content.text()); window.$map = $("#map_recherche"); window.onLoadmap = onLoadmap_recherche; if($map.is(":visible")) onLoadmap_recherche(); else window.initmap = false; } ); $("#various3").attr('href','map.php?'+$("#searchForm").serialize()); }); });