//navigation button image cache

        MENU1_1 = new Image(180, 30)
        MENU2_1 = new Image(180, 30)
        MENU3_1 = new Image(180, 30)
        MENU4_1 = new Image(180, 30)
        MENU5_1 = new Image(180, 30)
        MENU6_1 = new Image(180, 30)
        MENU7_1 = new Image(180, 30)
        MENU8_1 = new Image(180, 30)
        MENU9_1 = new Image(180, 30)        
        
        MENU1_1.src = "images/MENU1_1.GIF"
        MENU2_1.src = "images/MENU2_1.GIF"
        MENU3_1.src = "images/MENU3_1.GIF"
        MENU4_1.src = "images/MENU4_1.GIF"
        MENU5_1.src = "images/MENU5_1.GIF"
        MENU6_1.src = "images/MENU6_1.GIF"
        MENU7_1.src = "images/MENU7_1.GIF"
        MENU8_1.src = "images/MENU8_1.GIF"
        MENU9_1.src = "images/MENU9_1.GIF"        

        MENU1_2 = new Image(180, 30)
        MENU2_2 = new Image(180, 30)
        MENU3_2 = new Image(180, 30)
        MENU4_2 = new Image(180, 30)
        MENU5_2 = new Image(180, 30)
        MENU6_2 = new Image(180, 30)
        MENU7_2 = new Image(180, 30)
        MENU8_2 = new Image(180, 30)
        MENU9_2 = new Image(180, 30)        
        
        MENU1_2.src = "images/MENU1_2.GIF"
        MENU2_2.src = "images/MENU2_2.GIF"
        MENU3_2.src = "images/MENU3_2.GIF"
        MENU4_2.src = "images/MENU4_2.GIF"
        MENU5_2.src = "images/MENU5_2.GIF"
        MENU6_2.src = "images/MENU6_2.GIF"
        MENU7_2.src = "images/MENU7_2.GIF"
        MENU8_2.src = "images/MENU8_2.GIF"
        MENU9_2.src = "images/MENU9_2.GIF"        



       	imgModel1 = new Image(500, 305)
        imgModel2 = new Image(500, 316)
        imgModel3 = new Image(500, 330)
        imgModel4 = new Image(500, 322)
        imgModel5 = new Image(500, 260)
        imgModel6 = new Image(500, 236)
        imgModel7 = new Image(500, 354)
        
		imgModel8 = new Image(500, 329)
		imgModel9 = new Image(500, 340)
		imgModel10 = new Image(500, 301)
		imgModel11 = new Image(500, 329)
		imgModel12 = new Image(500, 255)
		imgModel13 = new Image(500, 362)
		imgModel14 = new Image(500, 332)
		imgModel15 = new Image(500, 320)
	
		
		imgModel1.src = "images/D1.GIF"
		imgModel2.src = "images/D2.GIF"
		imgModel3.src = "images/D3.GIF"
		imgModel4.src = "images/D4.GIF"
		imgModel5.src = "images/D5.GIF"
		imgModel6.src = "images/D6.GIF"
		imgModel7.src = "images/D7.GIF"
		imgModel8.src = "images/D8.GIF"
		imgModel9.src = "images/D9.GIF"
		imgModel10.src = "images/D10.GIF"
		imgModel11.src = "images/D11.GIF"
		imgModel12.src = "images/D12.GIF"
		imgModel13.src = "images/D13.GIF"
		imgModel14.src = "images/D14.GIF"
		imgModel15.src = "images/D15.GIF"


//headerBlock Text Caching

		var strDefault = 'Residential Home Design - Civil & Structural Engineering  Drafting Service - Title 24 Calculations - Building Permit Services - Energy Efficient Homes - Log Homes - Rough Terrain Specialists - Land Development - Model Home Design - Architectural Renderings - Retaining Structures'
		var strFirm = 'You deserve the best in design and engineering services. &nbsp;Kadtec is driven to deliver on that promise. &nbsp;We view our clients are more than mere clients. &nbsp;You are our neighbors, our friends. &nbsp;Click to read about our firm and the services we provide.'
		var strAdvantage = 'Kadtec is Southern Californiaês leading home design and civil engineering firm.  &nbsp;We have extensive experience working with both Commercial Developers and Owner-Builders, and we understand the unique requirements of both. '
		var strProcess = 'View our design process flowchart.  See how the various steps of the designing, engineering and permitting process fit together.'
		var strPortfolio = 'Browse our online design protfolio.'
		var strPricing = 'Our basic pricing is shown here.  Kadtec posts this to give prospective clients a general idea of the costs involved.'
		var strServices = 'Kadtec has all the necessary services under one roof. &nbsp;As a full service home design firm, Kadtec specializes in architectural design, structural design and engineering. &nbsp;Kadtec converts your ideas into blueprints, and your blueprints create the home of your dreams.'
		var strReferences = 'Read what our happy customers have to say about our services'
		var strInfo = 'Kadtec owes its success to its relationship with its clients.  At the heart of our process is a spirit of creativity and collaboration.  Accordingly, we know our business grows with each knew relationship.  We invite you to contact us today with your questions.  '
		var strMap = 'Need driving directions to our office?  &nbsp;Click here to get a handy map and driving directions.'

	
function imageSwap(oBotton, oImage, strIX){
           oBotton.src = oImage.src
           setText(strIX)
        }


	function setText(strIX){
	
		switch(strIX){
			
			case "0":
				window.headBlockText.innerHTML = strDefault;
				break;
				
			case "1":
				window.headBlockText.innerHTML = strFirm;
				break;
								
			case "2":
				window.headBlockText.innerHTML = strAdvantage;
				break;

			case "3":
				window.headBlockText.innerHTML = strProcess;
				break;

			case "4":
				window.headBlockText.innerHTML = strPortfolio;
				break;

			case "5":
				window.headBlockText.innerHTML = strPricing;
				break;

			case "6":
				window.headBlockText.innerHTML = strServices;
				break;

			case "7":
				window.headBlockText.innerHTML = strReferences;
				break;

			case "8":
				window.headBlockText.innerHTML = strInfo;
				break;
				
			case "9":
				window.headBlockText.innerHTML = strMap;
				break;				

		}																					
	}



	function imageSwap_Content(oBotton, oImage){
           oBotton.src = oImage.src
        }
        

	function swapModel(oImage){
		modelViewer.src = oImage.src
																					
	}        
        
	       
       