Hope i've helped.
I would recommend detecting the WCMMode and always showing the parsys if the page is displaying in edit or design mode:
that's ok..but what i want is that
i.e. when i am clicking the radio button a function is being invoked .
now what should i write inside that function so that a parsys is displayed when that function is being invoked.