// Javascript Document

var Menu = new Array();      // menu items as they appear
var Link = new Array();		 // menu items links (file names)
var Menutext = new Array();  // contents of the food menu
var Visittext = new Array(); // visiting information

Menu[0] = "Home";
Link[0] = "index.html";

Menu[1] = "Menu";
Link[1] = "menu.html";

Menu[2] = "Our Story";
Link[2] = "story.html";

Menu[3] = "Visiting";
Link[3] = "visiting.html";

Menu[4] = "Specials";
Link[4] = "specials.html";

Menu[5] = "Announcements";
Link[5] = "announcements.html";

numberofpages = 5;
visitloader = 1;
lastnumber = 0;
numimages = 0;


Menutext[1] = "<div class='title'>APPETIZERS</div><div class='menuwords'><b>Garlic Breadsticks</b> &#45; Lightly brushed with garlic oil and served with a side of marinara sauce and Blue Moon garlic scape pesto for dipping. &#36;5.95<br/><b>Mini Hot Browns</b> &#45; Miniature versions of a Kentucky tradition. Roasted turkey, bacon, tomato and Mornay sauce stuffed into a toasted bread bowl, topped with melted cheese. &#36;5.95<br/><b>Antipasto</b> &#45; An assortment of house pickled local green beans, artichokes, pepperocini’s, piquante peppers, smoked salami, prosciutto, and local cheeses. &#36;9.95<br/><b>Scallop and Corn Fritters</b> &#45; Bits of hormone-free scallops and sweet corn dipped into batter, lightly fried, served with a remoulade dipping sauce. &#36;7.95<br/><b>Sausage Bites</b> &#45; Combination of Vito&#39;s Italian and Andouille sausages made in Woodford County, saut&#233;ed with peppers, onions and tomatoes. &#36;5.95<br/><b>Fried Mushrooms &#38; Artichokes</b> &#45; Deep fried in Kentucky Ale beer batter and served with a Horseradish Dijon dip. &#36;6.95<br/><b>Homemade Fries</b> &#45; Tossed with vinegar, Celtic sea salt, pepper and served with dipping sauces. &#36;5.95<br/><b>Root&#39;s Combo Dip</b> &#45; Two great dips consisting of our house made hummus and Caponata served with blue corn tortilla chips.	&#36;6.95<br/><b>Root&#39;s Burger Bites</b> &#45; Our version of four mini burgers made with local grass fed beef topped with American cheese and pickles.	&#36;7.95</div><div class='title'>SALADS</div><div class='menuwords'>Dressings : Ranch, Blue Cheese, Orange Vinaigrette, Honey Garlic Vinaigrette<br/><b>Root&#39;s Salad</b> &#45; Classic garden salad garnished with vegetables, tomatoes, homemade croutons and your choice of dressing. &#36;3.95 (Add a chicken breast for &#36;3.75) <br/><b>Caesar Salad</b> &#45; Romaine lettuce, homemade croutons, Reggiano and anchovies tossed with Robert’s classic Caesar dressing. &#36;4.95 (Add a chicken breast for &#36;3.75) <br/><b>Baby Lettuces</b> &#45; Cranberries, caramelized walnuts, Kenny&#39;s aged Gouda and a light orange vinaigrette.	&#36;4.95<br/><b>Wilted Baby Spinach</b> &#45; Wild mushrooms, onions, tomatoes, egg, and smoked bacon dressing.	&#36;5.95 (Add a chicken breast for &#36;3.75)<br/></div><div class='title'>SANDWICHES &#38; CALZONES</div><div class='menuwords'>Sandwiches are served with our famous homemade French Fries which can be substituted with one of our other great sides.<br/><b>Chicken Breast</b> &#45; Juicy 6 oz. roasted chicken breast topped with Swiss cheese, lettuce, tomato, mayo and pickles. (add bacon &#36;.50)	 &#36;7.95<br/><b>Corned Beef</b> &#45; Root&#39;s melt in your mouth corned beef piled high and garnished with cabbage, dressing and melted Swiss cheese.	&#36;8.95<br/><b>Classic American Hamburger</b> &#45; ½ lb of juicy Kentucky grass fed beef on homemade Texas Toast, then garnished with mayo, lettuce, tomato &#38; onion. &#36;8.95 (Add Bacon or Cheese - &#36; .50 each)<br/><b>Root&#39;s Calzone</b> &#45; A huge portion of Ricotta cheese, Italian sausage, Andouille, onions &#38; peppers stuffed in our homemade pizza dough with a side of marinara.	&#36;8.95<br/><b>Veggie Calzone</b> &#45; A combination of our fresh spinach, roasted tomatoes, red onion, green peppers and mushrooms stuffed with Ricotta cheese in our homemade pizza dough with a side of marinara.	&#36;8.95<br/></div><div class='title'>SIDES &#36;2.25 each</div><div class='menuwords'><div class='carte'>Parpadelle and Cheese</div><div class='carte'>Buttered Potatoes</div><div class='carte'>Cabbage</div><div class='carte'>Potato Salad</div><div class='carte'>Wilted Spinach</div><div class='carte'>Steamed Broccoli</div><div class='carte'>Kettle Chips</div><div class='carte'>Fresh Fruit</div><div class='carte'>Homemade French Fries</div><div class='carte'>Forked smashed potatoes</div><div class='carte'>Cole Slaw</div></div><div class='title'>ENTREES</div><div class='menuwords'>Some entrees have sides included, but these can be substituted with any of our other great sides.<br/><b>Roots Fried Chicken</b> &#45; Two breasts served with forked smashed potatoes and fresh saut&#233;ed vegetables then drizzled with pan gravy. (All white meat add &#36;1.00 ) &#36;11.95<br/><b>Roots Meatloaf</b> &#45; Root’s twist on an American classic. Robert’s hearty recipe using Brookview Farms grass-fed beef, served atop bleu cheese potato salad. &#36;8.95<br/><b>Sea Scallops</b> &#45; Three colossal injection-free scallops served on a bed of fork-mashed potatoes and fresh vegetable mirepoix with a red wine reduction sauce. &#36;18.95<br/><b>Corned Beef and Cabbage</b> &#45; Root&#39;s perfect melt in your mouth corned beef mounded atop a hearty portion of cabbage and buttered potatoes. Awesome! &#36;12.95<br/><b>Chicken Florentine</b> &#45; A lightly seasoned chicken breast saut&#233;ed in a white wine sauce with fresh spinach and mushrooms. Comes with your choice of one side item.	&#36;11.95<br/><b>Braised Wild Mushrooms &#38; Farmers Market Vegetable Ragu</b> &#45; With sweet potatoes and shaved Reggiano. &#36;12.95<br/><b>Porterhouse Pork Chop</b> &#45; One inch thick chop of local grass fed pork, seared to perfection and garnished with sweet potatoes and a pear apple chutney with choice of one side. &#36;14.95<br/><b>Market Steak of the Day</b> &#45; Dry-aged Kentucky grass fed beef, seared to temperature and served with your choice of two sides. Market Price<br/></div><div class='title'>PASTA</div><div class='menuwords'>All pastas are served with a Roots Salad<br/>(Lunch portions are served from 11:00 &#45; 3:00 daily for &#36;9.95)<br/><br/><b>Wild Mushroom, Squash &#38; Tomato</b> &#45; With parpadelle noodles and shaved Reggiano. &#36;11.95<br/><b>Classic Carbonara</b> &#45; Whole wheat spaghetti with local pea shoots, pancetta, egg and Reggiano cheese prepared in the classic Italian tradition. &#36;9.95 (Add a chicken breast for &#36;3.75)<br/><b>Vito&#39;s Italian Sausage</b> &#45; Woodford County&#39;s own served with fresh tomatoes, mushrooms, peppery arugula and shaved Reggiano. &#36;12.95<br/></div><div class='title'>CREATE &#45; A &#45; PIZZA</div><div class='menuwords'>Start with a 9&#34; cheese pizza for &#36;6.95, or make it with Kentucky&#39;s own Kenny&#39;s Farmhouse Artisan Cheeses for &#36;10.95, choose white or whole&#45;wheat crust, then add any of the following: <br>	<div class='smalltitle'>&#36;1.50 each </div>    <div class='carte'>Fresh Tomatoes</div><div class='carte'>Fresh Basil</div><div class='carte'>Red Onion</div><div class='carte'>Fresh Green Peppers</div><div class='carte'>Fresh Mushrooms</div><div class='carte'>Garlic Scape Pesto</div><div class='carte'>Extra Cheese</div><div class='carte'>Kalamata Olives</div><div class='carte'>Jalapeno Peppers</div><div class='carte'>Pepperoni</div><div class='carte'>Roasted Tomatoes</div><div class='carte'>Spinach</div>	<div class='smalltitle'>&#36;2.75 each</div><div class='carte'>Andouille Sausage</div><div class='carte'>Roasted Chicken</div><div class='carte'>Vito&#39;s Italian Sausage</div><div class='carte'>Smoked Bacon</div></div>	 <div class='title'>CHEF&#39;S PIZZAS</div><div class='menuwords'>Fresh and Slow Roasted Tomatoes with Basil. &#36;9.95<br/><br/>Pepperoni, Bacon, Andouille Sausage & Vito&#39;s Italian Sausage. &#36;12.95<br/><br/>Carolina Style BBQ Chicken. &#36;11.95<br/><br/>Vito&#39;s Italian Sausage with chunky tomato, green peppers, and red onion. &#36;11.95<br/><br/>Wild Mushroom & Blue Moon Garlic Scape pesto with fresh Basil. &#36;13.95</div>";
Menutext[2] = "<div class='menuwords'><b>Brunch is served from 10am &#45; 3pm every Saturday</b><br/><br/><b>Our eggs are farm fresh from local free&#45;range chickens</b></div><div class='title'>OMELETS</div><div class='menuwords'>Served with home fries and your choice of toast or biscuits.<br/><br/><b>Cheese Omelet</b> &#45; Made with Kenny&#39;s Farmhouse Artisan cheeses from Barren County. &#36;6.95<br/><br/><b>Mediterranean Omelet</b> &#45; Made with slow roasted tomato, squash, kalamata olives &#38; fresh baby spinach. &#36;8.95<br/><br/><b>Local Mushroom and Cheese Omelet</b> &#45; Bath County&#39;s own Sheltowee Farm mushrooms and Kenny&#39;s Artisan Cheeses. &#36;8.95<br/><br/><b>Kentucky Country Ham and Cheese Omelet</b> &#45; Locally raised and cured ham with Kenny&#39;s Artisan Cheeses. &#36;8.95</div><div class='title'>EGGS, BISCUITS, AND SUCH</div><div class='menuwords'><b>Root&#39;s Big Breakfast</b> &#45; Two eggs cooked to order, with your choice of our own smoked Andouille sausage or smoked bacon with home fries and toast. &#36;7.95<br/><br/><b>Root&#39;s Lighter Side</b> &#45; Two eggs cooked to order, served with toasted sourdough or southern cream biscuit and home fries. &#36;  5.95<br/><br/>	<b>Biscuits &#38; Gravy</b> &#45; House made southern cream biscuits and smoked Andouille sausage gravy with two scrambled eggs. &#36;6.95<br/><br/>	<b>Eggs Florentine</b> &#45; Two eggs cooked to order with Hollandaise and spinach over toast with a side of home fries. &#36;8.95<br/><br/>	<b>Breakfast Sandwich</b> &#45; Bacon or Andouille sausage with two eggs, cheese, lettuce, tomato and mayo, served on our honey white bread. &#36;7.95<br/><br/>	<b>Root&#39;s Eggs Benedict</b> &#45; Two poached eggs with country ham &#38; tomato over toast, then topped with Hollandaise, served with a side of home fries. &#36;8.95<br/><br/><br/>	<b>Fruit Plate</b> &#45; Large assortment of fresh fruit served with a side of yogurt. &#36;6.95<br/><br/></div><div class='title'>A LA CARTE</div><div class='menuwords'>	<div class='carte'>Two Eggs  &#36;3.95</div>	<div class='carte'>Smoked Bacon &#36;3.95</div><div class='carte'>Wheat/White Toast &#36;2.25</div>	<div class='carte'>Cream Biscuits &#36;2.95</div><div class='carte'>Andouille Sausage &#36;3.95</div><div class='carte'>Fresh Fruit  &#36;2.25</div>	<div class='carte'>Biscuits &#38; Gravy &#36;4.95</div><div class='carte'>Home Fries  &#36;2.25</div><div class='carte'>Wilted Spinach &#36;2.25</div></div>	<div class='title'>FOR THE KIDS</div><div class='menuwords'>All kid&#39;s meals are &#36;4.95<br/>Served with your choice of one side<br/><br/>Hot Dog<br/>Chicken Fingers<br/>Grilled Cheese<br/>Pasta &#38; Cheese<br/>Noodles with Tomato Sauce &#38; Cheese<br/>Cheese Pizza (includes drink instead of side)</div><div class='title'>SANDWICHES</div><div class='menuwords'>Sandwiches are served with our famous homemade French Fries which can be substituted with one of our other great sides.<br/><br/><b>Smoked Sausage</b> &#45; Woodford County’s Vito Italian and Andouille sausages, sautéed with peppers, onions, and tomatoes topped with mozzarella served open face on baguette.  &#36;7.95<br/><b>Chicken Breast</b> &#45; Juicy 6 oz. roasted chicken breast topped with Swiss cheese, lettuce, tomato, mayo and pickles.(add bacon &#36;.50)  &#36;7.95<br/><br/><b>Classic American Hamburger</b> &#45; &#189; lb. of juicy Kentucky grass fed beef on homemade Texas Toast, then garnished with mayo, lettuce, tomato &#38; onion. &#36;8.95 (Add Bacon or Cheese &#45;  &#36;.50 each)</div>		<div class='title'>SIDES &#36;2.25 each</div><div class='menuwords'><div class='carte'>Parpadelle and Cheese</div><div class='carte'>Homemade French Fries</div><div class='carte'>Potato Salad</div><div class='carte'>Wilted Spinach</div><div class='carte'>Kettle Chips</div><div class='carte'>Fresh Fruit</div><div class='carte'>Cole Slaw</div></div><div class='title'>CREATE &#45; A &#45; PIZZA</div><div class='menuwords'>Start with a 9&#34; cheese pizza for &#36;6.95, or make it with Kentucky&#39;s own Kenny&#39;s Farmhouse Artisan Cheeses for &#36;10.95, choose white or whole&#45;wheat crust, then add any of the following: <br>	<div class='smalltitle'>&#36;1.50 each </div>    <div class='carte'>Fresh Tomatoes</div><div class='carte'>Fresh Basil</div><div class='carte'>Red Onion</div><div class='carte'>Fresh Green Peppers</div><div class='carte'>Fresh Mushrooms</div><div class='carte'>Garlic Scape Pesto</div><div class='carte'>Extra Cheese</div><div class='carte'>Kalamata Olives</div><div class='carte'>Jalapeno Peppers</div><div class='carte'>Pepperoni</div><div class='carte'>Roasted Tomatoes</div><div class='carte'>Spinach</div>	<div class='smalltitle'>&#36;2.75 each</div><div class='carte'>Andouille Sausage</div><div class='carte'>Roasted Chicken</div><div class='carte'>Vito&#39;s Italian Sausage</div><div class='carte'>Smoked Bacon</div></div>	 <div class='title'>CHEF&#39;S PIZZAS</div><div class='menuwords'>Fresh and Slow Roasted Tomatoes with Basil. &#36;9.95<br/><br/>Pepperoni, Bacon, Andouille Sausage & Vito&#39;s Italian Sausage. &#36;12.95<br/><br/>Carolina Style BBQ Chicken. &#36;11.95<br/><br/>Vito&#39;s Italian Sausage with chunky tomato, green peppers, and red onion. &#36;11.95<br/><br/>Wild Mushroom & Blue Moon Garlic Scape pesto with fresh Basil. &#36;13.95</div>";
Menutext[3] = "<div class='menuwords'><br><br><a class='ninjalink2' href='RootsMenu.pdf'>Click here to download our Menu as a PDF</a></div>";



Visittext[2] = "<iframe width='730' height='380' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=AP+roots,+romany+road,+40502&amp;sll=38.021591,-84.479713&amp;sspn=0.0214,0.04549&amp;ie=UTF8&amp;cid=38019058,-84485906,6701959698454400340&amp;s=AARTsJp5ZtW_E-lFkLO2BMAZJGBwMJdgfA&amp;ll=38.030042,-84.481688&amp;spn=0.031032,0.06506&amp;z=14&amp;iwloc=A&amp;output=embed'></iframe><br /><small><a href='http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=AP+roots,+romany+road,+40502&amp;sll=38.021591,-84.479713&amp;sspn=0.0214,0.04549&amp;ie=UTF8&amp;cid=38019058,-84485906,6701959698454400340&amp;ll=38.030042,-84.481688&amp;spn=0.031032,0.06506&amp;z=14&amp;iwloc=A' style='color:#0000FF;text-align:left'>View Larger Map</a></small>";
Visittext[1] = "<div class='visitingtitle'>Opening Hours</div><br/><br/><div class='carte'>Monday</div><div class='carte'>4pm &#45; 9pm</div><br/><div class='carte'>Tuesday</div><div class='carte'>4pm &#45; 10pm</div><br/><div class='carte'>Wednesday</div><div class='carte'>4pm &#45; 10pm</div><br/><div class='carte'>Thursday</div><div class='carte'>4pm &#45; 10pm</div><br/><div class='carte'>Friday</div><div class='carte'>4pm &#45; 10.30pm</div><br/><div class='carte'>Saturday</div><div class='carte'>10am &#45; 10.30pm</div><br/><br/><div class='visitingtitle'>Serving Hours</div><br/><br/>Brunch is served Saturdays 10am &#45; 3pm<br/>The lunch/dinner menu is served at all other times<br>";
Visittext[3] = "other stuff here";



function writeMenu(page){

	for (i=numberofpages; i>=0; i--){
		if (page==i){
		   document.write('<a href="' + Link[i] + '" class="menuitemon">' + Menu[i] + '</a>');
		   }
		else{
		   document.write('<a href="' + Link[i] + '" class="menuitem">' + Menu[i] + '</a>');
		}
    }
}

function menuText(which){

	document.getElementById('menutext').innerHTML = Menutext[which];
	theid = "menuselect" + which;
	
	document.getElementById('menuselect1').className = 'menuselect';
	document.getElementById('menuselect2').className = 'menuselect';
	document.getElementById('menuselect3').className = 'menuselect';
	
	document.getElementById(theid).className = 'menuselecton';
	
	return false;
	
	
}

function visitText(which){
	
	document.getElementById('visittext').innerHTML = Visittext[which];
	
	theid = "visitselect" + which;
	
	document.getElementById('visitselect1').className = 'menuselect';
	document.getElementById('visitselect2').className = 'menuselect';
	
	document.getElementById(theid).className = 'menuselecton';
	
}

function slideshow (page, numberofimages){
	numimages = numberofimages;
	for (i=1; i<=numimages; i++){
			theid = 'index' + i;
			theimage = page + 'image' + i;
			if (page == 'index'){           // setting up divs at different sizes 
				document.write('<div id=' + theid + ' style="display:none; margin: auto; height: 458px; width:758px; background: url(slideshow/' + theimage + '.jpg);" ></div>');
			}
			if (page == 'menu'){
				document.write('<div id=' + theid + ' style="display:none; margin: auto; height: 430px; width:300px; background: url(slideshow/' + theimage + '.jpg);" ></div>');
			}

   }	
	
	fadein()
	
}

	
function fadein(){
		mynumber = Math.floor(Math.random()* numimages) + 1;
		for (i=1; i<=numimages; i++){
			theid = 'index' + i;
		}
		 
		if (mynumber == lastnumber){
			fadein();
		}
		
		else{
			 lastnumber = mynumber;
			 myid = 'index' + mynumber;
			 Effect.Appear(myid, 3.0);
			 window.setTimeout("fadeout();", 4000);
		}
		 
}
 
function fadeout(){
		 Effect.Fade(myid, 3.0);
		 window.setTimeout("fadein();", 1000);
}







