function loadXMLs(str) 
	{
	try //Internet Explorer
	  {
	  xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
	  xmlDoc.async="false";
	  xmlDoc.loadXML(str);
	  return(xmlDoc); 
	  }
	catch(e)
	  {
	  try //Firefox, Mozilla, Opera, etc.
		{
		parser=new DOMParser();
		xmlDoc=parser.parseFromString(str,"text/xml");
		return(xmlDoc);
		}
	  catch(e) {alert(e.message)}
	  }
	return(null);
	}
xmlstr='<?xml version="1.0" encoding="utf-8"?> <rss version="2.0">   <channel>     <title>jobs | Recruiter.co.uk</title>     <description>Jobs from Recruiter.co.uk</description>     <link>http://jobs.recruiter.co.uk/jobsrss/?navsectioncode=167</link>     <pubDate>Thu, 02 Sep 2010 23:53:43 GMT</pubDate>     <lastBuildDate>Thu, 02 Sep 2010 23:53:43 GMT</lastBuildDate>     <docs>http://backend.userland.com/rss</docs>     <generator>Madgex</generator>     <item>       <title><![CDATA[EIGHTY TWENTY RECRUITMENT: Senior/ Recruitment Consultant]]></title>       <description><![CDATA[ £25k-£40k base OTE £55-65k+:  Eighty Twenty Recruitment: Our well established client based in City of London is looking for a consultant to recruit in the IT industry. You will be given a very warm desk and will have a broad range of roles to recruit for within the IT energy sector. London ]]></description>       <link>http://jobs.recruiter.co.uk/job/315767/senior-recruitment-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/315767/senior-recruitment-consultant</guid>       <pubDate>Mon, 16 Aug 2010 11:55:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[SERVOCA PLC: Education Branch Manager - Warrington]]></title>       <description><![CDATA[ £30-£40k + Bonuses OTE £50-60k:  Servoca Plc: * Education Recruitment Manager - North-West  * Successful recruitment consultancy with over 350 staff across UK  * Expanding region  * Excellent package Warrington ]]></description>       <link>http://jobs.recruiter.co.uk/job/316408/education-branch-manager-warrington</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316408/education-branch-manager-warrington</guid>       <pubDate>Thu, 02 Sep 2010 17:17:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[MEDIPLACEMENTS: Healthcare Recruitment Opportunities]]></title>       <description><![CDATA[ Negotiable:  Mediplacements: We have various exciting healthcare recruitment opportunities for consultants of all levels, to join our dynamic sales team; roles available within both temporary and permanent healthcare divisions. Waltham Abbey ]]></description>       <link>http://jobs.recruiter.co.uk/job/316407/healthcare-recruitment-opportunities</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316407/healthcare-recruitment-opportunities</guid>       <pubDate>Thu, 02 Sep 2010 17:04:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[SSA LTD: Experienced Recruitment Consultant/Manager]]></title>       <description><![CDATA[ up to £35k + Comm&Bonus:  SSA Ltd: SSA are an evolving and dynamic specialist agency that are in the market for an experienced Recruiter, one thats hands on as well as being able to manage a team whilst still billing. Pinner ]]></description>       <link>http://jobs.recruiter.co.uk/job/316406/experienced-recruitment-consultant-manager</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316406/experienced-recruitment-consultant-manager</guid>       <pubDate>Thu, 02 Sep 2010 15:15:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[JPA: Recruitment Consultant]]></title>       <description><![CDATA[ GBP55000:  JPA: Recruitment Consultant - HOT HOT HOT DESK!  Reading.  £22k to £30k basic with realistic OTE of £55k to £6OK in year 1.  Full Time Permanent. Reading ]]></description>       <link>http://jobs.recruiter.co.uk/job/316405/recruitment-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316405/recruitment-consultant</guid>       <pubDate>Thu, 02 Sep 2010 14:04:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[RESOURCE MANAGEMENT: Recruitment Consultant Team Manager]]></title>       <description><![CDATA[ c. £35,000 + car allowance + performance bonuses:  Resource Management: Resource Management are experts in Talent Management. What we do is straightforward. We manage permanent recruitment and contingent resource on behalf of our clients. Bristol ]]></description>       <link>http://jobs.recruiter.co.uk/job/316277/recruitment-consultant-team-manager</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316277/recruitment-consultant-team-manager</guid>       <pubDate>Wed, 25 Aug 2010 12:25:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[SUPPORT SERVICES GROUP: Recruitment Consultant - Start your own Business]]></title>       <description><![CDATA[ £45k-£250k + 100% Ownership:  Support Services Group: What was the revenue you generated for August for your current recruitment company?  ]]></description>       <link>http://jobs.recruiter.co.uk/job/316402/recruitment-consultant-start-your-own-business</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316402/recruitment-consultant-start-your-own-business</guid>       <pubDate>Thu, 02 Sep 2010 13:42:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[SUPPORT SERVICES GROUP: Recruitment Consultant - Start your own Business]]></title>       <description><![CDATA[ £45k-£250k + 100% Ownership:  Support Services Group: Maths For Recruitment Consultants.  ]]></description>       <link>http://jobs.recruiter.co.uk/job/316401/recruitment-consultant-start-your-own-business</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316401/recruitment-consultant-start-your-own-business</guid>       <pubDate>Thu, 02 Sep 2010 13:40:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[EIGHTY TWENTY RECRUITMENT: Graduate Recruitment Consultant]]></title>       <description><![CDATA[ Up to £22k OTE £50k+:  Eighty Twenty Recruitment: High calibre grad required for our client a well established IT and Finance agency in the City of London. Excellent training and career structure and the ability to earn commission from the outset.  ]]></description>       <link>http://jobs.recruiter.co.uk/job/316400/graduate-recruitment-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316400/graduate-recruitment-consultant</guid>       <pubDate>Thu, 02 Sep 2010 13:21:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[EIGHTY TWENTY RECRUITMENT: Divisional Manager]]></title>       <description><![CDATA[ Base £35k-£45k plus OTE:  Eighty Twenty Recruitment: An experienced recruitment manager (any sector considered) is needed to run 2 teams of staff for the Education sector. This will also be a billing role and you will have full remit of all schools and London and Home Counties. City of London ]]></description>       <link>http://jobs.recruiter.co.uk/job/316399/divisional-manager</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316399/divisional-manager</guid>       <pubDate>Thu, 02 Sep 2010 13:08:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[EIGHTY TWENTY RECRUITMENT: Senior Recruitment Consultant / Divisional Manager]]></title>       <description><![CDATA[ Base £25k to £45k OTE £75k+:  Eighty Twenty Recruitment: An exciting offer for the right candidate to move into a warm division, earn a lot of money with the potential to move into management. Barnet ]]></description>       <link>http://jobs.recruiter.co.uk/job/316398/senior-recruitment-consultant-divisional-manager</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316398/senior-recruitment-consultant-divisional-manager</guid>       <pubDate>Thu, 02 Sep 2010 13:07:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[JPA: Business Development Consultant]]></title>       <description><![CDATA[ GBP20500:  JPA: Business Development Consultant, Bexley Heath, £18.5 - 20.5K. Working to secure vacancies for Long Term Unemployed. South East London ]]></description>       <link>http://jobs.recruiter.co.uk/job/316397/business-development-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316397/business-development-consultant</guid>       <pubDate>Thu, 02 Sep 2010 11:50:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[CARLIN HALL: Perm Consultant- C&I Desk]]></title>       <description><![CDATA[ GBP36000:  Carlin Hall: My client is a professional, well established recruitment business who are experts in the professional staffing sector. City of London ]]></description>       <link>http://jobs.recruiter.co.uk/job/316396/perm-consultant-c-and-i-desk</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316396/perm-consultant-c-and-i-desk</guid>       <pubDate>Thu, 02 Sep 2010 11:51:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[HAMILTON CAREERS: Consultant. Finance. Perm desk. Berkshire]]></title>       <description><![CDATA[ to £30k basic + unlimited bonu:  Hamilton Careers: This leading specialist Finance recruiter is looking to add a recruiter to its perm team. Basic to £30k + unlimited bonus. Berkshire ]]></description>       <link>http://jobs.recruiter.co.uk/job/316395/consultant-finance-perm-desk-berkshire</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316395/consultant-finance-perm-desk-berkshire</guid>       <pubDate>Thu, 02 Sep 2010 12:35:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[HAMILTON CAREERS: Consultant - Temp / Contract, Finance]]></title>       <description><![CDATA[ to £30k base + unlimited bonus:  Hamilton Careers: Specialisit Finance recruiter is looking for a Consultant to work on its very successful Temp / Contract desk. Basic to £30k + unlimited bonus Berkshire ]]></description>       <link>http://jobs.recruiter.co.uk/job/316394/consultant-temp-contract-finance</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316394/consultant-temp-contract-finance</guid>       <pubDate>Thu, 02 Sep 2010 12:27:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[EIGHTY TWENTY RECRUITMENT: Recruitment Consultant]]></title>       <description><![CDATA[ £22-£40k base plus OTE £55k+:  Eighty Twenty Recruitment: Experienced consultant needed for a successful agency based around Harrow, West London/ Middlesex. You will be joining a desk that has a huge amount of potential and growth which can lead into team leadership. Excellent commission. Harrow ]]></description>       <link>http://jobs.recruiter.co.uk/job/316393/recruitment-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316393/recruitment-consultant</guid>       <pubDate>Thu, 02 Sep 2010 12:25:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[HAMILTON CAREERS: Manager / Senior Consultant]]></title>       <description><![CDATA[ Negotiable to attract the very:  Hamilton Careers: Permanent division. Finance. Berkshire. Salary negotiable to attract the very best. Berkshire ]]></description>       <link>http://jobs.recruiter.co.uk/job/316392/manager-senior-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316392/manager-senior-consultant</guid>       <pubDate>Thu, 02 Sep 2010 12:22:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[EIGHTY TWENTY RECRUITMENT: Recruitment Consultant]]></title>       <description><![CDATA[ £24k-£35k plus commission:  Eighty Twenty Recruitment: Basic £24k to £32.5k plus car allowance, phone, laptop and guarentee depending on experience. Global company with great presence is looking for an experienced consultant to join their Hampshire team to work in their engineering and technical divison. Hampshire ]]></description>       <link>http://jobs.recruiter.co.uk/job/316391/recruitment-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316391/recruitment-consultant</guid>       <pubDate>Thu, 02 Sep 2010 12:15:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[HAMILTON CAREERS: Business Development Manager.]]></title>       <description><![CDATA[ Negotiable to attract the best:  Hamilton Careers: IT, Engineering, Field Engineers, Public Sector. London. High end package to attract the best. Wimbledon ]]></description>       <link>http://jobs.recruiter.co.uk/job/316390/business-development-manager-</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316390/business-development-manager-</guid>       <pubDate>Thu, 02 Sep 2010 12:05:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[HAMILTON CAREERS: Business Development Manager]]></title>       <description><![CDATA[ Negotiable to attract the best:  Hamilton Careers: IT, Public Sector, Engineering, Field Engineers. West Midlands. Salary negotiable to attract the very best. Dudley ]]></description>       <link>http://jobs.recruiter.co.uk/job/316389/business-development-manager</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316389/business-development-manager</guid>       <pubDate>Thu, 02 Sep 2010 12:02:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[EIGHTY TWENTY RECRUITMENT: Trainee Recruitment Consultant]]></title>       <description><![CDATA[ £18k to £40k OTE:  Eighty Twenty Recruitment: TRAINEE CONSULTANTS NEEDED ASAP. This is an excellent and exciting opportunity for a hungry, motivated and driven individual to forge an excellent career in the recruitment industry for our client who is a very well established leading agency. St Albans ]]></description>       <link>http://jobs.recruiter.co.uk/job/316388/trainee-recruitment-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316388/trainee-recruitment-consultant</guid>       <pubDate>Thu, 02 Sep 2010 12:01:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[EIGHTY TWENTY RECRUITMENT: Recruitment Consultant]]></title>       <description><![CDATA[ £25k-£30k base £60k OTE:  Eighty Twenty Recruitment: Basic £25k - £30k plus excellent commission. Excellent earning and career opportunity to join a great firm on a very warm desk working in the Sales Recruitment sector. St Albans ]]></description>       <link>http://jobs.recruiter.co.uk/job/316386/recruitment-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316386/recruitment-consultant</guid>       <pubDate>Thu, 02 Sep 2010 11:30:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[EIGHTY TWENTY RECRUITMENT: Recruitment Consultant]]></title>       <description><![CDATA[ £22k - £35k base, OTE £50k-£90:  Eighty Twenty Recruitment: Recruitment consultant required for warm construction desk working on main contractors at a well established agency. The desk has is over run with contract jobs. Minimun 6 months experience in recruitment. City of London ]]></description>       <link>http://jobs.recruiter.co.uk/job/316385/recruitment-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316385/recruitment-consultant</guid>       <pubDate>Thu, 02 Sep 2010 11:20:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[CARLIN HALL: Legal Secretarial Recruiter - WARM Desk]]></title>       <description><![CDATA[ GBP32000:  Carlin Hall: My client is am independent Legal Recruitment Business who has been established for over 15 years and are a niche specialist within their market place. City of London ]]></description>       <link>http://jobs.recruiter.co.uk/job/316384/legal-secretarial-recruiter-warm-desk</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316384/legal-secretarial-recruiter-warm-desk</guid>       <pubDate>Thu, 02 Sep 2010 08:45:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[EIGHTY TWENTY RECRUITMENT: Manager or Senior Recruitment Consultant]]></title>       <description><![CDATA[ Base £30k - £40k OTE £80k+:  Eighty Twenty Recruitment: Truly an excellent opportunity to run and manage an existing team focusing in energy, power and oil and gas sector. London ]]></description>       <link>http://jobs.recruiter.co.uk/job/316378/manager-or-senior-recruitment-consultant</link>       <guid isPermaLink="false">http://jobs.recruiter.co.uk/job/316378/manager-or-senior-recruitment-consultant</guid>       <pubDate>Wed, 01 Sep 2010 17:35:00 GMT</pubDate>     </item>   </channel> </rss>';
xmlDoc = loadXMLs(xmlstr);
var txt = '';
var txt = '';
items = xmlDoc.getElementsByTagName("item");
	for (i=0; i<6; i++) {
	
		var title="";
		var hlink="";
		var descr="";
		var pubdate="";
		var recruiter=""
txt +='<li>';
if (items[i].getElementsByTagName("title")[0].length != 0)
title = items[i].getElementsByTagName("title")[0].childNodes[0].nodeValue;
recruiter = title.substring(0, title.indexOf(":"));
title = title.substring(title.indexOf(":") + 1, title.length );
if (items[i].getElementsByTagName("link")[0].length != 0)
hlink = items[i].getElementsByTagName("link")[0].childNodes[0].nodeValue;
if (items[i].getElementsByTagName("description")[0].childNodes.length != 0)
descr = items[i].getElementsByTagName("description")[0].childNodes[0].nodeValue;
		//descr = descr.substring(0,10);
txt += '<div class="job_title" style="width:100%"><a href="'+ hlink +'">' + title + '</a>';
txt += '<span class="job_location" style=" padding-left:15px; width:100%">' + recruiter + '</span></div>';
txt += '</li>';
}
document.write (txt);
