function sureRmAlbum()
{
	if(confirm("Are you sure you want to delete this album?"))
		return true;
	else return false;
}
/*
function updateThumbnails()
{
	var inputs = document.getElementsByTagName("input");
	for(i in inputs)
	{
		if(inputs[i].type == "checkbox")
		{
			if(inputs[i].checked == true)
			{
				document.getElementById("selectedOptions").style.display = "block";
				return;
			}
			else
			{
				document.getElementById("selectedOptions").style.display = "none";
			}
		}
	}
}
*/

function updateMove(b)
{
	var a = document.getElementById("stat");
	if(b == 1)
		document.getElementById("moveTd").style.display = "block";
	else
		document.getElementById("moveTd").style.display = "none";
}

function showMove(id)
{
	document.getElementById("moveDiv").style.display="block";
	document.getElementById("fromId").value = id;
}

function updateSize(id,width,height,smallw,smallh)
{
	var a = document.getElementById(id);
	if(a.width == width)
	{
		a.width = smallw;
		a.height = smallh;
	}
	else
	{
		a.width = width;
		a.height = height;
	}
}

