 <!--
 
 if (!document.all)
 {
 document.location= 'home.html';
 }
 
 else {
 
 var tickSpeed	= 75
 var lineDelay	= 2000
 
 var line=new Array()
 
 line[1]	= "NMEDAuk Officers - Subject: Peter Short is the new Chairman (DS & P Mobility Electronics)   
    ...[more]"
 line[2]	= "NMEDAuk Officers - Peter Short is the new Chairman (DS & P Mobility Electronics)   
 Jenny Richard...[more]"
 line[3]	= "test piece - can I put minutes on here...[more]"
 line[4] = "DofT Fund Assessment Centres to the tune of £19 mi - The DofT is currently doing a survey of assessment centres but are not including...[more]"
 
 var dest=new Array()
 
 dest[0]	= "http://www.nmedauk.co.uk/cgi-bin/pnDbDetail.cgi/display::news::::::41::user"
 dest[1]	= "http://www.nmedauk.co.uk/cgi-bin/pnDbDetail.cgi/display::news::::::40::user"
 dest[2]	= "http://www.nmedauk.co.uk/cgi-bin/pnDbDetail.cgi/display::news::::::39::user"
 dest[3]	= "http://www.nmedauk.co.uk/cgi-bin/pnDbDetail.cgi/display::news::::::38::user"
 
 
 var longestmessage=1
 for (i=2;i<line.length;i++)
 {
 if (line[i].length>line[longestmessage].length)
 longestmessage=i
 }
 
 
 var tscroller_width=line[longestmessage].length
 
 lines=line.length-1				//--Number of lines
 
 
 //if IE 4+ or NS6
 
 if (document.all||document.getElementById)
 
 {
 document.write('<FORM name="bannerform">')
 document.write('<TEXTAREA TITLE="click here for the full article ..." CLASS="bulletin" onMouseOver="this.className=\'bulleton\';" onMouseOut="this.className=\'bulletin\';" onClick="parent.location=destination.href;" type="textarea" wrap="hard" name="banner" size="100" onfocus="blur()"></TEXTAREA>')
 document.write('</FORM>')
 }
 
 temp=""
 nextchar=-1;
 nextline=1;
 cursor="\\"
 
 
 function animate()
 
 {
 if (temp==line[nextline] & temp.length==line[nextline].length & nextline!=lines)
 
 	{
 	nextline++;
 	nextchar=-1;
 	document.bannerform.banner.value=temp;
 	temp="";
 	setTimeout("nextstep()",lineDelay)
 	}
 
 else if (nextline==lines & temp==line[nextline] & temp.length==line[nextline].length)
 	
 	{
 	nextline=1;
 	nextchar=-1;
 	document.bannerform.banner.value=temp;
 	temp="";
 	setTimeout("nextstep()",lineDelay)
 	}
 
 else	{
 	nextstep()
 	}
 }
 
 
 function nextstep()
 
 {
 if (cursor=="\\")	{ cursor="|" }
 else if (cursor=="|") 	{ cursor="_" }
 else if (cursor=="/")	{ cursor="-" }
 else if (cursor=="-") 	{ cursor="\\"}
 
 nextchar++;
 temp+=line[nextline].charAt(nextchar);
 document.bannerform.banner.value=temp+cursor
 
 	if (document.all)
 	{
 	destination.href=dest[nextline-1];
 	}
 
 setTimeout("animate()",tickSpeed)
 }
 
 //if IE 4+ or NS6
 if (document.all||document.getElementById)
 window.onload=animate
 }
 // -->

