onerror = handle_err
function handle_err (msg,url,line) {
	alert ("There was an error on this page.\n\n" +
		"Error: " + msg + "\n" +
		"URL: " + url + "\n" +
		"Line: " + line + "\n\n" +
		"Click OK to continue.\n\n")
	return true
}

//	NEW VISIONS website
//	Last revision: 2009-06-26

// This script selects a slogan at random from those in the array.

var i = 0
var catchphrase = new Array()


// Text

catchphrase[i++] = "All Phases of Residential Construction"
catchphrase[i++] = "Specializing in Old World Craftsmanship"
catchphrase[i++] = "Turning Your Visions into Reality"


// Grab a random number within the array bounds, then write the HTML to display the text.

var num = Math.floor(Math.random() * catchphrase.length)

document.write (
	'<p id="slogan"><span>' + catchphrase[num] + '</span></p>'
)