// JavaScript Document

function resetSquares() {
	for (n=1;n<=26;n++) {
		thisEle = document.getElementById('box'+n);
		thisEle.className = thisEle.className.replace(new RegExp("selected-work-active\\b"), "");
		thisEle.className = thisEle.className.replace(new RegExp(" selected-work-active\\b"), "");
	}
}
function changeGallery(id){
	resetSquares();
	document.getElementById('box'+id).className+= " selected-work-active";
	so = new SWFObject('flash/flashgallery.swf','flashgalleryswf','475','500','6','#000000');
	so.addVariable('id',id);
	so.write('flashgallery');
	logoEle = document.getElementById('selected-icon');
	logoEle.src = 'images/selected-works/icons/' + id + '.gif';
	switch(id){
		case 2:
			document.getElementById('selected-details').innerHTML = 'Range of t-shirts for French Connection\'s spring/summer collection.';
			break;
		case 3:
			document.getElementById('selected-details').innerHTML = 'Identity and brochure design for Michael Owen\'s new multi million pound venture - Manor House Stables.';
			break;
		case 4:
			document.getElementById('selected-details').innerHTML = 'Re-branding and brochure design for this bespoke interior and exterior design company that caters to the rich and famous.';
			break;
		case 5:
			document.getElementById('selected-details').innerHTML = 'Creative and design for The Big Issue\'s annual Christmas donation drive.';
			break;
		case 6:
			document.getElementById('selected-details').innerHTML = 'Promotional artwork for the DMC World DJ Championships and album artwork for the latest release in the Champion Sounds series: an exclusive mix by DMC world champion DJ Netik.';
			break;
		case 7:
			document.getElementById('selected-details').innerHTML = 'Clothing range commissioned by Scottish footballing giants Celtic for their spring/summer collection 2007.';
			break;
		case 8:
			document.getElementById('selected-details').innerHTML = 'Design and build of website for Michael Owen\'s private helicopter charter business.';
			break;
		case 9:
			document.getElementById('selected-details').innerHTML = 'To celebrate the 20th anniversary of the world\'s foremost DJ competition DMC asked us to design a series of t-shirts that reflected what DMC, hip-hop and turntablism was all about.';
			break;
		case 10:
			document.getElementById('selected-details').innerHTML = 'Deluxe branding and advertising material for Goldchip, a discrete online fully licensed private members gaming club.<br /><br /><a href="http://www.goldchipgaming.com">www.goldchipgaming.com</a>';
			break;
		case 11:
			document.getElementById('selected-details').innerHTML = 'Having design the two best selling t-shirts for their first range we have now been asked to take creative control over the entire collection for the new season.<br /><br /><a href="http://www.electronicpoet.com">www.electronicpoet.com</a>';
			break;
		case 12:
			document.getElementById('selected-details').innerHTML = 'Design and print of promotional artwork for Lilly Allen\'s UK tour.';
			break;
		case 13:
			document.getElementById('selected-details').innerHTML = 'Working closely with the Egan\'s in house stylists we produced on garment graphics, swing tags, point of sale and advertising for the autumn winter collection 2007.';
			break;
		case 14:
			document.getElementById('selected-details').innerHTML = 'Branding and brochure design for this exclusive events management company that regularly hosts parties for the likes of George Michael and Elton John.';
			break;
		case 15:
			document.getElementById('selected-details').innerHTML = 'Working closely with Colin Wolfenden, one of the UK\'s leading fashion designers, we produced on-garment graphics, logos and packaging for his new underwear collection \'Wolfenden\'.';
			break;
		case 16:
			document.getElementById('selected-details').innerHTML = 'We teamed up with T2, producer of mosnter hit <em>Heartbroken</em> and his motley crew of rappers LDC to design and art direct the artwork for their last three albums.';
			break;
		case 17:
			document.getElementById('selected-details').innerHTML = 'We have contributed artwork for flyers, posters, fanzines, merchandise and press advertising for Freshjive, the biggest regular breakdancing event in the world since its inception.';
			break;
		case 18:
			document.getElementById('selected-details').innerHTML = 'Hand drawn logos and fonts, experimental look books and swing tags for sweats, tess, geans, shirts, knits and jackets for international fashion label Nylon Squid.';
			break;
		case 19:
			document.getElementById('selected-details').innerHTML = 'Invitations, catalogue and exhibition stands for the PACE\'s 25 year jubilee celebrations.';
			break;
		case 20:
			document.getElementById('selected-details').innerHTML = 'Re-branding, advertising campaigns, radio scripts and point of sale for leading independent fashion retailer TDF.';
			break;
		case 21:
			document.getElementById('selected-details').innerHTML = 'Design and print for our very own clothing label Pressfunk.<br /><br /><a href="http://www.pressfunk.co.uk">www.pressfunk.co.uk</a>';
			break;
		case 22:
			document.getElementById('selected-details').innerHTML = 'Working in conjunction with various artists and designers as the 901 Collective, we produced a design and an illustration that featured in press adverts and ambient media promoting LAWN (The Leeds Alternative Waste Network).';
			break;
		case 23:
			document.getElementById('selected-details').innerHTML = 'NYC and military inspired t-shirt ranges for sale online and at DMC events.';
			break;
		case 24:
			document.getElementById('selected-details').innerHTML = 'We love designing logos. This is just a small selection of them.';
			break;
		case 25:
			document.getElementById('selected-details').innerHTML = 'Coyote loves music and we love working with musicians and DJs to produce everything from logos and posters to merchandise and album artwork.';
			break;
		case 26:
			document.getElementById('selected-details').innerHTML = 'We have designed and printed lots of wonderfully creative pieces for best clubs and DJs out there today. This is just a small selection from our portfolio.';
			break;
		default:
			document.getElementById('selected-details').innerHTML = '20 page brochure advertising corporate hospitality at Manchester United\'s exclusive champagne bar';
			break;
	}
}
