   var Img0 = new Image();
   Img0.src = 'http://www.2k1.co.uk/images/product0.jpg';
   var Img1 = new Image();
   Img1.src = 'http://www.2k1.co.uk/images/product1.jpg';
   var Img2 = new Image();
   Img2.src = 'http://www.2k1.co.uk/images/product2.jpg'; 
   var Img3 = new Image();
   Img3.src = 'http://www.2k1.co.uk/images/product3.jpg';
   var Img4 = new Image();
   Img4.src = 'http://www.2k1.co.uk/images/product4.jpg';
   var Img5 = new Image();
   Img5.src = 'http://www.2k1.co.uk/images/product5.jpg';

function makeNews(c,l,f,i){
      this.copy = c;
      this.link = l;
      this.follow = f;
      this.img = i;
      this.write = writeNews;
   }

function writeNews(){
      var str = '';
      str += '<TABLE><TR><TD ROWSPAN="3" WIDTH="120" VALIGN="TOP">';
      str += '<a href="' + this.link + '">';
      str += '<img border="0" src="' + 
         this.img.src + '"></a></TD><TD HEIGHT="25">&nbsp;</TD></TR><TR><TD HEIGHT="40" VALIGN="TOP">';
      str += this.copy + '</TD></TR><TR><TD ALIGN="RIGHT">';
      str +=  '<a href="' + this.link + '">' + 
         this.follow + '</a>';
      str += '</TD></TR></TABLE>';
      return str;
   }



   var newsArray = new Array();
   newsArray[0] = new makeNews(
      "2001 launches the P4 ZLed. The P4 is currently the industry's highest brightness single die device.",
      'displays/Seoul_LED.asp',
       'More...',Img0).write();
   
   newsArray[1] = new makeNews(
      "The RCM5400W is the first RabbitCore module built on the Rabbit 5000 platform and offers increased performance and full Wi-Fi/802.11b/g functionality.",
      'embedded/rabbit_coremods2a.asp',
      'More...',Img1).write();
   
   newsArray[2] = new makeNews(
      "Cyan's USB / Ethernet-Solved™ Development Kit allows projects based around USB and Ethernet to be created quickly and easily.",
      'embedded/Cyan_Micros3.asp',
      'More...',Img2).write();
   
   newsArray[3] = new makeNews(
      "The Q52 Omni from Wavecom is a groundbreaking combination of cellular, satellite and GPS technology in a single device. ",
     'wireless/wavecom_modules4.asp',
      'More...',Img3).write(); 

  newsArray[4] = new makeNews(
      "XBee and XBee-PRO ZigBee modules provide an easy-to-implement solution with incredible range and strong reliability",
      'wireless/maxstream_zigbee.asp',
      'More...',Img4).write();

  newsArray[5] = new makeNews(
      "Sanyo's Amorton family are amorphous silicon Solar Cells offering low cost and increased efficiency across all light conditions when compared with crystal silicon devices.",
      'components/sanyo_components3.asp',
      'More...',Img5).write();

   var nIndex = 0;
   var timerID = null;
   
   function rotateNews(){
      var len = newsArray.length;
      if(nIndex >= len)
         nIndex = 0;
      document.getElementById('stories').innerHTML = 
         newsArray[nIndex];
      nIndex++;
      timerID = setTimeout('rotateNews()',8000);
   }

   function pauseNews() {
      if (timerID != null) {
         clearTimeout(timerID);
         timerID = null;
      }
   }
   
   function playNews() {
      if (timerID == null) {
         timerID = setTimeout('rotateNews()', 1200);
      }
   }

