elseif (THIS_SCRIPT=='index' AND $vbulletin->options['sc_lor'] == 2)
elseif (THIS_SCRIPT=='index' AND $vbulletin->options['sc_lor'] == 2 AND THIS_SCRIPT != 'adv_index')