<!--
var isNS = (document.layers);
var isNS6=(document.getElementById && (! document.all));
var isIE=(document.getElementById && document.all);

var pltfrm = navigator.userAgent.toLowerCase();
var isMac = (pltfrm.indexOf("mac")>-1);


 // to fix bug with NS4.0X and the onresize event handler
if ((isNS)||(isNS6)) {
	origWidth=innerWidth;
	origHeight=innerHeight;
	onresize=function(){
		if (innerWidth!=origWidth||innerHeight!=origHeight) location.reload()
	}
}

var cls = new Array();
for (i=1; i<13; i++) {
	cls[i] = " class='menuoff' ";
}

if ((whatmenu!=0) && (whatmenu!=1) && (whatmenu!=2) && (whatmenu!=3) && (whatmenu!=4) && (whatmenu!=5) && (whatmenu!=6)) {
	cls[whatmenu] = " class='menuon' ";
}

var aboutmenu = "<div class='subnav' style='text-indent: 196px;'>"
	+ "<a href='about-billabong.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[7] + ">Billabong Overview</a> <img src='images/subnav_divider.gif' align='absmiddle'>"  + "<a href='company-history.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[7] + ">Company History</a>" + 
				"</div>";

var newsmenu = "<div class='subnav' style='text-indent: 300px;'>"
	+ "<a href='news-general.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[12] + ">General</a> <img src='images/subnav_divider.gif' align='absmiddle'> <a href='news-business.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[11] + ">Business</a>" + 
				"</div>";

var investorsmenu = "<div class='subnav'  style='text-indent: 95px;'>"
	+ "<a href='investors-overview.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[15] + ">Corporate Overview</a> <img src='images/subnav_divider.gif' align='absmiddle'>   <a href='investors-reports.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[15] + ">Reports</a> <img src='images/subnav_divider.gif' align='absmiddle'> <a href='investors-dividend-info.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[16] + ">Dividend Info</a> <img src='images/subnav_divider.gif' align='absmiddle'> <a href='investors-share-price.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[17] + ">Share Price</a> <img src='images/subnav_divider.gif' align='absmiddle'>  <a href='investors-corp-governance.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[18] + ">Corporate Governance</a> " + 
				"</div>";
	
// var investorsmenu = "<div class='subnav'  style='text-indent: 95px;'>"
// 	+ "<a href='investors-overview.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[15] + ">Corporate Overview</a> <img src='images/subnav_divider.gif' align='absmiddle'>   <a href='investors-reports.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[15] + ">Reports</a> <img src='images/subnav_divider.gif' align='absmiddle'> <a href='investors-dividend-info.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[16] + ">Dividend Info</a> <img src='images/subnav_divider.gif' align='absmiddle'> <a href='investors-share-price.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[17] + ">Share Price</a> <img src='images/subnav_divider.gif' align='absmiddle'>  <a href='investors-corp-governance.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[18] + ">Corporate Governance</a> <img src='images/subnav_divider.gif' align='absmiddle'>  <a href='investors-email-alerts.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[19] + ">Email Alerts</a>" + 
// 				"</div>";
				
// var communitymenu = "<div class='subnav' style='text-indent: 145px;'>"
//	+ "<a href='community-env-awareness.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[22] + ">Environmental Awareness</a> <img src='images/subnav_divider.gif' align='absmiddle'> <a href='community-workers.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[23] + ">Workers and Factories</a> <img src='images/subnav_divider.gif' align='absmiddle'> <a href='community-social.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[24] + ">Community Initiatives</a> <img src='images/subnav_divider.gif' align='absmiddle'> <a href='community-events.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[25] + ">Events and Promotions</a>" + 
//				"</div>";
	
var communitymenu = "<div class='subnav' style='text-indent: 472px;'>"
	+ "<a href='/bethechange/' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[22] + ">Be The Change</a> <img src='/images/spacer.gif' align='absmiddle' height='22'>" + 
			"</div>";
	
			
var jobsmenu = "<img src='images/spacer.gif' width='1' height='31' border='0'/>";

var customerservicemenu = "<div class='subnav' style='text-indent: 650px;'>"
	+ "<a href='contact-us.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[26] + ">Contact Us</a> <img src='images/subnav_divider.gif' align='absmiddle'> <a href='faq.php' onmouseover='keepAlive(1)' onmouseout='keepAlive(0)'" +cls[27] + ">FAQ</a>" + 
				"</div>";
				

var homemenu="<img src='images/spacer.gif' width='1' height='31' border='0'/>";

var imgld=0;
 
function showLayer(name) {
    if (isNS) {
    	document.layers[0].document.layers["one"].document.open();
		document.layers[0].document.layers["one"].document.write(eval(name));
		document.layers[0].document.layers["one"].document.close();
	}		
    if (isIE) {
   		document.getElementById("one").innerHTML=eval(name); 
	}
	if (isNS6) {
	document.getElementById("one").innerHTML=eval(name);
	}
}

//image cache
if (document.images)
	{
//cache menu	

				
		var about_on = new Image();
		about_on.src = "images/nav_b_aboutO.gif";
		var  about_off = new Image();
		about_off.src = "images/nav_b_aboutA.gif";
		
		var news_on = new Image();
		news_on.src = "images/nav_b_newsO.gif";
		var news_off = new Image();
		news_off.src = "images/nav_b_newsA.gif";
		
		var investors_on = new Image();
		investors_on.src = "images/nav_b_investorsO.gif";
		var investors_off = new Image();
		investors_off.src = "images/nav_b_investorsA.gif";
		
		var community_on = new Image();
		community_on.src = "images/nav_b_communityO.gif";
		var community_off = new Image();
		community_off.src = "images/nav_b_communityA.gif";
		
		var jobs_on = new Image();
		jobs_on.src = "images/nav_b_jobsO.gif";
		var jobs_off = new Image();
		jobs_off.src = "images/nav_b_jobsA.gif";
		
		var customerservice_on = new Image();
		customerservice_on.src = "images/nav_b_customerserviceO.gif";
		var customerservice_off = new Image();
		customerservice_off.src = "images/nav_b_customerserviceA.gif";

		imgld=1;
	}
	
function init() {
		if (whatpage!="home"){
	 	if (isNS) {
	 	eval("document.images[whatpage].src = "+ whatpage + "_on.src");
		} else {
			document.images[whatpage].src = eval(whatpage + "_on.src");
		}
		showLayer(layertoshow);
		}
}


function swapImage(i,j) {
	if (imgld==0) return;
	if (i==whatpage) return;
	 	if (isNS) {
	 	eval("document.images[i].src = "+ i + "_" + j + ".src");
		} else {
			document.images[i].src = eval(i + "_" + j + ".src");
		}
}

function keepAlive(mouse_over)
{
  if (mouse_over) {
	if (typeof TimerID != "undefined") clearTimeout(TimerID);
  } else {
    if (typeof TimerID != "undefined") clearTimeout(TimerID);
    TimerID = setTimeout('switchLayer()',500);
  }
}

function swapMeetOn(x,y) {
 swapImage(x,y);
 showme=(x+"menu");
 showLayer(showme);
}

function swapMeetOff(x,y) {
 swapImage(x,y);
}

function switchLayer() {
 showLayer(layertoshow);
}


function getObj(objectId)
{
    if(document.getElementById && document.getElementById(objectId)) {
	this.obj = document.getElementById(objectId);
	this.style = document.getElementById(objectId).style;
    } else if (document.all && document.all(objectId)) {
	this.obj = document.all(objectId);
	this.style = document.all(objectId).style;
    } else if (document.layers && document.layers[objectId]) {
	this.obj = document.layers[objectId];
	this.style = document.layers[objectId];
    } else {
	return false;
    }
}

//-->