var newslist=new Array(); chr = -1; cnt = 0; newsurl = ''; headline = ''; newslist[0]=new Array("New mortgage reductions announced","http://news.hotproperty.co.uk/New_mortgage_reductions_announced_18766716.html");newslist[1]=new Array("House price average falls below new stamp duty figure","http://news.hotproperty.co.uk/House_price_average_falls_below_new_stamp_duty_figure_18766719.html");newslist[2]=new Array("Spanish property 'now has smarter buyers'","http://news.hotproperty.co.uk/Spanish_property_now_has_smarter_buyers_18766724.html");newslist[3]=new Array("Do not fear switching, mortgage holders advised","http://news.hotproperty.co.uk/Do_not_fear_switching,_mortgage_holders_advised_18766726.html");newslist[4]=new Array("Regeneration 'will create investment hotspots'","http://news.hotproperty.co.uk/Regeneration_will_create_investment_hotspots_18764777.html");newslist[5]=new Array("Hold decision today may be last, says economist","http://news.hotproperty.co.uk/Hold_decision_today_may_be_last,_says_economist_18764781.html");newslist[6]=new Array("Australia cuts base rate","http://news.hotproperty.co.uk/Australia_cuts_base_rate_18764760.html");newslist[7]=new Array("CML insists it is helping on mortgages","http://news.hotproperty.co.uk/CML_insists_it_is_helping_on_mortgages_18764774.html");newslist[8]=new Array("Darling acts on stamp duty","http://news.hotproperty.co.uk/Darling_acts_on_stamp_duty_18761884.html");newslist[9]=new Array("Turkish property investors 'bolstered by health services'","http://news.hotproperty.co.uk/Turkish_property_investors_bolstered_by_health_services_18761899.html"); function newstick() { if (chr < newslist[cnt][0].length-1) { if (chr < 40) { chr++; newsitem = newslist[cnt][0]; newsurl = newslist[cnt][1]; newsitem = newsitem.split(''); headline = headline + newsitem[chr]; newsticker.innerHTML = "" + headline + "..."; setTimeout('newstick()',30); return; } } chr = -1; headline = ''; if (cnt < newslist.length-1) cnt++; else cnt=0; setTimeout('newstick()',4000); }