function changeStatus(photoID)
{
	for(var i = 0; i < 3; i++)
	{
		if(eval("obj.photo_opt"+photoID+"["+i+"].checked"))
			status = eval("obj.photo_opt"+photoID+"["+i+"].value");
	}
	//Submit the Link to add
	var ajax = new AJAX();
	var arrParam = new Array();
	arrParam['photo_id'] = photoID;
	arrParam['status'] = status;
	ajax.getRequest("change_photo_status.php", arrParam, showResult);
}

function showResult(retVal)
{
	if(retVal != "SUCCESS")
		alert("Error in changing the status of the Photo. Please try again later.\nIf the error persists, please report me.");
}

