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 | NMA.co.uk</title>     <description>Jobs from NMA.co.uk</description>     <link>http://jobs.nma.co.uk/jobsrss/</link>     <pubDate>Fri, 03 Sep 2010 02:17:40 GMT</pubDate>     <lastBuildDate>Fri, 03 Sep 2010 02:17:40 GMT</lastBuildDate>     <docs>http://backend.userland.com/rss</docs>     <generator>Madgex</generator>     <item>       <title><![CDATA[FOUR COMMUNICATIONS: PHP Developer]]></title>       <description><![CDATA[ £Competitive:  Four Communications: We are a West-End (London) based agency with a growing digital team, looking to recruit for two roles, a senior/lead developer and a junior or graduate developer. London, West End ]]></description>       <link>http://jobs.nma.co.uk/job/326410/php-developer</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/326410/php-developer</guid>       <pubDate>Thu, 02 Sep 2010 15:13:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[SEARCH CONSULTANCY: Head of Online]]></title>       <description><![CDATA[ £60-80k:  Search Consultancy: Head of Online for a well know consumer brand with a national and international profile. We are looking for a senior individual who has an extensive understanding of all things digital with a strong foundation in Marketing. Yorkshire ]]></description>       <link>http://jobs.nma.co.uk/job/325105/head-of-online</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/325105/head-of-online</guid>       <pubDate>Mon, 16 Aug 2010 14:14:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[SEARCH CONSULTANCY: E-commerce Marketing Manager]]></title>       <description><![CDATA[ £45-60k + car:  Search Consultancy: E-commerce Marketing Manager required for a leading international retailer. This is an exciting and dynamic brand with an outstadning e-commerce and online offering. This is a maternity cover contract and we are looking for an immediate start.  ]]></description>       <link>http://jobs.nma.co.uk/job/324617/e-commerce-marketing-manager</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/324617/e-commerce-marketing-manager</guid>       <pubDate>Mon, 09 Aug 2010 11:01:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[SKILLSACTIVE GROUP: Online Products Manager]]></title>       <description><![CDATA[ £35,000  plus benefits:  SkillsActive Group: Highly respected, dynamic employer body tailoring solutions to meet needs of industry; catalyst for change across the UK sport and active leisure industry Central London ]]></description>       <link>http://jobs.nma.co.uk/job/325922/online-products-manager</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/325922/online-products-manager</guid>       <pubDate>Thu, 26 Aug 2010 12:24:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[SKILLSACTIVE GROUP: Web Manager - Online Academy]]></title>       <description><![CDATA[ Circa £35,000:  SkillsActive Group: The National Skills Academy for Sport and Active Leisure works with employers to ensure access to the best quality training in skills to improve business performance. Central London ]]></description>       <link>http://jobs.nma.co.uk/job/325921/web-manager-online-academy</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/325921/web-manager-online-academy</guid>       <pubDate>Thu, 26 Aug 2010 12:22:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[MAJOR PLAYERS: Head of Social Media]]></title>       <description><![CDATA[ GBP 50k-60k pa:  Major Players: As the International Digital Marketing Manager, you will report to the Global Digital Commercial teams and the CEO directly. London ]]></description>       <link>http://jobs.nma.co.uk/job/324360/head-of-social-media</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/324360/head-of-social-media</guid>       <pubDate>Wed, 04 Aug 2010 12:47:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZINGZAM: Sales Account Manager]]></title>       <description><![CDATA[ £25k base, £20k on-target commission:  Zingzam: We are looking for a self-motivated salesperson to lead and drive our sales, with initial focus on selling our hosted community service. Battersea, London, SW11 ]]></description>       <link>http://jobs.nma.co.uk/job/323698/sales-account-manager</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/323698/sales-account-manager</guid>       <pubDate>Mon, 26 Jul 2010 11:50:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: User Experience Designer (HTML)]]></title>       <description><![CDATA[ £30,000:  Zebra People: User experience designer required for a leading travel operator. You will be working with the User experience team and will be responsible for bringing customer journeys to life in the form of designs, prototypes, web pages and emails. Surrey ]]></description>       <link>http://jobs.nma.co.uk/job/317078/user-experience-designer-html-</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/317078/user-experience-designer-html-</guid>       <pubDate>Wed, 31 Mar 2010 18:13:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Account Director]]></title>       <description><![CDATA[ £60,000-£90,000 + benefits:  Zebra People: Energetic and funky agency based in an old warehouse near London Bridge is looking for an additional senior Account Director. They have a full-service digital offer including web 2.0, design & build, search marketing, email, video & rich media. Central London ]]></description>       <link>http://jobs.nma.co.uk/job/320454/account-director</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/320454/account-director</guid>       <pubDate>Thu, 03 Jun 2010 15:46:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Senior Project Manager]]></title>       <description><![CDATA[ £40,000-£45,000:  Zebra People: A good senior project manager is wanted to work with a world class integrated / digital communications agency. Working on leading brands, as a busy member of the team, you’ll manage a major automotive account.  ]]></description>       <link>http://jobs.nma.co.uk/job/319167/senior-project-manager</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/319167/senior-project-manager</guid>       <pubDate>Fri, 14 May 2010 09:25:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Freelance Account Manager]]></title>       <description><![CDATA[ £180 daily rate - £ negotiable:  Zebra People: Long standing and highly creative digital agency requires additional support for a major Telco client. The Freelance AM will work closely with creative, project management and planning teams to develop direct response projects.  ]]></description>       <link>http://jobs.nma.co.uk/job/319129/freelance-account-manager</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/319129/freelance-account-manager</guid>       <pubDate>Thu, 13 May 2010 11:05:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: User Experience (UX) Designer (forefront of UX design)]]></title>       <description><![CDATA[ £35-55,000 +smashing benefits:  Zebra People: A pioneer in the digital revolution, my client is now looking to bring in a Mid/Senior UX Designer to develop new product and service concepts for their European market. A fantastic future thinking/design role.  ]]></description>       <link>http://jobs.nma.co.uk/job/319122/user-experience-ux-designer-forefront-of-ux-design-</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/319122/user-experience-ux-designer-forefront-of-ux-design-</guid>       <pubDate>Thu, 13 May 2010 10:17:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Senior Web Designer]]></title>       <description><![CDATA[ £32-34K + benefits:  Zebra People: One of the fastest growing Internet groups with a portfolio of innovative brands is looking for a Senior Web Designer to join their growing team.  ]]></description>       <link>http://jobs.nma.co.uk/job/323065/senior-web-designer</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/323065/senior-web-designer</guid>       <pubDate>Wed, 14 Jul 2010 00:01:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Head of Analytics]]></title>       <description><![CDATA[ £60,000-£70,000:  Zebra People: Our client is a young, but fast growing strategic interactive business and marketing consultancy. They have some of the sharpest minds in the industry to deliver digital strategic recommendations based on performance evaluation.  ]]></description>       <link>http://jobs.nma.co.uk/job/318975/head-of-analytics</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/318975/head-of-analytics</guid>       <pubDate>Tue, 11 May 2010 09:29:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Information Architect / User Experience]]></title>       <description><![CDATA[ £35,000-£50,000:  Zebra People: One of the most highly regarded and fastest growing digital agency (communications group) is seeking a talented Information Architect/User Experience consultant to join their tight-knit family team on a permanent team. South West London ]]></description>       <link>http://jobs.nma.co.uk/job/318972/information-architect-user-experience</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/318972/information-architect-user-experience</guid>       <pubDate>Tue, 11 May 2010 09:19:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Associate Digital Strategy Consultant]]></title>       <description><![CDATA[ £25,000-£30,000:  Zebra People: Our client is a young, but fast growing strategic interactive business & marketing consultancy. Clients are in pharmaceutical & healthcare, online retail, entertainment & media sector.They&#039;re looking to hire an Associate Digital Strategy Consultant. East London, EC1 ]]></description>       <link>http://jobs.nma.co.uk/job/317981/associate-digital-strategy-consultant</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/317981/associate-digital-strategy-consultant</guid>       <pubDate>Wed, 21 Apr 2010 10:54:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Strategist]]></title>       <description><![CDATA[ £40,000-£45,000:  Zebra People: Our client is a young, but fast growing strategic interactive business and marketing consultancy. They are now looking to hire a new Strategist to work with clients to deliver digital strategy projects on time and to a high standard. East London, EC1 ]]></description>       <link>http://jobs.nma.co.uk/job/317979/strategist</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/317979/strategist</guid>       <pubDate>Wed, 21 Apr 2010 10:43:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: User Experience (UX) Designer]]></title>       <description><![CDATA[ £30,000-£40,000:  Zebra People: My client is a leading provider of specific intellectual knowledge, analysis and market intelligence. You will be working. Central London ]]></description>       <link>http://jobs.nma.co.uk/job/317519/user-experience-ux-designer</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/317519/user-experience-ux-designer</guid>       <pubDate>Mon, 12 Apr 2010 16:26:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Front End Web Developer]]></title>       <description><![CDATA[ Up to £40,000:  Zebra People: My Client, an award winning integrated communications agency, is an established agency with a reputation for delivering clean, quality and innovation solutions and looking for an experienced Front End Web Developer to join their team. South East London ]]></description>       <link>http://jobs.nma.co.uk/job/317194/front-end-web-developer</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/317194/front-end-web-developer</guid>       <pubDate>Tue, 06 Apr 2010 11:30:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Project Manager]]></title>       <description><![CDATA[ £35,000-£45,000:  Zebra People: This is an opportunity for a Project Manager to work with an award winning agency at the cutting edge of digital and work on some highly creative ideas whilst challenging the technical possibilities.  ]]></description>       <link>http://jobs.nma.co.uk/job/322250/project-manager</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/322250/project-manager</guid>       <pubDate>Fri, 02 Jul 2010 12:31:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Account Manager]]></title>       <description><![CDATA[ £30,000-£35,000:  Zebra People: One of London’s most successful integrated agencies in London is recruiting an Account Manager for one of their key and premier accounts.  ]]></description>       <link>http://jobs.nma.co.uk/job/322021/account-manager</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/322021/account-manager</guid>       <pubDate>Wed, 30 Jun 2010 00:01:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Senior Project Manager]]></title>       <description><![CDATA[ £45,000-£60,000:  Zebra People: This is an opportunity for a Senior Project Manager to work with an award winning agency at the cutting edge of digital and work on some highly creative ideas whilst challenging the technical possibilities. London ]]></description>       <link>http://jobs.nma.co.uk/job/322007/senior-project-manager</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/322007/senior-project-manager</guid>       <pubDate>Wed, 30 Jun 2010 06:00:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: User Experience (UX) Designer, £35,000-£40,000]]></title>       <description><![CDATA[ £35,000-£40,000:  Zebra People: One of the largest and most respected websites in the UK is seeking a fantastic User Experience Designer to join their well established team. Your role will consist of designing and developing engaging user interfaces. Central London ]]></description>       <link>http://jobs.nma.co.uk/job/321375/user-experience-ux-designer-35-000-40-000</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/321375/user-experience-ux-designer-35-000-40-000</guid>       <pubDate>Fri, 18 Jun 2010 06:00:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Designer/Developer for User Experience Designer Position]]></title>       <description><![CDATA[ Paying to £35,000:  Zebra People: Web designer/front end developer required for leading travel operator in User Experience Designer position. You will work with the UX team and be responsible for bringing customer journeys to life in the form of designs, prototypes, web pages and emails. South West London ]]></description>       <link>http://jobs.nma.co.uk/job/321126/designer-developer-for-user-experience-designer-position</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/321126/designer-developer-for-user-experience-designer-position</guid>       <pubDate>Tue, 15 Jun 2010 06:00:00 GMT</pubDate>     </item>     <item>       <title><![CDATA[ZEBRA PEOPLE: Javascript Developer]]></title>       <description><![CDATA[ up to £375 a day:  Zebra People: JAVASCRIPT GURUS NEEDED URGENTLY! Ideal candidate will have experience working in an Digital Agency environment and will have worked on extensive web projects using Javascript.  ]]></description>       <link>http://jobs.nma.co.uk/job/320749/javascript-developer</link>       <guid isPermaLink="false">http://jobs.nma.co.uk/job/320749/javascript-developer</guid>       <pubDate>Tue, 08 Jun 2010 17:20: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 nma=""
if (items[i].getElementsByTagName("title")[0].length != 0)
title = items[i].getElementsByTagName("title")[0].childNodes[0].nodeValue;
nma = 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;
txt += '<div class="arrow"><a href="'+ hlink +'">' + title + '</a><br />';

txt += '<span class="" style="width:100%">' + nma + '</span></div>';
txt += '<div style="clear:both;"></div>'
}
document.write (txt);
