// JavaScript Document
function putLink(oWeight, oColor)	{
	if(oWeight.value.length > 0 && oColor.value.length > 0)	{
		oLink		=	document.getElementById('link');
		oURL		=	document.getElementById('url');
		
		linkValue	=	oURL.value + oColor.value + "/" + oWeight.value + ".gif";
		oLink.value	=	linkValue;
	}
	else
		alert('Please select a Weight and Color!');
}

function getColorStyle(color)	{
	return color;
	if(color == 'purple')
		return '1';
	else if(color == 'blue')
		return '2';
	else if(color == 'yellow')
		return '3'
	else if(color == 'green')
		return '4';
	return false;
}

