// JavaScript Document

// Set up the text files to be used.
var theText = new Array() // do not change this


theText[0] = '<img src="/images/atc_home_objectives1.jpg" alt="" /><div class="home_objectives_txt"><h3>Economic</h3><p>To promote the efficient movement of people and goods in order to support sustainable economic development and prosperity. </p></div>';
theText[1] = '<img src="/images/atc_home_objectives2.jpg" alt="" /><div class="home_objectives_txt"><h3>Safety</h3><p>To provide a safe transport system that meets Australias mobility, social and economic objectives with maximum safety for its user. </p></div>';
theText[2] = '<img src="/images/atc_home_objectives3.jpg" alt="" /><div class="home_objectives_txt"><h3>Social</h3><p>To promote social inclusion by connecting remote and disadvantaged communities and increasing accessibility to the transport network for all Australians. </p></div>';
theText[3] = '<img src="/images/atc_home_objectives4.jpg" alt="" /><div class="home_objectives_txt"><h3>Environmental</h3><p>To protect our environment and improve health by building and investing transport systems that minimise emissions and consumption of resources and energy. </p></div>';
theText[4] = '<img src="/images/atc_home_objectives1.jpg" alt="" /><div class="home_objectives_txt"><h3>Integration</h3><p>To promote effective and efficient integration and linkage of Australias transport system with urban and regional planning at every level of government and with international transport systems. </p></div>';
theText[5] = '<img src="/images/atc_home_objectives1.jpg" alt="" /><div class="home_objectives_txt"><h3>Transparency</h3><p>Transparency in funding and charging to provide equitable access to the transport system, through clearly identified means where full cost recovery is not applied. </p></div>';

// do not edit anything below this line

var j = 0
var p = theText.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Array()
   preBuffer[i].src = theText[i]
}
var whichText = Math.round(Math.random()*(p-1));
function showText(){
//This a wrapper for the text array it can be changed if need
document.write('<p class="thetext">'+theText[whichText]+'</p>');
}
