/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$(document).ready(function() {
    $('a.lightbox').lightBox();
    $(".showsubmenu").click(function(){
        $(this).find('ul.submenu').slideToggle(500, equal);
//	equal();
    })
});
function ShowMU(id) {
    $("#cats"+id).slideToggle(500, equal);
//    equal();
}
function equal(){
	var w1 = $('#left_cell').height();
	var w2 = $('#center_cell').height();
	if ( w1 > w2 ){
		$('#main_content').css('height', (w1-32)+'px');
	}

}

