var enlace = new Array();
enlace[0] = '<a href="branding.html#eicte"><img src="img/thumbs/snippets/six-design-eicte.gif" alt="six-design-eicte" title="six-design-eicte" border="0"/></a>';
enlace[1] = '<a href="websites.html#iseating"><img src="img/thumbs/snippets/six-design-iseating.gif" alt="six-design-iseating" title="six-design-iseating" border="0"/></a>';
enlace[2] = '<a href="http://www.fundacioordesa.org" target="_blank"><img src="img/thumbs/snippets/six-design-fundacio-ordesa.gif" alt="six-design-fundacio-ordesa" title="six-design-fundacio-ordesa" border="0"/></a>';
enlace[3] = '<a href="websites.html#stub" name="stub"><img src="img/thumbs/snippets/six-design-stub.gif" alt="six-design-stub" title="six-design-stub" border="0"/></a>';
enlace[4] = '<a href="branding.html#ticket-supply"><img src="img/thumbs/snippets/six-design-ticket-supply.gif" alt="six-design-ticket-supply" title="six-design-ticket-supply" border="0"/></a>';
enlace[5] = '<a href="websites.html#halcyon-digital"><img src="img/thumbs/snippets/six-design-halcyon-digital.gif" alt="six-design-halcyon-digital" title="six-design-halcyon-digital" border="0"/></a>';
enlace[6] = '<a href="http://www.itc-partners.com" target="_blank"><img src="img/thumbs/snippets/six-design-itc-partners.gif" alt="six-design-itc-partners" title="six-design-itc-partners" border="0"/></a>';
enlace[7] = '<a href="websites.html#healthegoods"><img src="img/thumbs/snippets/six-design-healthegoods.gif" alt="six-design-healthegoods" title="six-design-healthegoods" border="0"/></a>';
enlace[8] = '<a href="websites.html#pou-online"><img src="img/thumbs/snippets/six-design-pou-online.gif" alt="six-design-pou-online" title="six-design-pou-online" border="0"/></a>';
enlace[9] = '<a href="branding.html#spex"><img src="img/thumbs/snippets/six-design-spex.gif" alt="six-design-spex" title="six-design-spex" border="0"/></a>';
enlace[10] = '<a href="websites.html#infinito-placer"><img src="img/thumbs/snippets/six-design-infinito-placer.gif" alt="six-design-infinito-placer" title="six-design-infinito-placer" border="0"/></a>';
enlace[11] = '<a href="websites.html#mixercity"><img src="img/thumbs/snippets/six-design-mixercity.gif" alt="six-design-mixercity" title="six-design-mixercity" border="0"/></a>';
enlace[12] = '<a href="websites.html#moving-ideas"><img src="img/thumbs/snippets/six-design-moving-ideas.gif" alt="six-design-moving-ideas" title="six-design-moving-ideas" border="0"/></a>';
enlace[13] = '<a href="websites.html#coffee-breaks"><img src="img/thumbs/snippets/six-design-coffee-breaks.gif" alt="six-design-coffee-breaks" title="six-design-coffee-breaks" border="0"/></a>';
enlace[14] = '<a href="websites.html#doctor-naturopathic"><img src="img/thumbs/snippets/six-design-doctor-naturopathic.gif" alt="six-design-doctor-naturopathic" title="six-design-doctor-naturopathic" border="0"/></a>';
enlace[15] = '<a href="websites.html#iconpalace"><img src="img/thumbs/snippets/six-design-iconpalace.gif" alt="six-design-iconpalace" title="six-design-iconpalace" border="0"/></a>';
enlace[16] = '<a href="websites.html#dookit"><img src="img/thumbs/snippets/six-design-dookit.gif" alt="six-design-dookit" title="six-design-dookit" border="0"/></a>';
enlace[17] = '<a href="websites.html#any-technologies"><img src="img/thumbs/snippets/six-design-any-technologies.gif" alt="six-design-any-technologies" title="six-design-any-technologies" border="0"/></a>';
enlace[18] = '<a href="websites.html#xoxxe"><img src="img/thumbs/snippets/six-design-xoxxe.gif" alt="six-design-xoxxe" title="six-design-xoxxe" border="0"/></a>';
enlace[19] = '<a href="branding.html#xoxxe"><img src="img/thumbs/snippets/six-design-xoxxe-logo.gif" alt="six-design-xoxxe" title="six-design-xoxxe" border="0"/></a>';
enlace[20] = '<a href="websites.html#la-baldufa"><img src="img/thumbs/snippets/six-design-la-baldufa.gif" alt="six-design-la-baldufa" title="six-design-la-baldufa" border="0"/></a>';

var temp = new Array(12); 

function mostraRandomImg()
{
	temp[0] = Math.floor(Math.random() * enlace.length); 
	
	//alert(temp[0]);
	
	do 
	    temp[1] = Math.floor(Math.random() * enlace.length); 
	while (temp[0] == temp[1]) 
	
	do 
	    temp[2] = Math.floor(Math.random() * enlace.length); 
	while (temp[0] == temp[1] || temp[0] == temp[2] || temp[1] == temp[2]) 
	
	do 
	    temp[3] = Math.floor(Math.random() * enlace.length); 
	while ( temp[0] == temp[1] || 
	    	temp[0] == temp[2] || 
		    temp[0] == temp[3] || 
		    temp[1] == temp[2] || 
		    temp[1] == temp[3] || 
		    temp[2] == temp[3])
	    
	do 
	    temp[4] = Math.floor(Math.random() * enlace.length); 
	while ( temp[0] == temp[1] || 
	    	temp[0] == temp[2] || 
		    temp[0] == temp[3] || 
		    temp[0] == temp[4] || 
		    temp[1] == temp[2] || 
		    temp[1] == temp[3] || 
		    temp[1] == temp[4] || 
		    temp[2] == temp[3] ||
		    temp[2] == temp[4] ||
		    temp[3] == temp[4]
		   )
	    
	do 
	    temp[5] = Math.floor(Math.random() * enlace.length); 
	while ( temp[0] == temp[1] || 
	    	temp[0] == temp[2] || 
		    temp[0] == temp[3] || 
		    temp[0] == temp[4] || 
		    temp[0] == temp[5] || 
		    temp[1] == temp[2] || 
		    temp[1] == temp[3] || 
		    temp[1] == temp[4] || 
		    temp[1] == temp[5] || 
		    temp[2] == temp[3] ||
		    temp[2] == temp[4] ||
		    temp[2] == temp[5] ||
		    temp[3] == temp[4] ||
		    temp[3] == temp[5] ||
		    temp[4] == temp[5]
		   )
	    
	do 
	    temp[6] = Math.floor(Math.random() * enlace.length); 
	while ( temp[0] == temp[1] || 
	    	temp[0] == temp[2] || 
		    temp[0] == temp[3] || 
		    temp[0] == temp[4] || 
		    temp[0] == temp[5] || 
		    temp[0] == temp[6] || 
		    temp[1] == temp[2] || 
		    temp[1] == temp[3] || 
		    temp[1] == temp[4] || 
		    temp[1] == temp[5] || 
		    temp[1] == temp[6] || 
		    temp[2] == temp[3] ||
		    temp[2] == temp[4] ||
		    temp[2] == temp[5] ||
		    temp[2] == temp[6] ||
		    temp[3] == temp[4] ||
		    temp[3] == temp[5] ||
		    temp[3] == temp[6] ||
		    temp[4] == temp[5] ||
		    temp[4] == temp[6] ||
		    temp[5] == temp[6]
		   )

	do 
	    temp[7] = Math.floor(Math.random() * enlace.length); 
	while ( temp[0] == temp[1] || 
	    	temp[0] == temp[2] || 
		    temp[0] == temp[3] || 
		    temp[0] == temp[4] || 
		    temp[0] == temp[5] || 
		    temp[0] == temp[6] || 
		    temp[0] == temp[7] || 
		    temp[1] == temp[2] || 
		    temp[1] == temp[3] || 
		    temp[1] == temp[4] || 
		    temp[1] == temp[5] || 
		    temp[1] == temp[6] || 
		    temp[1] == temp[7] || 
		    temp[2] == temp[3] ||
		    temp[2] == temp[4] ||
		    temp[2] == temp[5] ||
		    temp[2] == temp[6] ||
		    temp[2] == temp[7] ||
		    temp[3] == temp[4] ||
		    temp[3] == temp[5] ||
		    temp[3] == temp[6] ||
		    temp[3] == temp[7] ||
		    temp[4] == temp[5] ||
		    temp[4] == temp[6] ||
		    temp[4] == temp[7] ||
		    temp[5] == temp[6] ||
		    temp[5] == temp[7] ||
		    temp[6] == temp[7]
		   )

	do 
	    temp[8] = Math.floor(Math.random() * enlace.length); 
	while ( temp[0] == temp[1] || 
	    	temp[0] == temp[2] || 
		    temp[0] == temp[3] || 
		    temp[0] == temp[4] || 
		    temp[0] == temp[5] || 
		    temp[0] == temp[6] || 
		    temp[0] == temp[7] || 
		    temp[0] == temp[8] || 
		    temp[1] == temp[2] || 
		    temp[1] == temp[3] || 
		    temp[1] == temp[4] || 
		    temp[1] == temp[5] || 
		    temp[1] == temp[6] || 
		    temp[1] == temp[7] || 
		    temp[1] == temp[8] || 
		    temp[2] == temp[3] ||
		    temp[2] == temp[4] ||
		    temp[2] == temp[5] ||
		    temp[2] == temp[6] ||
		    temp[2] == temp[7] ||
		    temp[2] == temp[8] ||
		    temp[3] == temp[4] ||
		    temp[3] == temp[5] ||
		    temp[3] == temp[6] ||
		    temp[3] == temp[7] ||
		    temp[3] == temp[8] ||
		    temp[4] == temp[5] ||
		    temp[4] == temp[6] ||
		    temp[4] == temp[7] ||
		    temp[4] == temp[8] ||
		    temp[5] == temp[6] ||
		    temp[5] == temp[7] ||
		    temp[5] == temp[8] ||
		    temp[6] == temp[7] ||
		    temp[6] == temp[8] ||
		    temp[7] == temp[8]
		   )

	do 
	    temp[9] = Math.floor(Math.random() * enlace.length); 
	while ( temp[0] == temp[1] || 
	    	temp[0] == temp[2] || 
		    temp[0] == temp[3] || 
		    temp[0] == temp[4] || 
		    temp[0] == temp[5] || 
		    temp[0] == temp[6] || 
		    temp[0] == temp[7] || 
		    temp[0] == temp[8] || 
		    temp[0] == temp[9] || 
		    temp[1] == temp[2] || 
		    temp[1] == temp[3] || 
		    temp[1] == temp[4] || 
		    temp[1] == temp[5] || 
		    temp[1] == temp[6] || 
		    temp[1] == temp[7] || 
		    temp[1] == temp[8] || 
		    temp[1] == temp[9] || 
		    temp[2] == temp[3] ||
		    temp[2] == temp[4] ||
		    temp[2] == temp[5] ||
		    temp[2] == temp[6] ||
		    temp[2] == temp[7] ||
		    temp[2] == temp[8] ||
		    temp[2] == temp[9] ||
		    temp[3] == temp[4] ||
		    temp[3] == temp[5] ||
		    temp[3] == temp[6] ||
		    temp[3] == temp[7] ||
		    temp[3] == temp[8] ||
		    temp[3] == temp[9] ||
		    temp[4] == temp[5] ||
		    temp[4] == temp[6] ||
		    temp[4] == temp[7] ||
		    temp[4] == temp[8] ||
		    temp[4] == temp[9] ||
		    temp[5] == temp[6] ||
		    temp[5] == temp[7] ||
		    temp[5] == temp[8] ||
		    temp[5] == temp[9] ||
		    temp[6] == temp[7] ||
		    temp[6] == temp[8] ||
		    temp[6] == temp[9] ||
		    temp[7] == temp[8] ||
		    temp[7] == temp[9] ||
		    temp[8] == temp[9]
		   )

	do 
	    temp[10] = Math.floor(Math.random() * enlace.length); 
	while ( temp[0] == temp[1] || 
	    	temp[0] == temp[2] || 
		    temp[0] == temp[3] || 
		    temp[0] == temp[4] || 
		    temp[0] == temp[5] || 
		    temp[0] == temp[6] || 
		    temp[0] == temp[7] || 
		    temp[0] == temp[8] || 
		    temp[0] == temp[9] || 
		    temp[0] == temp[10] || 
		    temp[1] == temp[2] || 
		    temp[1] == temp[3] || 
		    temp[1] == temp[4] || 
		    temp[1] == temp[5] || 
		    temp[1] == temp[6] || 
		    temp[1] == temp[7] || 
		    temp[1] == temp[8] || 
		    temp[1] == temp[9] || 
		    temp[1] == temp[10] || 
		    temp[2] == temp[3] ||
		    temp[2] == temp[4] ||
		    temp[2] == temp[5] ||
		    temp[2] == temp[6] ||
		    temp[2] == temp[7] ||
		    temp[2] == temp[8] ||
		    temp[2] == temp[9] ||
		    temp[2] == temp[10] ||
		    temp[3] == temp[4] ||
		    temp[3] == temp[5] ||
		    temp[3] == temp[6] ||
		    temp[3] == temp[7] ||
		    temp[3] == temp[8] ||
		    temp[3] == temp[9] ||
		    temp[3] == temp[10] ||
		    temp[4] == temp[5] ||
		    temp[4] == temp[6] ||
		    temp[4] == temp[7] ||
		    temp[4] == temp[8] ||
		    temp[4] == temp[9] ||
		    temp[4] == temp[10] ||
		    temp[5] == temp[6] ||
		    temp[5] == temp[7] ||
		    temp[5] == temp[8] ||
		    temp[5] == temp[9] ||
		    temp[5] == temp[10] ||
		    temp[6] == temp[7] ||
		    temp[6] == temp[8] ||
		    temp[6] == temp[9] ||
		    temp[6] == temp[10] ||
		    temp[7] == temp[8] ||
		    temp[7] == temp[9] ||
		    temp[7] == temp[10] ||
		    temp[8] == temp[9] ||
		    temp[8] == temp[10] ||
		    temp[9] == temp[10]
		   )

	do 
	    temp[11] = Math.floor(Math.random() * enlace.length); 
	while ( temp[0] == temp[1] || 
	    	temp[0] == temp[2] || 
		    temp[0] == temp[3] || 
		    temp[0] == temp[4] || 
		    temp[0] == temp[5] || 
		    temp[0] == temp[6] || 
		    temp[0] == temp[7] || 
		    temp[0] == temp[8] || 
		    temp[0] == temp[9] || 
		    temp[0] == temp[10] || 
		    temp[0] == temp[11] || 
		    temp[1] == temp[2] || 
		    temp[1] == temp[3] || 
		    temp[1] == temp[4] || 
		    temp[1] == temp[5] || 
		    temp[1] == temp[6] || 
		    temp[1] == temp[7] || 
		    temp[1] == temp[8] || 
		    temp[1] == temp[9] || 
		    temp[1] == temp[10] || 
		    temp[1] == temp[11] || 
		    temp[2] == temp[3] ||
		    temp[2] == temp[4] ||
		    temp[2] == temp[5] ||
		    temp[2] == temp[6] ||
		    temp[2] == temp[7] ||
		    temp[2] == temp[8] ||
		    temp[2] == temp[9] ||
		    temp[2] == temp[10] ||
		    temp[2] == temp[11] ||
		    temp[3] == temp[4] ||
		    temp[3] == temp[5] ||
		    temp[3] == temp[6] ||
		    temp[3] == temp[7] ||
		    temp[3] == temp[8] ||
		    temp[3] == temp[9] ||
		    temp[3] == temp[10] ||
		    temp[3] == temp[11] ||
		    temp[4] == temp[5] ||
		    temp[4] == temp[6] ||
		    temp[4] == temp[7] ||
		    temp[4] == temp[8] ||
		    temp[4] == temp[9] ||
		    temp[4] == temp[10] ||
		    temp[4] == temp[11] ||
		    temp[5] == temp[6] ||
		    temp[5] == temp[7] ||
		    temp[5] == temp[8] ||
		    temp[5] == temp[9] ||
		    temp[5] == temp[10] ||
		    temp[5] == temp[11] ||
		    temp[6] == temp[7] ||
		    temp[6] == temp[8] ||
		    temp[6] == temp[9] ||
		    temp[6] == temp[10] ||
		    temp[6] == temp[11] ||
		    temp[7] == temp[8] ||
		    temp[7] == temp[9] ||
		    temp[7] == temp[10] ||
		    temp[7] == temp[11] ||
		    temp[8] == temp[9] ||
		    temp[8] == temp[10] ||
		    temp[8] == temp[11] ||
		    temp[9] == temp[10] ||
		    temp[9] == temp[11] ||
		    temp[10] == temp[11]
		   )
}

