//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 center'   ; 
//document.open();
//document.write("<div id='layerMast' style='background-image:url(" + imgArray1[incr] + ")");
//document.write(ar_text1[incr]);
//document.close();
}

//<img  src = ' " + imgArray1[incr] + "' alt=\"\"/>");


function image_Rotate()
{
	num2=imgArray2.length;
	incr=Math.floor(Math.random()*num2);
	document.open;
    document.write("<img  src = ' " + imgArray2[incr] + "' alt=\" \"/>"); 
	document.write(ar_text2[incr]);
	document.close();
}

function gtgRotate()
{
 num=imgArray3.length;
 incr=Math.floor(Math.random()*num);
document.getElementById('layerMast').style.background = 'url( '+ imgArray3[incr] + ')  no-repeat center' ;
}