
<!-- // Hide

function imgCycle() { with (this)
{
 currImg = (++currImg % data.length);
 parLyr.document.images[myName + 'Img'].src = data[currImg].src;
 setTimeout(myName + '.cycle()', delay);
}}

function ImageCycle(myName, delay, parLyr)
{
 this.myName = myName;
 this.delay = delay;
 this.parLyr = (document.layers && parLyr ? parLyr : window);
 this.currImg = 0;
 this.data = new Array();
 for (var i = 3; i < arguments.length; i++)
 {
  this.data[i - 3] = new Image();
  this.data[i - 3].src = arguments[i];
 }
  this.cycle = imgCycle;
}

function LoadCycles()
{
picRotate1.cycle()
picRotate2.cycle()
picRotate3.cycle()
}

// var picRotate1 = new ImageCycle('picRotate1', '3200', null, './images/amgold.jpg', './images/amplat.jpg' , './images/bateman.jpg' ,'./images/chevron1.jpg' ,'./images/foodbev-seta.jpg' );
// var picRotate1 = new ImageCycle('picRotate1', '3200', null, './images/anglo_gold2.jpg',, './images/amplat.jpg' , );
// var picRotate1 = new ImageCycle('picRotate1', '3200', null, './images/anglo_gold2.jpg','./images/bhpbilliton.jpg' , './images/ppc1.jpg' , './images/vodacom.jpg');
// var picRotate2 = new ImageCycle('picRotate2', '3400', null,  './images/debeers.jpg', './images/mqa.jpg', './images/gallagher.jpg', './images/sandvik.jpg');
// var picRotate3 = new ImageCycle('picRotate3', '3600', null,  './images/randwater.jpg',  './images/fluor.jpg', './images/krupp.jpg', './images/vhutsila.jpg', './images/samancor.jpg');
// var picRotate3 = new ImageCycle('picRotate3', '3600', null,  './images/randwater.jpg', './images/krupp.jpg','./images/metf.jpg' ,'./images/chevron1.jpg' );

var picRotate1 = new ImageCycle('picRotate1', '3200', null,  './images/amp.jpg' , './images/anglo_ashanti.jpg' , './images/anglo_coal.jpg' , './images/anglo_american.jpg', './images/asa_metals.jpg' , './images/bateman1.jpg' , './images/boe.jpg' ,'./images/coa.jpg' , './images/csc.jpg' );
var picRotate2 = new ImageCycle('picRotate2', '3200', null,  './images/anglo_gold2.jpg' , './images/bhpbilliton.jpg' , './images/ppc1.jpg' , './images/vodacom.jpg' , './images/discovery.jpg', './images/discovery_fund.jpg' , './images/fnb.jpg' , './images/hudaco.jpg' , './images/jhbwater.jpg');
var picRotate3 = new ImageCycle('picRotate3', '3600', null,  './images/randwater.jpg' , './images/pioneer.jpg' , './images/metf.jpg' , './images/chevron1.jpg' , './images/swiss.jpg', './images/debeers.jpg', './images/mqa.jpg', './images/gallagher.jpg', './images/murray.jpg');
 



window.onload = new Function('LoadCycles()');

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
// End Hide -->
