function hov(loc,cls)
	{
	if(loc.className)
		{
		loc.className=cls;
		}
	}
function addrdecode(InString)
	{
	var i, s, OutString;
	InString += ':otliam';
	OutString=new String();
	for(i=InString.length-1; i>= 0; i--);
		{
		s = InString.charAt(i);
		if (s == '*') s='@';
		OutString += s;
		}
	return OutString;
	}
function ml( rcpt,subj )
	{
	var cry1=String.fromCharCode(109,97,105,108,116,111,58);
	document.write("<a href=\"");
	document.write(cry1);
	document.write( rcpt );
	document.write(String.fromCharCode(64));
	document.write("plainwords.co.uk");
	document.write("?subject=", subj, "\">");
	document.write( rcpt );
	document.write(String.fromCharCode(64));
	document.write("plainwords.co.uk ");
	document.write("</a>");
	}
function ml2( rcpt,subj )
	{
	var cry1=String.fromCharCode(109,97,105,108,116,111,58);
	document.write("<a href=\"");
	document.write(cry1);
	document.write( rcpt );
	document.write(String.fromCharCode(64));
	document.write("plainwords.co.uk");
	document.write("?subject=", subj, "\">");
	document.write( subj );
	document.write("</a>");
	}
var msgWindow;
	{
	function CreateWindow( newurl ) 
		{
		var opts  = "width=800,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1";
		msgWindow = window.open( newurl, "msgWnd", opts);
		msgWindow.focus();
		}
	}

function newsTicker() 
	{
	document.write("<span class=\"ting\">Live newsfeed</span>");
	var max = 6; // number of items to show
	var n = 0;
	for (var i = 0; (n < max && i < article.length); i++) 
		{
		if (article[i].access_status != "sub" && article[i].access_status != "reg") 
			{ 
			document.write(
			"<p><a href=\"javascript:CreateWindow('" + article[i].url + "');\">" + article[i].headline_text + "</a> (" +
			"<a href=\"javascript:CreateWindow('" + article[i].document_url + "');\">" +article[i].source + "</a>" + ") "  + article[i].tagline 
			); + "</p>" 
			n++;
			}
		}
	}

function randomPic() 
	{
	var it=Math.ceil(Math.random()*1) ;
	// multiply by the number of entries in the list and round up to an integer
	if (it==1) 
		{
		txt="";
		url="http://www.plainwords.co.uk";
		alt="Finding a match for your recruitment requirements";
		banner="pics/matchwithtext.gif";
		width="150";
		height="227";
		}

	document.write('<p align=\"center\">');
	document.write('<a href=\"' + url + '\" target=\"_top\">');
	document.write('<img src=\"' + banner + '\" width=')
	document.write(width + ' height=' + height + ' ');
	document.write('alt=\"' + alt + '\" border=0></a><br>'+ txt + ' ');
	document.write('</p>');
	}

function randomTxt() 
	{
	var tx=Math.ceil(Math.random()*3) ;
	// multiply by the number of entries in the list and round up to an integer
	if (tx==1)
		{
		txt="<h1>Bids &amp; proposals</h1><p>It's just the same with <span class=\"ting\">bids and proposals</span>. Hiring expert bid writers and consultants to help you can make the difference between a winning proposal and a loser. By using Plain Words <span class=\"ting\">Bid Consultancy &amp; Training Service</span> you will have done as much as you can to ensure your firm wins the contract.";
		url="http://www.bidworker.com";
		linktext="Bidworker...";
		}
	if (tx==2)
		{
		txt="<h1>Writing skills training courses</h1><p>Alternatively, you or your technical team might wish to hone up your own writing and communications skills. If so, our <span class=\"ting\">Writing Skills Training Courses</span> offer expert tuition on writing reports, procedures, technical documents, bids, Help systems, and indexing - as well as estimating and planning documents.</p><p>Our friendly, professional authors guide you step-by-step to becoming an <span class=\"ting\">effective writer and communicator</span>. All in a relaxed and productive atmosphere.";
		url="http://www.plainwords.co.uk/training.html";
		linktext="Training...";
		}
	if (tx==3)
		{
		txt="<h1>Course development &amp; training</h1><p>We also design and write <span class=\"ting\">bespoke courses</span> for your products and services. These can be tutor-led or via CBT/e-learning. Plus we present &quot;train the trainer&quot; and end user courses. Our <span class=\"ting\">course development professionals</span> will ensure your modules and materials stay right on the latest pulse.";
		url="http://www.plainwords.co.uk";
		linktext="Courses...";
		}

	document.write('<div class=\"randomTxt\">' + txt + '');
	document.write('&nbsp;&nbsp;<a href=\"' + url + '\">');
	document.write(' ' + linktext + '</a>');
	document.write('</p></div>');
	}

function randomTxt2() 
	{
	var tx2=Math.ceil(Math.random()*1) ;
	// multiply by the number of entries in the list and round up to an integer
	if (tx2==1)
		{
		txt2="<h3>Search &amp; selection - get the best professional staff</h3><p>Need top quality, specialist staff? If so, we can supply you with <span class=\"ting\">permanent and contract technical authors</span>, instructional designers and trainers, copywriters, bid/proposal writers, localisation specialists, web developers and project managers.</p><p>Unlike regular agencies, we fully vet all candidates before you are sent their CVs. They also take a competency test relevant to the role on offer - which means you can be assured of getting the <span class=\"ting\">cream of the crop</span>.";
		url2="http://www.plainwords.co.uk/search-overview.html";
		linktext2="Search &amp; Selection...";
		}

	document.write('<div class=\"randomTxt\">' + txt2 + '');
	document.write('&nbsp;&nbsp;<a href=\"' + url2 + '\">');
	document.write(' ' + linktext2 + '</a>');
	document.write('</p></div>');
	}

function randomTxt3() 
	{
	var tx3=Math.ceil(Math.random()*5) ;
	// multiply by the number of entries in the list and round up to an integer

	if (tx3==1)
		{
		txt3="<span class=\"ting\">Technical Writing &amp; Course Development</span> - planning, writing and producing Help systems, HTML, on-line material, traditional manuals. Designing and writing bespoke courses for your products and services, whether tutor-led, CBT or e-learning. Presenting  &quot;train the trainer&quot; or end user courses.";
		url3="http://www.plainwords.co.uk/overview.html";
		linktext3="Writing...";
		}
	if (tx3==2)
		{
		txt3="<span class=\"ting\">Specialist Search &amp; Selection</span> - supplying permanent and contract Technical Authors, Editors, Documentation Managers, Instructional Designers and Trainers, Copy Writers, Bid &amp; Proposal Writers, Localisation Specialists, Web Developers, Information Managers, Knowledge Managers, Project Coordinators and Project Managers";
		url3="http://www.plainwords.co.uk/search-overview.html";
		linktext3="Search &amp; Selection...";
		}
	if (tx3==3)
		{
		txt3="<span class=\"ting\">Bid worker</span> - a division of Plain Words Ltd. Dedicated to providing bids consultancy and training. Writing, editing and formatting bids and proposals. Plus &quot;How to Write Winning Bids and Proposals&quot; training course. Along with Plain Words own Bidworker&trade; software, which automates much of the process of compiling proposals.";
		url3="http://www.bidworker.com";
		linktext3="Bid worker...";
		}
	if (tx3==4)
		{
		txt3="<span class=\"ting\">Writing Skills Training Courses</span> Whether you are writing letters, reports, business cases, proposals, web content, marketing material or technical documents, we can teach you how to communicate expertly every time. With a wide range of courses to choose from, at venues around the UK or tuition at your premises, we ensure that you learn in a comfortable, productive way.</p><p>Call us now to book and get further details.";
		url3="#";
		linktext3="";
		}
	if (tx3==5)
		{
		txt3="<span class=\"ting\">VBA Programming</span> If you want to do that little bit more with Word, Excel or Access, then you need our custom development service. Expert programmers can quickly develop code for a whole variety of tasks. Typical projects include generating charts, custom calculations, sorting data or whole database development.";
		url3="#";
		linktext3="";
		}
	


	document.write('<p class=\"pws\">' + txt3 + '');
	document.write('&nbsp;&nbsp;<a href=\"' + url3 + '\">');
	document.write('' + linktext3 + '</a></p>');
	}



