function openh1(object)
{
	object.parent().nextAll().each(function(){
		if($(this).attr('class')=='h1footer')
		{
			return false;
		}
		$(this).toggle();
	});
}

function openh2(object)
{
	object.parent().nextAll().each(function(){
		if($(this).attr('class')=='h2footer')
		{
			return false;
		}
		$(this).toggle();
	});
}

function openh3(object)
{
	object.parent().nextAll().each(function(){
		if($(this).attr('class')=='h3footer')
		{
			return false;
		}
		$(this).toggle();
	});
}

function openh4(object)
{
	object.parent().nextAll().each(function(){
		if($(this).attr('class')=='h4footer')
		{
			return false;
		}
		$(this).toggle();
	});
}

function openh5(object)
{
	object.parent().nextAll().each(function(){
		if($(this).attr('class')=='h5footer')
		{
			return false;
		}
		$(this).toggle();
	});
}

function openh6(object)
{
	object.parent().nextAll().each(function(){
		if($(this).attr('class')=='h6footer')
		{
			return false;
		}
		$(this).toggle();
	});
}

function openh7(object)
{
	object.parent().nextAll().each(function(){
		if($(this).attr('class')=='h7footer')
		{
			return false;
		}
		$(this).toggle();
	});
}

$(document).ready(function(){
    $('.hassub').hover(
    function(){$(this).toggleClass("hover")}, 
        function(){$(this).toggleClass("hover")}
    ); 
});
