animInit_home = "";
animControlName_home = "home";
animCurrentFrame_home = 0;
animMaxNumFrames_home = 3;
var animFrameDelay_home = new Array(0, 5000, 3000, 3000);
animFadeDelay_home = .5; 
var animEffect1_home = new Array('Fade',   'Fade', 'DropOut', 'Fade');
var animEffect2_home = new Array('Appear', 'Appear', 'Appear', 'Appear');
var animContent_home = new Array('',
   '<img alt="" src="http://www.roseoffice.com.au/images/1pe.jpg">',
'<img alt="" src="http://www.roseoffice.com.au/images/3pe.jpg">',
'<img alt="" src="http://www.roseoffice.com.au/images/2pe.jpg">');

animIE_home = (Prototype.Browser.IE);
animLoop_home = false;
   
document.write ('<div style="text-align: center; width: 444px; height: 150px; clip: auto; overflow: hidden;"><span id="home" ');
if (animInit_home != "")
   document.write (animInit_home + '="animCurrentFrame_home=1; selectAnim_home();">' + animContent_home[1]);
else
	document.write ('>');
document.write ('</span></div>');

if (animInit_home == "")
   selectAnim_home();   
   
function selectAnim_home() {
   if (animCurrentFrame_home < animMaxNumFrames_home || animLoop_home) {
      var sEffect = animEffect1_home[animCurrentFrame_home];
      if (animIE_home && sEffect == "Shrink") sEffect = "Fade";  // IE doesn't like "Shrink"
      if (sEffect != "None")
   	   var myresult = eval('new Effect.' + sEffect + '(animControlName_home, {duration:animFadeDelay_home});');
      animCurrentFrame_home += 1;
      if (animCurrentFrame_home > animMaxNumFrames_home) animCurrentFrame_home = 1;
      window.setTimeout('changeAnim_home()',animFadeDelay_home * 1000);
   }
}

function changeAnim_home() {
   document.getElementById(animControlName_home).innerHTML = animContent_home[animCurrentFrame_home];
   var sEffect = animEffect2_home[animCurrentFrame_home];
   if (sEffect != "None")
	   var myresult = eval('new Effect.' + sEffect + '(animControlName_home, {duration:animFadeDelay_home});');
   window.setTimeout('selectAnim_home()',animFrameDelay_home[animCurrentFrame_home]);
}
