function addSrcToDestList()
{

	destList = window.document.merktype.elements['destList[]'];
	srcList = window.document.merktype.elements['srcList[]']; 

	if(destList.length == 4)
	{
		alert('Puedes seleccionar 4 camaras');
		return false;
	}

	var len = destList.length;
	for(var i = 0; i < srcList.length; i++)
	{
		if ((srcList.options[i] != null) && (srcList.options[i].selected))
		{
			var found = false;
			for(var count = 0; count < len; count++)
			{
				if (destList.options[count] != null)
				{
					if (srcList.options[i].text == destList.options[count].text)
					{
						found = true;
						break;
					}
				}
			}
			
			if (found != true)
			{
				destList.options[len] = new Option(srcList.options[i].text, srcList.options[i].value); 
				len++;
			}
		}
	}
}


function selectAll(lang)
 {
	
	vergelijkList = window.document.merktype.elements['destList[]'];
	
	if(vergelijkList.length < 4)
	{
		alert('Seleccione por favor 4 cameras fotogricas');
		return false;
	}
	
	
	window.location = '/'+lang+'/camera/specification/compare/'+vergelijkList.options[0].value+'-'+vergelijkList.options[1].value+'-'+vergelijkList.options[2].value+'-'+vergelijkList.options[3].value+'.html';
}
