// JavaScript Document

function removeEmptyLi()
{
	jQuery("#mycarousel li").each(function()
	{
		if(jQuery("img", this).length == 0)
		{
			//jQuery("img", this).remove();
			jQuery(this).remove();
		}
	});
	
	/*if(jQuery("#mycarousel li img").length == 0)
	{
		jQuery("#mycarousel li", this).remove();
	}*/
	
	setTimeout('removeEmptyLi()', 500);
}

jQuery(document).ready(function()
{
	removeEmptyLi();
});
