function funcChangeText(linkNum) {
	
	if (linkNum == 1 ) {
		window.document.getElementById('oH1PageTitle').innerHTML = 'Residential';
		window.document.getElementById('oDivText').innerHTML = '<p>Lacy Scott & Knight operate successful estate agency services from both offices in Bury St. Edmunds and Stowmarket selling and buying property for clients and undertaking a full range of valuation and survey work, including:</p><ul><li>Free no obligation appraisals</li><li>Planning and development advice </li><li>Tenant finding and property management including rent collection</li><li>Innovative and professional marketing </li></ul>';
		window.document.getElementById('oALink1').attributes.getNamedItem("class").value = 'selected'
	}else if (linkNum == 2){
		window.document.getElementById('oH1PageTitle').innerHTML = 'Commercial';
		window.document.getElementById('oDivText').innerHTML = '<p>Lacy Scott & Knight are able to provide advice relating to commercial property matters including:<p><ul><li>Sales and lettings</li><li>Planning applications</li><li>Management of commercial property including rent reviews</li><li>Valuations for all purposes </li></ul>';		
		window.document.getElementById('oALink2').attributes.getNamedItem("class").value = 'selected'
	} else if ( linkNum == 3 ) {
		window.document.getElementById('oH1PageTitle').innerHTML = 'Agricultural';
		window.document.getElementById('oDivText').innerHTML = '<p>Lacy Scott & Knight are able to provide advice on a wide variety of agricultural and rural property matters including:</p><ul><li>Property sales and purchases</li><li>Landlord & Tenant matters</li><li>Valuations for all purposes</li><li>Planning and development</li><li>Compensation issues</li><li>Machinery auctions</li></ul>';
		window.document.getElementById('oALink3').attributes.getNamedItem("class").value = 'selected'
	}else if (linkNum == 4){
		window.document.getElementById('oH1PageTitle').innerHTML = 'Auction Centre';
		window.document.getElementById('oDivText').innerHTML = '<ul><li>Auction sales of fine art, antiques, collectors models and household furniture </li> <li>Free fine art auction advice and valuations from experts </li> <li>Competitively priced probate and insurance valuations </li> <li>Fast efficient clearance, transport and storage service </li> <li>Full cataloguing, estimate and international advertising service for fine art</li></ul>';
		window.document.getElementById('oALink4').attributes.getNamedItem("class").value = 'selected'
	} else if ( linkNum == 5 ) {
		window.document.getElementById('oH1PageTitle').innerHTML = 'Surveying';
		window.document.getElementById('oDivText').innerHTML = '<p>Surveys and professional reports on a variety of subjects</p><ul> <li> Building Surveys and Homebuyer Reports</li> <li> Dilapidations issues</li> <li>Schedules of Condition</li> <li>Repair identification</li> <li>Expert witness reports</li></ul>';
		window.document.getElementById('oALink5').attributes.getNamedItem("class").value = 'selected'
	}else {
		window.document.getElementById('oH1PageTitle').innerHTML = 'Property Search';
		window.document.getElementById('oDivText').innerHTML = '<p>Please double click the icon to see our list of residential, commercial and agricultural properties for sale and to let.</p>';
		window.document.getElementById('oALink6').attributes.getNamedItem("class").value = 'selected'
	}
	
}

function funcChangeBack() {
	
	window.document.getElementById('oH1PageTitle').innerHTML = 'Welcome';
	window.document.getElementById('oDivText').innerHTML = '<p>Lacy Scott and Knight is an independent long established firm and operates from offices in Bury St. Edmunds and Stowmarket. they provide a wide range of	professional property services throughout Suffolk and into adjoining Counties.</p><p>Lacy Scott and Knight offer a wealth of experience and expertise in:</p><ul><li>Residential, agricultural and commercial property</li><li>Auction sales of fine art, chattels, toys and models, livestock and machinery</li><li> Property surveys and valuations</li><li> Development land and planning matters</li></ul>';
	
}