function $(id) {
	return document.getElementById(id);
}
function moveObject(obj, tar) {
	if((obj = $(obj)) && (tar = $(tar))) {
		tar.parentNode.insertBefore(obj, tar);
		obj.style.display = 'block';
	}
}
function frame_check(t, title, c, counter) {
	objTitle = $(t);
	objTitle.id = objTitle.id + counter;
	if(title == '')
		objTitle.style.display = 'none';
	objContainer = $(c);
	objContainer.id = objContainer.id + counter;
}