// JavaScript Document

<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
var theDescrip = new Array()
var theLink = new Array()
// To add more image files, continue with the
// pattern below, adding to the array.

	theImages[0] = '00.jpg' // Yarrabee
	theImages[1] = '01.jpg' // Addison
	theImages[2] = '02.jpg' // Booth
	theImages[3] = '03.jpg' // Carey
	theImages[4] = '04.jpg' // Crowley
	theImages[5] = '05.jpg' // Deakin
	theImages[6] = '06.jpg' // East
	theImages[7] = '07.jpg' // Finley
	theImages[8] = '08.jpg' // Harkin
	theImages[9] = '09.jpg' // Hodak
	theImages[10] = '10.jpg' // Maloney
	theImages[11] = '11.jpg' // Mclochlan
	theImages[12] = '12.jpg' // Mor
	theImages[13] = '13.jpg' // Pianca
	theImages[14] = '14.jpg' // Pyang
	theImages[15] = '15.jpg' // Risch
	theImages[16] = '16.jpg' // Risetop
	theImages[17] = '17.jpg' // Ryan
	theImages[18] = '18.jpg' // Sarris
	theImages[19] = '19.jpg' // Scully
	theImages[20] = '20.jpg' // Vanzwan
	theImages[21] = '21.jpg' // North Watson
	theImages[22] = '22.jpg' // Tall House (Dawes House)
	theImages[23] = '23.jpg' // Kiama
	theImages[24] = '24.jpg' // Rowbotham
	theImages[25] = '25.jpg' // Rasmussen
	theImages[26] = '26.jpg' // Rafferty
	theImages[27] = '27.jpg' // Phillips
	theImages[28] = '28.jpg' // Macourt
	theImages[29] = '29.jpg' // Gorely
	theImages[30] = '30.jpg' // Drennan
	theImages[31] = '31.jpg' // Creelman
	theImages[32] = '32.jpg' // Cole
	theImages[33] = '33.jpg' // Buckley
	theImages[34] = '34.jpg' // Briggs
	theImages[35] = '35.jpg' // Harris - South Australia
	theImages[36] = '36.jpg' // Brynes House
	theImages[37] = '37.jpg' // Kingston Foreshore House
	




	
	// theDescrip[x] = ''
	theDescrip[0] = 'New House | Yarrabee House'
	theDescrip[1] = 'New House | Addison House'  
	theDescrip[2] = 'New House | Booth House'
	theDescrip[3] = 'New House | Carey House'
	theDescrip[4] = 'New House | Crowley House'
	theDescrip[5] = 'New House | Deakin Dual Occupancy'
	theDescrip[6] = 'New House | East House'
	theDescrip[7] = 'New House | Finley House'
	theDescrip[8] = 'New House | Harking Hayes House'
	theDescrip[9] = 'New House | Hodak House'
	theDescrip[10] = 'New House | Maloney House'
	theDescrip[11] = 'New House | McLachlan House'
	theDescrip[12] = 'New House | Mor House'
	theDescrip[13] = 'New House | Pianca House'
	theDescrip[14] = 'New House | Pyang Houses'
	theDescrip[15] = 'New House | Rischbieth Houses'
	theDescrip[16] = 'New House | Risetop House'
	theDescrip[17] = 'New House | Ryan House'
	theDescrip[18] = 'New House | Sarris House'
	theDescrip[19] = 'New House | Scully House'
	theDescrip[20] = 'New House | Vanzwan Thomas Houses'
	theDescrip[21] = 'New House | North Watson Display House'
	theDescrip[22] = 'New House | Dawes House'
	theDescrip[23] = 'New House | Kiama House'
	theDescrip[24] = 'Renovation | Rowbotham House'
	theDescrip[25] = 'Renovation | Rasmussen House'
	theDescrip[26] = 'Renovation | Rafferty House'
	theDescrip[27] = 'Renovation | Phillips House'
	theDescrip[28] = 'Renovation | Nelson Macourt House'
	theDescrip[29] = 'Renovation | Gorely Hodge House'
	theDescrip[30] = 'Renovation | Drennan House'
	theDescrip[31] = 'Renovation | Creelman House'
	theDescrip[32] = 'Renovation | Cole House'
	theDescrip[33] = 'Renovation | Buckley House'
	theDescrip[34] = 'Renovation | Briggs House'
	theDescrip[35] = 'New House | Harris House'
	theDescrip[36] = 'Renovatoin | Brynes House'
	theDescrip[37] = 'New House | Kingston Foreshore House'
	
	
	
	//theLink[x] = ''
	theLink[0] = 'portfolio/yarrabee.html'
	theLink[1] = 'portfolio/addison.html'
	theLink[2] = 'portfolio/booth.html'
	theLink[3] = 'portfolio/carey.html'
	theLink[4] = 'portfolio/crowley.html'
	theLink[5] = 'portfolio/deakin.html'
	theLink[6] = 'portfolio/east.html'
	theLink[7] = 'portfolio/finley.html'
	theLink[8] = 'portfolio/harkin.html'
	theLink[9] = 'portfolio/hodak.html'
	theLink[10] = 'portfolio/maloney.html'
	theLink[11] = 'portfolio/mclachlan.html'
	theLink[12] = 'portfolio/mor.html'
	theLink[13] = 'portfolio/pianca.html'
	theLink[14] = 'portfolio/pyang.html'
	theLink[15] = 'portfolio/rischbieth.html'
	theLink[16] = 'portfolio/risetop.html'
	theLink[17] = 'portfolio/ryan.html'
	theLink[18] = 'portfolio/sarris.html'
	theLink[19] = 'portfolio/scully.html'
	theLink[20] = 'portfolio/vanzwanThomas.html'
	theLink[21] = 'portfolio/watson.html'
	theLink[22] = 'portfolio/dawes.html'
	theLink[23] = 'portfolio/kiama.html'
	theLink[24] = 'portfolio/rowbotham.html'
	theLink[25] = 'portfolio/rasmussen.html'
	theLink[26] = 'portfolio/rafferty.html'
	theLink[27] = 'portfolio/phillips.html'
	theLink[28] = 'portfolio/macourt.html'
	theLink[29] = 'portfolio/gorely.html'
	theLink[30] = 'portfolio/drennan.html'
	theLink[31] = 'portfolio/creelman.html'
	theLink[32] = 'portfolio/cole.html'
	theLink[33] = 'portfolio/buckley.html'
	theLink[34] = 'portfolio/briggs.html'
	theLink[35] = 'portfolio/harris.html'
	theLink[36] = 'portfolio/brynes.html'
	theLink[37] = 'portfolio/kingston.html'
	
	


	var j = 0
	var p = theImages.length;
	var preBuffer = new Array()
	for (i = 0; i < p; i++){
 		 preBuffer[i] = new Image()
		 preBuffer[i].src = theImages[i]
	}
	
	var whichImage = Math.round(Math.random()*(p-1));
	
	function showImage(){
		
		//document.write('<a href="'+theLink[whichImage]+'"><img src="'+theImages[whichImage]+'"width="1000" height="500" id="thephoto" /></a>');
		
		//images/homepage/homeSplash00.jpg
		
		//Random Image
		document.write('<a href="'+theLink[whichImage]+'"><img src="images/homepage/homeSplash'+theImages[whichImage]+'" width="1000" height="500" id="thephoto" /></a>');
		
		//Specific Image
		//document.write('<a href="portfolio/dawes.html"><img src="images/homepage/homeSplash22.jpg" width="1000" height="500" id="thephoto" /></a>');
		
	}
	function showDescrip(){
		
		//Random Descrip
		document.write(theDescrip[whichImage]) ;
		
		//Specific Descrip
		//document.write('Dawes House') ;
		
		//document.write('<a href="'+theLink[whichImage]+'">'+theDescrip[whichImage]+'</a>');
	}


//<a href="portfolio/carey.html">
//  End -->


