
						var message = new Array(
							"<img src='/images/uk_alert.gif' alt='UK Daily Alert' class='left' /><h3 class='white'>UK Daily Alert</h3><p>The new contract alert service that delivers UK public sector contract information straight to your desktop every working day. <a href='/contrax_alert.shtml'>More details &raquo;</a></p>",
							"<img src='/images/ire_alert.gif' alt='Ireland Daily Alert' class='left' /><h3 class='white'>Ireland Daily Alert</h3><p>The new contract alert service that delivers Irish public sector contract information straight to your desktop every working day. <a href='/contrax_alert.shtml'>More details &raquo;</a></p>",
							"<img src='/images/uk_mag.gif' alt='UK Daily Alert' class='left' /><h3 class='white'>UK Magazine</h3><p>The only paperbased source of UK government contract opportunities, publishing up to 600 new contracts every week. <a href='/cw_uk.shtml'>More details &raquo;</a></p>",
							"<img src='/images/ire_mag.gif' alt='UK Daily Alert' class='left' /><h3 class='white'>Ireland Magazine</h3><p>The ultimate listing of Irish public sector contract opportunities from both Northern Ireland and the Republic of Ireland. <a href='/cw_ireland.shtml'>More details &raquo;</a></p>",
							"<img src='/images/market_monitor.gif' alt='Market Monitor' class='left' /><h3 class='white'>Market Monitor</h3><p>Market intelligence for the UK and Ireland delivered straight to your desk top every working day. <a href='/market_monitor.shtml'>More details &raquo;</a></p>"
						); // No comma after last ticker msg
						
						var delay=4000; //Enter delay between msgs, in mili-seconds
						var ad_count=0;
						var divElementAd = document.getElementById('adverttext'); 
						
						function init_advert_bar(){
							writeAdvert(ad_count);
						}
						
						function cycle(how){
							if (how==1){ //cycle foward
								if (ad_count<message.length-1)
									ad_count++
								else
									ad_count=0
								}
								else{ //cycle backward
									if (ad_count==0)
									ad_count=message.length-1
									else
									ad_count--
								}
							writeAdvert(ad_count);
						}
						
						setInterval("cycle(1)",delay)
						
						function writeAdvert(ad_num){
							divElementAd.innerHTML = message[ad_num];
						}
						
						init_advert_bar();
					
					
