Yeah, sorry.
I gave you some code for the wrong thing because I wasn't awake yet.
Then I forgot to come back to you.
What you want is this script for your kgPanel:
http://www.wowace.com/addons/kg-pane...r-5-main-party
But instead of self:Hide() and self:Show(), you'll use ChatFrame2:Hide() and ChatFrame2:Show(). At least that should work for you.