startList = function() 
{
	if (document.all&&document.getElementById) 
	{
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) 
		{
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") 
			{
				node.onmouseover=function() 
				{
				this.className+=" over";
				}
				node.onmouseout=function() 
				{
				this.className=this.className.replace(" over", "");
			   	}
		   	}
		  }
	}
}

window.onload=startList;


/* Store Locator image rollover function */

new_item ("aus",362,337);
new_item ("qld",362,337);
new_item ("nsw",362,337);
new_item ("act",362,337);
new_item ("vic",362,337);
new_item ("tas",362,337);
new_item ("sa",362,337);
new_item ("wa",362,337);
new_item ("nt",362,337);


current_overID = "";
last_overID = "";

function item (img_name,width,height)
{
		img_prefix = img_name;
		this.slide_img = new Image (width,height);
		this.slide_img.src = "images/Store Locator/" + img_prefix + ".png";
}

function new_item (img_name,width,height)
{
		item [img_name] = new item (img_name,width,height);
}

function mouseover (itemID)
{
		current_overID = itemID;
		if (current_overID != last_overID) {
						  document.mapaus.src = item [current_overID].slide_img.src;
		}
}



function load(url) {
var load = window.open(url,'','scrollbars=no,menubar=no,height=590,width=420,resizable=yes,toolbar=no,location=no,status=no');
}

function load_terms(link) {
var x = window.open(link,'','scrollbars=yes,menubar=no,height=590,width=420,resizable=yes,toolbar=no,location=no,status=no');
}