imgArray = [  
 ['images/products/community_logo.png', 'Community',  "<p>Pulse <a href=\"community_edition.php\">Community Edition</a> is free for individual use, and allows individual developers and teams to effectively acquire, profile and share their Eclipse-based tool stacks. Ideal for individuals and small teams who need to make Eclipse usable.<br /><br />It's also a great way to test drive Pulse technologies to see if a broader delivery solution will help your corporation.</p>"],
 ['images/products/groups_icon.png', 'Managed Team',"<p>Pulse <a href=\"managed_team.php\">Managed Team Edition</a> premium service is a value-added offering on top of the free Pulse Community Edition that focuses on providing full tool customization and development team synchronization for small to medium development teams.</p>"],
 ['images/home1/pulse_logo_rotate.gif', 'Java Installers',"<p>Let Pulse create your <a href=\"java_installers.php\">Java installers</a> in a matter of minutes with fully white labeled solutions proven to securely and effectively deliver software to millions of users.<br /><br />The technology behind how you install and update your software makes all the difference.</p><br /><br />"]
]

var timedNum = 0;

function LimitNumber(value) {
  if (value < 0) { value = imgArray.length - 1; }
  var value = value % imgArray.length;
  return value; 
}
function slide(slide_num,newsImg,newsTxt) {
  document.getElementById(newsImg).src=imgArray[slide_num][0];
  document.getElementById(newsImg).alt=imgArray[slide_num][1];
  document.getElementById(newsTxt).innerHTML=imgArray[slide_num][2];
}


function TimedImage() {
  timedNum++;
  timedNum = LimitNumber(timedNum);
  slide(timedNum,'newsImage','newsText');
}
 

function InitTimeInterval() {
  timedFunc = setInterval("TimedImage()",3000);
}

function DisplaySlides(SNo) {
	  slide(SNo,'newsImage','newsText');
	  timedNum = SNo;
	}
