//image rotation created on April 5, 2006 
function profileRotate()
{
 num=imgArray1.length;
 incr=Math.floor(Math.random()*num);
document.getElementById('layerMast').style.background = 'url( '+ imgArray1[incr] + ')  no-repeat left'   ;
}

function imgRotate()
{
 num=imgArray2.length;
 incr=Math.floor(Math.random()*num);
 document.write(imgArray2[incr]);
}

function adRotate()
{
 num=imgArray3.length;
 incr=Math.floor(Math.random()*num);
document.getElementById('middleAd').style.background = 'url( '+ imgArray3[incr] + ')  no-repeat left'   ;
document.write (textArray1[incr])  ;
}