// JavaScript Document
var mcdonaldsProducts=new Array()
mcdonaldsProducts[0]= "do not modify this one";
mcdonaldsProducts[1]= "Designer Series Touch2Play<br />Wall Mount";
mcdonaldsProducts[2]= "Designer Series Touch2Play<br />Table Top Mount";
mcdonaldsProducts[3]= "Designer Series Touch2Play<br />Swivel Mount";
mcdonaldsProducts[4]= "Designer Series Touch2Play<br />Dual Post Mount System";
mcdonaldsProducts[5]= "Designer Series Touch2Play<br />Wall Mount shown with Optional Bench";
mcdonaldsProducts[6]= "Euro Series Touch2Play<br />Euro Wood Wall Mount";
mcdonaldsProducts[7]= "Euro Series Touch2Play<br />Multi-Mount with Two Touch2Play Cabinets";
mcdonaldsProducts[8]= "Euro Metal Series<br />Euro Wall Mount";
mcdonaldsProducts[9]= "Euro Series Touch2Play<br />Euro Triangle";
mcdonaldsProducts[10]= "Touch2Play<br />3 Unit Carousel";

var burgerkingProducts=new Array()
burgerkingProducts[0]= "do not modify this one";
burgerkingProducts[1]= "Designer Series Touch2Play<br />Wall Mount, Table Top, Swivel";
burgerkingProducts[2]= "Designer Series Touch2Play<br />Dual Post Mount System";
burgerkingProducts[3]= "Designer Series Touch2Play<br />Wall Mount shown with Optional Bench";
burgerkingProducts[4]= "Designer Series Touch Screen<br />Shown with Castle Panel";
burgerkingProducts[5]= "Euro Series<br />Wall Mount";
burgerkingProducts[6]= "Euro Series Touch2Play<br />Multi-Mount with Two Touch2Play Cabinets";
burgerkingProducts[7]= "Euro Metal Series<br />Wall Mount";
burgerkingProducts[8]= "Euro Series<br />Euro Triangle";
burgerkingProducts[9]= "Touch2Play<br />3 Unit Carousel";
burgerkingProducts[10]= "KIDZ Active Pad";
burgerkingProducts[11]= "KIDZ Dual Dance Pad";
burgerkingProducts[12]= "KIDZ Junior Bike";
burgerkingProducts[13]= "KIDZ Skate/Snowboard";
burgerkingProducts[14]= "KIDZ Sport Bike";
burgerkingProducts[15]= "Designer Series Touch Screen<br />Shown with Ally Gator Panel";
burgerkingProducts[16]= "Designer Series Touch2Play<br />Table Top Mount";
burgerkingProducts[17]= "Designer Series Touch2Play<br />Wall Mount";
burgerkingProducts[18]= "Designer Series Touch2Play<br />Swivel Mount";
burgerkingProducts[19]= "Euro Series<br />Wall Mount with Touch2Play";

var healthcareProducts=new Array()
healthcareProducts[0]= "do not modify this one";
healthcareProducts[1]= "Euro Metal Wall Cabinet";
healthcareProducts[2]= "Euro Wood Cabinet";
healthcareProducts[3]= "The Edge";
healthcareProducts[4]= "Pipedream";
healthcareProducts[5]= "Basic Touch2Play Wallmount";
healthcareProducts[6]= "Basic Touch2Play for table top use";
healthcareProducts[7]= "Designer Wall Mount";
healthcareProducts[8]= "Designer Mounting Options";
healthcareProducts[9]= "Euro Metal with Touch2Play";
healthcareProducts[10]= "Euro Wood with Touch2Play";
healthcareProducts[11]= "Touch2Play with Ally Gator Panel";
healthcareProducts[12]= "Touch2Play with Happy Hippo Panel";
healthcareProducts[13]= "Touch2Play with Ally Gator Play Center";
healthcareProducts[14]= "Touch2Play with Happy Hippo Play Center";
healthcareProducts[15]= "Euro Triangle";
healthcareProducts[16]= "3 Unit Carousel";
healthcareProducts[17]= "Multi Mount Post";
healthcareProducts[18]= "Bedside Cart";
healthcareProducts[19]= "Pedestal Cart";
healthcareProducts[20]= "Mobile Cart";
healthcareProducts[21]= "KIDZ Junior Bike";
healthcareProducts[22]= "KIDZ Sport Bike";
healthcareProducts[23]= "KIDZ Skate/Snowboard";
healthcareProducts[24]= "KIDZ Dance Pad";
healthcareProducts[25]= "KIDZ Active Pad";
healthcareProducts[26]= "Circus Train";
healthcareProducts[27]= "Cockpit";
healthcareProducts[28]= "Fun Island";
healthcareProducts[29]= "Funky Farm Wagon";
healthcareProducts[30]= "Googly Guy";
healthcareProducts[31]= "Fun Mats";
healthcareProducts[32]= "Wall Modules";
healthcareProducts[33]= "Round-A-Bouts";
healthcareProducts[34]= "Seating Area";
healthcareProducts[35]= "Foam Animals";
healthcareProducts[36]= "Tunnel of Fun";
healthcareProducts[37]= "Wacky Wall";


var professionalProducts=new Array()
professionalProducts[0]= "do not modify this one";
professionalProducts[1]= "Designer Series Touch2Play<br />Dual Post Mount System";
professionalProducts[2]= "Designer Series Touch2Play<br />Wall Mount shown with Optional Bench";
professionalProducts[3]= "Designer Series Touch2Play<br />Table Top Mount";
professionalProducts[4]= "Designer Series Touch2Play<br />Wall Mount";
professionalProducts[5]= "Designer Series Touch2Play<br />Swivel Mount";
professionalProducts[6]= "Designer Series Touch2Play<br />Happy Hippo Center";
professionalProducts[7]= "Designer Series Touch Screen<br />Shown with Ally Gator Panel";
professionalProducts[8]= "Euro Series<br />Wall Mount";
professionalProducts[9]= "Euro Series Touch2Play<br />Multi-Mount with Two Euro Cabinets";
professionalProducts[10]= "Euro Series<br />Metal Wall Mount with Touch2Play";
professionalProducts[11]= "Euro Series<br />Metal Wall Mount with Wii";
professionalProducts[12]= "Euro Series<br />Wall Mount with Touch2Play";
professionalProducts[13]= "Euro Series<br />Metal shown with L Stand";
professionalProducts[14]= "Euro Series<br />Euro Triangle";
professionalProducts[15]= "3 Unit Carousel";
professionalProducts[16]= "KIDZ Dual Dance Pad";
professionalProducts[17]= "KIDZ Junior Bike";
professionalProducts[18]= "KIDZ Skate/Snowboard";
professionalProducts[19]= "KIDZ Sport Bike";
professionalProducts[20]= "The Edge";
professionalProducts[21]= "Pipe Dream";
professionalProducts[22]= "Mini Van";
professionalProducts[23]= "Circus Train";
professionalProducts[24]= "Cockpit";
professionalProducts[25]= "Fun Island";
professionalProducts[26]= "Funky Farm Wagon";
professionalProducts[27]= "Googly Guy";
professionalProducts[28]= "Roundabouts";
professionalProducts[29]= "Wacky Wall";
professionalProducts[30]= "Wall Modules";

var fitnessProducts=new Array()
fitnessProducts[0]= "";
fitnessProducts[1]= "Designer Series Touch2Play<br />Dual Post Mount System";
fitnessProducts[2]= "Designer Series Touch2Play<br />Wall Mount shown with Optional Bench";
fitnessProducts[3]= "Designer Series Touch2Play<br />Table Top Mount";
fitnessProducts[4]= "Designer Series Touch2Play<br />Wall Mount";
fitnessProducts[5]= "Designer Series Touch2Play<br />Swivel Mount";
fitnessProducts[6]= "Designer Series Touch2Play<br />Happy Hippo Center";
fitnessProducts[7]= "Designer Series Touch Screen<br />Shown with Ally Gator Panel";
fitnessProducts[8]= "Euro Series<br />Wall Mount";
fitnessProducts[9]= "Euro Series Touch2Play<br />Multi-Mount with Two Euro Cabinets";
fitnessProducts[10]= "Euro Series<br />Wall Mount with Touch2Play";
fitnessProducts[11]= "Euro Series<br />Metal Wall Mount with Touch2Play";
fitnessProducts[12]= "Euro Series<br />Metal Wall Mount with Wii";
fitnessProducts[13]= "Euro Series<br />Metal shown with L Stand";
fitnessProducts[14]= "Euro Series<br />32'' Euro Metal";
fitnessProducts[15]= "Euro Series<br />Euro Triangle";
fitnessProducts[16]= "3 Unit Carousel";
fitnessProducts[17]= "KIDZ Active Pad";
fitnessProducts[18]= "KIDZ Dual Dance Pad";
fitnessProducts[19]= "KIDZ Junior Bike";
fitnessProducts[20]= "KIDZ Skate/Snowboard";
fitnessProducts[21]= "KIDZ Sport Bike";
fitnessProducts[22]= "The Edge";
fitnessProducts[23]= "Pipe Dream";
fitnessProducts[24]= "Mini Van";
fitnessProducts[25]= "Circus Train";
fitnessProducts[26]= "Cockpit";
fitnessProducts[27]= "Fun Island";
fitnessProducts[28]= "Funky Farm Wagon";
fitnessProducts[29]= "Googly Guy";
fitnessProducts[30]= "Fun Mats";
fitnessProducts[31]= "Wall Modules";
fitnessProducts[32]= "Round-A-Bouts";
fitnessProducts[33]= "Seating Area";
fitnessProducts[34]= "Foam Animals";
fitnessProducts[35]= "Tunnel of Fun";
fitnessProducts[36]= "Wacky Wall";

var otherProducts=new Array()
otherProducts[0]= "do not modify this one";
otherProducts[1]= "Designer Series Touch2Play<br />Dual Post Mount System";
otherProducts[2]= "Designer Series Touch2Play<br />Wall Mount shown with Optional Bench";
otherProducts[3]= "Designer Series Touch2Play<br />Table Top Mount";
otherProducts[4]= "Designer Series Touch2Play<br />Wall Mount";
otherProducts[5]= "Designer Series Touch2Play<br />Swivel Mount";
otherProducts[6]= "Designer Series Touch2Play<br />Happy Hippo Center";
otherProducts[7]= "Designer Series Touch Screen<br />Shown with Ally Gator Panel";
otherProducts[8]= "Euro Series<br />Wall Mount";
otherProducts[9]= "Euro Series Touch2Play<br />Multi-Mount with Two Euro Cabinets";
otherProducts[10]= "Euro Series<br />Wall Mount with Touch2Play";
otherProducts[11]= "Euro Series<br />Metal Wall Mount with Touch2Play";
otherProducts[12]= "Euro Series<br />Metal Wall Mount with Wii";
otherProducts[13]= "Euro Series<br />Metal shown with L Stand";
otherProducts[14]= "Euro Series<br />32'' Euro Metal";
otherProducts[15]= "Euro Series<br />Euro Triangle";
otherProducts[16]= "3 Unit Carousel";
otherProducts[17]= "KIDZ Active Pad";
otherProducts[18]= "KIDZ Dual Dance Pad";
otherProducts[19]= "KIDZ Junior Bike";
otherProducts[20]= "KIDZ Skate/Snowboard";
otherProducts[21]= "KIDZ Sport Bike";
otherProducts[22]= "The Edge";
otherProducts[23]= "Pipe Dream";
otherProducts[24]= "Mini Van";
otherProducts[25]= "Circus Train";
otherProducts[26]= "Cockpit";
otherProducts[27]= "Fun Island";
otherProducts[28]= "Funky Farm Wagon";
otherProducts[29]= "Googly Guy";
otherProducts[30]= "Fun Mats";
otherProducts[31]= "Wall Modules";
otherProducts[32]= "Round-A-Bouts";
otherProducts[33]= "Seating Area";
otherProducts[34]= "Foam Animals";
otherProducts[35]= "Tunnel of Fun";
otherProducts[36]= "Wacky Wall";

var allTouch=new Array()
allTouch[0]= "do not modify this one";
allTouch[1]= "Designer Series Dual Post Mount";
allTouch[2]= "Designer Series Wall Mount with Bench Seat";
allTouch[3]= "Designer Series with Table Top Mount";
allTouch[4]= "Designer Series with Wall Mount";
allTouch[5]= "Designer Series with Swivel Mount";
allTouch[6]= "Designer Series Touch2Play<br />Happy Hippo Center";
allTouch[7]= "Designer Series Touch Screen<br />Shown with Ally Gator Panel";
allTouch[8]= "Euro Series Touch2Play<br />Multi-Mount with Two Euro Cabinets";
allTouch[9]= "Euro Series<br />Wall Mount with Touch2Play";
allTouch[10]= "Euro Series<br />Metal Wall Mount with Touch2Play";

var allActive=new Array()
allActive[0]= "do not modify this one";
allActive[1]= "KIDZ Active Pad";
allActive[2]= "KIDZ Dual Dance Pad";
allActive[3]= "KIDZ Junior Bike";
allActive[4]= "KIDZ Skate/Snowboard";
allActive[5]= "KIDZ Sport Bike";
allActive[6]= "Circus Train";
allActive[7]= "Cockpit";
allActive[8]= "Fun Island";
allActive[9]= "Funky Farm Wagon";
allActive[10]= "Googly Guy";
allActive[11]= "Fun Mats";
allActive[12]= "Wall Modules";
allActive[13]= "Round-A-bouts";
allActive[14]= "Seating Area";
allActive[15]= "Foam Animals";
allActive[16]= "Tunnel of Fun";
allActive[17]= "Wacky Wall";

var allElectronic=new Array()
allElectronic[0]= "do not modify this one";
allElectronic[1]= "The Edge";
allElectronic[2]= "Pipe Dream";
allElectronic[3]= "Mini Van";
allElectronic[4]= "Euro Series<br />Euro Triangle";
allElectronic[5]= "3 Unit Carousel";
allElectronic[6]= "Euro Series<br />Wood Wall Mount";
allElectronic[7]= "Euro Series<br />Metal Wall Mount with Wii";
allElectronic[8]= "Euro Series<br />Metal shown with L Stand";
allElectronic[9]= "Euro Series<br />32'' Euro Metal";

var colors=new Array()
colors[0]= "do not modify this one";
colors[1]= "Carousel Cabinet and Dome Color Options";
colors[2]= "Carousel Tube Color Options";
colors[3]= "Euro Metal Color Options";
colors[4]= "Euro Wood Color Options";
colors[5]= "Pipe Dream Color Options";
colors[6]= "Touch2Play Color Options";
colors[7]= "Active Play Cabinet Color Options";
colors[8]= "Bench Seat Color Options";

//for McDonalds Photos tab
function changeDisplay(id) {
	var newImg = "images/mcdonalds/locations/" + id + ".jpg"
	document.getElementById("displaypic").src = newImg;
}

//for McDonalds Product tab
function changeProduct(id) {
	var newImg = "images/mcdonalds/products/" + id + ".jpg"	
	document.getElementById("displaypic").src = newImg;
	document.getElementById("marketTitle").innerHTML = mcdonaldsProducts[id];	
}

//for Burger King Photos tab
function changeDisplay2(id) {
	var newImg = "images/burgerking/locations/" + id + ".jpg"
	document.getElementById("displaypic").src = newImg;
}

//for Burger King Product tab
function changeProduct2(id) {
	var newImg = "images/burgerking/products/" + id + ".jpg"	
	document.getElementById("displaypic").src = newImg;
	document.getElementById("marketTitle").innerHTML = burgerkingProducts[id];	
}

//for Health Care Product tab
function changeProduct3(id) {
	var newImg = "images/healthcare/products/" + id + ".jpg"	
	document.getElementById("displaypic").src = newImg;
	document.getElementById("marketTitle").innerHTML = healthcareProducts[id];	
}

//for Professional Markets Photos tab
function changeDisplay4(id) {
	var newImg = "images/professional/photos/" + id + ".jpg"
	document.getElementById("displaypic").src = newImg;
}

//for Professional Markets Product tab
function changeProduct4(id) {
	var newImg = "images/professional/products/" + id + ".jpg"	
	document.getElementById("displaypic").src = newImg;
	document.getElementById("marketTitle").innerHTML = professionalProducts[id];	
}

//for Fitness Product tab
function changeProduct5(id,bg) {
	var newImg = "images/fitness/products/" + id + ".jpg";	
	document.getElementById("displaypic").src = newImg;
	document.getElementById("marketTitle").innerHTML = fitnessProducts[id];	
	document.getElementById("productbg").bgColor = bg;
}

//for Other Product tab
function changeProduct6(id,bg) {
	var newImg = "images/other/products/" + id + ".jpg";
	document.getElementById("displaypic").src = newImg;
	document.getElementById("marketTitle").innerHTML = otherProducts[id];	
	document.getElementById("productbg").bgColor = bg;
}

//for All Products page
function changeTouch(id,bg) {
	var newImg = "images/all/touch2play/" + id + ".jpg";
	document.getElementById("displaypic").src = newImg;
	document.getElementById("marketTitle").innerHTML = allTouch[id];	
	document.getElementById("productbg").bgColor = bg;	
}

function changeActive(id,bg) {
	var newImg = "images/all/activeplay/" + id + ".jpg";
	document.getElementById("displaypic").src = newImg;
	document.getElementById("marketTitle").innerHTML = allActive[id];	
	document.getElementById("productbg").bgColor = bg;	
}

function changeElectronic(id,bg) {
	var newImg = "images/all/electronicplay/" + id + ".jpg";
	document.getElementById("displaypic").src = newImg;
	document.getElementById("marketTitle").innerHTML = allElectronic[id];	
	document.getElementById("productbg").bgColor = bg;	
}

//for Colors sections
function changeColor(id) {
	var newImg = "images/colors/" + id + ".jpg"	
	document.getElementById("displaypic").src = newImg;
	document.getElementById("marketTitle").innerHTML = colors[id];	
}

//for Get Connected Images page
function changeImage(id) {
	var newImg = "images/getconnected/" + id + ".jpg"	
	document.getElementById("displaypic").src = newImg;
}



function clearTitle() {
	document.getElementById("marketTitle").innerHTML = "";
}