/*
if (typeof showAjaxWaitGif != 'function')
{
    inc("typo3conf/ext/tt_news/js/wait.js");
}
*/

function addBookmark(addId,tablename)
{
	tx_ttnews_addBookmark(addId,tablename);
}

function handleAddBmk(returnValue)
{
	//hideAjaxWaitGif();
	document.body.style.cursor = 'default';
	
	var chk = '';
	try {
		chk = document.getElementById('add_bookmark_'+returnValue['addId']);
	}
	catch(e)
	{
		
	}
	
	if (chk != undefined && chk.checked == true)
	{
		chk.disabled = true;
	}
}
