function setImage(){
var arrImg = new Array();

arrImg[0] = new Object();
arrImg[0].src = "RandomPortfolio/4NWildGeese.jpg";
arrImg[0].text = "<p class='LeftPortfolioText'>A spoof poster which is an example of the fine art of non-invasive head replacement, courtesy of Photoshop.</p><br><p class='LeftPortfolioLink'><a href='Portfolio4NWildGeese.html'>SEE MORE OF THIS PROJECT</a></p>";

arrImg[1] = new Object();
arrImg[1].src = "RandomPortfolio/Cropkare.jpg";
arrImg[1].text = "<p class='LeftPortfolioText'>Before this new product hit the market a natural, trustworthy look was developed to help give it the best chance of success.</p><br><p class='LeftPortfolioLink'><a href='PortfolioCropkareLogo.html'>SEE MORE OF THIS PROJECT</a></p>";

arrImg[2] = new Object();
arrImg[2].src = "RandomPortfolio/LogicLogo.jpg";
arrImg[2].text = "<p class='LeftPortfolioText'>The result when a company's identity needed to evolve from home-grown logo into something altogether sharper and more professional.</p><br><p class='LeftPortfolioLink'><a href='PortfolioLogicLogos.html'>SEE MORE OF THIS PROJECT</a></p>";

arrImg[3] = new Object();
arrImg[3].src = "RandomPortfolio/WeddingInvite.jpg";
arrImg[3].text = "<p class='LeftPortfolioText'>To please a client who wants something different in a wedding invitation, and please their future mother-in-law too is no mean feat.</p><br><p class='LeftPortfolioLink'><a href='PortfolioWeddingInvite.html'>SEE MORE OF THIS PROJECT</a></p>";

arrImg[4] = new Object();
arrImg[4].src = "RandomPortfolio/AromaReflexLogo.jpg";
arrImg[4].text = "<p class='LeftPortfolioText'>A logo which neatly combines the practises of aromatherapy and rexflexology, using one nature-inspired symbol to combine the two.</p><br><p class='LeftPortfolioLink'><a href='PortfolioLogoAromaReflex.html'>SEE MORE OF THIS PROJECT</a></p>";

arrImg[5] = new Object();
arrImg[5].src = "RandomPortfolio/4community.jpg";
arrImg[5].text = "<p class='LeftPortfolioText'>A magazine for the business community, fresh but professional both in content and design, with a humourous side too.</p><br><p class='LeftPortfolioLink'><a href='Portfolio4community.html'>SEE MORE OF THIS PROJECT</a></p>";

arrImg[6] = new Object();
arrImg[6].src = "RandomPortfolio/Proctors.jpg";
arrImg[6].text = "<p class='LeftPortfolioText'>Updating the packaging for a brand in existence for 195 years, to freshen the look and reflect the newly 'green' credentials of the packs.</p><br><p class='LeftPortfolioLink'><a href='PortfolioProctorsPacks.html'>SEE MORE OF THIS PROJECT</a></p>";

arrImg[7] = new Object();
arrImg[7].src = "RandomPortfolio/UnrealBanners.jpg";
arrImg[7].text = "<p class='LeftPortfolioText'>This lady of leisure is reclining in the snow for a good reason: to promote a new range of sunless tanning products.</p><br><p class='LeftPortfolioLink'><a href='PortfolioUnrealStandTriple.html'>SEE MORE OF THIS PROJECT</a></p>";

arrImg[8] = new Object();
arrImg[8].src = "RandomPortfolio/NoRedBracesLogo.jpg";
arrImg[8].text = "<p class='LeftPortfolioText'>No-nonsense is the theme with this straightforward, low-tech-style logo for a marketing consultancy.</p><br><p class='LeftPortfolioLink'><a href='PortfolioLogoNoRedBraces.html'>SEE MORE OF THIS PROJECT</a></p>";


//randomize
var idx = Math.floor(Math.random()*arrImg.length);
document.getElementById('portfolio').style.backgroundImage='url(' + arrImg[idx].src + ')';
document.getElementById('folio_text').innerHTML=arrImg[idx].text;
} 