function setupButtons() 
		{
	//Home Button
			dojo.query('#homeButton').onmousedown
			( 
				function(evt) 
				{
					dojo.query('#slideshow1').style("visibility","hidden");
		       		dojo.query('#slideshow2').style("visibility","hidden");
		       		dojo.query('#homeButton').style("background","url(Images/HomeClick.png)");
		       		dojo.query('#mainWindow').orphan();
		       		dojo.query('#mainWindowWrapper').addContent("<div id=\"mainWindow\" style=\"position: absolute;" +
													       			"top: 20px;" +
													       			"left: 10px;" +
													       			"width: 1100px;" +
													       			"height: 620px;\">" +
													       				"<div style=\"position: absolute;" +
													       				"top: 20px;" +
													       				"left: 10px;" +
													       				"width: 545px;" +
													       				"height: 408px;\">" +
													       				"<img src=\"Images/FrontSign.png\">" +
													       				"</div>" +
													       				"<div style=\"position: absolute;" +
													       				"top: 445px;" +
													       				"left: 10px;" +
													       				"width: 545px;" +
													       				"height: 165px;\">" +
													       					"<img src=\"Images/grayRoundSquare.png\" style=\"height: 100%; width: 100%;\" />" +
													       				"</div>" +
													       				"<div id=\"content\" style=\"position: absolute;" +
													       				"top: 445px;" +
													       				"left: 10px;" +
													       				"width: 545px;" +
													       				"height: 165px;\">" +
													       				"<h1><b>1030 West Lucas Road ... Lucas, Texas 75002</b></h1>" +
													       				"<h1><b>(972) 727-9411</b></h1>" +
													       				"<h1><b>Monday - Friday 7:30 am - 5:30 pm</b></h1>" +
													       				"<h1><b>24-Hour Emergency Tow to Shop (972) 727-5995</b></h1>" +
													       				"</div>" +
													       				"<div style=\"position: absolute;" +
													       				"top: 20px;" +
													       				"left: 585px;" +
													       				"width: 505px;" +
													       				"height: 590px;\">" +
													       					"<img src=\"Images/grayRoundSquare.png\" style=\"height: 100%; width: 100%;\" />" +
													       				"</div>" +
													       				"<div id=\"content\" style=\"position: absolute;" +
													       				"top: 50px;" +
													       				"left: 625px;" +
													       				"width: 415px;" +
													       				"height: 590px;\">" +
													       					"<h1><b>Since 1988 The Painting Place has brought you</b></h1>" +
													       					"<h1><b>The Finest Quality Collision Work.</b></h1>" +
													       					"<h1><b>The Painting Place is your one stop shop</b></h1>" +
													       					"<h1><b>to repair your car, automobile, or truck.</b></h1>" +
													       					"<br>" +
													       					"<br>" +
													       					"<p><b>At the Painting Place, our goal is to provide the absolute best body shop and collision repair service. This means we strive to ensure customer satisfaction, do top quality paint, glass, and body work, and return your car to you in a satisfactory and timely manner</b></p>" +
													       					"<p><b>We welcome all types of jobs. We can handle vehicles within a inch of being totaled just as well as a car looking to buff a few scratches out. Our experienced staff will make your car shine like new, no matter the condition you bring it to us in.<b></p>" +
													       					"<h2><b>What sets us apart:</b></h2>" +
													       					"<UL style = \"text-align:left;\">" +
													       					"<LI>All Insurance Claims Welcome. " +
													       					"<LI>Enterprise Rent-A-Car On-Site Pick-Up. " +
													       					"<LI>Free Estimates" +
													       					"<LI>Quality of Work." +
													       					"<LI>Friendly atmosphere." +
													       					"</UL>" +
													       				"</div>" +
													       			"</div>");

		       	}
		   	);
		   	dojo.query('#homeButton').onmouseup
			( 
				function(evt) 
				{
		       		dojo.query('#homeButton').style("background","url(Images/HomeHover.png)");
		       	}
		   	);
		    dojo.query('#homeButton').onmouseenter
		    ( 
		    	function(evt) 
		    	{
		       		dojo.query('#homeButton').style("background","url(Images/HomeHover.png)");
		       	}
		    );
		    dojo.query('#homeButton').onmouseleave
		    ( 
		    	function(evt) 
		    	{
		       		dojo.query('#homeButton').style("background","url(Images/Home.png)");
		       	}
		    );
	//Services Button
			dojo.query('#servicesButton').onmousedown
			( 
				function(evt) 
				{
					dojo.query('#slideshow1').style("visibility","hidden");
		       		dojo.query('#slideshow2').style("visibility","hidden");
		       		dojo.query('#servicesButton').style("background","url(Images/ServicesClick.png)");
		       		dojo.query('#mainWindow').orphan();
		       		dojo.query('#mainWindowWrapper').addContent("<div id=\"mainWindow\" style=\"position: absolute;" +
												       			"top: 20px;" +
												       			"left: 10px;" +
												       			"width: 1100px;" +
												       			"height: 620px;\">" +
												       				"<div style=\"position: absolute;" +
												       				"top: 20px;" +
												       				"left: 10px;" +
												       				"width: 253px;" +
												       				"height: 190px;\">" +
												       				"<img src=\"Images/ServicesPic1.png\">" +
												       				"</div>" +
												       				"<div style=\"position: absolute;" +
												       				"top: 220px;" +
												       				"left: 10px;" +
												       				"width: 253px;" +
												       				"height: 190px;\">" +
												       				"<img src=\"Images/ServicesPic2.png\">" +
												       				"</div>" +
												       				"<div style=\"position: absolute;" +
												       				"top: 420px;" +
												       				"left: 10px;" +
												       				"width: 253px;" +
												       				"height: 190px;\">" +
												       				"<img src=\"Images/ServicesPic3.png\">" +
												       				"</div>" +
												       				"<div style=\"position: absolute;" +
												       				"top: 20px;" +
												       				"left: 290px;" +
												       				"width: 800px;" +
												       				"height: 595px;\">" +
												       					"<img src=\"Images/grayRoundSquare.png\" style=\"height: 100%; width: 100%;\" />" +
												       				"</div>" +
												       				"<div id=\"content\" style=\"position: absolute;" +
												       				"top: 20px;" +
												       				"left: 300px;" +
												       				"width: 780px;" +
												       				"height: 600px;" +
												       				"align: center;\">" +
												       					"<h1 style=\"font-size: 30px;\"><b>We Proudly Offer the Following Services:</b></h1>" +
												       					"<h1><b><u>Enterprise Rent-A-Car On-Site Pick-Up Along with Towing Services</u></b></h1>" +
												       					"<h1>We will assist you in getting an alternate means of transportation when you need it most.</h1>" +
												       					"<h1>We will also help arrange towing. Please see our contact page for more information.</h1><br><br>" +
												       					"<h1><b><u>Body Work, Dent Repair, and Painting Services</u></b></h1>" +
												       					"<h1>The Painting Place has the facilities to repair almost any type of damage to your vehicle.</h1>" +
												       					"<h1>We fix dents, frames, scratches, and the like. We also have a fully equipped spray booth.</h1><br><br>" +
												       					"<h1><b><u>Auto Glass Replacement, and Many Other Services</u></b></h1>" +
												       					"<h1>Customer service is at the top of our list, so that is why we will handle all repairs to your vehicle.</h1>" +
												       					"<h1>Glass Work is one more thing on the list that we do in-house to get your car back to looking good.</h1><br><br>" +
												       					"<h1><b><u>Free Estimates, Flexible Payment Options, and Insurance Claims</u></b></h1>" +
												       					"<h1>We know that people are not only looking for top quality work, they are looking for a good deal.</h1>" +
												       					"<h1>We offer great rates and have experience with insurance claims to get the best for your car.</h1><br><br>" +
												       				"</div>" +
												       			"</div>");
		       	}
		   	);
		   	dojo.query('#servicesButton').onmouseup
			( 
				function(evt) 
				{
		       		dojo.query('#servicesButton').style("background","url(Images/ServicesHover.png)");
		       	}
		   	);
		    dojo.query('#servicesButton').onmouseenter
		    ( 
		    	function(evt) 
		    	{
		       		dojo.query('#servicesButton').style("background","url(Images/ServicesHover.png)");
		       	}
		    );
		    dojo.query('#servicesButton').onmouseleave
		    ( 
		    	function(evt) 
		    	{
		       		dojo.query('#servicesButton').style("background","url(Images/Services.png)");
		       	}
		    );
	//Photos Button
			dojo.query('#photosButton').onmousedown
			( 
				function(evt) 
				{
		       		dojo.query('#photosButton').style("background","url(Images/PhotosClick.png)");
		       		dojo.query('#mainWindow').orphan();
		       		dojo.query('#mainWindowWrapper').addContent("<div id=\"mainWindow\" style=\"position: absolute;" +
																	"top: 35px;" +
																	"left: 5px;"  +
																	"width: 545px;" +
																	"height: 408px;\">" +
																		"<div style=\"position: absolute;" +
													       				"top: 20px;" +
													       				"left: 200px;" +
													       				"width: 700px;" +
													       				"height: 80px;\">" +
													       					"<img src=\"Images/grayRoundSquare.png\" style=\"height: 100%; width: 100%;\" />" +
													       				"</div>" +
													       				"<div id=\"content\" style=\"position: absolute;" +
													       				"top: 20px;" +
													       				"left: 200px;" +
													       				"width: 700px;" +
													       				"height: 80px;\">" +
													       					"<h1 style=\"font-size: 30px;\"><b>Before and After: Click to Enlarge</b></h1>" +
													       				"</div>" +
																	"</div>");
		       		dojo.query('#slideshow1').style("visibility","visible");
		       		dojo.query('#slideshow2').style("visibility","visible");
		       	}
		   	);
		   	dojo.query('#photosButton').onmouseup
			( 
				function(evt) 
				{
		       		dojo.query('#photosButton').style("background","url(Images/PhotosHover.png)");
		       	}
		   	);
		    dojo.query('#photosButton').onmouseenter
		    ( 
		    	function(evt) 
		    	{
		       		dojo.query('#photosButton').style("background","url(Images/PhotosHover.png)");
		       	}
		    );
		    dojo.query('#photosButton').onmouseleave
		    ( 
		    	function(evt) 
		    	{
		       		dojo.query('#photosButton').style("background","url(Images/Photos.png)");
		       	}
		    );
	//Contact Button
			dojo.query('#contactButton').onmousedown
			( 
				function(evt) 
				{
					dojo.query('#slideshow1').style("visibility","hidden");
		       		dojo.query('#slideshow2').style("visibility","hidden");
		       		dojo.query('#contactButton').style("background","url(Images/ContactClick.png)");
		       		dojo.query('#mainWindow').orphan();
		       		dojo.query('#mainWindowWrapper').addContent("<div id=\"mainWindow\" style=\"position: absolute;" +
													       			"top: 20px;" +
													       			"left: 10px;" +
													       			"width: 1100px;" +
													       			"height: 620px;\">" +
													       				"<div style=\"position: absolute;" +
													       				"top: 20px;" +
													       				"left: 10px;" +
													       				"width: 545px;" +
													       				"height: 408px;\">" +
													       				"<img src=\"Images/FrontSignBuilding.png\">" +
													       				"</div>" +
													       				"<div style=\"position: absolute;" +
													       				"top: 445px;" +
													       				"left: 10px;" +
													       				"width: 545px;" +
													       				"height: 165px;\">" +
													       					"<img src=\"Images/grayRoundSquare.png\" style=\"height: 100%; width: 100%;\" />" +
													       				"</div>" +
													       				"<div id=\"content\" style=\"position: absolute;" +
													       				"top: 445px;" +
													       				"left: 10px;" +
													       				"width: 545px;" +
													       				"height: 165px;\">" +
													       				"<h1><b>1030 West Lucas Road ... Lucas, Texas 75002</b></h1>" +
													       				"<h1><b>(972) 727-9411</b></h1>" +
													       				"<h1><b>Monday - Friday 7:30 am - 5:30 pm</b></h1>" +
													       				"<h1><b>24-Hour Emergency Tow to Shop (972) 727-5995</b></h1>" +
													       				"</div>" +
													       				"<div style=\"position: absolute;" +
													       				"top: 20px;" +
													       				"left: 585px;" +
													       				"width: 505px;" +
													       				"height: 165px;\">" +
													       					"<img src=\"Images/grayRoundSquare.png\" style=\"height: 100%; width: 100%;\" />" +
													       				"</div>" +
													       				"<div id=\"content\" style=\"position: absolute;" +
													       				"top: 20px;" +
													       				"left: 625px;" +
													       				"width: 415px;" +
													       				"height: 165px;\">" +
													       					"<h1><b>At The Painting Place, customer service</b></h1>" +
													       					"<h1><b>is our top priority.</b></h1>" +
													       					"<h1><b>Contact us regarding any questions you</b></h1>" +
													       					"<h1><b>may have regarding services and facilities</b></h1>" +
													       				"</div>" +
													       				"<div style=\"position: absolute;" +
													       				"top: 205px;" +
													       				"left: 585px;" +
													       				"width: 505px;" +
													       				"height: 408px;\">" +
													       				"<img src=\"Images/ContactShopPicture.png\" style=\"height: 100%; width: 100%;\" />" +
													       				"</div>" +
													       			"</div>");
		       	}
		   	);
		   	dojo.query('#contactButton').onmouseup
			( 
				function(evt) 
				{
		       		dojo.query('#contactButton').style("background","url(Images/ContactHover.png)");
		       	}
		   	);
		    dojo.query('#contactButton').onmouseenter
		    ( 
		    	function(evt) 
		    	{
		       		dojo.query('#contactButton').style("background","url(Images/ContactHover.png)");
		       	}
		    );
		    dojo.query('#contactButton').onmouseleave
		    ( 
		    	function(evt) 
		    	{
		       		dojo.query('#contactButton').style("background","url(Images/Contact.png)");
		       	}
		    );
	//Map Button
			dojo.query('#mapButton').onmousedown
			( 
				function(evt) 
				{
					dojo.query('#slideshow1').style("visibility","hidden");
		       		dojo.query('#slideshow2').style("visibility","hidden");
		       		dojo.query('#mapButton').style("background","url(Images/MapClick.png)");
		       		dojo.query('#mainWindow').orphan();
		       		dojo.query('#mainWindowWrapper').addContent("<div id=\"mainWindow\" style=\"position: absolute;" +
																	"top: 20px;" +
																	"left: 10px;" +
																	"width: 1100px;" +
																	"height: 620px;\">" +
																"</div>");
		       		
		       		var latlng = new google.maps.LatLng(33.08670554260535, -96.5948760509491);
		       	    var myOptions = {
		       	      zoom: 13,
		       	      center: latlng,
		       	      mapTypeId: google.maps.MapTypeId.ROADMAP
		       	    };
		       	    var map = new google.maps.Map(document.getElementById("mainWindow"), myOptions);
		       	    
		       	    var contentString = '<div id="bodyContent">'+
			         '<p><b>The Painting Place</b><br>'+
			         '1030 W. Lucas Rd<br>'+
			         '75002 Lucas, Tx<br>'+
			         '(972) 727-9411</p>'+
			         '</div>';
	
			     var infowindow = new google.maps.InfoWindow({
			         content: contentString
			     });
	
			     var marker = new google.maps.Marker({
			         position: latlng,
			         map: map,
			         title:"The Painting Place"
			     });
	
			     google.maps.event.addListener(marker, 'click', function() {
			       infowindow.open(map,marker);
			     })
			       	}
		   	);
		   	dojo.query('#mapButton').onmouseup
			( 
				function(evt) 
				{
		       		dojo.query('#mapButton').style("background","url(Images/MapHover.png)");
		       	}
		   	);
		    dojo.query('#mapButton').onmouseenter
		    ( 
		    	function(evt) 
		    	{
		       		dojo.query('#mapButton').style("background","url(Images/MapHover.png)");
		       	}
		    );
		    dojo.query('#mapButton').onmouseleave
		    ( 
		    	function(evt) 
		    	{
		       		dojo.query('#mapButton').style("background","url(Images/Map.png)");
		       	}
		    );
		}
		
		dojo.addOnLoad(setupButtons);
