function init()
{
//	document.getElementById('htmlcontent').style.display = 'none';
}

function hx3ContentLoader(hxVar)
{
	$("#content").hide();
	$("#content").load("bin/content.ax3.php?p=" + hxVar);
	$("#content").show('slow');
}

function hx3MenuLoader(hxVar)
{
	//alert('hx3MenuLoader: ' + hxVar);
	$("#memory").hide();
	$("#memory").load("bin/menu.ax3.php?p=" + hxVar);
	$("#memory").show('slow')
}

function lc(obj)
{
	hx3ContentLoader(obj);
	hx3MenuLoader(obj);

}

function showHoverInfo(i)
{
	elem = document.getElementById('tp_' + i);
	elem.style.display = 'block';
}
function hiddenHoverInfo(i)
{
	elem = document.getElementById('tp_' + i);
	elem.style.display = 'none';
}
				
$(document).ready(function(){
//BEGIN

	 $("a.hxTabElem_na").click(function(){
		return false;									
	 });
	 $("a.hxTabElem").click(function(){
		var obj_name = this.name;
		var obj_id = this.id;
		
		if($(this).hasClass('act') != true)
		{
			$("div#tabContent_"+obj_name).fadeIn('slow');
			$("div.tabContent_act").hide().removeClass('tabContent_act').addClass('tabContent');
			$("div#tabContent_"+obj_name).removeClass('tabContent').addClass('tabContent_act');
			$("a.act").removeClass('act');
			$("a#"+obj_id).addClass('act');
		}
		return false;
		
	});
//END
});

