
String.prototype.b01=function(){return this.replace(/^\s\s*/,"").replace(/\s\s*$/,"");};String.prototype.b02=function(){return this.replace(/\x26/g,"&amp;").replace(/\x22/g,"&quot;").replace(/\x27/g,"&#39;").replace(/\x3C/g,"&lt;").replace(/\x3E/g,"&gt;");};String.prototype.b03=function(){return this.b01().toLowerCase();};String.prototype.b05=function(){return encodeURIComponent(this);};String.prototype.key2=function(){return this.replace(/(\x3C([^\x3E]+)\x3E)/ig,"").b01();};var svcG2=null;var svcG6=null;var svcG3=new Array();var iWO=null;var rElE=null;function load(){if(GBrowserIsCompatible()){var form=sH00t();function iFi(i,prefix){var f=new Object();f.index=i;f.timeout=null;f.modified=false;f.taxiRoute=form[prefix+"City"];f.taxiRoute.z4p=f;f.arrv2=form[prefix+"Address"];f.arrv2.z4p=f;f.place=new Object();f.icon=document.images[prefix+"Icon"];f.dprt1=new Suggestions(f.arrv2,cr4ck3rz,br33z);f.dprt1.registerEvent(f.arrv2,"Change",function(e){f.modified=true;return findAddress(f.index);});f.dprt2=new Suggestions(f.taxiRoute,cr4ck3rz,br33z);f.dprt2.registerEvent(f.taxiRoute,"Change",function(e){f.modified=true;if(f.taxiRoute.value.b03()=="bp")f.taxiRoute.value="Budapest";});f.disable=function(){this.taxiRoute.disabled=true;this.arrv2.disabled=true;form.calculate.disabled=true;this.icon.src="map/working.gif";this.dprt1.clearItems();this.dprt2.clearItems();if(this.dif2LN)this.dif2LN.disableDragging();};f.enable=function(){this.taxiRoute.disabled=false;this.arrv2.disabled=false;form.calculate.disabled=false;this.icon.src="map/locate.gif";if(this.dif2LN)this.dif2LN.enableDragging();};f.focus=function(){window.setTimeout(function(){f.taxiRoute.focus();f.arrv2.focus();},10);}
svcG3[i]=f;}
iFi(0,"from");iFi(1,"to");svcG2=new GMap2(document.getElementById("map"));GEvent.addListener(svcG2,"load",f4DLD);svcG2.addControl(new GLargeMapControl());svcG2.addControl(new GMenuMapTypeControl());svcG2.addControl(new GOverviewMapControl());svcG2.enableDragging();svcG2.disableDoubleClickZoom();svcG2.enableContinuousZoom();svcG2.enableScrollWheelZoom();svcG2.disableGoogleBar();svcG2.setCenter(new GLatLng(47.498403,19.040759),11);}
rElE=document.getElementById("results");}
function f4DLD(){iWO=new Object();iWO.maxWidth=Math.max(Math.round(svcG2.getSize().width/3),250);iWO.noCloseOnClick=true;iWO.zoomLevel=14;iWO.mapType=G_NORMAL_MAP;var baseIcon=new GIcon();baseIcon.shadow="map/markers/car-shadow.png";baseIcon.iconSize=new GSize(35,28);baseIcon.shadowSize=new GSize(68,28);baseIcon.iconAnchor=new GPoint(17,28);baseIcon.infoWindowAnchor=new GPoint(29,4);function initMarker(n,lat,lng,text,icon){var f=svcG3[n];f.dif2LN=new GMarker(new GLatLng(lat,lng),{draggable:true,title:text,icon:new GIcon(baseIcon,icon)});f.dif2LN.index=n;f.dif2LN.moved=false;GEvent.addListener(f.dif2LN,"dragstart",catOff);GEvent.addListener(f.dif2LN,"dragend",catKick);GEvent.addListener(f.dif2LN,"drag",catDown);GEvent.addListener(f.dif2LN,"infowindowclose",function(){cr0c5(f.index);});svcG2.addOverlay(f.dif2LN);};initMarker(0,47.4870,19.0239,"Honnan?","map/markers/car-green.png");initMarker(1,47.5006,19.0821,"Hová?","map/markers/car-orange.png");GEvent.addListener(svcG2,"singlerightclick",ohMy7);redrawLNT();GEvent.addListener(svcG2,"mouseover",function(){svcG2.showControls();});GEvent.addListener(svcG2,"mouseout",function(){svcG2.hideControls();});svcG2.hideControls();}
function catOff(){svcG2.closeInfoWindow();cr0c5(this.index);}
function catDown(){clearInterval(this.hoverTimer);var p=this.getLatLng();this.hoverTimer=setInterval(function(){if(svcG2.getZoom()>=16)return;svcG2.zoomIn();svcG2.panTo(p);},1000);}
function catKick(){clearInterval(this.hoverTimer);var p=this.getLatLng();n1hIl(this.index,p.lat(),p.lng());di4m0nd(this.index);}
function di4m0nd(index){var f=svcG3[index];var p=f.dif2LN.getLatLng();var url="map/geocode.php?format=json&lat="+p.lat()+"&lng="+p.lng();GDownloadUrl(url,function(data,responseCode){if(responseCode==200){var t4x3z=eNgU(data);if(t4x3z==null)return;if(!iS2L(t4x3z.query_lat,t4x3z.query_lng,p)){return;}
if(t4x3z.status==200){var bounds=new GLatLngBounds();f.dif2LN.closeInfoWindow();cr0c5(f.index);f.taxiTimes=t4x3z;s='<div class="infoWindow">';s+="Lehetséges, hogy az alábbira gondolt?<table>"
for(var i=0;i<t4x3z.places.length;i++){var place=t4x3z.places[i];var latlng=new GLatLng(place.lat,place.lng);var addr=place.street?place.street+" <small>("+place.city+")</small>":place.city;var dist=(place.distance<1.0?Math.round(place.distance*1000)+" méter":(Math.round(place.distance*10)/10)+" kilométer");var url="javascript:fr8t3r("+f.index+","+i+")";place.dif2LN=new GMarker(latlng,new GIcon(G_DEFAULT_ICON,"map/markers/pin-"+(f.index?"red":"green")+"-"+(i+1)+".png"));place.dif2LN.bindInfoWindowHtml(addr+"<br/>Legyen ez az "+(f.index?"érkezési pont":"indulási pont").link(url),iWO);svcG2.addOverlay(place.dif2LN);s+='<tr valign="top">';s+='<td align="center">';s+='<img src="map/markers/pin-'+(f.index?"red":"green")+'-'+(i+1)+'-small.png" width="10" height="17" border="0" hspace="2" alt="'+(i+1)+'"/>';s+='</td>';s+='<td align="left">';s+=addr.link(url)+", innen "+dist;s+='&nbsp;';s+='<img src="map/locate.gif" alt="Nézzük!" border="0"/>'.link("javascript:setCenter("+place.lat+","+place.lng+",16)");s+='</td>';s+='</tr>';bounds.extend(latlng);}
s+="</table>";s+="</div>";svcG2.setCenter(bounds.getCenter(),svcG2.getBoundsZoomLevel(bounds)-1);f.dif2LN.openInfoWindowHtml(s,iWO);}else{}}});}
function cr0c5(index){var f=svcG3[index];if(f.taxiTimes){for(var i=0;i<f.taxiTimes.places.length;i++){var place=f.taxiTimes.places[i];if(place.dif2LN){svcG2.removeOverlay(place.dif2LN);place.dif2LN=null;}}}}
function fr8t3r(index,n){var f=svcG3[index];if(f.taxiTimes){f.place=f.taxiTimes.places[n];n1hIl(index,f.place.lat,f.place.lng);}
cr0c5(index);}
function cr4ck3rz(inp){if(inp==inp.z4p.taxiRoute){return"map/suggest_city.php?limit=15&city="+inp.value.b05();}else{return"map/suggest_addr.php?limit=15&city="+inp.z4p.taxiRoute.value.b05()+"&street="+inp.value.b05();}}
function br33z(inp,value){var f=inp.z4p;var data=eNgU(value);if(data){if(inp==f.taxiRoute){inp.value=data.city;}else{f.place=data;n1hIl(f.index,f.place.lat,f.place.lng);}}
f.focus();}
function ohMy7(point,src,overlay){var p=this.fromContainerPixelToLatLng(point);var s;s='<div class="infoWindow">';s+="Legyen ez a:<ul>";s+="<li>"+"kiindulási pont".link("javascript:n1hIl(0,"+p.lat()+","+p.lng()+");di4m0nd(0);")+"</li>";s+="<li>"+"érkezési pont".link("javascript:n1hIl(1,"+p.lat()+","+p.lng()+");di4m0nd(1);")+"</li>";s+="</ul>";s+="<p>Nagyítás: "
s+="utca szint".link("javascript:setCenter("+p.lat()+","+p.lng()+",15)")+", ";s+="kerület szint".link("javascript:setCenter("+p.lat()+","+p.lng()+",13)")+", ";s+="város szint".link("javascript:setCenter("+p.lat()+","+p.lng()+",11)")+".";s+="</p>";s+="</div>";this.openInfoWindowHtml(p,s,iWO);}
function setCenter(lat,lng,zoom){svcG2.setCenter(new GLatLng(lat,lng),zoom);}
function redrawLNT(){k1ll4();for(var i=0;i<=1;i++){cr0c5(i);svcG3[i].taxiRoute.value="Budapest";svcG3[i].arrv2.value="";svcG3[i].modified=false;}
svcG3[0].dif2LN.openInfoWindow(document.createTextNode("Mozgassa a zöld és a narancssárga autót a kiindulási illetve érkezési pontba, vagy írja be az indulási és érkezési címeket!"),iWO);svcG3[0].focus();}
function n1hIl(index,lat,lng){k1ll4();gr33N(index,new GLatLng(lat,lng));}
function gr33N(index,latlng){var f=svcG3[index];if(!f.dif2LN.getLatLng().equals(latlng)){f.dif2LN.setLatLng(latlng);f.dif2LN.moved=true;}
if(f.place.lat&&iS2L(f.place.lat,f.place.lng,latlng)){f.taxiRoute.value=f.place.city;f.arrv2.value=f.place.street;f.modified=true;}else{f.taxiRoute.value="Budapest";f.arrv2.value="";}
showMarker(index);}
function showMarker(index,zoom){var f=svcG3[index];var p=f.dif2LN.getLatLng();svcG2.panTo(p);if(zoom)svcG2.setZoom(16);s='<div class="infoWindow">';s+="<p>";if(f.place.lat&&iS2L(f.place.lat,f.place.lng,p)){var addr=(f.place.city?f.place.city+(f.place.county&&f.place.county.b03().indexOf("budapest")<0?" ("+f.place.county+" megye)":"")+", ":"")+(f.place.street.length?f.place.street:"központ");s+=(index?"Érkezési pont:":"Indulási pont:");s+="<br/>";s+="<big><b>"+addr.b02()+"</b></big>";}else{s+="Ez az "+(index?"érkezési":"indulási")+" pont. Megváltoztathatja az autót a térképen mozgatva, vagy a címet beírva a fenti mezőbe.";}
s+="</p>";s+="<p>Nézzük inkább az "+(index?"indulási":"érkezési").link("javascript:showMarker("+(1-index)+")")+" pontot?</p>";s+="<p>Nagyítás: "
s+="utca szint".link("javascript:setCenter("+p.lat()+","+p.lng()+",15)")+", ";s+="kerület szint".link("javascript:setCenter("+p.lat()+","+p.lng()+",13)")+", ";s+="város szint".link("javascript:setCenter("+p.lat()+","+p.lng()+",11)")+".";s+="</p>";s+="</div>";f.dif2LN.openInfoWindowHtml(s,iWO);}
function iS2L(lat,lng,p){var same=(Math.round(lat*100)==Math.round(p.lat()*100)&&Math.round(lng*100)==Math.round(p.lng()*100))
return same;}
function pLm6(pm){var place=new Object();place.lat=pm.Point.coordinates[1];place.lng=pm.Point.coordinates[0];place.country=null;place.county=null;place.city=null;place.street=pm.address;if(pm.AddressDetails.Country){place.country=pm.AddressDetails.Country.CountryNameCode;if(pm.AddressDetails.Country.AdministrativeArea){place.county=pm.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName;if(pm.AddressDetails.Country.AdministrativeArea.Locality){place.city=pm.AddressDetails.Country.AdministrativeArea.Locality.LocalityName;if(pm.AddressDetails.Country.AdministrativeArea.Locality.Thoroughfare){place.street=pm.AddressDetails.Country.AdministrativeArea.Locality.Thoroughfare.ThoroughfareName;}
if(pm.AddressDetails.Country.AdministrativeArea.Locality.DependentLocality){place.city+=" ("+pm.AddressDetails.Country.AdministrativeArea.Locality.DependentLocality.DependentLocalityName+")";if(pm.AddressDetails.Country.AdministrativeArea.Locality.DependentLocality.Thoroughfare){place.street=pm.AddressDetails.Country.AdministrativeArea.Locality.DependentLocality.Thoroughfare.ThoroughfareName;}}}
if(pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea){place.city=pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName;if(pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality){if(pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare){place.street=pm.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare.ThoroughfareName;}}}}}
return place;}
function k7zz(place){return place?"[city: "+place.city+", street: "+place.street+", lat: "+place.lat+", lng: "+place.lng+"]":null;}
function findAddress(index){a765(index,false);}
function a765(index,autoDirections){var f=svcG3[index];cr0c5(f.index);var city=f.taxiRoute.value.b03();var street=f.arrv2.value.b03();if(city.length){f.disable();var url="map/geocode.php?format=json&city="+city.b05()+"&street="+street.b05();GDownloadUrl(url,function(data,responseCode){f.place=new Object();if(responseCode==200){var t4x3z=eNgU(data);if(t4x3z==null)return;if(t4x3z.query_city.b03()!=city){return;}
if(t4x3z.query_street.b03()!=street){return;}
if(t4x3z.status==200){if(t4x3z.places.length==1){f.place=t4x3z.places[0];n1hIl(f.index,f.place.lat,f.place.lng);svcG2.panTo(new GLatLng(f.place.lat,f.place.lng));svcG2.setZoom(f.place.street.length?15:12);if(autoDirections){getDirections(f.index);}}else{cr0c5(f.index);f.taxiTimes=t4x3z;f.dprt1.clearItems();f.dprt1.setTitle("A cím nem egyértelmű. Kérem, pontosítsa!");for(var i=0;i<t4x3z.places.length;i++){var place=t4x3z.places[i];var s='<div class="infoWindow">';s+=place.street?place.street+" <small>("+place.city+")</small>":place.city;s+='&nbsp;';s+='<img src="map/locate.gif" alt="Nézzük!" border="0"/>'.link("javascript:setCenter("+place.lat+","+place.lng+",16)");s+="<br/>Legyen ez az "+(f.index?"érkezési pont":"indulási pont").link("javascript:fr8t3r("+f.index+","+i+")");s+="</div>";f.dprt1.addValue(place.street+", "+place.city,DeGu(place));place.dif2LN=new GMarker(new GLatLng(place.lat,place.lng),new GIcon(G_DEFAULT_ICON,"map/markers/pin-"+(f.index?"red":"green")+".png"));place.dif2LN.bindInfoWindowHtml(s,iWO);svcG2.addOverlay(place.dif2LN);}
f.dprt1.showPopup();}}else if(t4x3z.status==602||t4x3z.status==603){alert("A megadott "+(f.index?"érkezési":"indulási")+" cím nem található.\nKérjük ellenőrizze!");f.focus();}else if(t4x3z.status==500||t4x3z.status==620){alert("A szolgáltatás pillanatnyilag nem elérhető.");}else{alert("Sajnáljuk, a cím lekérdezése nem sikerült.\r\nGoogleMaps hibakód: "+t4x3z.status);}}else{alert("Sajnáljuk, a cím lekérdezése nem sikerült.\r\nGoogleMaps hibakód: "+responseCode+"\r\n"+data.key2());}
f.enable();});}
return false;}
function getDirections(vcSubName){var f0=svcG3[0];var f1=svcG3[1];window.clearTimeout(f0.timeout);window.clearTimeout(f1.timeout);if(!f0.modified){alert("Kérjük, adja meg az indulási címet, vagy\nhelyezze el a térképen a zöld autót!");svcG2.panTo(f0.dif2LN.getLatLng());f0.focus();return;}
if(!f1.modified){alert("Kérjük, adja meg az érkezési címet, vagy\nhelyezze el a térképen a narancssárga autót!");svcG2.panTo(f1.dif2LN.getLatLng());f1.focus();return;}
var p0=f0.dif2LN.getLatLng();var p1=f1.dif2LN.getLatLng();var waypoints=new Array(p0,p1);if(svcG6==null){svcG6=new GDirections();GEvent.addListener(svcG6,"load",showDirections);GEvent.addListener(svcG6,"error",showDirections);}
if(vcSubName!=0){if(!f0.place.city||f0.place.city.b03()!=f0.taxiRoute.value.b03()){return a765(0,true);}
if(f0.place.street&&f0.place.street.b03()!=f0.arrv2.value.b03()){return a765(0,true);}}
if(vcSubName!=1){if(!f1.place.city||f1.place.city.b03()!=f1.taxiRoute.value.b03()){return a765(1,true);}
if(f1.place.street&&f1.place.street.b03()!=f1.arrv2.value.b03()){return a765(1,true);}}
k1ll4();cr0c5(0);cr0c5(1);f0.dif2LN.closeInfoWindow();f1.dif2LN.closeInfoWindow();f0.disable();f1.disable();svcG6.loadFromWaypoints(waypoints,{locale:"hu_HU",getPolyline:true,getSteps:true});}
function k1ll4(){if(svcG6){var poly=svcG6.getPolyline();if(poly)svcG2.removeOverlay(poly);while(rElE.firstChild){rElE.removeChild(rElE.firstChild);}}}
function showDirections(){var status=svcG6.getStatus();var nroutes=svcG6.getNumRoutes();if(status.code==200||nroutes>=1){var form=sH00t();var bounds=svcG6.getBounds();svcG2.addOverlay(svcG6.getPolyline());svcG2.setCenter(bounds.getCenter(),svcG2.getBoundsZoomLevel(bounds));for(var i=0;i<nroutes;i++){var f;var route=svcG6.getRoute(i);var distance=route.getDistance();var duration=route.getDuration();for(var j=0;j<=1;j++){if(svcG6.getNumGeocodes()<=j)continue;f=svcG3[j];var pm=pLm6(svcG6.getGeocode(j));if(!iS2L(f.place.lat,f.place.lng,new GLatLng(pm.lat,pm.lng))||f.arrv2.value.b01().length==0){if(pm.city&&pm.city.b01().length)f.place.city=pm.city;if(pm.street&&pm.street.b01().length&&f.place.street.b03().indexOf(pm.street.b03())<0)f.place.street=pm.street;if(pm.zip&&pm.zip.b01().length)f.place.zip=pm.zip;f.place.lat=pm.lat;f.place.lng=pm.lng;}}
gr33N(0,route.getStep(0).getLatLng());gr33N(1,route.getEndLatLng());var cols=[{name:"Éjszakai",mulFare:0.25,mulTime:0.8},{name:"Nappali",mulFare:0.8,mulTime:1.0},{name:"Csúcs",mulFare:1.5,mulTime:1.5}];var table=document.createElement("table");var tr,td;table.className="fares";tr=table.insertRow(-1);td=tr.insertCell(-1);td.rowSpan=2;td.colSpan=2;td.innerHTML="Tarifaosztály";td=tr.insertCell(-1);td.colSpan=cols.length;td.className="tableHeadTop";td.innerHTML="Forgalom erőssége";tr=table.insertRow(-1);for(var c=0;c<cols.length;c++){td=tr.insertCell(-1);td.axis="forgalom";td.className="tableHeadTop";td.innerHTML=cols[c].name;}
var distkm=distance.meters/1000.0;for(f=1;f<fares.length;f++){var fare=fares[f];var from=svcG3[0].place;var to=svcG3[1].place;from.inArea=to.inArea=function(areaName){var odd=false;var poly=fareAreas[areaName];var n=poly.length;for(var i=0,j=n-1;i<n;i++){var i_lat=poly[i][0],i_lng=poly[i][1];var j_lat=poly[j][0],j_lng=poly[j][1];if(i_lng<this.lng&&j_lng>=this.lng||j_lng<this.lng&&i_lng>=this.lng){if(i_lat+(this.lng-i_lng)/(j_lng-i_lng)*(j_lat-i_lat)<this.lat){odd=!odd;}}
j=i;}
return odd;};var fromCity=from.city;if(fromCity)fromCity=fromCity.b03();if(fromCity.indexOf("budapest")==0)fromCity="budapest";var toCity=to.city;if(toCity)toCity=toCity.b03();if(toCity.indexOf("budapest")==0)toCity="budapest";var fromCounty=from.county;if(fromCounty)fromCounty=fromCounty.b03();if(fromCounty=="")fromCounty=fromCity;var toCounty=to.county;if(toCounty)toCounty=toCounty.b03();if(toCounty=="")toCounty=toCity;var condition=eval(fareConditions[fare.cond]);if(!condition)continue;if(fare.name){tr=table.insertRow(-1);td=tr.insertCell(-1);td.className="tableHeadLeft";td.innerHTML=f+".";td=tr.insertCell(-1);td.axis="díjszabás";td.className="tableHeadLeft";td.innerHTML=fare.name.b02();for(var c=0;c<cols.length;c++){var forint=0;if(fare.base){forint+=fare.base;}
if(fare.perkm){forint+=distkm*fare.perkm;}
if(fare.permin){forint+=distkm*fare.permin*cols[c].mulFare;}
forint=Math.round(forint);var kerek=10;var apro=forint%kerek;forint-=apro;if(apro>=kerek/2)forint+=kerek;td=tr.insertCell(-1);td.align="right";td.className="forint column"+(c+1);td.innerHTML=new Number(forint).toString(10)+",-&nbsp;Ft";}}}
tr=table.insertRow(-1);td=tr.insertCell(-1);td.colSpan=2;td.className="tableHeadLeft";td.innerHTML="Az&nbsp;útvonal&nbsp;hossza:";td=tr.insertCell(-1);td.className="routeLength";td.colSpan=cols.length;td.innerHTML=distance.html;tr=table.insertRow(-1);td=tr.insertCell(-1);td.colSpan=2;td.className="tableHeadLeft";td.innerHTML="Becsült&nbsp;időtartam:";for(var c=0;c<cols.length;c++){td=tr.insertCell(-1);td.className="routeDuration column"+(c+1);td.innerHTML=Math.round(duration.seconds*cols[c].mulTime/60)+"&nbsp;perc";}
rElE.appendChild(table);table=document.createElement("table");}}else{alert("Sajnáljuk, az útvonal lekérdezése nem sikerült. A GoogleMaps hibakód: "+status.code);}
svcG3[0].enable();svcG3[1].enable();}
function eNgU(json){var obj=null;json=json.b01();if(json.charAt(0)=='{'&&json.charAt(json.length-1)=='}'){try{eval("obj = "+json);}catch(err){}}
return obj;}
function DeGu(obj){var json="null";if(obj!==null&&obj!==undefined){var rs=/(\x5c|\x2F|\x22|[\x0c-\x0d]|[\x08-\x0a])/g;var ru=/([\x00-\x07]|\x0b|[\x0e-\x1f])/g;var s=function(i,d){var c={"\b":"b","\t":"t","\n":"n","\f":"f","\r":"r",'"':'"',"\\":"\\","/":"/"};return"\\"+c[d];};var u=function(i,d){var n=d.charCodeAt(0).toString(16);var p=["","000","00","0",""];return"\\u"+p[n.length]+n;};var i=0,j;switch(typeof(obj)){case"array":json=new Array();for(j=0;j<obj.length;j++){if(obj[j]!==undefined){json[i++]=DeGu(obj[j]);}}
json="["+json.join(",")+"]";break;case"boolean":json=new String(obj);break;case"date":case"function":break;case"number":json=isFinite(obj)?new String(obj):"null";break;case"string":json='"'+obj.replace(rs,s).replace(ru,u)+'"';break;default:json=new Array();for(j in obj){if(obj[j]!==undefined&&obj[j]!==obj){json[i++]='"'+j.replace(rs,s).replace(ru,u)+'":'+DeGu(obj[j]);}}
json="{"+json.join(",")+"}";break;}}
return json;}
function sH00t(){return document.forms[0];}
