function fillSquare(d) {
	d.firstChild.style.backgroundColor = '#fff3cd';
	d.style.cursor = 'hand';
}

function clearSquare(d) {
	d.firstChild.style.backgroundColor = 'transparent';
	d.style.cursor = 'default';
}

function showHover(i) {
	var t = 'images/layout/' + i.id + '_hover.png';
	i.src = t;
}

function hideHover(i) {
	var t = 'images/layout/' + i.id + '.png';
	i.src = t;
}