<!-- Begin
/*----------------------------------------------------------------------------------------
|
|Elmira Restaurant Script by Josh Miller @ web@cityofelmira.net
|written for the the City of Elmira @ http://www.cityofelmira.net
|DO NOT USE THIS SCRIPT WITHOUT PERMISSION
-------------------------------------------------------------------------------------------*/ 
rest=new Array(); x=0;store=new Array();
rname=0;adres=1;phone=2;wbpge=3;bfast=4;lunch=5;dnner=6;famly=7;fastf=8;fulls=9;taver=10;reser=11;takeo=12;dlvry=13;liven=14;crdit=15;check=16;descr=17;hours=18;notes=19;cntct=20;email=21;mappd=22;rmenu=23;pctre=24;index=25;

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Coffee Café"
rest[x][adres]="140 West Gray Street<br> Elmira, NY 14901"
rest[x][phone]="(607) 735-9880"
rest[x][wbpge]="http://"
rest[x][bfast]="yes"
rest[x][lunch]="yes"
rest[x][dnner]=""
rest[x][famly]=""
rest[x][fastf]="yes"
rest[x][fulls]=""
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="no"
rest[x][crdit]="MasterCard, Visa, Amex, Discover"
rest[x][check]="no"
rest[x][descr]="The best coffee in town, fresh muffins, brownies, soups and panini sandwiches."
rest[x][hours]="M-F: 7:00am to 3:00pm<br>Sat: <br>Sun: "
rest[x][notes]="If you crave the best coffee in town, then you definitely need to visit the Coffee Cafe (formerly known as the Downtown Expresso). Large, tasty muffins and brownies are made daily right in the store. There are different soups every day. Be sure to try any one of our mouth-watering panini styled sandwiches."
rest[x][cntct]="Gregg Manos"
rest[x][email]="gmanos@stny.rr.com"
rest[x][mappd]=""
rest[x][rmenu]=""
rest[x][pctre]=""
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Horigan's Tavern"
rest[x][adres]="365 Davis Street<br> Elmira, NY 14901"
rest[x][phone]="(607) 732-6625"
rest[x][wbpge]="http://"
rest[x][bfast]=""
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]="yes"
rest[x][fastf]=""
rest[x][fulls]="yes"
rest[x][taver]="yes"
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="yes"
rest[x][crdit]="Visa, Master Card, American Express"
rest[x][check]="yes"
rest[x][descr]="Where Irish Hospitality is Always on Tap"
rest[x][hours]="M-F: Food- 11:00am to 11:00pm Bar- 11:00am to 1:00am<br>Sat: Food- 4:00pm to 11:00pm Bar- 4:00pm to 1:00am<br>Sun: Closed"
rest[x][notes]=""
rest[x][cntct]="Katie Boland"
rest[x][email]="horigans@hotmail.com"
rest[x][mappd]="http://maps.yahoo.com/py/maps.py?Pyt=Typ&name=Horigan%27s+Tavern&desc=(607)+732-6625&csz=Elmira+NY+14901&country=us&mag=8&cs=9&ed=MoF7GK160SzmCEA_Rjw4H_4dx9gjprBfD.l1EVERvS4lG0lJMszwj8Kn0DgpprE-"
rest[x][rmenu]=""
rest[x][pctre]=""
x++ 


rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Southside Sub Shop"
rest[x][adres]="374 S. Main Street<br> Elmira, NY 14904"
rest[x][phone]="(607) 734-7045"
rest[x][wbpge]="http://"
rest[x][bfast]=""
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]=""
rest[x][fastf]="yes"
rest[x][fulls]=""
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="no"
rest[x][crdit]="no"
rest[x][check]="no"
rest[x][descr]="Offering the best subs in town for over 40 years."
rest[x][hours]="M-Th: 10:00am to 11:00pm<br>F-Sa: 10:00am to 12:00am<br>Sun: 10:00am to 10:00pm"
rest[x][notes]=""
rest[x][cntct]="Steven Harper"
rest[x][email]="sal2kharper@aol.com"
rest[x][mappd]="http://maps.yahoo.com/py/maps.py?Pyt=Typ&name=Southside+Sub+Shop&desc=(607)+734-7045&csz=Elmira+NY+14904&country=us&mag=8&cs=9&ed=U7oe0a160SztDt1VJui2YS1ORJgn6Skm.Y3DMImk6lp6UIAqH0.fiWAsQoXUwgZI"
rest[x][rmenu]=""
rest[x][pctre]=""
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Bernie Murray's"
rest[x][adres]="500 South Main Street<br> Elmira, NY 14904"
rest[x][phone]="(607) 734-1299"
rest[x][wbpge]="http://"
rest[x][bfast]=""
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]="yes"
rest[x][fastf]=""
rest[x][fulls]="yes"
rest[x][taver]="yes"
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="no"
rest[x][crdit]="Master Card & Visa"
rest[x][check]="no"
rest[x][descr]="Famous Chicken Wings and Irish Themed Sandwiches"
rest[x][hours]="M-F: 11:00am to 11:00pm<br>Sat: 11:00am to 11:00pm<br>Sun: 1:00 pm to 9:00pm"
rest[x][notes]=""
rest[x][cntct]="Joe Valent"
rest[x][email]="web@cityofelmira.net"
rest[x][mappd]="http://maps.yahoo.com/py/maps.py?Pyt=Typ&name=Bernie+Murray%27s&desc=(607)+734-1299&csz=Elmira+NY+14904&country=us&mag=8&cs=9&ed=q2D3Za160SyBj2Z0jXa5qWNfHYql90D7cKFP4Y8IstC0.AjZrRbekEeeLABumzub"
rest[x][rmenu]=""
rest[x][pctre]=""
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Beijing Garden Chinese Restaurant"
rest[x][adres]="145 West Gray St.<br> Elmira, NY 14901"
rest[x][phone]="(607) 732-7464"
rest[x][wbpge]="http://"
rest[x][bfast]=""
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]=""
rest[x][fastf]=""
rest[x][fulls]="yes"
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="yes"
rest[x][liven]="no"
rest[x][crdit]="Visa, Mastercard, American Express, Discover"
rest[x][check]="no"
rest[x][descr]="Casual atmosphere reasonable price & the best Chinese food in the area"
rest[x][hours]="M-Th: 11:30am to 10:00pm<br>F-Sa: 12:00pm to 10:30pm<br>Sun: 12:00pm to 9:30pm"
rest[x][notes]=""
rest[x][cntct]="Dennis Woo"
rest[x][email]="dwoo@stny.rr.com"
rest[x][mappd]="http://maps.yahoo.com/py/maps.py?Pyt=Typ&name=Beijing+Garden&desc=(607)+732-7464&csz=Elmira+NY+14901&country=us&mag=8&cs=9&ed=Az7CtK160Sw5DuZ8xHnXm_8wu.AMedepRXsr4gs7r1G.7boHjWBeIUyk7Gclejim"
rest[x][rmenu]=""
rest[x][pctre]="beijinggarden.jpg"
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Patrick's Tavern & Deli"
rest[x][adres]="303 College Avenue<br> Elmira, NY 14901"
rest[x][phone]="(607) 732-5159"
rest[x][wbpge]="http://"
rest[x][bfast]=""
rest[x][lunch]=""
rest[x][dnner]="yes"
rest[x][famly]=""
rest[x][fastf]=""
rest[x][fulls]=""
rest[x][taver]="yes"
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="no"
rest[x][crdit]="no"
rest[x][check]="yes"
rest[x][descr]="Irish hospitality for an adult clientele,featuring large wraps,<br>grilled sandwiches, melts, & homemade soups & chili"
rest[x][hours]="Mon: 3:00pm to 9:00pm<br> Tu-Sa: 3:00pm to 1:00am, kitchen open 5:00pm to 11:00pm<br>Sun: closed"
rest[x][notes]=" Just a stone's throw from the First Arena. The best music the satelite can offer, in addition to 6 TVs. Our sandwiches, soups and chili are guaranteed!!!! Adult environment w/children welcome (attended). Limited live music (benefits). Excellent service in comfortable setting. Clean, affordable and friendly. Established 1986 and proud to be serving the Twin Tiers for our 18th year. "
rest[x][cntct]="Patrick Michael Boland"
rest[x][email]="patboland77@hotmail.com"
rest[x][mappd]=""
rest[x][rmenu]=""
rest[x][pctre]="patricks.jpg"
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Pioneer Sports Bar and Grill"
rest[x][adres]="208 S Main Street<br> Elmira, NY 14901"
rest[x][phone]="(607) 733-8013"
rest[x][wbpge]="http://"
rest[x][bfast]=""
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]=""
rest[x][fastf]="yes"
rest[x][fulls]=""
rest[x][taver]="yes"
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="no"
rest[x][crdit]="Visa, Mastercard, American Express"
rest[x][check]="no"
rest[x][descr]="Best Wings in Town"
rest[x][hours]="M-F: 12:00pm-1:00am<br>Sat: 12:00pm-1:00am<br>Sun: 12:00pm-1:00am"
rest[x][notes]="We have many big screen TVs to watch sports.  Featuring Quickdraw."
rest[x][cntct]="joe maio"
rest[x][email]="ajma72@gmail.com"
rest[x][mappd]="http://maps.yahoo.com/py/maps.py?Pyt=Typ&name=Old+Pioneer&desc=(607)+733-8013&csz=Elmira+NY+14904&country=us&mag=8&cs=9&ed=wrM8La160SyfG03XJDFx3JeuUquJox3dBoUxSXobulVX4eXsFgp4PrpSwOQ4fT_z"
rest[x][rmenu]=""
rest[x][pctre]="pioneer.jpg"
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Moretti's Restaurant"
rest[x][adres]="800 Hatch Street<br> Elmira, NY 14901"
rest[x][phone]="(607) 734-1535"
rest[x][wbpge]="http://morettisrestaurant.net"
rest[x][bfast]=""
rest[x][lunch]=""
rest[x][dnner]="yes"
rest[x][famly]="yes"
rest[x][fastf]="yes"
rest[x][fulls]="yes"
rest[x][taver]="yes"
rest[x][reser]="yes"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="no"
rest[x][crdit]="mastercard, visa, discover, & amex"
rest[x][check]="yes"
rest[x][descr]="Opens at 5PM Daily"
rest[x][hours]="M-Th: 5:00pm - 9:30pm<br>Fri-Sat: 5:00pm - 10:00pm<br>Sun: 5:00pm - 9:30pm"
rest[x][notes]="Reservations suggested but not required. Personal checks require a valid Driver's License and telephone number"
rest[x][cntct]="Nicole Douglas"
rest[x][email]="nikkiedouglas@aol.com"
rest[x][mappd]="http://maps.yahoo.com/py/maps.py?Pyt=Typ&name=Moretti%27s+Restaurant&desc=(607)+734-1535&csz=Elmira+NY+14901&country=us&mag=8&cs=9&ed=G61rHK160SyPyX8LZhta9yhfR.KCk164ZvnJ7OeOsXLUxE3hPwHckHVvj10Pgps-"
rest[x][rmenu]=""
rest[x][pctre]="morettis.jpg"
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Pudgie's Pizza, Pasta, & Subs"
rest[x][adres]="350 South Main Street<br> Elmira, NY 14904"
rest[x][phone]="(607) 734-3334"
rest[x][wbpge]="http://www.pudgiespizza.net"
rest[x][bfast]=""
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]="yes"
rest[x][fastf]="yes"
rest[x][fulls]=""
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="yes"
rest[x][liven]="no"
rest[x][crdit]="Visa, Mastercard, American Express"
rest[x][check]="no"
rest[x][descr]="Elmira's First and Finest Pizzeria since 1963 on Elmira's SouthSide"
rest[x][hours]="M-Th: 11:00am to 11:00pm<br>Fr-Sa: 11:00am to 2:00am<br>Sun: 11:00 am to 11:00 pm"
rest[x][notes]="Family owned and operated by the Cleary family who started Pudgies in 1963 and still continues to use the ORIGINAL recipes and high standards that our late father Michael P. Cleary taught us. \"If you know it's SOUTHSIDE PUDGIE'S then you know its the BEST!!! \""
rest[x][cntct]="John R. Cleary"
rest[x][email]="jrcleary@stny.rr.com"
rest[x][mappd]="http://maps.yahoo.com/py/maps.py?Pyt=Typ&name=Pudgie%27s+Pizza+%26+Sub+Shops&desc=(607)+734-3334&csz=Elmira+NY+14904&country=us&mag=8&cs=9&ed=HZgb36160SyZPkR39wk1dIFtPKBfvS.369mXz1e2UIeZBEXvPQN.28MXzwF8UgCc"
rest[x][rmenu]=""
rest[x][pctre]="pudgiespizzasouth.jpg"
x++

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Gino's Pizzeria & Ristorante"
rest[x][adres]="1905 College Ave.<br> Elmira, NY 14901"
rest[x][phone]="(607) 733-6161"
rest[x][wbpge]="http://mizar5.com/ginos/0504.html"
rest[x][bfast]=""
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]="yes"
rest[x][fastf]=""
rest[x][fulls]="yes"
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="yes"
rest[x][liven]="no"
rest[x][crdit]="Mastercard, Visa, American Express"
rest[x][check]="no"
rest[x][descr]="Unique Italian Cuisine, Family Atmosphere"
rest[x][hours]="M-F: 11:00am to 10:00pm<br>Sat: 11:00am to 10:00pm<br>Sun: 11:00am to 10:00pm"
rest[x][notes]="Located at College Avenue and Kendall Place on Elmira's Northside.  Daily specials, delicious menu. View menu online. Party menu also available.  Visit our website for more details."
rest[x][cntct]="Tom Cornwell"
rest[x][email]="tom@mizar5.com"
rest[x][mappd]="http://maps.yahoo.com/py/maps.py?Pyt=Typ&name=Gino%27s+New+York+Pizzeria&desc=(607)+733-6161&csz=Elmira+NY+14901&country=us&mag=8&cs=9&ed=fufu2K160Syxw2v3rrzyz9IDslRbaHw4mrbC7BS3af.BO796D39NgXe0DUtgFrNISlx4"
rest[x][rmenu]="ginos.pdf"
rest[x][pctre]=""
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Lib's Supper Club"
rest[x][adres]="106 West 5th St<br> Elmira, NY 14901"
rest[x][phone]="(607) 733-2752"
rest[x][wbpge]="http://www.libssupperclub.com"
rest[x][bfast]=""
rest[x][lunch]=""
rest[x][dnner]="yes"
rest[x][famly]="yes"
rest[x][fastf]=""
rest[x][fulls]="yes"
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="no"
rest[x][crdit]="MC Visa AX"
rest[x][check]="no"
rest[x][descr]="Fine Italian Cuisine specializing in steaks and seafood, pasta dishes. Relaxed atmosphere, Est. over 50 years under the Spaziani family."
rest[x][hours]="M-F: 4:00pm to 9:00pm<br>Sat: 4:00pm to 9:00<br>Sun: 3:30pm to 7:00pm"
rest[x][notes]="Chef is an alumni of the Culinary Institute of America with over 30 years experience."
rest[x][cntct]="Joe Spaziani"
rest[x][email]="lsupper@stny.rr.com"
rest[x][mappd]="http://maps.yahoo.com/maps_result?q1=106+W.+Fifth%2C+Elmira%2C+NY+14901"
rest[x][rmenu]=""
rest[x][pctre]=""
x++

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="The Palms Restaurant"
rest[x][adres]="1157 North Main Street<br> Elmira, NY 14901"
rest[x][phone]="(607) 734-5599"
rest[x][wbpge]="http://"
rest[x][bfast]=""
rest[x][lunch]=""
rest[x][dnner]="yes"
rest[x][famly]=""
rest[x][fastf]=""
rest[x][fulls]="yes"
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="no"
rest[x][crdit]="Mastercard and Visa"
rest[x][check]="no"
rest[x][descr]="Serving classic, regional Italian food since 1946"
rest[x][hours]="T-F: 4:00pm to 10:00pm<br>Sat: 4:00pm to 10:00pm<br>Sun: Closed"
rest[x][notes]="The Palms has been chef-owned and operated by the Canali Family since 1946. The special menu has been inspired by the foods of Rome, and the seafood is representative of the towns along the Amalfi coast. The pastas are homemade and the meats and vegetables fresh. The Palms has been featured in <i>Food and Wine</i> magazine, <i>The Complete Book of Pasta</i>, and <i>The Meat and Potatoes Cookbook</i> by Jack Denton Scott. "
rest[x][cntct]="Rick Canali"
rest[x][email]="morolo1000@aol.com"
rest[x][mappd]="http://maps.yahoo.com/maps_result?ed=utnSka160SzPkLT8fD.zSXTqKkjEcg90g9_XnDBMzT6_kKRVxvg9chcClxfeA3kl87MJuFM-&name=Palms+Restaurant&desc=%28607%29+734-5599&csz=Elmira+NY&country=us&cs=10&qty=9&ds=n"
rest[x][rmenu]=""
rest[x][pctre]=""
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="McDonalds"
rest[x][adres]="410 North Main<br> Elmira, NY 14901"
rest[x][phone]="(607) 733-2303"
rest[x][wbpge]="http://www.mcdonalds.com/usa.html"
rest[x][bfast]="yes"
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]="yes"
rest[x][fastf]="yes"
rest[x][fulls]=""
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="no"
rest[x][crdit]="no"
rest[x][check]="no"
rest[x][descr]="We Love To See You Smile!"
rest[x][hours]="M-F: <b>Inside:</b> 5:45am to 11:00pm <b>Drive Thru:</b> 5:45am to 12:00am<br>Sat: <b>Inside:</b> 6:00am to 11:00pm <b>Drive Thru:</b> 6:00am to 12:00am<br>Sun: <b>Inside:</b> 6:00am to 11:00pm <b>Drive Thru:</b> 6:00am to 12:00am"
rest[x][notes]="Don't miss our Dollar Menu Specials"
rest[x][cntct]="Angie White"
rest[x][email]="gapgirl2271@aol.com"
rest[x][mappd]="http://maps.yahoo.com/maps_result?ed=OA7e1.p_0ToEG1SUNvv2HvHxMMA-&csz=Elmira%2C+NY+14901&country=us&new=1&name=&qty="
rest[x][rmenu]=""
rest[x][pctre]="mcdonalds.jpg"
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Pietro and Son Italian Restaurant"
rest[x][adres]="400 w. washington ave.<br> Elmira, NY 14901"
rest[x][phone]="(607) 733-4400"
rest[x][wbpge]="http://www.pietroandson.com"
rest[x][bfast]=""
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]="yes"
rest[x][fastf]=""
rest[x][fulls]="yes"
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="yes"
rest[x][liven]="no"
rest[x][crdit]="discover, visa, mastercard"
rest[x][check]="no"
rest[x][descr]="Nothing comes closer to the taste of Italy than Pietro's."
rest[x][hours]="M-F: 11:00am to 10:00pm<br>Sat: 11:00am to 10:00pm<br>Sun: 2:00pm to 9:00pm"
rest[x][notes]="We offer you fresh, homemade bread, meatballs, soups, and much more. Eating at Pietro's is like eating in Italy, with great italian food at your dish, a variety of wines to choose from, and relaxing italian music playing in the backround. Reservations suggested but not required. We would also love to cater at your parties, meetings, and get-togethers. Deliveries and Take-out also available."
rest[x][cntct]="Nino Mannino and Steve Troia"
rest[x][email]="fm_champofsoccer@yahoo.com"
rest[x][mappd]="http://maps.yahoo.com/maps_result?newFL=Use+Address+Below&addr=400+W+Washington+Ave&csz=Elmira%2C+NY+14901&.intl=us&name=&lat=&lon=&srchtype=a&qty=&new=1&trf=0&getmap=Get+Map"
rest[x][rmenu]=""
rest[x][pctre]="pietros.jpg"
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Hill Top Inn"
rest[x][adres]="171 Jerusalem Hill Rd<br> Elmira, NY 14901"
rest[x][phone]="(607) 732-6728"
rest[x][wbpge]="http://www.hill-top-inn.com"
rest[x][bfast]=""
rest[x][lunch]=""
rest[x][dnner]="yes"
rest[x][famly]=""
rest[x][fastf]=""
rest[x][fulls]="yes"
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="yes"
rest[x][crdit]="Most"
rest[x][check]="yes"
rest[x][descr]="A Chemung County Landmark Restaurant with outdoor dining in season overlooking the Beautiful Chemung Valley."
rest[x][hours]="M-Th: 5:00 - 10:00pm<br>Fri-Sat: 5:00 - 1:00 am<br>Sun: Closed except for Mother's Day, Easter, and EC Graduation"
rest[x][notes]="Family owned since 1933, Hill Top Inn offers a dining experience unlike any other in the Twin Tiers. You will experience the same beautiful view of the Chemung Valley that inspired Mark Twain from this one-time summer home. Enjoy fine American cuisine, a classical/jazz pianist every weekend, and a selection of New York State's finest wines. Reservations suggested.  Don't forget to visit us at Wisner Market for lunch during the summer."
rest[x][cntct]="Michael Sullivan"
rest[x][email]="hilltop@stny.rr.com"
rest[x][mappd]="http://maps.yahoo.com/maps_result?newFL=Use+Address+Below&addr=171+Jerusalem+Hill+Rd&csz=Elmira%2C+NY+14901&.intl=us&name=&lat=&lon=&srchtype=a&qty=&new=1&trf=0&getmap=Get+Map"
rest[x][rmenu]=""
rest[x][pctre]=""
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Vincenzo's Pizzeria"
rest[x][adres]="310 N. Main Street<br> Elmira, NY 14901"
rest[x][phone]="(607) 732-3647"
rest[x][wbpge]="http://"
rest[x][bfast]=""
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]="yes"
rest[x][fastf]=""
rest[x][fulls]=""
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="yes"
rest[x][liven]="no"
rest[x][crdit]="all"
rest[x][check]="no"
rest[x][descr]="We put a little love in every bite."
rest[x][hours]="M-F: 11:00am to 10:00pm<br>Sat: 11:00am to 10:00pm<br>Sun: 4:00pm to 9:00pm"
rest[x][notes]=""
rest[x][cntct]="Vinnie and Dominic Sidari"
rest[x][email]="DSidari@stny.rr.com"
rest[x][mappd]="http://maps.yahoo.com/maps_result?newFL=Use+Address+Below&addr=310+N+Main+St&csz=Elmira%2C+NY+14901&.intl=us&name=&lat=&lon=&srchtype=a&qty=&new=1&trf=0&getmap=Get+Map"
rest[x][rmenu]=""
rest[x][pctre]="vincenzos.jpg"
x++ 

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Main Street Cafe"
rest[x][adres]="164 North Main Street<br> Elmira, NY 14901"
rest[x][phone]="(607) 733-3777"
rest[x][wbpge]="http://mainstreetcafe.i8.com/"
rest[x][bfast]="yes"
rest[x][lunch]="yes"
rest[x][dnner]=""
rest[x][famly]="yes"
rest[x][fastf]="yes"
rest[x][fulls]="yes"
rest[x][taver]=""
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="yes"
rest[x][liven]="no"
rest[x][crdit]="no"
rest[x][check]="yes"
rest[x][descr]="Great food, great atmosphere, and a great price!"
rest[x][hours]="M-F: 8:00am to 3:00pm<br>Sat: <br>Sun: "
rest[x][notes]="We have a build your own breakfast menu (available between 8:00am and 10:30am) and a new range of delicious deli sandwiches. We still keep all the old favorites such as Philly Cheesesteaks, Tuna Melts, Hamburgers and Hotdogs but we are adding exciting new items to the menu all the time."
rest[x][cntct]="Michelle Charles"
rest[x][email]="info@mainstreetcafe.i8.com"
rest[x][mappd]="http://maps.yahoo.com/maps_result?q1=164+N.+Main%2C+Elmira%2C+NY+14901"
rest[x][rmenu]=""
rest[x][pctre]="mainstcafe.jpg"

rest[x]=new Array();
rest[x][index]=x;
rest[x][rname]="Anthony's Restaurant"
rest[x][adres]="760 East Water Street<br> Elmira, NY 14901"
rest[x][phone]="(607) 734-0402"
rest[x][wbpge]="http://www.FingerLakesHotels.com"
rest[x][bfast]="yes"
rest[x][lunch]="yes"
rest[x][dnner]="yes"
rest[x][famly]="yes"
rest[x][fastf]=""
rest[x][fulls]="yes"
rest[x][taver]="yes"
rest[x][reser]="no"
rest[x][takeo]="yes"
rest[x][dlvry]="no"
rest[x][liven]="yes"
rest[x][crdit]="Visa, Mastercard, Discover, American Express"
rest[x][check]="yes"
rest[x][descr]="At Anthony's Restaurant and Anthony's Grill you can enjoy refreshments or dine in a warm and inviting atmosphere. An array of fresh, delicious menu items ensures enjoyable meals every day at breakfast, lunch and dinner. "
rest[x][hours]="M-F: 6:30am to 2:00pm and 5:00pm to 9:00pm<br>Sat: 7:00am to 1:00pm and 5:00pm to 9:00pm<br>Sun: 7:00am to 1:00pm and 5:00pm to 9:00pm"
rest[x][notes]="Anthony's Restaurant - Daily Lunch and Dinner Specials every week. Anthony's Grill - Karaoke Every Thursday Night, 9 pm - 1 am, No Cover Charge Anthony's Grill - Trivia Every Friday Night, 8 pm - 10 pm, $3.00 charge. Prizes given out to top 3 teams. Anthony's Grill - Live Band every Saturday night! Cover charge may apply. "
rest[x][cntct]="Amy Clarkson"
rest[x][email]="restaurant-hinn@stny.rr.com"
rest[x][mappd]="http://maps.yahoo.com/maps_result?q1=760+E.+Water%2C+Elmira%2C+NY+14901"
rest[x][rmenu]=""
rest[x][pctre]="anthonys.jpg"
x++ 



//***************************************************************************************************************************************************************************************************************************************************************************

function start(){
	var a=document.location.toString();
	b=a.length;							
	c=a.lastIndexOf("html");				
	c=c+4;	
	var z=a.substring(c,b);
	if( z==""){
		printGrid()
	}
	else{
		state=z.substring(1,5);
		if (state=="rest"){						// VIEW RESTAURANT 				
			restaurant=z.substring(6,z.length)
			showRestaurant(restaurant)		
		}
		else if (state=="filt"){				// FILTER THE RESTAURANT LIST
			filter=z.substring(6,z.length)
			filterGrid(filter)
		}
		else{									// VIEW LIST OF RESTAURANTS					
			printGrid()
		}
	}
}	//end Start Function

function printHeader(){
	document.write("<table border='1' cellpadding='1' cellspacing='0' ><tr>");
	document.write("<td width='168' valign='bottom'><img src='pics/dot.gif' width='168' height='1' border='0'><img src='pics/restaurants_name.gif' width='100' height='50' border='0'></td>");
	document.write("<td width='75'><img src='pics/dot.gif' width='75' height='1' border='0'><img src='pics/restaurants_type.gif' width='25' height='100' border='0'></td>");
	document.write("<td width='25' align='center' valign='middle'><img src='pics/dot.gif' width='25' height='1' border='0'><a href='restaurants.html?filt=4' title='Show Restaurants serving Breakfast'><img src='pics/restaurants_breakfast.gif' width='25' height='100' border='0'></a></td>");
	document.write("<td width='25' align='center' valign='middle'><img src='pics/dot.gif' width='25' height='1' border='0'><a href='restaurants.html?filt=5' title='Show Restaurants serving Lunch'><img src='pics/restaurants_lunch.gif' width='25' height='100' border='0'></a></td>");
	document.write("<td width='25' align='center' valign='middle'><img src='pics/dot.gif' width='25' height='1' border='0'><a href='restaurants.html?filt=6' title='Show Restaurants serving Dinner'><img src='pics/restaurants_dinner.gif' width='25' height='100' border='0'></a></td>");
	document.write("<td width='25' align='center' valign='middle'><img src='pics/dot.gif' width='25' height='1' border='0'><a href='restaurants.html?filt=11' title='Show Restaurants requiring reservations'><img src='pics/restaurants_reservations.gif' width='25' height='100' border='0'></a></td>");
	document.write("<td width='25' align='center' valign='middle'><img src='pics/dot.gif' width='25' height='1' border='0'><a href='restaurants.html?filt=12' title='Show Restaurants offering take-out'><img src='pics/restaurants_takeout.gif' width='25' height='100' border='0'></a></td>");
	document.write("<td width='25' align='center' valign='middle'><img src='pics/dot.gif' width='25' height='1' border='0'><a href='restaurants.html?filt=13' title='Show Restaurants offering delivery service'><img src='pics/restaurants_delivery.gif' width='25' height='100' border='0'></td>");
	document.write("<td width='25' align='center' valign='middle'><img src='pics/dot.gif' width='25' height='1' border='0'><a href='restaurants.html?filt=14' title='Show Restaurants with live entertainment'><img src='pics/restaurants_entertainment.gif' width='25' height='100' border='0'></a></td>");
	document.write("<td width='25' align='center' valign='middle'><img src='pics/dot.gif' width='25' height='1' border='0'><a href='restaurants.html?filt=15' title='Show Restaurants accepting credit cards'><img src='pics/restaurants_credit.gif' width='25' height='100' border='0'></a></td>");
	document.write("<td width='25' align='center' valign='middle'><img src='pics/dot.gif' width='25' height='1' border='0'><a href='restaurants.html?filt=16' title='Show Restaurants accepting personal checks'><img src='pics/restaurants_checks.gif' width='25' height='100' border='0'></a></td>");
	document.write("<td width='50' align='center' valign='middle'><img src='pics/dot.gif' width='50' height='1' border='0'><img src='pics/dot.gif' width='25' height='100' border='0'></td></tr>");
}

function printFoot(){
	document.write("</table>")
}

function printRow(x){
	if (x%2==0){ color='#ffffff'}
	else { color='#d3d3d3'}
	document.write("<tr><td bgcolor="+color+" class='righttext' valign='middle' align='left'><b><a href='restaurants.html?rest="+store[x][index]+"'>"+store[x][rname]+"</a></b><br>"+store[x][phone]+"<br>"+store[x][adres]+"<br></td>");
	document.write("<td align='left' bgcolor="+color+" class='righttext' valign='top'>"+getRestaurantType(x)+"</td>");
	if (store[x][bfast]!=""){document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/ball.gif' width='13' height='13' border='0'></td>");}
	else{document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/dot.gif' width='13' height='13' border='0'></td>");}
	if (store[x][lunch]!=""){document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/ball.gif' width='13' height='13' border='0'></td>");}
	else{document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/dot.gif' width='13' height='13' border='0'></td>");}
	if (store[x][dnner]!=""){document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/ball.gif' width='13' height='13' border='0'></td>");}
	else{document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/dot.gif' width='13' height='13' border='0'></td>");}
	if (store[x][reser]!="no"){document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/ball.gif' width='13' height='13' border='0'></td>");}
	else{document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/dot.gif' width='13' height='13' border='0'></td>");}
	if (store[x][takeo]!="no"){document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/ball.gif' width='13' height='13' border='0'></td>");}
	else{document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/dot.gif' width='13' height='13' border='0'></td>");}
	if (store[x][dlvry]!="no"){document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/ball.gif' width='13' height='13' border='0'></td>");}
	else{document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/dot.gif' width='13' height='13' border='0'></td>");}
	if (store[x][liven]!="no"){document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/ball.gif' width='13' height='13' border='0'></td>");}
	else{document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/dot.gif' width='13' height='13' border='0'></td>");}
	if (store[x][crdit]!="no"){document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/ball.gif' width='13' height='13' border='0'></td>");}
	else{document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/dot.gif' width='13' height='13' border='0'></td>");}
	if (store[x][check]!="no"){document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/ball.gif' width='13' height='13' border='0'></td>");}
	else{document.write("<td align='center' bgcolor="+color+" valign='middle'><img src='pics/dot.gif' width='13' height='13' border='0'></td>");}
	document.write("<td align='center' bgcolor="+color+" class='righttext' valign='middle'><a href='restaurants.html?rest="+store[x][index]+"'><img src='pics/restaurants_moreinfo.gif' border='0'></a></td></tr>");
}

function getRestaurantType(x){
	type=""
	if (store[x][famly]!=""){type=type+"Family<br>"}
	if (store[x][fastf]!=""){type=type+"Fast Food<br>"}
	if (store[x][fulls]!=""){type=type+"Full Service<br>"}
	if (store[x][taver]!=""){type=type+"Tavern/Bar<br>"}
	return type;
}

function printGrid(){
	for(i=0;i<rest.length;i++){
		store[i]=rest[i];
	}
	store.sort(Restaurantsort)
	document.write("<span class='title'>All Restaurants</span>")
	printHeader();
	for (i=0;i<rest.length;i++){
		printRow(i);
	}
	printFoot();
}

function filterGrid(x){
	counter=0;
	for(i=0;i<rest.length;i++){
		if (rest[i][x]!=""){
			if (rest[i][x]!="no"){
				store[counter]=rest[i];
				counter++;
			}
		}
	}
	store.sort(Restaurantsort)
	if(store.length==0){
		document.write("<span class='subtitle'>There are no restaurants in the Directory that match your criteria</span><br><br><a href='javascript:history.go(-1)'>Return to Directory Listings</a>");
	}
	else{
		if(x==4){document.write("<span class='title'>Restaurants Serving Breakfast</span>")}
		else if(x==5){document.write("<span class='title'>Restaurants Serving Lunch</span>")}
		else if(x==6){document.write("<span class='title'>Restaurants Serving Dinner</span>")}
		else if(x==7){document.write("<span class='title'>Family Restaurants</span>")}
		else if(x==8){document.write("<span class='title'>Fast Food Restaurants</span>")}
		else if(x==9){document.write("<span class='title'>Full Service Restaurants</span>")}
		else if(x==10){document.write("<span class='title'>Taverns/Bars</span>")}
		else if(x==14){document.write("<span class='title'>Restaurants with Live Entertainment</span>")}
		else if(x==11){document.write("<span class='title'>Restaurants Requiring Reservations</span>")}
		else if(x==12){document.write("<span class='title'>Restaurants with Take-Out Available</span>")}
		else if(x==13){document.write("<span class='title'>Restaurants with Delivery Service</span>")}
		else if(x==15){document.write("<span class='title'>Restaurants Accepting Credit Cards</span>")}
		else if(x==16){document.write("<span class='title'>Restaurants Accepting Personal Checks</span>")}
		else if(x==23){document.write("<span class='title'>Restaurants with an Online Menu</span>")}
		else {document.write("<span class='title'>Restaurants</span>")}
		printHeader();
		for (i=0;i<store.length;i++){
			printRow(i);
		}
		printFoot();
	}
}

function showRestaurant(x){
	document.write("<table border='0' cellpadding='0' cellspacing='0' width='500'><tr><td colspan='5' align='center'>");
	if(rest[x][pctre]!=""){
		document.write("<img src='restaurants/"+rest[x][pctre]+"' width='300' height='200' border='1'><br><br>");
	}
	else{
		document.write("<br>")
	}
	document.write("</td></tr>");
	document.write("<tr><td colspan='5'><span class='title'>"+rest[x][rname].toUpperCase()+"</span></td></tr>");
	document.write("<tr><td colspan='5' bgcolor='#990000'><img src='pics/dot.gif' width='5' height='2' border='0'></td></tr>");
	document.write("<tr><td colspan='5' align='center' class='restaurantmotto'>"+rest[x][descr]+"</td></tr>");
	document.write("<tr><td colspan='5' bgcolor='#990000'><img src='pics/dot.gif' width='5' height='2' border='0'></td></tr>");
	document.write("<tr><td colspan='3'>"+rest[x][adres]+"<br></td>");
	document.write("<td colspan='2' valign='top'>"+rest[x][phone]+"<br>");
	document.write("<a href='"+rest[x][wbpge]+"' target='blank'>"+rest[x][wbpge].substr(7,rest[x][wbpge].length)+"</a><br>");
	document.write("</td></tr>");
	document.write("<tr><td colspan='5' bgcolor='#990000'><img src='pics/dot.gif' width='5' height='2' border='0'></td></tr>");
	document.write("<tr><td colspan='5'><span class='subheader'>Restaurant Hours</span></td></tr>");
	document.write("<tr><td width='20'></td><td colspan='4'>"+rest[x][hours]+"<br></td></tr>");
	document.write("<tr><td colspan='3' class='subheader' valign='top' align='left'>Restaurant Type:</td>");
	document.write("<td valign='top' align='left' rowspan='14' colspan='2' class='subheader'>");
	if (rest[x][rmenu]!=""){
		document.write("<a href='restaurants/"+rest[x][rmenu]+"' target='_blank'><img src='pics/restaurant_menu.jpg' border='0' alt='Click here to display menu in pdf format'></a><br>");
	}
	if (rest[x][mappd]!=""){
		document.write("<a href='"+rest[x][mappd]+"' target='_blank'><img src='pics/restaurant_map.jpg' border='0' alt='Click here to see a map of the location by Yahoo! Maps'></a><br>");
	}
	if(rest[x][notes]!=""){
		document.write("<br>More&nbsp;Information:<br>");
		document.write("<table border='0' cellpadding='2' cellspacing='2' width='250'><tr><td class='restaurantborder'>"+rest[x][notes]+"</td></tr></table>");
	}
	document.write("</td></tr>");
	document.write("<tr><td width='20' valign='top' align='left'></td><td colspan='2' valign='top' align='left'>");
	type=""
	if (rest[x][famly]!=""){type=type+"Family Restaurant<br>"}
	if (rest[x][fastf]!=""){type=type+"Fast Food Restaurant<br>"}
	if (rest[x][fulls]!=""){type=type+"Full Service Restaurant<br>"}
	if (rest[x][taver]!=""){type=type+"Tavern/Bar<br>"}
	document.write(type);
	document.write("</td></tr><tr>");
	document.write("<td colspan='3' class='subheader' valign='top' align='left'>Reservations: </td></tr>");
	document.write("<tr><td width='20' valign='top' align='left'></td><td colspan='2' valign='top' align='left'>");
	if (rest[x][reser]=="yes"){ document.write("Required")}
	else{document.write("Not Required")}
	document.write("</td></tr><tr><td colspan='3' class='subheader' valign='top' align='left'>Take-out:</td></tr>");
	document.write("<tr><td width='20' valign='top' align='left'></td><td colspan='2' valign='top' align='left'>");
	if (rest[x][takeo]=="yes"){ document.write("Available")}
	else{document.write("Not Available")}
	document.write("</td></tr><tr>");
	document.write("<td colspan='3' class='subheader' valign='top' align='left'>Delivery&nbsp;Service: </td></tr>");
	document.write("<tr><td width='20' align='left' valign='top'></td><td valign='top' colspan='2' align='left'>");
	if (rest[x][dlvry]=="yes"){ document.write("Available")}
	else{document.write("Not Available")}
	document.write("</td></tr><tr>");
	document.write("<td align='left' colspan='3' class='subheader' valign='top'>Live Entertainment: </td></tr>");
	document.write("<tr><td width='20' align='left' valign='top'></td><td width='105' valign='top' align='left'>");
	if (rest[x][liven]=="yes"){ document.write("Yes")}
	else{document.write("No")}
	document.write("</td><td width='125' valign='top' align='left'></td></tr><tr>");
	document.write("<td align='left' colspan='3' class='subheader' valign='top'>Credit Cards: </td></tr><tr>");
	document.write("<td width='20' align='left' valign='top'></td><td colspan='2' valign='top' align='left'>");
	if (rest[x][crdit]!="no"){ document.write(rest[x][crdit])}
	else{document.write("Not Accepted")}
	document.write("</td></tr><tr>");
	document.write("<td align='left' colspan='3' class='subheader' valign='top'>Personal Checks: </td></tr><tr>");
	document.write("<td width='20' align='left' valign='top'></td><td colspan='2' valign='top' align='left'>");
	if (rest[x][check]=="yes"){ document.write("Accepted")}
	else{document.write("Not Accepted")}
	document.write("</td></tr>");
	document.write("<tr><td colspan='5' bgcolor='#990000'><img src='pics/dot.gif' width='5' height='2' border='0'></td></tr>");
	document.write("<tr><td align='center' valign='top' colspan='5'><a href='javascript:history.go(-1)'>Return to Directory Listings</a></td></tr>");
	document.write("<tr><td colspan='5' bgcolor='#990000'><img src='pics/dot.gif' width='5' height='2' border='0'></td></tr></table>");	
}

function Restaurantsort(A,B){
	//pre: 	A and B are arrays with an index of 0
	//post:	returns 1 if A is bigger than B
	//		returns -1 if A is smaller than B
	//		returns 0 if A is the same as B
	a=A[0]
	b=B[0]
	a=a.toLowerCase();									//set a and b to lowercase for comparison
	b=b.toLowerCase();
	result=new Array()									//store the result of the letter by letter comparison
	for (i=0; i<a.length; i++){							//for each character in the string
		if(a.charCodeAt(i)>b.charCodeAt(i)){			//if the unicode value of a is greater than b
			result[i]=1									//then store 1 in the result array
		}	//end if								
		else if (a.charCodeAt(i)<b.charCodeAt(i)){		//if the unicode value of a is less than b
			result[i]=-1								//then store -1 in the result array
		}	//end else if
		else if (a.charCodeAt(i)==b.charCodeAt(i)){		//if the unicode value of a is the same as b
			result[i]=0									//then store 0 in the result array
		}	//end else if
	}//end for loop
	g=0													//set g to 0 for a counter variable
	flag=0												//set the flag to 0 - assume they are the same word until proven otherwise
	while (flag==0 && g<result.length-1){				//while the flag proves they are still the same, and the result array has values
		test=result[g]									//assign test the value to be tested from the result array
		if(test==-1){									//if the result array is storing -1 then		
			flag=1										//change the flag
			Result=-1									//and store -1 to return to the function
		}	//end if				
		else if (test==1){								//if the result array is storing +1 then
			flag=1										//change the flag
			Result=1									//and store 1 to return to the function
		}	//end if else
		else if (test==0){								//if the result array is storing 0
			flag=0										//do not change the flag- the words may still be the same- check the rest of the result array
		}	//end if else								
		g++
	}	//end while
	if(flag==0){															//if the flag is still 0, the words are similar or the same: eg: Josh and Joshua
		if (a.length-b.length < 0){											//if the length of b is longer, then 
			Result=-1														//store -1 to return to the function
		}	//end if
		else if (b.length-a.length < 0){									//if the length of a is longer
			Result=1														//store 1 to return to the function
		}	//end else if													
		else if (a.length-b.length == 0){									//if the lengths are the same, it is the same word: eg: Josh and Josh
			Result=0														//store 0 to return to the function
		}	//end else if
	}
	return Result;															//return the stored Result to the function
}	//end Restaurantsort



