/*
    Document   : _oomain
    Created on : May 13, 2010, 3:08:34 PM
    Author     : TJ Beatrice <tj@artlabx.com>
    Description:

*/


$(document).ready(function(){
   // Your code here
   initFilterToggle();

 });



function initFilterToggle(){
	// execute function for all elements which match the selector
	$("#OBJ3CT-filter a.filter-toggle").each(function(){
		$(this).siblings(".checkbox-list").hide();
		$(this).html('+ show');
	});

	// assign the toggle handler to all elements which match the selector
	$("#OBJ3CT-filter a.filter-toggle").toggle(function(){
		$(this).siblings(".checkbox-list").show();
		$(this).html('- hide');
	}, function(){
		$(this).siblings(".checkbox-list").hide();
		$(this).html('+ show');
	});

}