// visualisation carto google pour 2 arręts function getGoogleMapPoints(id1, id2, nom1, nom2, depID, arrID) { var parametre_fenetre = 'scrollbars=yes,width=600,height=600,top=50,left=50;menubar=no,resizable=yes'; var URL_PLAN = "/ri/cartegoogle.asp?pa_id1=" + id1 + "&p_id2=" + id2; //var URL_PLAN = "http://web03.cityway.fr/busoceane/ri/cartegoogle.asp?pa_id1=" + id1 + "&pa_id2=" + id2; var URL_PLAN = URL_PLAN + "&dep_nom=" + nom1 + "&arr_nom=" + nom2; var URL_PLAN = URL_PLAN + "&dep_id=" + depID + "&arr_id=" + arrID; var newWindow = window.open(URL_PLAN, 'MAP', parametre_fenetre); newWindow.focus(); } // visualisation carto google pour 2 objets function getMapPoint(id1, id2, nom1, nom2, depID, arrID, type1, type2) { var parametre_fenetre = 'scrollbars=yes,width=600,height=600,top=50,left=50;menubar=no,resizable=yes'; var URL_PLAN = "/ri/cartegoogle.asp?pa_id1=" + id1 + "&p_id2=" + id2; //var URL_PLAN = "http://web03.cityway.fr/busoceane/ri/cartegoogle.asp?pa_id1=" + id1 + "&pa_id2=" + id2; var URL_PLAN = URL_PLAN + "&dep_nom=" + nom1 + "&arr_nom=" + nom2; var URL_PLAN = URL_PLAN + "&dep_id=" + depID + "&arr_id=" + arrID; var URL_PLAN = URL_PLAN + "&dep_type=" + type1 + "&arr_type=" + type2; var newWindow = window.open(URL_PLAN, 'MAP', parametre_fenetre); newWindow.focus(); } function getMapPoint(pa_id1, pa_id2) { var parametre_fenetre = 'scrollbars=yes,width=600,height=600,top=50,left=50;menubar=no,resizable=yes'; // var URL_PLAN = "carto.asp?_XgoAntialias=1&_XgoScaleMode=0&_XgoStreetFitStyle=maporama_en"; // var URL_PLAN = URL_PLAN + "&areacode=FR&sizex=400&sizey=300"; // var URL_PLAN = URL_PLAN + "&idPoint1=" + pa_id1; // var URL_PLAN = URL_PLAN + "&idPoint2=" + pa_id2; var URL_PLAN = "/ri/CarteGoogle.asp?"; if (pa_id2!="" && pa_id1=="") { var URL_PLAN = URL_PLAN + "pa_id1="+pa_id2; } if (pa_id2=="" && pa_id1!="") { var URL_PLAN = URL_PLAN + "pa_id1="+pa_id1; } if (pa_id2!="" && pa_id1!="") { var URL_PLAN = URL_PLAN + "pa_id1="+pa_id1; var URL_PLAN = URL_PLAN + "&pa_id2="+pa_id2; } newWindow = window.open(URL_PLAN, '',parametre_fenetre); } function getMapStartPoint(x, y, nom, pa_id) { var parametre_fenetre = 'scrollbars=yes,width=600,height=600,top=50,left=50;menubar=no,resizable=yes'; var URL_PLAN = "/ri/CarteGoogle.asp?pa_id1="+pa_id; if (nom!="") { var URL_PLAN = URL_PLAN + "&depnom="+nom+"&depx="+x+"&depy="+y; } newWindow = window.open(URL_PLAN, '',parametre_fenetre); } function getMapArrivalPoint(x, y, nom, pa_id) { var parametre_fenetre = 'scrollbars=yes,width=600,height=600,top=50,left=50;menubar=no,resizable=yes'; var URL_PLAN = "/ri/CarteGoogle.asp?pa_id2="+pa_id; if (nom!="") { var URL_PLAN = URL_PLAN + "&arrnom="+nom+"&arrx="+x+"&arry="+y; } newWindow = window.open(URL_PLAN, '',parametre_fenetre); } function getMapStartPlace(lpnom, lpcom, pa_id) { var parametre_fenetre = 'scrollbars=yes,width=600,height=600,top=50,left=50;menubar=no,resizable=yes'; var URL_PLAN = "/ri/CarteGoogle.asp?pa_id1="+pa_id; if (lpnom!="") { var URL_PLAN = URL_PLAN + "&lp_nom2="+lpnom; var URL_PLAN = URL_PLAN + "&lp_com="+lpcom; } newWindow = window.open(URL_PLAN, '',parametre_fenetre); } function getMapArrivalPlace(lpnom, lpcom, pa_id) { var parametre_fenetre = 'scrollbars=yes,width=600,height=600,top=50,left=50;menubar=no,resizable=yes'; var URL_PLAN = "/ri/CarteGoogle.asp?pa_id2="+pa_id; if (lpnom!="") { var URL_PLAN = URL_PLAN + "&lp_nom1="+lpnom; var URL_PLAN = URL_PLAN + "&lp_com="+lpcom; } newWindow = window.open(URL_PLAN, '',parametre_fenetre); } // Ouverture de la carto function openCarto(maplink) { var carto = window.open(maplink, "Cartographie","height=600,width=600,resizable=yes,scrollbars=yes"); carto.focus(); } function OpenThermo(url, name) { var winPopUp = window.open(url,name,"width=750,height=550,toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1"); if (winPopUp != null) winPopUp.focus(); }