var TitleArray = new Array();
TitleArray[0] = "Manufacturing Expertise";
TitleArray[1] = "Foodservice Focus";
TitleArray[2] = "Drive to Innovate";
TitleArray[3] = "Key Contacts";
TitleArray[4] = "Product Lines";

var TextArray = new Array();
TextArray[0] = "<p>The sounds of modern food manufacturing lines are the audible heartbeats of Land Mark Products.  Day in, day out, a diverse array of delicious foods are prepared for customers across the country.</p><p>The Milford, Iowa production facility is powered by state-of-the-art processes and a fiercely committed work ethic.  Huge dry and cold storage facilities ensure the ability to inventory needed items as well as take advantage of large quanity purchasing opportunities.</p><p>The results are what customers have come to expect - outstanding quality, bankable service and of course, delicious food, bite after bite.</p>";
TextArray[1] = "<p>24hr. convenience stores to busy airports, seasonal sports fields to hard-working hospitals - Land Mark Products works to serve the diverse and growing food service industry.</p><p>Land Mark offers two proprietary brands.  For the more transactional, \"grab and go\" customers, Day ’N Night Bites™ is an excellent choice, satisfying all day-parts and providing retailers with excellent service.  Our \"Piccadilly\" brand remains the preferred choice for operations that cater to restaurant-style relationships.</p><p>Also, Land Mark Products reigns supreme in private label programs, providing all levels of service from plain-wrapper to full-brand development.</p>";
TextArray[2] = "<p>Land Mark Products believes the word Innovation is bigger than the ever-changing tastes of customers.  Innovation is also about new manufacturing processes, marketing programs and preparation methods.</p><p>When our customers present us with opportunity, the Land Mark approach is first take a \"big-picture\" look at situation and drill down, step by step, asking the question, \"Can we do this better?\"</p><p>The result of this kind of thinking are a continuous improvement in quality, speed, value and communication.  Though Manufacturing is Land Mark's heart, Foodservice its focus, the drive to Innovate is the fuel.</p>";
TextArray[3] = "<p><div class = 'floatleft' style = 'padding: 13px 15px 10px 0px'>Jason Farrell<br/>Executive VP of Product Sales/Development<br/><a href = 'mailto:jason@landmarkproductsinc.com' class = 'bold'>jason@landmarkproductsinc.com</a><br/>712-338-2771 ext 107</div><div class = 'floatleft' style = 'padding: 13px 0px 10px 0px'>Jerry Ryker<br/>Executive VP of Business Development<br/><a href = 'mailto:jerry@landmarkproductsinc.com' class = 'bold'>jerry@landmarkproductsinc.com</a><br/>712-338-2771 ext 103</div></p><p><div class = 'floatleft' style = 'padding: 13px 52px 10px 0px'>Lamont Glendinning<br/>VP of Business Development<br/><a href = 'mailto:lamont@landmarkproductsinc.com' class = 'bold'>lamont@landmarkproductsinc.com</a><br/>712-338-2771 ext 260</div><div class = 'floatleft' style = 'padding: 13px 0px 10px 0px'>Mac McClintic<br/>Director of Business Development<br/><a href = 'mailto:mac@landmarkproductsinc.com' class = 'bold'>mac@landmarkproductsinc.com</a><br/>712-338-2771 ext 229</div></p>";
TextArray[4] = "<p>Land Mark Products manufactures many of the prepared foods enjoyed across the country. Our specific expertise resides in four categories:<OL style='line-height: 1.7'><LI><a href=\"uploads/SellSheet_PizzaCrusts.pdf\" title=\"Pizza Crust Sell Sheet\" target=\"_blank\" class = 'bold'>Pizza crusts - from precut discs to self-rising and par baked</a><LI><a href=\"uploads/SellSheet_Sandwiches.pdf\" title=\"Sandwiches Sell Sheet\" target=\"_blank\" class = 'bold'>Sandwiches - breakfast to lunch to dinner</a><LI><a href=\"uploads/SellSheet_PreToppedPizza.pdf\" title=\"Pre-Topped Pizza Sell Sheet\" target=\"_blank\" class = 'bold'>Pre-topped pizzas - \"my-size\" minis, 12\" pizzas and microwave slices, too!</a><LI><a href=\"uploads/SellSheet_RetailPizzas.pdf\" title=\"Retail Pizza Sell Sheet\" target=\"_blank\" class = 'bold'>Retail pizzas - \"take & bake\" and frozen</a></OL>Click on the above to download the most current category sheet in .pdf form.</p>";

var RolloverArray = new Array();
RolloverArray[0] = '<img src = "images/ag_NavigationButtonGreen.gif" width = "25" height = "30" alt = "Manufacturing Expertise" title = "Manufacturing Expertise" id = "RolloverImage1"/>';
RolloverArray[1] = '<img src = "images/ag_NavigationButtonYellow.gif" width = "25" height = "30" alt = "Foodservice Focus" title = "Foodservice Focus" id = "RolloverImage2"/>';
RolloverArray[2] = '<img src = "images/ag_NavigationButtonBrown.gif" width = "25" height = "30" alt = "Drive to Innovate" title = "Drive to Innovate" id = "RolloverImage3"/>';
RolloverArray[4] = '<img src = "images/ag_NavigationButtonGreen.gif" width = "25" height = "30" alt = "Product Lines" title = "Product Lines" id = "RolloverImage4"/>';

var ButtonOnArray = new Array();
ButtonOnArray[0] = '<img src = "images/gr_NavigationButtonGreen_On.png" width = "25" height = "30" alt = "Manufacturing Expertise" title = "Manufacturing Expertise"/>';
ButtonOnArray[1] = '<img src = "images/gr_NavigationButtonYellow_On.png" width = "25" height = "30" alt = "Foodservice Focus" title = "Foodservice Focus"/>';
ButtonOnArray[2] = '<img src = "images/gr_NavigationButtonBrown_On.png" width = "25" height = "30" alt = "Drive to Innovate" title = "Drive to Innovate"/>';
ButtonOnArray[4] = '<img src = "images/gr_NavigationButtonGreen_On.png" width = "25" height = "30" alt = "Product Lines" title = "Product Lines"/>';

var ButtonArray = new Array();
ButtonArray[0] = '<img src = "images/gr_NavigationButtonGreen.png" width = "25" height = "25" alt = "Manufacturing Expertise" title = "Manufacturing Expertise"/>';
ButtonArray[1] = '<img src = "images/gr_NavigationButtonYellow.png" width = "25" height = "25" alt = "Foodservice Focus" title = "Foodservice Focus"/>';
ButtonArray[2] = '<img src = "images/gr_NavigationButtonBrown.png" width = "25" height = "25" alt = "Drive to Innovate" title = "Drive to Innovate"/>';
ButtonArray[4] = '<img src = "images/gr_NavigationButtonGreen.png" width = "25" height = "25" alt = "Product Lines" title = "Product Lines"/>';

function PopulateContent(number)
{
	var TitleElement = document.getElementById("ContentTitle");
	var TextElement = document.getElementById("ContentText");
		
	if (number == 3)
	{
		TitleElement.innerHTML = TitleArray[number];
		TextElement.innerHTML = TextArray[number];
	}
	else
	{
		document.getElementById("ButtonName0").style.fontWeight = "";
		var ButtonElement = document.getElementById("Button0");
		ButtonElement.innerHTML = ButtonArray[0];
		
		document.getElementById("ButtonName1").style.fontWeight = "";
		var ButtonElement = document.getElementById("Button1");
		ButtonElement.innerHTML = ButtonArray[1];
		
		document.getElementById("ButtonName2").style.fontWeight = "";
		var ButtonElement = document.getElementById("Button2");
		ButtonElement.innerHTML = ButtonArray[2];
		
		document.getElementById("ButtonName4").style.fontWeight = "";
		var ButtonElement = document.getElementById("Button4");
		ButtonElement.innerHTML = ButtonArray[4];
		
		var ButtonNameElement = document.getElementById("ButtonName" + number);
		var ButtonElement = document.getElementById("Button" + number);
		
		TitleElement.innerHTML = TitleArray[number];
		TextElement.innerHTML = TextArray[number];
		ButtonNameElement.style.fontWeight = "bold";
		
		//force a query string with a random value onto the image src filename to avoid 
		//browsers caching the images
		var RolloverString = RolloverArray[number];
		RolloverString = RolloverString.replace(".gif", ".gif?rand=" + Math.floor(Math.random()*1001));
		ButtonElement.innerHTML = RolloverString;
	}
}

function ReplaceButton(number)
{
	var ButtonElement = document.getElementById("Button" + number);
	ButtonElement.innerHTML = ButtonOnArray[number];
}
