function switchGenericTabs(cont,tabcont,tag,obj,trigger)
{	
	$('#'+tabcont+' a').removeClass('selected');
	$(trigger).addClass('selected');
	$(trigger).blur();
	
	$('.cont').hide();
	$('#'+obj).show();

}

function showHide(what)
{
    obj = document.getElementById(what);
    if(obj.style.display == "block")
    {
        obj.style.display = "none";
    }
    else
    {
        obj.style.display = "block";
    }
}

