// Globals
var combinations = new Array();
var selectedCombination = new Array();
var active = new Number();



function updateMainPicture(picture)
{
	$('#bigpic').fadeOut(0, function() { $('#bigpic').attr('src', $(picture).attr('rel')).load(function() { $('#bigpic').fadeIn(500); }) });
	$('#bigpic').parents('a').attr('href', $(picture).attr('rel').replace('-product', ''));
}