			var today = new Date();
      var max=0;
      
      function textlist()
      {
      max=textlist.arguments.length;
      for (i=0; i<max; i++)
      this[i]=textlist.arguments[i];
      }
      
	  function linklist()
	  {
	  max=linklist.arguments.length;
      for (i=0; i<max; i++)
      this[i]=linklist.arguments[i];
	  }
      tl=new textlist
      ( 
	  	<!--Put ticker text here, each line, except last, ending with a comma-->
	  	"South West Bariatric continue to grow... click here to view our latest vacancies.",
	  	"South West Bariatric appoints new Managing Director Mark Gorton... click here for further details.",
		  "Very impressed. I learned a lot more at the Open Evening than I was able to research.", 
		  "Speaking to people that had already had the operation was fantastic.", 
		  "Informative. It answered all my questions."
    	<!--End of ticker text-->
      );
	  ll=new linklist
      ( 
	    <!-- List links in same order. List between inverted commas. A comma after each except the last one. If no link, put in "#"-->
	    	 "careers.php",
	    	 "mdmarkgorton.php",
	       "#",
	       "#",
	       "#"
	    <!-- end links-->
	    );
	   var x=0; pos=0;
      var l=tl[0].length;
      
	  function textticker()
      {
	  var tickcontent =document.getElementById("tickdiv");
	  
	  tickcontent.innerHTML = tl[x].substring(0,pos)+"_";
	  tickcontent.href =  ll[x];
       if(pos++==l) { 
	   pos=0; 
	   setTimeout("textticker()",5000); x++;
        if(x==max) x=0; l=tl[x].length; } else
        {setTimeout("textticker()",100);}
      }

