function toggle(element) {
	document.getElementById('WA').style.display = 'none';
	document.getElementById('SANT').style.display = 'none';
	document.getElementById('NSW').style.display = 'none';
	document.getElementById('QLD').style.display = 'none';
	document.getElementById('VICTAS').style.display = 'none';
	document.getElementById('NZ').style.display = 'none';
		if (element.match('All')) {
			document.getElementById('WA').style.display = 'block';
			document.getElementById('SANT').style.display = 'block';
			document.getElementById('NSW').style.display = 'block';
			document.getElementById('QLD').style.display = 'block';
			document.getElementById('VICTAS').style.display = 'block';
			document.getElementById('NZ').style.display = 'block';
		} else {
			document.getElementById(element).style.display = 'block';
		}
	}

var flashName = "aboutus";

window.onload = function goContact() {
url = self.location.search;
	if (url.match('contact')) {
	thisFlash(flashName).GotoFrame (2);
	}
}

function thisFlash(flashName) {
// IE and Netscape/Firefox refer to the movie object differently.
// This function returns the appropriate syntax depending on the browser.
	if (navigator.appName.indexOf ("Microsoft") !=-1) {
		return window[flashName]
	} else {
		return document[flashName]
	}
}



//window.onload = function goContact() {
//url = self.location.search;
//	if (url.match('contact')) {
//	switchFrame();
//	}
//}

//var flashName = "aboutus";
//
//function thisFlash(flashName) {
//// IE and Netscape/Firefox refer to the movie object differently.
//// This function returns the appropriate syntax depending on the browser.
//	if (navigator.appName.indexOf ("Microsoft") !=-1) {
//		return window[flashName]
//	} else {
//		return document[flashName]
//	}
//}
//
//function switchFrame() {
//	if (flashIsLoaded(thisFlash(flashName))) {
//		thisFlash(flashName).GotoFrame (2);
//	}
//}
//
//// Checks if movie is completely loaded.
//// Returns true if yes, false if no.
//function flashIsLoaded (theFlash) {
//// First make sure the movie's defined.
//	if (typeof(theFlash) != "undefined") {
//		// If it is, check how much of it is loaded.
//		return theFlash.PercentLoaded() == 100;
//	} else {
//		// If the movie isn't defined, it's not loaded.
//		return false;
//	}
//}