var sli_total;
var sli_open;

function slideNav(_this)
{
	if (_this.id == sli_open)
	{
		return true;
	}
	
	for (i=0; i<sli_total; i++)
	{
		if (_this.id == String("sli"+i))
		{
			new Effect.BlindDown(_this);			
			if (sli_open) new Effect.BlindUp(sli_open, {duration:0.4});
			sli_open = _this.id;
		}
	}
}

function _initSlideNav(_total,_open)
{
	sli_total = _total;
	sli_open  = _open;
}

function orderCards(sobj,ref)
{
	location.href=PATH_HTTP+'tmp_sort.php?s='+sobj+'&r='+ref;
}

function goTo(loc)
{
	location.href=loc;
}