var RssLoadDivId;
function LoadRSSDetail(LayerName)
{
	if (RssLoadDivId)
	{
        	$('#'+RssLoadDivId).hide("slow", function () { 
			this.style.display = none;
		});
	}
	
	if (LayerName == RssLoadDivId)
	{

		RssLoadDivId = false;
		return;
	}
	$("#"+LayerName).show("fast");
	RssLoadDivId = LayerName;
}

function LoadMoreNav(Div, ExtraParamsNav, Url)
{
	var Ret = $.ajax({
	   type: "GET",
	   url: Url,
	   data: ExtraParamsNav,
	   success: function(DataRet){
			if(DataRet.indexOf("//JS_AJAX;")!=-1)
			{
				DataRet = DataRet.substring(10);
				eval(DataRet);
			}else
			  $("#"+Div).html(DataRet);
	   }
	 });
}

function CloseAndDeleteObj()
{
	if (RssLoadDivId)
	{
		$('#'+RssLoadDivId).hide("slow", function () {
			RssLoadDivId = false;	
        // use callee so don't have to name the function
        //$('#'+PreFix+GadgetId).remove();
      		});
	}
}
