function goMatchingFurniture(product) {
	var thisName, thatName, pageLink;
    switch (product) {

        case 'staccato' :
			thisName = 'Staccato';
			thatName = 'Contempo';
			pageLink = 'bed_frames.html#contempo_furniture_form';
            break;
        case 'kabu' :
			thisName = 'Ka-Bu';
			thatName = 'Zea';
			pageLink = 'bed_frames.html#zeafurniture';
            break;
        case 'sunrise' :
			thisName = 'Sunrise';
			thatName = 'Sunset';
			pageLink = 'bed_frames.html#sunsetfurniture';
            break;

        case 'barbados' :
			thisName = 'Barbados';
			thatName = 'Cosmo';
			pageLink = 'platform_bed_frames.html#cosmofurniture';
            break;
        case 'capitola' :
			thisName = 'Capitola';
			thatName = 'Manhattan';
			pageLink = 'bed_frames.html#manhattanfurniture';
            break;
        case 'larkspur' :
			thisName = 'Larkspur';
			thatName = 'Vaughn';
			pageLink = 'bed_frames.html#vaughnfurniture';
            break;
        case 'mission' :
			thisName = 'Mission';
			thatName = 'Diego';
			pageLink = 'bed_frames.html#diegofurniture';
            break;
        case 'monterey' :
			thisName = 'Monterey';
			thatName = 'Trestles';
			pageLink = 'bed_frames.html#trestlesfurniture';
            break;
        case 'napa' :
			thisName = 'Napa';
			thatName = 'Soma';
			pageLink = 'platform_bed_frames.html#somafurniture';
            break;
        case 'quansu' :
			thisName = 'Quansu';
			thatName = 'Domo';
			pageLink = 'bed_frames.html#domofurniture';
            break;
        case 'vineyard' :
			thisName = 'Vineyard';
			thatName = 'Empress';
			pageLink = 'bed_frames.html#empressfurniture';
            break;

        case 'del_ray' :
			thisName = 'Del Ray';
			thatName = 'Contempo';
			pageLink = 'bed_frames.html#contempo_furniture_form';
            break;
        case 'del_rey_captains' :
			thisName = 'Del Rey';
			thatName = 'Contempo';
			pageLink = 'bed_frames.html#contempo_furniture_form';
            break;

		default :
			return;

    }
	alert('Please note that on the following page, the "' + thatName + '" line of furniture\nis the same line as the "' + thisName + '" bed on this page.');
	window.location = pageLink;
	return;
}
