var discussion_ads_display = '3';
var adwithoutpackage = '0';
var execute_Request_Discusssion = '1';
var is_ajax_divhide = '';
var show_widgets = '1';
var DiscusssiontabId = '5490';
var DiscusssionTabIdCurrent = '5490';
var group_communityad_integration = '1';
var globalContentElement = en4.seaocore.getDomElements('content');
if (DiscusssionTabIdCurrent == DiscusssiontabId) {
if(group_showtitle != 0) {
if(scriptJquery('#profile_status').length && show_widgets == 1) {
scriptJquery('#profile_status').html("luxury watches for sale » Discussions
");
}
if(scriptJquery('#layout_discussion').length) {
scriptJquery('#layout_discussion').css('display','block');
}
}
hideWidgetsForModule('sitegroupdiscussion');
prev_tab_id = '5490';
prev_tab_class = 'layout_sitegroup_discussion_sitegroup';
execute_Request_Discusssion = true;
hideLeftContainer (discussion_ads_display, group_communityad_integration, adwithoutpackage);
}
else if (is_ajax_divhide != 1) {
if(scriptJquery('#' + globalContentElement).find('.layout_sitegroup_discussion_sitegroup')) {
scriptJquery('#'+globalContentElement).find('.layout_sitegroup_discussion_sitegroup').css('display','none');
}
}
scriptJquery('.tab_5490').on('click', function() {
scriptJquery('#'+globalContentElement).find('.layout_sitegroup_discussion_sitegroup').css('display','block');
if(group_showtitle != 0) {
if(scriptJquery('#profile_status').length && show_widgets == 1) {
scriptJquery('#profile_status').html("luxury watches for sale » Discussions
");
}
}
hideWidgetsForModule('sitegroupdiscussion');
scriptJquery('#id_' + 5490).css('display', "block");
if (scriptJquery('#id_' + prev_tab_id) != null && prev_tab_id != 0 && prev_tab_id != '5490') {
scriptJquery('.'+ prev_tab_class).css('display', 'none');
}
if (prev_tab_id != '5490') {
execute_Request_Discusssion = false;
prev_tab_id = '5490';
prev_tab_class = 'layout_sitegroup_discussion_sitegroup';
}
if(execute_Request_Discusssion == false) {
ShowContent('5490', execute_Request_Discusssion, '5490', 'discussion', 'sitegroup', 'discussion-sitegroup', group_showtitle, 'null', discussion_ads_display, group_communityad_integration, adwithoutpackage);
execute_Request_Discusssion = true;
}
if('0' && discussion_ads_display == 0)
{setLeftLayoutForGroup();}
});