function preloadimages() {
	document.preload = new Array();
	if (document.images) {
		for (var i = 0; i < preloadimages.arguments.length; i++) {
			document.preload[i] = new Image();
			document.preload[i].src = preloadimages.arguments[i];
		}
	}
}

function swapInGeneral()
{
	document.general.src="images/STCCG.gif"; 
	document.headtext.src="images/GHCG.gif";
	doTeaser("includes/teaser_general.htm");
	
}
function swapOutGeneral()
{
	document.general.src="images/STCG2.jpg"; 
	document.headtext.src="images/headtext_blank.gif";
	doTeaser("includes/teaser_blank.htm");

}

function swapInAus()
{
	document.aus.src="images/STCACG.gif"; 
	document.headtext.src="images/GHACG2.gif";
	doTeaser("includes/teaser_aus.htm");
}
function swapOutAus()
{
	document.aus.src="images/STACG2.jpg"; 
	document.headtext.src="images/headtext_blank.gif";
	doTeaser("includes/teaser_blank.htm");
}
function swapInNsw()
{
	document.nsw.src="images/STCNSW.gif"; 
	document.headtext.src="images/GHNSWCG.gif";
	doTeaser("includes/teaser_nsw.htm");
}
function swapOutNsw()
{
	document.nsw.src="images/STNSWCG2.jpg"; 
	document.headtext.src="images/headtext_blank.gif";
	doTeaser("includes/teaser_blank.htm");
}
function swapInQld()
{
	document.qld.src="images/STCQCG.gif"; 
	document.headtext.src="images/GHQCG.gif";
	doTeaser("includes/teaser_qld.htm");
}
function swapOutQld()
{
	document.qld.src="images/STQCG.jpg"; 
	document.headtext.src="images/headtext_blank.gif";
	doTeaser("includes/teaser_blank.htm");
}
function swapInThredbo()
{
	document.thredbo.src="images/STCWACG.gif"; 
	document.headtext.src="images/GHWACG.gif";
	doTeaser("includes/teaser_thredbo.htm");
}
function swapOutThredbo()
{
	document.thredbo.src="images/STWACG2.jpg"; 
	document.headtext.src="images/headtext_blank.gif";
	doTeaser("includes/teaser_blank.htm");
}

function doTeaser(swapout) 
{
	frames['teaserframe'].location.href=swapout;
}

