
	<!-- Hide script from old browsers
	//get values from querystring
	var args = new Object();
	var query = location.search.substring(1); 		// get query string.
	var pairs = query.split(",");					//break at comma
	var hairs = query.split("&");					//break at &
	//alert(pairs);
	//alert(hairs);
	var firstpart = hairs[0].split("=");
	var secondpart = hairs[1].split("=");
	//alert(firstpart[1]);
	//alert(secondpart[1]);
	var heading = "";
	if (heading == "undefined") {
			//alert(heading)
	}
	else if (heading = "") {
		//alert(heading)
		}
	var just5 = "";
	//this is the portion that the slideshow uses to show the images	
	if(firstpart[1] == 1) {
		firstpart[1] = "steel-farm-buildings";
		heading = "STEEL FARM BUILDINGS &amp; OTHER AGRICULTURAL BUILDINGS";
		just5 = false;
		}
	if(firstpart[1] == 2){
		firstpart[1] = "commercial-steel-buildings";
		heading = "COMMERCIAL STEEL BUILDINGS";
		just5 = false;
		}
	if(firstpart[1] == 3){
		firstpart[1] = "residential-metal-buildings";
		heading = "RESIDENTIAL METAL BUILDINGS";
		just5 = true;
		}
	if(firstpart[1] == 4){
		firstpart[1] = "industrial-steel-buildings";
		heading = "INDUSTRIAL STEEL BUILDINGS";
		just5 = false;
		}
	if(firstpart[1] == 5){
		firstpart[1] = "aircraft-hangars";
		heading = "AIRCRAFT HANGARS";
		just5 = false;
		}
	if(firstpart[1] == 6){
		firstpart[1] = "recreational-steel-buildings";
		heading = "RECREATIONAL STEEL BUILDINGS";
		just5 = false;
		}
	if(firstpart[1] == 7){
		firstpart[1] = "metal-church-buildings";
		heading = "METAL CHURCH BUILDINGS";
		just5 = false;
		}
	if(firstpart[1] == 8){
		firstpart[1] = "mini-storage-buildings";
		heading = "MINI STORAGE BUILDINGS";
		just5 = false;
		}
	if(firstpart[1] == 9){
		firstpart[1] = "riding-arenas";
		heading = "RIDING ARENAS";
		just5 = false;
		}
	if(firstpart[1] == 10){
		firstpart[1] = "trucking";
		heading = "TRUCK GARAGES";
		just5 = false;
		}
	if(firstpart[1] == 11){
		firstpart[1] = "garages";
		heading = "GARAGE KITS";
		just5 = false;
		}
		
	if (just5) {
	myPix = new Array("images/" + firstpart[1] + "/1.jpg","images/" + firstpart[1] + "/2.jpg","images/" + firstpart[1] + "/3.jpg","images/" + firstpart[1] + "/4.jpg","images/" + firstpart[1] + "/5.jpg");
	thisPic = 0//originally 0
	imgCt = myPix.length - 1
	}
	else {
	myPix = new Array("images/" + firstpart[1] + "/1.jpg","images/" + firstpart[1] + "/2.jpg","images/" + firstpart[1] + "/3.jpg","images/" + firstpart[1] + "/4.jpg","images/" + firstpart[1] + "/5.jpg","images/" + firstpart[1] + "/6.jpg","images/" + firstpart[1] + "/7.jpg","images/" + firstpart[1] + "/8.jpg","images/" + firstpart[1] + "/9.jpg","images/" + firstpart[1] + "/10.jpg");
	thisPic = 0//originally 0
	imgCt = myPix.length - 1	
	}

	function chgSlide(direction) {//a one or minus-one gets passed into direction from the link
		if (document.images) {
			thisPic = thisPic + direction
			if (thisPic > imgCt) {
				thisPic = 0//0
			}
			if (thisPic < 0) {//originally said (thisPic < 0)
				thisPic = imgCt
			}
			document.myPicture.src=myPix[thisPic]
		}
	}	
	function writeMe(){
	document.write("<img src=images/" + firstpart[1] + "/" + secondpart[1] + ".jpg id=myPicture name=myPicture>")
	}
	// End hiding script from old browsers -->
