<!--
function getCopyrightDate(iStartYear, iRangeSize, separatorString)
{
	var date = new Date();	
	
	// if no start year is passed in, then use the current year
	if (iStartYear == null || iStartYear == 0 || iStartYear == "")
	{
		iStartYear = date.getFullYear();
	}
	
	// default end year to current year
	var iEndYear = date.getFullYear();
	if (iRangeSize != null && iRangeSize != "")
	{
		iEndYear = iStartYear + iRangeSize;
	}		
	
	if (iStartYear == iEndYear)
	{
		return iStartYear.toString();
	}
	else
	{
		var separator = "-";
		if (separatorString != null && separatorString != "")
			separator = separatorString;
		return iStartYear + separator + iEndYear;
	}
}

function addtocart(i)
{
	cntr = 0;
	opt = '';
	
	while(document.getElementById(i + '_' + cntr))
	{
		if(opt != '') { opt += '|'; }
		opt += document.getElementById(i + '_' + cntr).options[document.getElementById(i + '_' + cntr).selectedIndex].value;
		cntr++;
	}
	
	document.forms['scartform'].elements['id'].value = i;
	document.forms['scartform'].elements['options'].value = opt;
	document.forms['scartform'].submit();
}
-->