<!--

function MM_findObj(n, d) { //v4.0 Dreamweaver code - required for nested layers in NS4
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_setTextOfLayer(objName,x,newText) { //v4.01
  if ((obj=MM_findObj(objName))!=null) with (obj)
    if (document.layers) {document.write(unescape(newText)); document.close();}
    else innerHTML = unescape(newText);
}

var oldSrc, oldImg;
function chartOver (im,lyr,txt,hilight) {
	window.status = txt;
	MM_setTextOfLayer(lyr,'','<font class="rolloverText">'+txt+'</font>');
  var oImg = document.images[im];
  oldSrc = oImg.style.backgroundColor;
  oldImg = oImg.src;
  oImg.style.backgroundColor = hilight;
  oImg.src = "/static/img/colours/pix_"+hilight.substr(1)+".gif";
}

function chartInit(lyr) {
	MM_setTextOfLayer(lyr,'','<font class="rolloverTextPlain">(Move the mouse over the bars for data breakdown)</font>');
}

function chartOut (im,lyr) {
	window.status = '';
	MM_setTextOfLayer(lyr,'','<font class="rolloverTextPlain">(Move the mouse over the bars for data breakdown)</font>');
  var oImg = document.images[im];
  oImg.src = oldImg;
  oImg.style.backgroundColor = oldSrc;
}

//-->
