function rotateHeadline()
{
	var headlines = new Array();
	var images = new Array();
	
	var img_path = '/images/headings/';
	
	var headline1 = new Array();
	headline1[0] = document.createTextNode('Put yourself in a great position.');
	headline1[1] = document.createElement('br');
	headline1[2] = document.createTextNode('Put us to work for you.');
	
	var headline2 = new Array();
	headline2[0] = document.createTextNode('Looking for a Temporary job?');
	headline2[1] = document.createElement('br');
	headline2[2] = document.createTextNode('Veritude is in a position to help.');
	
	headlines.push(headline1);
	headlines.push(headline2);
	
	images.push(img_path + 'home.gif');
	images.push(img_path + 'home_2.gif');
	images.push(img_path + 'home_3.gif');
	
	var txt_index = Math.round(Math.random());
	var img_index = Math.floor(Math.random() * 3);
	
	document.getElementById('heading_img').style.backgroundImage = 'url(' + images[img_index] + ')';
	for(var i in headlines[txt_index])
		document.getElementById('heading_txt').appendChild(headlines[txt_index][i]);
}
