// ----------------------------------------
// ----- compare handling functions
// ----------------------------------------

// ----- check number of selections
function countSelectCompare()
{
	var cnt= 0;
	for( var i= 0; i < document.mWebBasketList.length - 2; i++ )
	{
		if( document.mWebBasketList.elements[i].checked == true)
		{
			cnt++;
		}
	}
	return cnt;
}


// ----- check number of selections
function selectCompare( id, tid )
{
}

// ----- show compare
function compareShow()
{
	var cnt= countSelectCompare();	
	if( cnt > 1 && cnt < 4 )
	{
		document.mWebBasketList.submit();
	}
}
