/*********************************** * http://javascripts.vbarsan.com/ * This notice may not be removed ***********************************/ //-- Begin Scroller's Parameters and messages --> //scroller's width var swidth=950; //scroller's height var sheight=30; //scroller's speed var sspeed=5; var restart=sspeed; var rspeed=sspeed; //scroller's pause var spause=0; //scroller's background var sbcolor="transparent"; //messages: change to your own; use as many as you'd like; set up Hyperlinks to URLs as you normally do: ..message.. var singletext=new Array(); singletext[0]='Number of written complaints about NHS increases 4.9 per cent 14 September 2017: There were 208,400 written complaints received by the NHS during 2016/172 - up 4.9 per cent on the previous year,.. read more here . . . . Mental health and behavioural conditions account for nearly one-in-three known fit notes  31 August, 2017: Mental health and behavioural conditions have accounted for 31% of all fit notes2, where the diagnosis was known3,.. read more here . . . . Annual NHS dental statistics published 31 August, 2017: Figures have been released today by NHS Digital1 about all patients who received NHS dental care in England during.. read more here . . . . Financial problems caused by caring linked to increased feelings of social isolation 3 August, 2017: Almost 40 per cent of carers who reported the most serious financial difficulties also felt socially isolated, according.. read more here . . . . . . . . . . . . '; //singletext[1]='Multiple News Scroller V3.5 - Once a message left, the next one comes in. Adjust: Size, Pause, Speed and Background. Any message may use Hyperlinks'; //singletext[2]='Windows/Linux: ie4+ firefox1+ netscape6+ opera7+ ns4+ - Mac OS X: Safari, ie5+ firefox1+ opera7+'; //singletext[3]='Any message may be as large as desired. === ... === One may use most basic HTML code.'; //singletext[...]='...'; //-- end Parameters and message --> //-- begin: Scroller's Algorithm --> var ii=0;var gekso=0;if(navigator.product&&navigator.product=="Gecko"){var agt = navigator.userAgent.toLowerCase();var rvStart = agt.indexOf('rv:');var rvEnd = agt.indexOf(')', rvStart);var check15 = agt.substring(rvStart+3, rvEnd);if(parseFloat(check15)<1.8) gekso=1;}var operbr=0; operbr=navigator.userAgent.toLowerCase().indexOf('opera'); function goup(){if(sspeed!=rspeed*16){sspeed=sspeed*2;restart=sspeed;}} function godown(){if(sspeed>rspeed){sspeed=sspeed/2;restart=sspeed;}} function start(){ if(document.getElementById){ns6div=document.getElementById('iens6div');if(operbr!=-1)operdiv=document.getElementById('operaslider');ns6div.style.left=swidth+"px";ns6div.innerHTML=singletext[0];sizeup=ns6div.offsetWidth;if(operbr!=-1&&sizeup==swidth){operdiv.innerHTML=singletext[0];sizeup=operdiv.offsetWidth;}ns6scroll();} else if(document.layers){ns4layer=document.ns4div.document.ns4div1;ns4layer.left=swidth;ns4layer.document.write(singletext[0]);ns4layer.document.close();sizeup=ns4layer.document.width;ns4scroll();} else if(document.all){iediv=iens6div;iediv.style.pixelLeft=swidth+"px";iediv.innerHTML=singletext[0];sizeup=iediv.offsetWidth;iescroll();}} function iescroll(){if(iediv.style.pixelLeft>0&&iediv.style.pixelLeft<=sspeed){iediv.style.pixelLeft=0;setTimeout("iescroll()",spause);}else if(iediv.style.pixelLeft>=sizeup*-1){iediv.style.pixelLeft-=sspeed+"px";setTimeout("iescroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;iediv.style.pixelLeft=swidth+"px";iediv.innerHTML=singletext[ii];sizeup=iediv.offsetWidth;iescroll();}} function ns4scroll(){if(ns4layer.left>0&&ns4layer.left<=sspeed){ns4layer.left=0;setTimeout("ns4scroll()",spause);}else if(ns4layer.left>=sizeup*-1){ns4layer.left-=sspeed;setTimeout("ns4scroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;ns4layer.left=swidth;ns4layer.document.write(singletext[ii]);ns4layer.document.close();sizeup=ns4layer.document.width;ns4scroll();}} function ns6scroll(){if(parseInt(ns6div.style.left)>0&&parseInt(ns6div.style.left)<=sspeed){ns6div.style.left=0;setTimeout("ns6scroll()",spause);}else if(parseInt(ns6div.style.left)>=sizeup*-1){ns6div.style.left=parseInt(ns6div.style.left)-sspeed+"px";setTimeout("ns6scroll()",100);} else{if(ii==singletext.length-1)ii=0;else ii++; ns6div.style.left=swidth+"px";ns6div.innerHTML=singletext[ii];sizeup=ns6div.offsetWidth;if(operbr!=-1&&sizeup==swidth){operdiv.innerHTML=singletext[ii];sizeup=operdiv.offsetWidth;}ns6scroll();}} //-- end Algorithm -->